diff --git a/doc/api.json b/doc/api.json index 83ef444d..51ff21b1 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1 +1 @@ -{"name":"aurelia-validation","children":[{"id":671,"name":"\"aurelia-validation\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":672,"name":"AureliaValidationConfiguration","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Aurelia Validation Configuration API"},"children":[{"id":673,"name":"validatorType","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":846,"character":29}],"type":{"type":"instrinct","name":"any"}},{"id":681,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":682,"name":"apply","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the configuration."},"parameters":[{"id":683,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":856,"character":13}]},{"id":674,"name":"customValidator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":675,"name":"customValidator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Use a custom Validator implementation."},"parameters":[{"id":676,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":677,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":678,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":679,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":680,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"reference","name":"__type","id":677}}],"sources":[{"fileName":"index.d.ts","line":850,"character":31}]}],"groups":[{"title":"Constructors","kind":512,"children":[678]}],"sources":[{"fileName":"index.d.ts","line":850,"character":29}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":850,"character":23}]}],"groups":[{"title":"Properties","kind":1024,"children":[673]},{"title":"Methods","kind":2048,"children":[681,674]}],"sources":[{"fileName":"index.d.ts","line":845,"character":47}]},{"id":684,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":685,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the plugin."},"parameters":[{"id":686,"name":"frameworkConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":687,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":688,"name":"container","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":862,"character":17}],"type":{"type":"reference","name":"Container"}},{"id":689,"name":"globalResources","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":863,"character":23}],"type":{"type":"reflection","declaration":{"id":690,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":691,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":692,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":863,"character":24}]}}}],"groups":[{"title":"Variables","kind":32,"children":[688,689]}],"sources":[{"fileName":"index.d.ts","line":861,"character":46}]}}},{"id":693,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":694,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":695,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":696,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AureliaValidationConfiguration","id":672}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":864,"character":17}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":861,"character":29}]}],"groups":[{"title":"Classes","kind":128,"children":[672]},{"title":"Functions","kind":64,"children":[684]}],"sources":[{"fileName":"index.d.ts","line":821,"character":35}]},{"id":25,"name":"\"controller-validate-result\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":26,"name":"ControllerValidateResult","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The result of a call to the validation controller's validate method."},"children":[{"id":29,"name":"instruction","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The instruction passed to the controller's validate method."},"sources":[{"fileName":"index.d.ts","line":63,"character":19}],"type":{"type":"reference","name":"ValidateInstruction","id":21}},{"id":28,"name":"results","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The validation result of every rule that was evaluated."},"sources":[{"fileName":"index.d.ts","line":59,"character":15}],"type":{"type":"reference","isArray":true,"name":"ValidateResult","id":3}},{"id":27,"name":"valid","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Whether validation passed."},"sources":[{"fileName":"index.d.ts","line":55,"character":13}],"type":{"type":"instrinct","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[29,28,27]}],"sources":[{"fileName":"index.d.ts","line":51,"character":45}]}],"groups":[{"title":"Interfaces","kind":256,"children":[26]}],"sources":[{"fileName":"index.d.ts","line":45,"character":43}]},{"id":327,"name":"\"implementation/rule\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":331,"name":"Rule","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A rule definition. Associations a rule with a property or object."},"typeParameter":[{"id":332,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":333,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":335,"name":"condition","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":423,"character":17}],"type":{"type":"reflection","declaration":{"id":336,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":337,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":338,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":339,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":423,"character":18}]}}},{"id":340,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":424,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":346,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":429,"character":15}],"type":{"type":"union","types":[{"type":"reference","name":"Expression"},{"type":"instrinct","name":"null"}]}},{"id":345,"name":"messageKey","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":428,"character":18}],"type":{"type":"instrinct","name":"string"}},{"id":334,"name":"property","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":422,"character":16}],"type":{"type":"reference","name":"RuleProperty","id":328}},{"id":347,"name":"sequence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":430,"character":16}],"type":{"type":"instrinct","name":"number"}},{"id":348,"name":"tag","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"index.d.ts","line":431,"character":11}],"type":{"type":"instrinct","name":"string"}},{"id":341,"name":"when","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":425,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":342,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":343,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":344,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":425,"character":13}]}},{"type":"instrinct","name":"null"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[335,340,346,345,334,347,348,341]}],"sources":[{"fileName":"index.d.ts","line":421,"character":25}]},{"id":328,"name":"RuleProperty","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Information related to a property that is the subject of validation."},"children":[{"id":330,"name":"displayName","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The displayName of the property (or object)."},"sources":[{"fileName":"index.d.ts","line":416,"character":19}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":329,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The property name. null indicates the rule targets the object itself."},"sources":[{"fileName":"index.d.ts","line":412,"character":12}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[330,329]}],"sources":[{"fileName":"index.d.ts","line":408,"character":33}]}],"groups":[{"title":"Interfaces","kind":256,"children":[331,328]}],"sources":[{"fileName":"index.d.ts","line":403,"character":36}]},{"id":349,"name":"\"implementation/rules\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":350,"name":"Rules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Sets, unsets and retrieves rules on an object or constructor function."},"children":[{"id":351,"name":"key","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"comment":{"shortText":"The name of the property that stores the rules."},"sources":[{"fileName":"index.d.ts","line":443,"character":26}],"type":{"type":"instrinct","name":"any"}},{"id":359,"name":"get","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":360,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the target's rules."},"parameters":[{"id":361,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"union","types":[{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]},{"type":"instrinct","name":"null"}]}}],"sources":[{"fileName":"index.d.ts","line":455,"character":18}]},{"id":352,"name":"set","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":353,"name":"set","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the rules to a target."},"parameters":[{"id":354,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":355,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":447,"character":18}]},{"id":356,"name":"unset","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":357,"name":"unset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes rules from a target."},"parameters":[{"id":358,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":451,"character":20}]}],"groups":[{"title":"Properties","kind":1024,"children":[351]},{"title":"Methods","kind":2048,"children":[359,352,356]}],"sources":[{"fileName":"index.d.ts","line":439,"character":22}]}],"groups":[{"title":"Classes","kind":128,"children":[350]}],"sources":[{"fileName":"index.d.ts","line":434,"character":37}]},{"id":428,"name":"\"implementation/standard-validator\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":429,"name":"StandardValidator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Validates.\nResponsible for validating objects and properties."},"children":[{"id":434,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":435,"name":"new StandardValidator","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":436,"name":"messageProvider","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationMessageProvider","id":414}},{"id":437,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources"}}],"type":{"type":"reference","name":"StandardValidator","id":429}}],"sources":[{"fileName":"index.d.ts","line":534,"character":31}]},{"id":433,"name":"getDisplayName","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":534,"character":30}],"type":{"type":"instrinct","name":"any"}},{"id":432,"name":"lookupFunctions","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":533,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":431,"name":"messageProvider","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":532,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":430,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":531,"character":21}],"type":{"type":"union","isArray":true,"types":[{"type":"reference","name":"ViewResources"},{"type":"reference","name":"ValidationMessageProvider","id":414}]}},{"id":451,"name":"getMessage","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":452,"name":"getMessage","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":453,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":454,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":455,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":557,"character":26}]},{"id":447,"name":"ruleExists","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":448,"name":"ruleExists","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Determines whether a rule exists in a set of rules.","tags":[{"tag":"parem","text":"rule The rule to find.\n"}]},"parameters":[{"id":449,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}},{"id":450,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}}],"type":{"type":"instrinct","name":"boolean"},"overwrites":{"type":"reference","name":"Validator.ruleExists","id":49}}],"sources":[{"fileName":"index.d.ts","line":556,"character":18}],"overwrites":{"type":"reference","name":"Validator.ruleExists","id":49}},{"id":463,"name":"validate","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":464,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":465,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":466,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":467,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":559,"character":24}]},{"id":443,"name":"validateObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":444,"name":"validateObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates all rules for specified object and it's properties."},"parameters":[{"id":445,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":446,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the rules will be looked up using the metadata\nfor the object created by ValidationRules....on(class/object)\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]},"overwrites":{"type":"reference","name":"Validator.validateObject","id":45}}],"sources":[{"fileName":"index.d.ts","line":550,"character":22}],"overwrites":{"type":"reference","name":"Validator.validateObject","id":45}},{"id":438,"name":"validateProperty","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":439,"name":"validateProperty","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the specified property."},"parameters":[{"id":440,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":441,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the property to validate."},"type":{"type":"instrinct","name":"string"}},{"id":442,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the rules will be looked up using the metadata\nfor the object created by ValidationRules....on(class/object)\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]},"overwrites":{"type":"reference","name":"Validator.validateProperty","id":40}}],"sources":[{"fileName":"index.d.ts","line":543,"character":24}],"overwrites":{"type":"reference","name":"Validator.validateProperty","id":40}},{"id":456,"name":"validateRuleSequence","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":457,"name":"validateRuleSequence","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":458,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":459,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":460,"name":"ruleSequence","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":461,"name":"sequence","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":462,"name":"results","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":558,"character":36}]}],"groups":[{"title":"Constructors","kind":512,"children":[434]},{"title":"Properties","kind":1024,"children":[433,432,431,430]},{"title":"Methods","kind":2048,"children":[451,447,463,443,438,456]}],"sources":[{"fileName":"index.d.ts","line":530,"character":34}],"extendedTypes":[{"type":"reference","name":"Validator","id":39}]}],"groups":[{"title":"Classes","kind":128,"children":[429]}],"sources":[{"fileName":"index.d.ts","line":520,"character":50}]},{"id":362,"name":"\"implementation/util\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":363,"name":"isString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":364,"name":"isString","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":365,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":459,"character":28}]}],"groups":[{"title":"Functions","kind":64,"children":[363]}],"sources":[{"fileName":"index.d.ts","line":458,"character":36}]},{"id":410,"name":"\"implementation/validation-messages\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":414,"name":"ValidationMessageProvider","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Retrieves validation messages and property display names."},"children":[{"id":417,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":418,"name":"new ValidationMessageProvider","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":419,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"reference","name":"ValidationMessageProvider","id":414}}],"sources":[{"fileName":"index.d.ts","line":504,"character":49}]},{"id":415,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":503,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":416,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":504,"character":21}],"type":{"type":"reference","isArray":true,"name":"ValidationParser","id":372}},{"id":423,"name":"getDisplayName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":424,"name":"getDisplayName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Formulates a property display name using the property name and the configured\ndisplayName (if provided).\nOverride this with your own custom logic."},"parameters":[{"id":425,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The property name.\n"},"type":{"type":"instrinct","name":"string"}},{"id":426,"name":"displayName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"},{"type":"instrinct","name":"undefined"}]}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"index.d.ts","line":517,"character":22}]},{"id":420,"name":"getMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":421,"name":"getMessage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a message binding expression that corresponds to the key."},"parameters":[{"id":422,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The message key.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Expression"}}],"sources":[{"fileName":"index.d.ts","line":510,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[417]},{"title":"Properties","kind":1024,"children":[415,416]},{"title":"Methods","kind":2048,"children":[423,420]}],"sources":[{"fileName":"index.d.ts","line":502,"character":42}]},{"id":411,"name":"ValidationMessages","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":[{"id":412,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":413,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"index.d.ts","line":492,"character":39}]},{"id":427,"name":"validationMessages","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Dictionary of validation messages. [messageKey]: messageExpression"},"sources":[{"fileName":"index.d.ts","line":498,"character":35}],"type":{"type":"reference","name":"ValidationMessages","id":411}}],"groups":[{"title":"Classes","kind":128,"children":[414]},{"title":"Interfaces","kind":256,"children":[411]},{"title":"Variables","kind":32,"children":[427]}],"sources":[{"fileName":"index.d.ts","line":489,"character":51}]},{"id":366,"name":"\"implementation/validation-parser\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":398,"name":"MessageExpressionValidator","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":404,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":405,"name":"new MessageExpressionValidator","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":406,"name":"originalMessage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"MessageExpressionValidator","id":398},"overwrites":{"type":"reference","name":"Unparser.__constructor"}}],"sources":[{"fileName":"index.d.ts","line":484,"character":79}],"overwrites":{"type":"reference","name":"Unparser.__constructor"}},{"id":399,"name":"originalMessage","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":483,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":407,"name":"visitAccessScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":408,"name":"visitAccessScope","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":409,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessScope"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":486,"character":24}]},{"id":400,"name":"validate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":401,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":402,"name":"expression","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Expression"}},{"id":403,"name":"originalMessage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":484,"character":23}]}],"groups":[{"title":"Constructors","kind":512,"children":[404]},{"title":"Properties","kind":1024,"children":[399]},{"title":"Methods","kind":2048,"children":[407,400]}],"sources":[{"fileName":"index.d.ts","line":482,"character":43}],"extendedTypes":[{"type":"reference","name":"Unparser"}],"implementedTypes":[{"type":"reference","name":"ExpressionVisitor"}]},{"id":372,"name":"ValidationParser","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":380,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":381,"name":"new ValidationParser","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":382,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Parser"}},{"id":383,"name":"bindinqLanguage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BindingLanguage"}}],"type":{"type":"reference","name":"ValidationParser","id":372}}],"sources":[{"fileName":"index.d.ts","line":475,"character":22}]},{"id":374,"name":"bindinqLanguage","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":470,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":379,"name":"cache","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":475,"character":21}],"type":{"type":"instrinct","name":"any"}},{"id":376,"name":"emptyStringExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":472,"character":37}],"type":{"type":"instrinct","name":"any"}},{"id":377,"name":"nullExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":473,"character":30}],"type":{"type":"instrinct","name":"any"}},{"id":373,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":469,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":378,"name":"undefinedExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":474,"character":35}],"type":{"type":"instrinct","name":"any"}},{"id":375,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":471,"character":21}],"type":{"type":"union","isArray":true,"types":[{"type":"reference","name":"Parser"},{"type":"reference","name":"BindingLanguage"}]}},{"id":392,"name":"coalesce","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":393,"name":"coalesce","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":394,"name":"part","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":479,"character":24}]},{"id":395,"name":"getAccessorExpression","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":396,"name":"getAccessorExpression","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":397,"name":"fn","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":480,"character":37}]},{"id":384,"name":"parseMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":385,"name":"parseMessage","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":386,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Expression"}}],"sources":[{"fileName":"index.d.ts","line":477,"character":20}]},{"id":387,"name":"parseProperty","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":388,"name":"parseProperty","kind":4096,"kindString":"Call signature","flags":{},"typeParameter":[{"id":389,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":390,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":391,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"PropertyAccessor","id":367,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"RuleProperty","id":328}}],"sources":[{"fileName":"index.d.ts","line":478,"character":21}]}],"groups":[{"title":"Constructors","kind":512,"children":[380]},{"title":"Properties","kind":1024,"children":[374,379,376,377,373,378,375]},{"title":"Methods","kind":2048,"children":[392,395,384,387]}],"sources":[{"fileName":"index.d.ts","line":468,"character":33}]},{"id":367,"name":"PropertyAccessor","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":368,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":369,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"signatures":[{"id":370,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":371,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"typeParameter","name":"TValue"}}],"sources":[{"fileName":"index.d.ts","line":465,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[398,372]},{"title":"Interfaces","kind":256,"children":[367]}],"sources":[{"fileName":"index.d.ts","line":461,"character":49}]},{"id":468,"name":"\"implementation/validation-rules\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":616,"name":"FluentEnsure","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part of the fluent rule API. Enables targeting properties and objects with rules."},"typeParameter":[{"id":617,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":620,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":621,"name":"new FluentEnsure","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":622,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"reference","name":"FluentEnsure","id":616}}],"sources":[{"fileName":"index.d.ts","line":761,"character":38}]},{"id":618,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":757,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":619,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Rules that have been defined using the fluent API."},"sources":[{"fileName":"index.d.ts","line":761,"character":13}],"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"instrinct","name":"any"}]}},{"id":632,"name":"_addRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":633,"name":"_addRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a rule definition to the sequenced ruleset."},"parameters":[{"id":634,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Rule","id":331,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"instrinct","name":"any"}]}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":781,"character":16}]},{"id":635,"name":"assertInitialized","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":636,"name":"assertInitialized","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":782,"character":33}]},{"id":623,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":624,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":625,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":626,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The property to target. Can be the property name or a property accessor\nfunction.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"PropertyAccessor","id":367,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":768,"character":14}]},{"id":627,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":628,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":772,"character":20}]},{"id":629,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":630,"name":"on","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the rules to a class or object, making them discoverable by the StandardValidator."},"parameters":[{"id":631,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"instrinct","name":"any"}}]}],"sources":[{"fileName":"index.d.ts","line":777,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[620]},{"title":"Properties","kind":1024,"children":[618,619]},{"title":"Methods","kind":2048,"children":[632,635,623,627,629]}],"sources":[{"fileName":"index.d.ts","line":756,"character":29}]},{"id":469,"name":"FluentRuleCustomizer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part of the fluent rule API. Enables customizing property rules."},"typeParameter":[{"id":470,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":471,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":476,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":477,"name":"new FluentRuleCustomizer","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":478,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RuleProperty","id":328}},{"id":479,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":480,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":481,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":482,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":483,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":573,"character":54}]}}},{"id":484,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}},{"id":485,"name":"fluentEnsure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentEnsure","id":616,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}},{"id":486,"name":"fluentRules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}},{"id":487,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469}}],"sources":[{"fileName":"index.d.ts","line":572,"character":21}]},{"id":472,"name":"fluentEnsure","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":569,"character":28}],"type":{"type":"instrinct","name":"any"}},{"id":473,"name":"fluentRules","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":570,"character":27}],"type":{"type":"instrinct","name":"any"}},{"id":474,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":571,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":475,"name":"rule","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":572,"character":20}],"type":{"type":"instrinct","name":"any"}},{"id":514,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Rules that have been defined using the fluent API."},"sources":[{"fileName":"index.d.ts","line":613,"character":22}],"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"instrinct","name":"any"}]}},{"id":535,"name":"email","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":536,"name":"email","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"email\" rule to the property.\nnull, undefined and empty-string values are considered valid."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":647,"character":13}]},{"id":505,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":506,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":507,"name":"TValue2","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":508,"name":"subject","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reflection","declaration":{"id":509,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":510,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":511,"name":"model","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"typeParameter","name":"TValue2"}}],"sources":[{"fileName":"index.d.ts","line":603,"character":41}]}}]}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue2"}]}}],"sources":[{"fileName":"index.d.ts","line":603,"character":14}]},{"id":512,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":513,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":609,"character":20}]},{"id":549,"name":"equals","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"equals","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"equals\" validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":551,"name":"expectedValue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":672,"character":14}]},{"id":532,"name":"matches","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":533,"name":"matches","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"matches\" rule to the property.\nValue must match the specified regular expression.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":534,"name":"regex","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RegExp"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":642,"character":15}]},{"id":546,"name":"maxItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":547,"name":"maxItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":548,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":667,"character":16}]},{"id":540,"name":"maxLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":541,"name":"maxLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":542,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":657,"character":17}]},{"id":543,"name":"minItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":544,"name":"minItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":545,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":662,"character":16}]},{"id":537,"name":"minLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":538,"name":"minLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":539,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":652,"character":17}]},{"id":515,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":516,"name":"on","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the rules to a class or object, making them discoverable by the StandardValidator."},"parameters":[{"id":517,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"FluentEnsure","id":616,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":618,"character":10}]},{"id":530,"name":"required","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":531,"name":"required","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"required\" rule to the property.\nThe value cannot be null, undefined or whitespace."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":636,"character":16}]},{"id":518,"name":"satisfies","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":519,"name":"satisfies","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies an ad-hoc rule function to the ensured property or object."},"parameters":[{"id":520,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to validate the rule.\nWill be called with two arguments, the property value and the object.\nShould return a boolean or a Promise that resolves to a boolean.\n"},"type":{"type":"reflection","declaration":{"id":521,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":522,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":523,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":524,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":625,"character":28}]}}},{"id":525,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":625,"character":17}]},{"id":526,"name":"satisfiesRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":527,"name":"satisfiesRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies a rule by name."},"parameters":[{"id":528,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom or standard rule."},"type":{"type":"instrinct","name":"string"}},{"id":529,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"The rule's arguments.\n"},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":631,"character":21}]},{"id":502,"name":"tag","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":503,"name":"tag","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tags the rule instance, enabling the rule to be found easily\nusing ValidationRules.taggedRules(rules, tag)"},"parameters":[{"id":504,"name":"tag","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":598,"character":11}]},{"id":488,"name":"then","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":489,"name":"then","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validate subsequent rules after previously declared rules have\nbeen validated successfully. Use to postpone validation of costly\nrules until less expensive rules pass validation."}}],"sources":[{"fileName":"index.d.ts","line":579,"character":12}]},{"id":496,"name":"when","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":497,"name":"when","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Specifies a condition that must be met before attempting to validate the rule."},"parameters":[{"id":498,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function that accepts the object as a parameter and returns true\nor false whether the rule should be evaluated.\n"},"type":{"type":"reflection","declaration":{"id":499,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":500,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":501,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":593,"character":23}]}}}]}],"sources":[{"fileName":"index.d.ts","line":593,"character":12}]},{"id":493,"name":"withMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":494,"name":"withMessage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Specifies rule's validation message."},"parameters":[{"id":495,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":587,"character":19}]},{"id":490,"name":"withMessageKey","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":491,"name":"withMessageKey","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Specifies the key to use when looking up the rule's validation message."},"parameters":[{"id":492,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":583,"character":22}]}],"groups":[{"title":"Constructors","kind":512,"children":[476]},{"title":"Properties","kind":1024,"children":[472,473,474,475,514]},{"title":"Methods","kind":2048,"children":[535,505,512,549,532,546,540,543,537,515,530,518,526,502,488,496,493,490]}],"sources":[{"fileName":"index.d.ts","line":568,"character":37}]},{"id":552,"name":"FluentRules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part of the fluent rule API. Enables applying rules to properties and objects."},"typeParameter":[{"id":553,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":554,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":574,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":575,"name":"new FluentRules","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":576,"name":"fluentEnsure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentEnsure","id":616,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}},{"id":577,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}},{"id":578,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RuleProperty","id":328}}],"type":{"type":"reference","name":"FluentRules","id":552}}],"sources":[{"fileName":"index.d.ts","line":692,"character":25}]},{"id":555,"name":"fluentEnsure","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":678,"character":28}],"type":{"type":"instrinct","name":"any"}},{"id":556,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":679,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":557,"name":"property","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":680,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":573,"name":"sequence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Current rule sequence number. Used to postpone evaluation of rules until rules\nwith lower sequence number have successfully validated. The \"then\" fluent API method\nmanages this property, there's usually no need to set it directly."},"sources":[{"fileName":"index.d.ts","line":692,"character":16}],"type":{"type":"instrinct","name":"number"}},{"id":558,"name":"customRules","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":681,"character":26}],"type":{"type":"reflection","declaration":{"id":559,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":[{"id":560,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":561,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reflection","declaration":{"id":562,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":569,"name":"argsToConfig","kind":32,"kindString":"Variable","flags":{"isOptional":true},"sources":[{"fileName":"index.d.ts","line":684,"character":28}],"type":{"type":"reflection","declaration":{"id":570,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":571,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":572,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":684,"character":30}]}}},{"id":563,"name":"condition","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":683,"character":25}],"type":{"type":"reflection","declaration":{"id":564,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":565,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":566,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":567,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":568,"name":"fluentArgs","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":683,"character":26}]}}}],"groups":[{"title":"Variables","kind":32,"children":[569,563]}],"sources":[{"fileName":"index.d.ts","line":682,"character":27}]}}}],"sources":[{"fileName":"index.d.ts","line":681,"character":27}]}}},{"id":579,"name":"displayName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":580,"name":"displayName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the display name of the ensured property."},"parameters":[{"id":581,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":697,"character":19}]},{"id":599,"name":"email","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":600,"name":"email","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"email\" rule to the property.\nnull, undefined and empty-string values are considered valid."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":726,"character":13}]},{"id":613,"name":"equals","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":614,"name":"equals","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"equals\" validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":615,"name":"expectedValue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":751,"character":14}]},{"id":596,"name":"matches","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":597,"name":"matches","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"matches\" rule to the property.\nValue must match the specified regular expression.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":598,"name":"regex","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RegExp"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":721,"character":15}]},{"id":610,"name":"maxItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":611,"name":"maxItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":612,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":746,"character":16}]},{"id":604,"name":"maxLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":605,"name":"maxLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":606,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":736,"character":17}]},{"id":607,"name":"minItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":608,"name":"minItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":609,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":741,"character":16}]},{"id":601,"name":"minLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":602,"name":"minLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":603,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":731,"character":17}]},{"id":594,"name":"required","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":595,"name":"required","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"required\" rule to the property.\nThe value cannot be null, undefined or whitespace."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":715,"character":16}]},{"id":582,"name":"satisfies","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":583,"name":"satisfies","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies an ad-hoc rule function to the ensured property or object."},"parameters":[{"id":584,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to validate the rule.\nWill be called with two arguments, the property value and the object.\nShould return a boolean or a Promise that resolves to a boolean.\n"},"type":{"type":"reflection","declaration":{"id":585,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":586,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":587,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":588,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":704,"character":28}]}}},{"id":589,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":704,"character":17}]},{"id":590,"name":"satisfiesRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":591,"name":"satisfiesRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies a rule by name."},"parameters":[{"id":592,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom or standard rule."},"type":{"type":"instrinct","name":"string"}},{"id":593,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"The rule's arguments.\n"},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":710,"character":21}]}],"groups":[{"title":"Constructors","kind":512,"children":[574]},{"title":"Properties","kind":1024,"children":[555,556,557,573,558]},{"title":"Methods","kind":2048,"children":[579,599,613,596,610,604,607,601,594,582,590]}],"sources":[{"fileName":"index.d.ts","line":677,"character":28}]},{"id":637,"name":"ValidationRules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Fluent rule definition API."},"children":[{"id":638,"name":"parser","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":788,"character":29}],"type":{"type":"instrinct","name":"any"}},{"id":650,"name":"customRule","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":651,"name":"customRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines a custom rule."},"parameters":[{"id":652,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom rule. Also serves as the message key."},"type":{"type":"instrinct","name":"string"}},{"id":653,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rule function."},"type":{"type":"reflection","declaration":{"id":654,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":655,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":656,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":657,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":658,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":807,"character":50}]}}},{"id":659,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The message expression"},"type":{"type":"instrinct","name":"string"}},{"id":660,"name":"argsToConfig","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A function that maps the rule's arguments to a \"config\"\nobject that can be used when evaluating the message expression.\n"},"type":{"type":"reflection","declaration":{"id":661,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":662,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":663,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":807,"character":156}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":807,"character":25}]},{"id":642,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":643,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":644,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":645,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":646,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The property to target. Can be the property name or a property accessor function.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"PropertyAccessor","id":367,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":794,"character":21}]},{"id":647,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":648,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"typeParameter":[{"id":649,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":798,"character":27}]},{"id":639,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":640,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":641,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":789,"character":25}]},{"id":668,"name":"off","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":669,"name":"off","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes the rules from a class or object."},"parameters":[{"id":670,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":818,"character":18}]},{"id":664,"name":"taggedRules","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":665,"name":"taggedRules","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns rules with the matching tag."},"parameters":[{"id":666,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}},{"id":667,"name":"tag","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag to search for.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}}],"sources":[{"fileName":"index.d.ts","line":813,"character":26}]}],"groups":[{"title":"Properties","kind":1024,"children":[638]},{"title":"Methods","kind":2048,"children":[650,642,647,639,668,664]}],"sources":[{"fileName":"index.d.ts","line":787,"character":32}]}],"groups":[{"title":"Classes","kind":128,"children":[616,469,552,637]}],"sources":[{"fileName":"index.d.ts","line":562,"character":48}]},{"id":30,"name":"\"property-info\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":31,"name":"getPropertyInfo","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":32,"name":"getPropertyInfo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the object and property name for the specified expression."},"parameters":[{"id":33,"name":"expression","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The expression"},"type":{"type":"reference","name":"Expression"}},{"id":34,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The scope\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":35,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":36,"name":"object","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":74,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":37,"name":"propertyName","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":75,"character":20}],"type":{"type":"instrinct","name":"string"}}],"groups":[{"title":"Variables","kind":32,"children":[36,37]}],"sources":[{"fileName":"index.d.ts","line":73,"character":73}]}},{"type":"instrinct","name":"null"}]}}],"sources":[{"fileName":"index.d.ts","line":73,"character":35}]}],"groups":[{"title":"Functions","kind":64,"children":[31]}],"sources":[{"fileName":"index.d.ts","line":66,"character":30}]},{"id":165,"name":"\"validate-binding-behavior\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":166,"name":"ValidateBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the validate trigger specified by the associated controller's\nvalidateTrigger property occurs."},"children":[{"id":171,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":172,"name":"new ValidateBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":173,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateBindingBehavior","id":166},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":167,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":303,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":178,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":179,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":180,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":181,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":182,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":183,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":174,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":175,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":176,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":177,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":168,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":169,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":170,"name":"controller","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationController","id":73}}],"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":304,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":184,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":185,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":186,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[171]},{"title":"Properties","kind":1024,"children":[167]},{"title":"Methods","kind":2048,"children":[178,174,168,184]}],"sources":[{"fileName":"index.d.ts","line":302,"character":40}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":187,"name":"ValidateManuallyBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property will be validated\nmanually, by calling controller.validate(). No automatic validation\ntriggered by data-entry or blur will occur."},"children":[{"id":191,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":192,"name":"new ValidateManuallyBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":193,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateManuallyBindingBehavior","id":187},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":188,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":312,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":198,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":199,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":200,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":201,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":202,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":203,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":194,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":195,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":196,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":197,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":189,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":190,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":313,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":204,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":205,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":206,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[191]},{"title":"Properties","kind":1024,"children":[188]},{"title":"Methods","kind":2048,"children":[198,194,189,204]}],"sources":[{"fileName":"index.d.ts","line":311,"character":48}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":207,"name":"ValidateOnBlurBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the associated element blurs."},"children":[{"id":211,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":212,"name":"new ValidateOnBlurBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":213,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnBlurBindingBehavior","id":207},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":208,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":320,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":218,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":219,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":220,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":221,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":222,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":223,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":214,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":215,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":216,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":217,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":209,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":210,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":321,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":224,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":225,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":226,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[211]},{"title":"Properties","kind":1024,"children":[208]},{"title":"Methods","kind":2048,"children":[218,214,209,224]}],"sources":[{"fileName":"index.d.ts","line":319,"character":46}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":227,"name":"ValidateOnChangeBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the associated element is changed by the user, causing a change\nto the model."},"children":[{"id":231,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":232,"name":"new ValidateOnChangeBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":233,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnChangeBindingBehavior","id":227},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":228,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":329,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":238,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":239,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":240,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":241,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":242,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":243,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":234,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":235,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":236,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":237,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":229,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":230,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":330,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":244,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":245,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":246,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[231]},{"title":"Properties","kind":1024,"children":[228]},{"title":"Methods","kind":2048,"children":[238,234,229,244]}],"sources":[{"fileName":"index.d.ts","line":328,"character":48}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":247,"name":"ValidateOnChangeOrBlurBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the associated element blurs or is changed by the user, causing\na change to the model."},"children":[{"id":251,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":252,"name":"new ValidateOnChangeOrBlurBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":253,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnChangeOrBlurBindingBehavior","id":247},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":248,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":338,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":258,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":259,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":260,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":261,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":262,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":263,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":254,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":255,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":256,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":257,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":249,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":250,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":339,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":264,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":265,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":266,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[251]},{"title":"Properties","kind":1024,"children":[248]},{"title":"Methods","kind":2048,"children":[258,254,249,264]}],"sources":[{"fileName":"index.d.ts","line":337,"character":54}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]}],"groups":[{"title":"Classes","kind":128,"children":[166,187,207,227,247]}],"sources":[{"fileName":"index.d.ts","line":293,"character":42}]},{"id":143,"name":"\"validate-binding-behavior-base\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":144,"name":"ValidateBindingBehaviorBase","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated."},"children":[{"id":146,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":147,"name":"new ValidateBindingBehaviorBase","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":148,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}]},{"id":145,"name":"taskQueue","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":279,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":156,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":157,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":158,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":159,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":160,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":161,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}]},{"id":152,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":153,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":154,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":155,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}]},{"id":149,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true,"isProtected":true},"signatures":[{"id":150,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":151,"name":"controller","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationController","id":73}}],"type":{"type":"instrinct","name":"number"}}],"sources":[{"fileName":"index.d.ts","line":281,"character":45}]},{"id":162,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":163,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":164,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[146]},{"title":"Properties","kind":1024,"children":[145]},{"title":"Methods","kind":2048,"children":[156,152,149,162]}],"sources":[{"fileName":"index.d.ts","line":278,"character":53}],"extendedBy":[{"type":"reference","name":"ValidateBindingBehavior","id":166},{"type":"reference","name":"ValidateManuallyBindingBehavior","id":187},{"type":"reference","name":"ValidateOnBlurBindingBehavior","id":207},{"type":"reference","name":"ValidateOnChangeBindingBehavior","id":227},{"type":"reference","name":"ValidateOnChangeOrBlurBindingBehavior","id":247}]}],"groups":[{"title":"Classes","kind":128,"children":[144]}],"sources":[{"fileName":"index.d.ts","line":272,"character":47}]},{"id":20,"name":"\"validate-instruction\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":21,"name":"ValidateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructions for the validation controller's validate method."},"children":[{"id":22,"name":"object","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The object to validate."},"sources":[{"fileName":"index.d.ts","line":34,"character":14}],"type":{"type":"instrinct","name":"any"}},{"id":23,"name":"propertyName","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The property to validate. Optional."},"sources":[{"fileName":"index.d.ts","line":38,"character":20}],"type":{"type":"instrinct","name":"any"}},{"id":24,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The rules to validate. Optional."},"sources":[{"fileName":"index.d.ts","line":42,"character":13}],"type":{"type":"instrinct","name":"any"}}],"groups":[{"title":"Properties","kind":1024,"children":[22,23,24]}],"sources":[{"fileName":"index.d.ts","line":30,"character":40}]}],"groups":[{"title":"Interfaces","kind":256,"children":[21]}],"sources":[{"fileName":"index.d.ts","line":26,"character":37}]},{"id":2,"name":"\"validate-result\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":3,"name":"ValidateResult","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The result of validating an individual validation rule."},"children":[{"id":11,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":12,"name":"new ValidateResult","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":13,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The rule associated with the result. Validator implementation specific."},"type":{"type":"instrinct","name":"any"}},{"id":14,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that was validated."},"type":{"type":"instrinct","name":"any"}},{"id":15,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property that was validated."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":16,"name":"valid","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"boolean"}},{"id":17,"name":"message","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"type":{"type":"reference","name":"ValidateResult","id":3}}],"sources":[{"fileName":"index.d.ts","line":15,"character":19}]},{"id":10,"name":"id","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A number that uniquely identifies the result instance."},"sources":[{"fileName":"index.d.ts","line":15,"character":10}],"type":{"type":"instrinct","name":"number"}},{"id":8,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":10,"character":15}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":5,"name":"object","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":7,"character":14}],"type":{"type":"instrinct","name":"any"}},{"id":6,"name":"propertyName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":8,"character":20}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":4,"name":"rule","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":6,"character":12}],"type":{"type":"instrinct","name":"any"}},{"id":7,"name":"valid","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":9,"character":13}],"type":{"type":"instrinct","name":"boolean"}},{"id":9,"name":"nextId","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":11,"character":29}],"type":{"type":"instrinct","name":"any"}},{"id":18,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19,"name":"toString","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"sources":[{"fileName":"index.d.ts","line":23,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[11]},{"title":"Properties","kind":1024,"children":[10,8,5,6,4,7,9]},{"title":"Methods","kind":2048,"children":[18]}],"sources":[{"fileName":"index.d.ts","line":5,"character":31}]}],"groups":[{"title":"Classes","kind":128,"children":[3]}],"sources":[{"fileName":"index.d.ts","line":1,"character":32}]},{"id":53,"name":"\"validate-trigger\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":54,"name":"validateTrigger","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Validation triggers."},"sources":[{"fileName":"index.d.ts","line":111,"character":32}],"type":{"type":"reflection","declaration":{"id":55,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":57,"name":"blur","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":113,"character":12}],"type":{"type":"instrinct","name":"number"}},{"id":58,"name":"change","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":114,"character":14}],"type":{"type":"instrinct","name":"number"}},{"id":59,"name":"changeOrBlur","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":115,"character":20}],"type":{"type":"instrinct","name":"number"}},{"id":56,"name":"manual","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":112,"character":14}],"type":{"type":"instrinct","name":"number"}}],"groups":[{"title":"Variables","kind":32,"children":[57,58,59,56]}],"sources":[{"fileName":"index.d.ts","line":111,"character":33}]}}}],"groups":[{"title":"Variables","kind":32,"children":[54]}],"sources":[{"fileName":"index.d.ts","line":107,"character":33}]},{"id":72,"name":"\"validation-controller\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":73,"name":"ValidationController","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Orchestrates validation.\nManages a set of bindings, renderers and objects.\nExposes the current list of validation results for binding purposes."},"children":[{"id":85,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":86,"name":"new ValidationController","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":87,"name":"validator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Validator","id":39}}],"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":197,"character":33}]},{"id":76,"name":"bindings","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":177,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":81,"name":"elements","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":191,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":79,"name":"errors","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Validation errors that have been rendered by the controller."},"sources":[{"fileName":"index.d.ts","line":186,"character":14}],"type":{"type":"reference","isArray":true,"name":"ValidateResult","id":3}},{"id":84,"name":"finishValidating","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":197,"character":32}],"type":{"type":"instrinct","name":"any"}},{"id":82,"name":"objects","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":192,"character":23}],"type":{"type":"instrinct","name":"any"}},{"id":77,"name":"renderers","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":178,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":78,"name":"results","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"comment":{"shortText":"Validation results that have been rendered by the controller."},"sources":[{"fileName":"index.d.ts","line":182,"character":23}],"type":{"type":"instrinct","name":"any"}},{"id":83,"name":"validateTrigger","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The trigger that will invoke automatic validation of a property used in a binding."},"sources":[{"fileName":"index.d.ts","line":196,"character":23}],"type":{"type":"instrinct","name":"number"}},{"id":80,"name":"validating","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":" Whether the controller is currently validating."},"sources":[{"fileName":"index.d.ts","line":190,"character":18}],"type":{"type":"instrinct","name":"boolean"}},{"id":74,"name":"validator","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":175,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":75,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":176,"character":21}],"type":{"type":"reference","isArray":true,"name":"Validator","id":39}},{"id":95,"name":"addError","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":96,"name":"addError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and renders an error."},"parameters":[{"id":97,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":98,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":99,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"type":{"type":"reference","name":"ValidateResult","id":3}}],"sources":[{"fileName":"index.d.ts","line":213,"character":16}]},{"id":88,"name":"addObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":89,"name":"addObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an object to the set of objects that should be validated when validate is called."},"parameters":[{"id":90,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object."},"type":{"type":"instrinct","name":"any"}},{"id":91,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. The rules. If rules aren't supplied the Validator implementation will lookup the rules.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":204,"character":17}]},{"id":103,"name":"addRenderer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":104,"name":"addRenderer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a renderer."},"parameters":[{"id":105,"name":"renderer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The renderer.\n"},"type":{"type":"reference","name":"ValidationRenderer","id":68}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":222,"character":19}]},{"id":126,"name":"getAssociatedElements","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":127,"name":"getAssociatedElements","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the elements associated with an object and propertyName (if any)."},"parameters":[{"id":128,"name":"__namedParameters","kind":32768,"kindString":"Parameter","flags":{},"originalName":"__0","type":{"type":"reflection","declaration":{"id":129,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":130,"name":"object","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":260,"character":45}],"type":{"type":"instrinct","name":"any"}},{"id":131,"name":"propertyName","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":260,"character":59}],"type":{"type":"instrinct","name":"any"}}],"groups":[{"title":"Variables","kind":32,"children":[130,131]}],"sources":[{"fileName":"index.d.ts","line":260,"character":38}]}}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":260,"character":37}]},{"id":117,"name":"getInstructionPredicate","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":118,"name":"getInstructionPredicate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Interprets the instruction and returns a predicate that will identify\nrelevant results in the list of rendered validation results."},"parameters":[{"id":119,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":244,"character":39}]},{"id":132,"name":"processResultDelta","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":133,"name":"processResultDelta","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":134,"name":"kind","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":135,"name":"oldResults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":136,"name":"newResults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":261,"character":34}]},{"id":109,"name":"registerBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"registerBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding with the controller."},"parameters":[{"id":111,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance."},"type":{"type":"reference","name":"Binding"}},{"id":112,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DOM element."},"type":{"type":"reference","name":"Element"}},{"id":113,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"(optional) rules associated with the binding. Validator implementation specific.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":234,"character":23}]},{"id":100,"name":"removeError","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":101,"name":"removeError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes and unrenders an error."},"parameters":[{"id":102,"name":"result","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidateResult","id":3}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":217,"character":19}]},{"id":92,"name":"removeObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":93,"name":"removeObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes an object from the set of objects that should be validated when validate is called."},"parameters":[{"id":94,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":209,"character":20}]},{"id":106,"name":"removeRenderer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":107,"name":"removeRenderer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a renderer."},"parameters":[{"id":108,"name":"renderer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The renderer.\n"},"type":{"type":"reference","name":"ValidationRenderer","id":68}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":227,"character":22}]},{"id":123,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":124,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets any rendered validation results (unrenders)."},"parameters":[{"id":125,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. Instructions on what to reset. If unspecified all rendered results\nwill be unrendered.\n"},"type":{"type":"reference","name":"ValidateInstruction","id":21}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":256,"character":13}]},{"id":140,"name":"resetBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":141,"name":"resetBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets the results for a property associated with a binding."},"parameters":[{"id":142,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":269,"character":20}]},{"id":114,"name":"unregisterBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":115,"name":"unregisterBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregisters a binding with the controller."},"parameters":[{"id":116,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":239,"character":25}]},{"id":120,"name":"validate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":121,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates and renders results."},"parameters":[{"id":122,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. Instructions on what to validate. If undefined, all\nobjects and bindings will be validated.\n"},"type":{"type":"reference","name":"ValidateInstruction","id":21}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ControllerValidateResult","id":26}]}}],"sources":[{"fileName":"index.d.ts","line":250,"character":16}]},{"id":137,"name":"validateBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":138,"name":"validateBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the property associated with a binding."},"parameters":[{"id":139,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":265,"character":23}]}],"groups":[{"title":"Constructors","kind":512,"children":[85]},{"title":"Properties","kind":1024,"children":[76,81,79,84,82,77,78,83,80,74,75]},{"title":"Methods","kind":2048,"children":[95,88,103,126,117,132,109,100,92,106,123,140,114,120,137]}],"sources":[{"fileName":"index.d.ts","line":174,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[73]}],"sources":[{"fileName":"index.d.ts","line":162,"character":38}]},{"id":267,"name":"\"validation-controller-factory\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":268,"name":"ValidationControllerFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Creates ValidationController instances."},"children":[{"id":273,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":274,"name":"new ValidationControllerFactory","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":275,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"ValidationControllerFactory","id":268}}],"sources":[{"fileName":"index.d.ts","line":351,"character":70}]},{"id":269,"name":"container","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":350,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":276,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":277,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new controller instance."},"parameters":[{"id":278,"name":"validator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Validator","id":39}}],"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":356,"character":14}]},{"id":279,"name":"createForCurrentScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":280,"name":"createForCurrentScope","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new controller and registers it in the current element's container so that it's\navailable to the validate binding behavior and renderers."},"parameters":[{"id":281,"name":"validator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Validator","id":39}}],"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":361,"character":29}]},{"id":270,"name":"get","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":271,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":272,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"ValidationControllerFactory","id":268}}],"sources":[{"fileName":"index.d.ts","line":351,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[273]},{"title":"Properties","kind":1024,"children":[269]},{"title":"Methods","kind":2048,"children":[276,279,270]}],"sources":[{"fileName":"index.d.ts","line":349,"character":44}]}],"groups":[{"title":"Classes","kind":128,"children":[268]}],"sources":[{"fileName":"index.d.ts","line":342,"character":46}]},{"id":282,"name":"\"validation-errors-custom-attribute\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":286,"name":"ValidationErrorsCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":296,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":297,"name":"new ValidationErrorsCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":298,"name":"boundaryElement","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":299,"name":"controllerAccessor","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":300,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":301,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":382,"character":65}]}}}],"type":{"type":"reference","name":"ValidationErrorsCustomAttribute","id":286}}],"sources":[{"fileName":"index.d.ts","line":381,"character":32}]},{"id":287,"name":"boundaryElement","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":374,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":288,"name":"controllerAccessor","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":375,"character":34}],"type":{"type":"instrinct","name":"any"}},{"id":295,"name":"errors","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":381,"character":14}],"type":{"type":"reference","isArray":true,"name":"RenderedError","id":283}},{"id":294,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":380,"character":13}],"type":{"type":"reference","isArray":true,"name":"RenderedError","id":283}},{"id":289,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":376,"character":21}],"type":{"type":"union","isArray":true,"types":[{"type":"reflection","declaration":{"id":290,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":291,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":292,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":290}}],"sources":[{"fileName":"index.d.ts","line":376,"character":25}]},{"id":293,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":378,"character":21}],"type":{"type":"reference","name":"Element"}}],"groups":[{"title":"Constructors","kind":512,"children":[291]},{"title":"Variables","kind":32,"children":[293]}]}},{"type":"reference","name":"Lazy"}]}},{"id":310,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":311,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":388,"character":12}]},{"id":304,"name":"interestingElements","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":305,"name":"interestingElements","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":306,"name":"elements","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","isArray":true,"name":"Element"}}],"type":{"type":"reference","isArray":true,"name":"Element"}}],"sources":[{"fileName":"index.d.ts","line":386,"character":27}]},{"id":307,"name":"render","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":308,"name":"render","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":309,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RenderInstruction","id":64}}],"type":{"type":"instrinct","name":"void"},"implementationOf":{"type":"reference","name":"ValidationRenderer.render","id":70}}],"sources":[{"fileName":"index.d.ts","line":387,"character":14}],"implementationOf":{"type":"reference","name":"ValidationRenderer.render","id":69}},{"id":302,"name":"sort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":303,"name":"sort","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":385,"character":12}]},{"id":312,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":313,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":389,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[296]},{"title":"Properties","kind":1024,"children":[287,288,295,294,289]},{"title":"Methods","kind":2048,"children":[310,304,307,302,312]}],"sources":[{"fileName":"index.d.ts","line":373,"character":48}],"implementedTypes":[{"type":"reference","name":"ValidationRenderer","id":68}]},{"id":283,"name":"RenderedError","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":284,"name":"error","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":370,"character":13}],"type":{"type":"reference","name":"ValidateResult","id":3}},{"id":285,"name":"targets","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":371,"character":15}],"type":{"type":"reference","isArray":true,"name":"Element"}}],"groups":[{"title":"Properties","kind":1024,"children":[284,285]}],"sources":[{"fileName":"index.d.ts","line":369,"character":34}]}],"groups":[{"title":"Classes","kind":128,"children":[286]},{"title":"Interfaces","kind":256,"children":[283]}],"sources":[{"fileName":"index.d.ts","line":364,"character":51}]},{"id":60,"name":"\"validation-renderer\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":64,"name":"RenderInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Defines which validation results to render and which validation results to unrender."},"children":[{"id":65,"name":"kind","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The \"kind\" of render instruction. Either 'validate' or 'reset'."},"sources":[{"fileName":"index.d.ts","line":140,"character":12}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"validate"},{"type":"stringLiteral","value":"reset"}]}},{"id":66,"name":"render","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The results to render."},"sources":[{"fileName":"index.d.ts","line":144,"character":14}],"type":{"type":"reference","isArray":true,"name":"ResultInstruction","id":61}},{"id":67,"name":"unrender","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The results to unrender."},"sources":[{"fileName":"index.d.ts","line":148,"character":16}],"type":{"type":"reference","isArray":true,"name":"ResultInstruction","id":61}}],"groups":[{"title":"Properties","kind":1024,"children":[65,66,67]}],"sources":[{"fileName":"index.d.ts","line":136,"character":38}]},{"id":61,"name":"ResultInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A result to render (or unrender) and the associated elements (if any)"},"children":[{"id":63,"name":"elements","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The associated elements (if any)."},"sources":[{"fileName":"index.d.ts","line":131,"character":16}],"type":{"type":"reference","isArray":true,"name":"Element"}},{"id":62,"name":"result","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The validation result."},"sources":[{"fileName":"index.d.ts","line":127,"character":14}],"type":{"type":"reference","name":"ValidateResult","id":3}}],"groups":[{"title":"Properties","kind":1024,"children":[63,62]}],"sources":[{"fileName":"index.d.ts","line":123,"character":38}]},{"id":68,"name":"ValidationRenderer","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Renders validation results."},"children":[{"id":69,"name":"render","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":70,"name":"render","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Render the validation results."},"parameters":[{"id":71,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The render instruction. Defines which results to render and which\nresults to unrender.\n"},"type":{"type":"reference","name":"RenderInstruction","id":64}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":159,"character":14}]}],"groups":[{"title":"Methods","kind":2048,"children":[69]}],"sources":[{"fileName":"index.d.ts","line":153,"character":39}],"implementedBy":[{"type":"reference","name":"ValidationErrorsCustomAttribute","id":286}]}],"groups":[{"title":"Interfaces","kind":256,"children":[64,61,68]}],"sources":[{"fileName":"index.d.ts","line":118,"character":36}]},{"id":314,"name":"\"validation-renderer-custom-attribute\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":315,"name":"ValidationRendererCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":316,"name":"container","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":394,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":317,"name":"controller","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":395,"character":26}],"type":{"type":"instrinct","name":"any"}},{"id":319,"name":"renderer","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":397,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":318,"name":"value","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":396,"character":21}],"type":{"type":"instrinct","name":"any"}},{"id":323,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":324,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":399,"character":12}]},{"id":320,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":321,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":322,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":398,"character":15}]},{"id":325,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":326,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":400,"character":14}]}],"groups":[{"title":"Properties","kind":1024,"children":[316,317,319,318]},{"title":"Methods","kind":2048,"children":[323,320,325]}],"sources":[{"fileName":"index.d.ts","line":393,"character":50}]}],"groups":[{"title":"Classes","kind":128,"children":[315]}],"sources":[{"fileName":"index.d.ts","line":392,"character":53}]},{"id":38,"name":"\"validator\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":39,"name":"Validator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Validates objects and properties."},"children":[{"id":49,"name":"ruleExists","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":50,"name":"ruleExists","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Determines whether a rule exists in a set of rules.","tags":[{"tag":"parem","text":"rule The rule to find.\n"}]},"parameters":[{"id":51,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"instrinct","name":"any"}},{"id":52,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":104,"character":27}]},{"id":45,"name":"validateObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":46,"name":"validateObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates all rules for specified object and it's properties."},"parameters":[{"id":47,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":48,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the implementation should lookup the rules for the\nspecified object. This may not be possible for all implementations of this interface.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]}}],"sources":[{"fileName":"index.d.ts","line":98,"character":31}]},{"id":40,"name":"validateProperty","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":41,"name":"validateProperty","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the specified property."},"parameters":[{"id":42,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":43,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the property to validate."},"type":{"type":"instrinct","name":"string"}},{"id":44,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the implementation should lookup the rules for the\nspecified object. This may not be possible for all implementations of this interface.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]}}],"sources":[{"fileName":"index.d.ts","line":91,"character":33}]}],"groups":[{"title":"Methods","kind":2048,"children":[49,45,40]}],"sources":[{"fileName":"index.d.ts","line":83,"character":35}],"extendedBy":[{"type":"reference","name":"StandardValidator","id":429}]}],"groups":[{"title":"Classes","kind":128,"children":[39]}],"sources":[{"fileName":"index.d.ts","line":78,"character":26}]}],"groups":[{"title":"Modules","kind":2,"children":[671,25,327,349,428,362,410,366,468,30,165,143,20,2,53,72,267,282,60,314,38]}]} +{"name":"aurelia-validation","children":[{"id":671,"name":"\"aurelia-validation\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":672,"name":"AureliaValidationConfiguration","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Aurelia Validation Configuration API"},"children":[{"id":673,"name":"validatorType","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":846,"character":29}],"type":{"type":"instrinct","name":"any"}},{"id":681,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":682,"name":"apply","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the configuration."},"parameters":[{"id":683,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":856,"character":13}]},{"id":674,"name":"customValidator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":675,"name":"customValidator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Use a custom Validator implementation."},"parameters":[{"id":676,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":677,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":678,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":679,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":680,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"reference","name":"__type","id":677}}],"sources":[{"fileName":"index.d.ts","line":850,"character":31}]}],"groups":[{"title":"Constructors","kind":512,"children":[678]}],"sources":[{"fileName":"index.d.ts","line":850,"character":29}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":850,"character":23}]}],"groups":[{"title":"Properties","kind":1024,"children":[673]},{"title":"Methods","kind":2048,"children":[681,674]}],"sources":[{"fileName":"index.d.ts","line":845,"character":47}]},{"id":684,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":685,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the plugin."},"parameters":[{"id":686,"name":"frameworkConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":687,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":688,"name":"container","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":862,"character":17}],"type":{"type":"reference","name":"Container"}},{"id":689,"name":"globalResources","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":863,"character":23}],"type":{"type":"reflection","declaration":{"id":690,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":691,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":692,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"string"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":863,"character":24}]}}}],"groups":[{"title":"Variables","kind":32,"children":[688,689]}],"sources":[{"fileName":"index.d.ts","line":861,"character":46}]}}},{"id":693,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":694,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":695,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":696,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AureliaValidationConfiguration","id":672}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":864,"character":17}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":861,"character":29}]}],"groups":[{"title":"Classes","kind":128,"children":[672]},{"title":"Functions","kind":64,"children":[684]}],"sources":[{"fileName":"index.d.ts","line":821,"character":35}]},{"id":25,"name":"\"controller-validate-result\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":26,"name":"ControllerValidateResult","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The result of a call to the validation controller's validate method."},"children":[{"id":29,"name":"instruction","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The instruction passed to the controller's validate method."},"sources":[{"fileName":"index.d.ts","line":63,"character":19}],"type":{"type":"reference","name":"ValidateInstruction","id":21}},{"id":28,"name":"results","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The validation result of every rule that was evaluated."},"sources":[{"fileName":"index.d.ts","line":59,"character":15}],"type":{"type":"reference","isArray":true,"name":"ValidateResult","id":3}},{"id":27,"name":"valid","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Whether validation passed."},"sources":[{"fileName":"index.d.ts","line":55,"character":13}],"type":{"type":"instrinct","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[29,28,27]}],"sources":[{"fileName":"index.d.ts","line":51,"character":45}]}],"groups":[{"title":"Interfaces","kind":256,"children":[26]}],"sources":[{"fileName":"index.d.ts","line":45,"character":43}]},{"id":327,"name":"\"implementation/rule\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":331,"name":"Rule","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A rule definition. Associations a rule with a property or object."},"typeParameter":[{"id":332,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":333,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":335,"name":"condition","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":423,"character":17}],"type":{"type":"reflection","declaration":{"id":336,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":337,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":338,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":339,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":423,"character":18}]}}},{"id":340,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":424,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":346,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":429,"character":15}],"type":{"type":"union","types":[{"type":"reference","name":"Expression"},{"type":"instrinct","name":"null"}]}},{"id":345,"name":"messageKey","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":428,"character":18}],"type":{"type":"instrinct","name":"string"}},{"id":334,"name":"property","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":422,"character":16}],"type":{"type":"reference","name":"RuleProperty","id":328}},{"id":347,"name":"sequence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":430,"character":16}],"type":{"type":"instrinct","name":"number"}},{"id":348,"name":"tag","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"index.d.ts","line":431,"character":11}],"type":{"type":"instrinct","name":"string"}},{"id":341,"name":"when","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":425,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":342,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":343,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":344,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":425,"character":13}]}},{"type":"instrinct","name":"null"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[335,340,346,345,334,347,348,341]}],"sources":[{"fileName":"index.d.ts","line":421,"character":25}]},{"id":328,"name":"RuleProperty","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Information related to a property that is the subject of validation."},"children":[{"id":330,"name":"displayName","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The displayName of the property (or object)."},"sources":[{"fileName":"index.d.ts","line":416,"character":19}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":329,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The property name. null indicates the rule targets the object itself."},"sources":[{"fileName":"index.d.ts","line":412,"character":12}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[330,329]}],"sources":[{"fileName":"index.d.ts","line":408,"character":33}]}],"groups":[{"title":"Interfaces","kind":256,"children":[331,328]}],"sources":[{"fileName":"index.d.ts","line":403,"character":36}]},{"id":349,"name":"\"implementation/rules\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":350,"name":"Rules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Sets, unsets and retrieves rules on an object or constructor function."},"children":[{"id":351,"name":"key","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"comment":{"shortText":"The name of the property that stores the rules."},"sources":[{"fileName":"index.d.ts","line":443,"character":26}],"type":{"type":"instrinct","name":"any"}},{"id":359,"name":"get","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":360,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the target's rules."},"parameters":[{"id":361,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"union","types":[{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]},{"type":"instrinct","name":"null"}]}}],"sources":[{"fileName":"index.d.ts","line":455,"character":18}]},{"id":352,"name":"set","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":353,"name":"set","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the rules to a target."},"parameters":[{"id":354,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":355,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":447,"character":18}]},{"id":356,"name":"unset","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":357,"name":"unset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes rules from a target."},"parameters":[{"id":358,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":451,"character":20}]}],"groups":[{"title":"Properties","kind":1024,"children":[351]},{"title":"Methods","kind":2048,"children":[359,352,356]}],"sources":[{"fileName":"index.d.ts","line":439,"character":22}]}],"groups":[{"title":"Classes","kind":128,"children":[350]}],"sources":[{"fileName":"index.d.ts","line":434,"character":37}]},{"id":428,"name":"\"implementation/standard-validator\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":429,"name":"StandardValidator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Validates.\nResponsible for validating objects and properties."},"children":[{"id":434,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":435,"name":"new StandardValidator","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":436,"name":"messageProvider","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationMessageProvider","id":414}},{"id":437,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources"}}],"type":{"type":"reference","name":"StandardValidator","id":429}}],"sources":[{"fileName":"index.d.ts","line":534,"character":31}]},{"id":433,"name":"getDisplayName","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":534,"character":30}],"type":{"type":"instrinct","name":"any"}},{"id":432,"name":"lookupFunctions","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":533,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":431,"name":"messageProvider","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":532,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":430,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":531,"character":21}],"type":{"type":"union","isArray":true,"types":[{"type":"reference","name":"ViewResources"},{"type":"reference","name":"ValidationMessageProvider","id":414}]}},{"id":451,"name":"getMessage","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":452,"name":"getMessage","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":453,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":454,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":455,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":557,"character":26}]},{"id":447,"name":"ruleExists","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":448,"name":"ruleExists","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Determines whether a rule exists in a set of rules.","tags":[{"tag":"parem","text":"rule The rule to find.\n"}]},"parameters":[{"id":449,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}},{"id":450,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}}],"type":{"type":"instrinct","name":"boolean"},"overwrites":{"type":"reference","name":"Validator.ruleExists","id":49}}],"sources":[{"fileName":"index.d.ts","line":556,"character":18}],"overwrites":{"type":"reference","name":"Validator.ruleExists","id":49}},{"id":463,"name":"validate","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":464,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":465,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":466,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":467,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":559,"character":24}]},{"id":443,"name":"validateObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":444,"name":"validateObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates all rules for specified object and it's properties."},"parameters":[{"id":445,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":446,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the rules will be looked up using the metadata\nfor the object created by ValidationRules....on(class/object)\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]},"overwrites":{"type":"reference","name":"Validator.validateObject","id":45}}],"sources":[{"fileName":"index.d.ts","line":550,"character":22}],"overwrites":{"type":"reference","name":"Validator.validateObject","id":45}},{"id":438,"name":"validateProperty","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":439,"name":"validateProperty","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the specified property."},"parameters":[{"id":440,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":441,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the property to validate."},"type":{"type":"instrinct","name":"string"}},{"id":442,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the rules will be looked up using the metadata\nfor the object created by ValidationRules....on(class/object)\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]},"overwrites":{"type":"reference","name":"Validator.validateProperty","id":40}}],"sources":[{"fileName":"index.d.ts","line":543,"character":24}],"overwrites":{"type":"reference","name":"Validator.validateProperty","id":40}},{"id":456,"name":"validateRuleSequence","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":457,"name":"validateRuleSequence","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":458,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":459,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":460,"name":"ruleSequence","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":461,"name":"sequence","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":462,"name":"results","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":558,"character":36}]}],"groups":[{"title":"Constructors","kind":512,"children":[434]},{"title":"Properties","kind":1024,"children":[433,432,431,430]},{"title":"Methods","kind":2048,"children":[451,447,463,443,438,456]}],"sources":[{"fileName":"index.d.ts","line":530,"character":34}],"extendedTypes":[{"type":"reference","name":"Validator","id":39}]}],"groups":[{"title":"Classes","kind":128,"children":[429]}],"sources":[{"fileName":"index.d.ts","line":520,"character":50}]},{"id":362,"name":"\"implementation/util\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":363,"name":"isString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":364,"name":"isString","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":365,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":459,"character":28}]}],"groups":[{"title":"Functions","kind":64,"children":[363]}],"sources":[{"fileName":"index.d.ts","line":458,"character":36}]},{"id":410,"name":"\"implementation/validation-messages\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":414,"name":"ValidationMessageProvider","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Retrieves validation messages and property display names."},"children":[{"id":417,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":418,"name":"new ValidationMessageProvider","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":419,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"reference","name":"ValidationMessageProvider","id":414}}],"sources":[{"fileName":"index.d.ts","line":504,"character":49}]},{"id":415,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":503,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":416,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":504,"character":21}],"type":{"type":"reference","isArray":true,"name":"ValidationParser","id":372}},{"id":423,"name":"getDisplayName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":424,"name":"getDisplayName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Formulates a property display name using the property name and the configured\ndisplayName (if provided).\nOverride this with your own custom logic."},"parameters":[{"id":425,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The property name.\n"},"type":{"type":"instrinct","name":"string"}},{"id":426,"name":"displayName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"},{"type":"instrinct","name":"undefined"}]}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"index.d.ts","line":517,"character":22}]},{"id":420,"name":"getMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":421,"name":"getMessage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a message binding expression that corresponds to the key."},"parameters":[{"id":422,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The message key.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Expression"}}],"sources":[{"fileName":"index.d.ts","line":510,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[417]},{"title":"Properties","kind":1024,"children":[415,416]},{"title":"Methods","kind":2048,"children":[423,420]}],"sources":[{"fileName":"index.d.ts","line":502,"character":42}]},{"id":411,"name":"ValidationMessages","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":[{"id":412,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":413,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"index.d.ts","line":492,"character":39}]},{"id":427,"name":"validationMessages","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Dictionary of validation messages. [messageKey]: messageExpression"},"sources":[{"fileName":"index.d.ts","line":498,"character":35}],"type":{"type":"reference","name":"ValidationMessages","id":411}}],"groups":[{"title":"Classes","kind":128,"children":[414]},{"title":"Interfaces","kind":256,"children":[411]},{"title":"Variables","kind":32,"children":[427]}],"sources":[{"fileName":"index.d.ts","line":489,"character":51}]},{"id":366,"name":"\"implementation/validation-parser\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":398,"name":"MessageExpressionValidator","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":404,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":405,"name":"new MessageExpressionValidator","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":406,"name":"originalMessage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"MessageExpressionValidator","id":398},"overwrites":{"type":"reference","name":"Unparser.__constructor"}}],"sources":[{"fileName":"index.d.ts","line":484,"character":79}],"overwrites":{"type":"reference","name":"Unparser.__constructor"}},{"id":399,"name":"originalMessage","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":483,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":407,"name":"visitAccessScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":408,"name":"visitAccessScope","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":409,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessScope"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":486,"character":24}]},{"id":400,"name":"validate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":401,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":402,"name":"expression","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Expression"}},{"id":403,"name":"originalMessage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":484,"character":23}]}],"groups":[{"title":"Constructors","kind":512,"children":[404]},{"title":"Properties","kind":1024,"children":[399]},{"title":"Methods","kind":2048,"children":[407,400]}],"sources":[{"fileName":"index.d.ts","line":482,"character":43}],"extendedTypes":[{"type":"reference","name":"Unparser"}],"implementedTypes":[{"type":"reference","name":"ExpressionVisitor"}]},{"id":372,"name":"ValidationParser","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":380,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":381,"name":"new ValidationParser","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":382,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Parser"}},{"id":383,"name":"bindinqLanguage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BindingLanguage"}}],"type":{"type":"reference","name":"ValidationParser","id":372}}],"sources":[{"fileName":"index.d.ts","line":475,"character":22}]},{"id":374,"name":"bindinqLanguage","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":470,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":379,"name":"cache","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":475,"character":21}],"type":{"type":"instrinct","name":"any"}},{"id":376,"name":"emptyStringExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":472,"character":37}],"type":{"type":"instrinct","name":"any"}},{"id":377,"name":"nullExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":473,"character":30}],"type":{"type":"instrinct","name":"any"}},{"id":373,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":469,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":378,"name":"undefinedExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":474,"character":35}],"type":{"type":"instrinct","name":"any"}},{"id":375,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":471,"character":21}],"type":{"type":"union","isArray":true,"types":[{"type":"reference","name":"Parser"},{"type":"reference","name":"BindingLanguage"}]}},{"id":392,"name":"coalesce","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":393,"name":"coalesce","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":394,"name":"part","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":479,"character":24}]},{"id":395,"name":"getAccessorExpression","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":396,"name":"getAccessorExpression","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":397,"name":"fn","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":480,"character":37}]},{"id":384,"name":"parseMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":385,"name":"parseMessage","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":386,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Expression"}}],"sources":[{"fileName":"index.d.ts","line":477,"character":20}]},{"id":387,"name":"parseProperty","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":388,"name":"parseProperty","kind":4096,"kindString":"Call signature","flags":{},"typeParameter":[{"id":389,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":390,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":391,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"PropertyAccessor","id":367,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"RuleProperty","id":328}}],"sources":[{"fileName":"index.d.ts","line":478,"character":21}]}],"groups":[{"title":"Constructors","kind":512,"children":[380]},{"title":"Properties","kind":1024,"children":[374,379,376,377,373,378,375]},{"title":"Methods","kind":2048,"children":[392,395,384,387]}],"sources":[{"fileName":"index.d.ts","line":468,"character":33}]},{"id":367,"name":"PropertyAccessor","kind":256,"kindString":"Interface","flags":{"isExported":true},"typeParameter":[{"id":368,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":369,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"signatures":[{"id":370,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":371,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"typeParameter","name":"TValue"}}],"sources":[{"fileName":"index.d.ts","line":465,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[398,372]},{"title":"Interfaces","kind":256,"children":[367]}],"sources":[{"fileName":"index.d.ts","line":461,"character":49}]},{"id":468,"name":"\"implementation/validation-rules\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":616,"name":"FluentEnsure","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part of the fluent rule API. Enables targeting properties and objects with rules."},"typeParameter":[{"id":617,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":620,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":621,"name":"new FluentEnsure","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":622,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"reference","name":"FluentEnsure","id":616}}],"sources":[{"fileName":"index.d.ts","line":761,"character":38}]},{"id":618,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":757,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":619,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Rules that have been defined using the fluent API."},"sources":[{"fileName":"index.d.ts","line":761,"character":13}],"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"instrinct","name":"any"}]}},{"id":632,"name":"_addRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":633,"name":"_addRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a rule definition to the sequenced ruleset."},"parameters":[{"id":634,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Rule","id":331,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"instrinct","name":"any"}]}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":781,"character":16}]},{"id":635,"name":"assertInitialized","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":636,"name":"assertInitialized","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":782,"character":33}]},{"id":623,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":624,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":625,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":626,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The property to target. Can be the property name or a property accessor\nfunction.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"PropertyAccessor","id":367,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":768,"character":14}]},{"id":627,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":628,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":772,"character":20}]},{"id":629,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":630,"name":"on","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the rules to a class or object, making them discoverable by the StandardValidator."},"parameters":[{"id":631,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"instrinct","name":"any"}}]}],"sources":[{"fileName":"index.d.ts","line":777,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[620]},{"title":"Properties","kind":1024,"children":[618,619]},{"title":"Methods","kind":2048,"children":[632,635,623,627,629]}],"sources":[{"fileName":"index.d.ts","line":756,"character":29}]},{"id":469,"name":"FluentRuleCustomizer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part of the fluent rule API. Enables customizing property rules."},"typeParameter":[{"id":470,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":471,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":476,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":477,"name":"new FluentRuleCustomizer","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":478,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RuleProperty","id":328}},{"id":479,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":480,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":481,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":482,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":483,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":573,"character":54}]}}},{"id":484,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}},{"id":485,"name":"fluentEnsure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentEnsure","id":616,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}},{"id":486,"name":"fluentRules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}},{"id":487,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469}}],"sources":[{"fileName":"index.d.ts","line":572,"character":21}]},{"id":472,"name":"fluentEnsure","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":569,"character":28}],"type":{"type":"instrinct","name":"any"}},{"id":473,"name":"fluentRules","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":570,"character":27}],"type":{"type":"instrinct","name":"any"}},{"id":474,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":571,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":475,"name":"rule","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":572,"character":20}],"type":{"type":"instrinct","name":"any"}},{"id":514,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Rules that have been defined using the fluent API."},"sources":[{"fileName":"index.d.ts","line":613,"character":22}],"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"instrinct","name":"any"}]}},{"id":535,"name":"email","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":536,"name":"email","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"email\" rule to the property.\nnull, undefined and empty-string values are considered valid."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":647,"character":13}]},{"id":505,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":506,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":507,"name":"TValue2","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":508,"name":"subject","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reflection","declaration":{"id":509,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":510,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":511,"name":"model","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"typeParameter","name":"TValue2"}}],"sources":[{"fileName":"index.d.ts","line":603,"character":41}]}}]}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue2"}]}}],"sources":[{"fileName":"index.d.ts","line":603,"character":14}]},{"id":512,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":513,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":609,"character":20}]},{"id":549,"name":"equals","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":550,"name":"equals","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"equals\" validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":551,"name":"expectedValue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":672,"character":14}]},{"id":532,"name":"matches","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":533,"name":"matches","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"matches\" rule to the property.\nValue must match the specified regular expression.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":534,"name":"regex","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RegExp"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":642,"character":15}]},{"id":546,"name":"maxItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":547,"name":"maxItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":548,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":667,"character":16}]},{"id":540,"name":"maxLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":541,"name":"maxLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":542,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":657,"character":17}]},{"id":543,"name":"minItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":544,"name":"minItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":545,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":662,"character":16}]},{"id":537,"name":"minLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":538,"name":"minLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":539,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":652,"character":17}]},{"id":515,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":516,"name":"on","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the rules to a class or object, making them discoverable by the StandardValidator."},"parameters":[{"id":517,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"FluentEnsure","id":616,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":618,"character":10}]},{"id":530,"name":"required","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":531,"name":"required","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"required\" rule to the property.\nThe value cannot be null, undefined or whitespace."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":636,"character":16}]},{"id":518,"name":"satisfies","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":519,"name":"satisfies","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies an ad-hoc rule function to the ensured property or object."},"parameters":[{"id":520,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to validate the rule.\nWill be called with two arguments, the property value and the object.\nShould return a boolean or a Promise that resolves to a boolean.\n"},"type":{"type":"reflection","declaration":{"id":521,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":522,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":523,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":524,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":625,"character":28}]}}},{"id":525,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":625,"character":17}]},{"id":526,"name":"satisfiesRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":527,"name":"satisfiesRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies a rule by name."},"parameters":[{"id":528,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom or standard rule."},"type":{"type":"instrinct","name":"string"}},{"id":529,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"The rule's arguments.\n"},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":631,"character":21}]},{"id":502,"name":"tag","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":503,"name":"tag","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Tags the rule instance, enabling the rule to be found easily\nusing ValidationRules.taggedRules(rules, tag)"},"parameters":[{"id":504,"name":"tag","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":598,"character":11}]},{"id":488,"name":"then","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":489,"name":"then","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validate subsequent rules after previously declared rules have\nbeen validated successfully. Use to postpone validation of costly\nrules until less expensive rules pass validation."}}],"sources":[{"fileName":"index.d.ts","line":579,"character":12}]},{"id":496,"name":"when","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":497,"name":"when","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Specifies a condition that must be met before attempting to validate the rule."},"parameters":[{"id":498,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function that accepts the object as a parameter and returns true\nor false whether the rule should be evaluated.\n"},"type":{"type":"reflection","declaration":{"id":499,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":500,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":501,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":593,"character":23}]}}}]}],"sources":[{"fileName":"index.d.ts","line":593,"character":12}]},{"id":493,"name":"withMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":494,"name":"withMessage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Specifies rule's validation message."},"parameters":[{"id":495,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":587,"character":19}]},{"id":490,"name":"withMessageKey","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":491,"name":"withMessageKey","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Specifies the key to use when looking up the rule's validation message."},"parameters":[{"id":492,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":583,"character":22}]}],"groups":[{"title":"Constructors","kind":512,"children":[476]},{"title":"Properties","kind":1024,"children":[472,473,474,475,514]},{"title":"Methods","kind":2048,"children":[535,505,512,549,532,546,540,543,537,515,530,518,526,502,488,496,493,490]}],"sources":[{"fileName":"index.d.ts","line":568,"character":37}]},{"id":552,"name":"FluentRules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part of the fluent rule API. Enables applying rules to properties and objects."},"typeParameter":[{"id":553,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":554,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":574,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":575,"name":"new FluentRules","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":576,"name":"fluentEnsure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentEnsure","id":616,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}},{"id":577,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}},{"id":578,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RuleProperty","id":328}}],"type":{"type":"reference","name":"FluentRules","id":552}}],"sources":[{"fileName":"index.d.ts","line":692,"character":25}]},{"id":555,"name":"fluentEnsure","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":678,"character":28}],"type":{"type":"instrinct","name":"any"}},{"id":556,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":679,"character":22}],"type":{"type":"instrinct","name":"any"}},{"id":557,"name":"property","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":680,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":573,"name":"sequence","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Current rule sequence number. Used to postpone evaluation of rules until rules\nwith lower sequence number have successfully validated. The \"then\" fluent API method\nmanages this property, there's usually no need to set it directly."},"sources":[{"fileName":"index.d.ts","line":692,"character":16}],"type":{"type":"instrinct","name":"number"}},{"id":558,"name":"customRules","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":681,"character":26}],"type":{"type":"reflection","declaration":{"id":559,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":[{"id":560,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":561,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reflection","declaration":{"id":562,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":569,"name":"argsToConfig","kind":32,"kindString":"Variable","flags":{"isOptional":true},"sources":[{"fileName":"index.d.ts","line":684,"character":28}],"type":{"type":"reflection","declaration":{"id":570,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":571,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":572,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":684,"character":30}]}}},{"id":563,"name":"condition","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":683,"character":25}],"type":{"type":"reflection","declaration":{"id":564,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":565,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":566,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":567,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":568,"name":"fluentArgs","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":683,"character":26}]}}}],"groups":[{"title":"Variables","kind":32,"children":[569,563]}],"sources":[{"fileName":"index.d.ts","line":682,"character":27}]}}}],"sources":[{"fileName":"index.d.ts","line":681,"character":27}]}}},{"id":579,"name":"displayName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":580,"name":"displayName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the display name of the ensured property."},"parameters":[{"id":581,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}}]}],"sources":[{"fileName":"index.d.ts","line":697,"character":19}]},{"id":599,"name":"email","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":600,"name":"email","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"email\" rule to the property.\nnull, undefined and empty-string values are considered valid."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":726,"character":13}]},{"id":613,"name":"equals","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":614,"name":"equals","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"equals\" validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":615,"name":"expectedValue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":751,"character":14}]},{"id":596,"name":"matches","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":597,"name":"matches","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"matches\" rule to the property.\nValue must match the specified regular expression.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":598,"name":"regex","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RegExp"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":721,"character":15}]},{"id":610,"name":"maxItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":611,"name":"maxItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":612,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":746,"character":16}]},{"id":604,"name":"maxLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":605,"name":"maxLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"maxLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":606,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":736,"character":17}]},{"id":607,"name":"minItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":608,"name":"minItems","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minItems\" ARRAY validation rule to the property.\nnull and undefined values are considered valid."},"parameters":[{"id":609,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":741,"character":16}]},{"id":601,"name":"minLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":602,"name":"minLength","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"minLength\" STRING validation rule to the property.\nnull, undefined and empty-string values are considered valid."},"parameters":[{"id":603,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":731,"character":17}]},{"id":594,"name":"required","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":595,"name":"required","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the \"required\" rule to the property.\nThe value cannot be null, undefined or whitespace."},"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":715,"character":16}]},{"id":582,"name":"satisfies","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":583,"name":"satisfies","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies an ad-hoc rule function to the ensured property or object."},"parameters":[{"id":584,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to validate the rule.\nWill be called with two arguments, the property value and the object.\nShould return a boolean or a Promise that resolves to a boolean.\n"},"type":{"type":"reflection","declaration":{"id":585,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":586,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":587,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":588,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":704,"character":28}]}}},{"id":589,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":704,"character":17}]},{"id":590,"name":"satisfiesRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":591,"name":"satisfiesRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies a rule by name."},"parameters":[{"id":592,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom or standard rule."},"type":{"type":"instrinct","name":"string"}},{"id":593,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"The rule's arguments.\n"},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":469,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":710,"character":21}]}],"groups":[{"title":"Constructors","kind":512,"children":[574]},{"title":"Properties","kind":1024,"children":[555,556,557,573,558]},{"title":"Methods","kind":2048,"children":[579,599,613,596,610,604,607,601,594,582,590]}],"sources":[{"fileName":"index.d.ts","line":677,"character":28}]},{"id":637,"name":"ValidationRules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Fluent rule definition API."},"children":[{"id":638,"name":"parser","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":788,"character":29}],"type":{"type":"instrinct","name":"any"}},{"id":650,"name":"customRule","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":651,"name":"customRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines a custom rule."},"parameters":[{"id":652,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom rule. Also serves as the message key."},"type":{"type":"instrinct","name":"string"}},{"id":653,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rule function."},"type":{"type":"reflection","declaration":{"id":654,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":655,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":656,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":657,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}},{"id":658,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"union","types":[{"type":"instrinct","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}]}}],"sources":[{"fileName":"index.d.ts","line":807,"character":50}]}}},{"id":659,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The message expression"},"type":{"type":"instrinct","name":"string"}},{"id":660,"name":"argsToConfig","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A function that maps the rule's arguments to a \"config\"\nobject that can be used when evaluating the message expression.\n"},"type":{"type":"reflection","declaration":{"id":661,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":662,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":663,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"instrinct","isArray":true,"name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":807,"character":156}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":807,"character":25}]},{"id":642,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":643,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":644,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":645,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":646,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The property to target. Can be the property name or a property accessor function.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"PropertyAccessor","id":367,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"index.d.ts","line":794,"character":21}]},{"id":647,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":648,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"typeParameter":[{"id":649,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}}],"type":{"type":"reference","name":"FluentRules","id":552,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"index.d.ts","line":798,"character":27}]},{"id":639,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":640,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":641,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationParser","id":372}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":789,"character":25}]},{"id":668,"name":"off","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":669,"name":"off","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes the rules from a class or object."},"parameters":[{"id":670,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":818,"character":18}]},{"id":664,"name":"taggedRules","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":665,"name":"taggedRules","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns rules with the matching tag."},"parameters":[{"id":666,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}},{"id":667,"name":"tag","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag to search for.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","isArray":true,"name":"Rule","id":331,"typeArguments":[{"type":"instrinct","name":"any"},{"type":"instrinct","name":"any"}]}}],"sources":[{"fileName":"index.d.ts","line":813,"character":26}]}],"groups":[{"title":"Properties","kind":1024,"children":[638]},{"title":"Methods","kind":2048,"children":[650,642,647,639,668,664]}],"sources":[{"fileName":"index.d.ts","line":787,"character":32}]}],"groups":[{"title":"Classes","kind":128,"children":[616,469,552,637]}],"sources":[{"fileName":"index.d.ts","line":562,"character":48}]},{"id":30,"name":"\"property-info\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":31,"name":"getPropertyInfo","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":32,"name":"getPropertyInfo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the object and property name for the specified expression."},"parameters":[{"id":33,"name":"expression","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The expression"},"type":{"type":"reference","name":"Expression"}},{"id":34,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The scope\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":35,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":36,"name":"object","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":74,"character":14}],"type":{"type":"reference","name":"Object"}},{"id":37,"name":"propertyName","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":75,"character":20}],"type":{"type":"instrinct","name":"string"}}],"groups":[{"title":"Variables","kind":32,"children":[36,37]}],"sources":[{"fileName":"index.d.ts","line":73,"character":73}]}},{"type":"instrinct","name":"null"}]}}],"sources":[{"fileName":"index.d.ts","line":73,"character":35}]}],"groups":[{"title":"Functions","kind":64,"children":[31]}],"sources":[{"fileName":"index.d.ts","line":66,"character":30}]},{"id":165,"name":"\"validate-binding-behavior\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":166,"name":"ValidateBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the validate trigger specified by the associated controller's\nvalidateTrigger property occurs."},"children":[{"id":171,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":172,"name":"new ValidateBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":173,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateBindingBehavior","id":166},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":167,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":303,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":178,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":179,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":180,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":181,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":182,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":183,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":174,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":175,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":176,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":177,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":168,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":169,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":170,"name":"controller","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationController","id":73}}],"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":304,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":184,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":185,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":186,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[171]},{"title":"Properties","kind":1024,"children":[167]},{"title":"Methods","kind":2048,"children":[178,174,168,184]}],"sources":[{"fileName":"index.d.ts","line":302,"character":40}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":187,"name":"ValidateManuallyBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property will be validated\nmanually, by calling controller.validate(). No automatic validation\ntriggered by data-entry or blur will occur."},"children":[{"id":191,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":192,"name":"new ValidateManuallyBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":193,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateManuallyBindingBehavior","id":187},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":188,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":312,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":198,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":199,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":200,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":201,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":202,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":203,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":194,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":195,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":196,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":197,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":189,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":190,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":313,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":204,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":205,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":206,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[191]},{"title":"Properties","kind":1024,"children":[188]},{"title":"Methods","kind":2048,"children":[198,194,189,204]}],"sources":[{"fileName":"index.d.ts","line":311,"character":48}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":207,"name":"ValidateOnBlurBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the associated element blurs."},"children":[{"id":211,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":212,"name":"new ValidateOnBlurBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":213,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnBlurBindingBehavior","id":207},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":208,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":320,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":218,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":219,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":220,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":221,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":222,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":223,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":214,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":215,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":216,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":217,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":209,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":210,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":321,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":224,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":225,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":226,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[211]},{"title":"Properties","kind":1024,"children":[208]},{"title":"Methods","kind":2048,"children":[218,214,209,224]}],"sources":[{"fileName":"index.d.ts","line":319,"character":46}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":227,"name":"ValidateOnChangeBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the associated element is changed by the user, causing a change\nto the model."},"children":[{"id":231,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":232,"name":"new ValidateOnChangeBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":233,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnChangeBindingBehavior","id":227},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":228,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":329,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":238,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":239,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":240,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":241,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":242,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":243,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":234,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":235,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":236,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":237,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":229,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":230,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":330,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":244,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":245,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":246,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[231]},{"title":"Properties","kind":1024,"children":[228]},{"title":"Methods","kind":2048,"children":[238,234,229,244]}],"sources":[{"fileName":"index.d.ts","line":328,"character":48}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]},{"id":247,"name":"ValidateOnChangeOrBlurBindingBehavior","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated\nwhen the associated element blurs or is changed by the user, causing\na change to the model."},"children":[{"id":251,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":252,"name":"new ValidateOnChangeOrBlurBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":253,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnChangeOrBlurBindingBehavior","id":247},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":146}},{"id":248,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":338,"character":21}],"type":{"type":"reference","isArray":true,"name":"TaskQueue"}},{"id":258,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":259,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":260,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":261,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":262,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":263,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":156}},{"id":254,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":255,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":256,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":257,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.getTarget","id":152}},{"id":249,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":250,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"number"},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}}],"sources":[{"fileName":"index.d.ts","line":339,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":149}},{"id":264,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":265,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":266,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":162}}],"groups":[{"title":"Constructors","kind":512,"children":[251]},{"title":"Properties","kind":1024,"children":[248]},{"title":"Methods","kind":2048,"children":[258,254,249,264]}],"sources":[{"fileName":"index.d.ts","line":337,"character":54}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}]}],"groups":[{"title":"Classes","kind":128,"children":[166,187,207,227,247]}],"sources":[{"fileName":"index.d.ts","line":293,"character":42}]},{"id":143,"name":"\"validate-binding-behavior-base\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":144,"name":"ValidateBindingBehaviorBase","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated."},"children":[{"id":146,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":147,"name":"new ValidateBindingBehaviorBase","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":148,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateBindingBehaviorBase","id":144}}],"sources":[{"fileName":"index.d.ts","line":279,"character":26}]},{"id":145,"name":"taskQueue","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":279,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":156,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":157,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":158,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":159,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":160,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":73},{"type":"instrinct","name":"any"}]}},{"id":161,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":289,"character":12}]},{"id":152,"name":"getTarget","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":153,"name":"getTarget","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the DOM element associated with the data-binding. Most of the time it's\nthe binding.target but sometimes binding.target is an aurelia custom element,\nor custom attribute which is a javascript \"class\" instance, so we need to use\nthe controller's container to retrieve the actual DOM element."},"parameters":[{"id":154,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":155,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":288,"character":17}]},{"id":149,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true,"isProtected":true},"signatures":[{"id":150,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":151,"name":"controller","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationController","id":73}}],"type":{"type":"instrinct","name":"number"}}],"sources":[{"fileName":"index.d.ts","line":281,"character":45}]},{"id":162,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":163,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":164,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":290,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[146]},{"title":"Properties","kind":1024,"children":[145]},{"title":"Methods","kind":2048,"children":[156,152,149,162]}],"sources":[{"fileName":"index.d.ts","line":278,"character":53}],"extendedBy":[{"type":"reference","name":"ValidateBindingBehavior","id":166},{"type":"reference","name":"ValidateManuallyBindingBehavior","id":187},{"type":"reference","name":"ValidateOnBlurBindingBehavior","id":207},{"type":"reference","name":"ValidateOnChangeBindingBehavior","id":227},{"type":"reference","name":"ValidateOnChangeOrBlurBindingBehavior","id":247}]}],"groups":[{"title":"Classes","kind":128,"children":[144]}],"sources":[{"fileName":"index.d.ts","line":272,"character":47}]},{"id":20,"name":"\"validate-instruction\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":21,"name":"ValidateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructions for the validation controller's validate method."},"children":[{"id":22,"name":"object","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The object to validate."},"sources":[{"fileName":"index.d.ts","line":34,"character":14}],"type":{"type":"instrinct","name":"any"}},{"id":23,"name":"propertyName","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The property to validate. Optional."},"sources":[{"fileName":"index.d.ts","line":38,"character":20}],"type":{"type":"instrinct","name":"any"}},{"id":24,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The rules to validate. Optional."},"sources":[{"fileName":"index.d.ts","line":42,"character":13}],"type":{"type":"instrinct","name":"any"}}],"groups":[{"title":"Properties","kind":1024,"children":[22,23,24]}],"sources":[{"fileName":"index.d.ts","line":30,"character":40}]}],"groups":[{"title":"Interfaces","kind":256,"children":[21]}],"sources":[{"fileName":"index.d.ts","line":26,"character":37}]},{"id":2,"name":"\"validate-result\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":3,"name":"ValidateResult","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The result of validating an individual validation rule."},"children":[{"id":11,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":12,"name":"new ValidateResult","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":13,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The rule associated with the result. Validator implementation specific."},"type":{"type":"instrinct","name":"any"}},{"id":14,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that was validated."},"type":{"type":"instrinct","name":"any"}},{"id":15,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property that was validated."},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":16,"name":"valid","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"boolean"}},{"id":17,"name":"message","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"type":{"type":"reference","name":"ValidateResult","id":3}}],"sources":[{"fileName":"index.d.ts","line":15,"character":19}]},{"id":10,"name":"id","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A number that uniquely identifies the result instance."},"sources":[{"fileName":"index.d.ts","line":15,"character":10}],"type":{"type":"instrinct","name":"number"}},{"id":8,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":10,"character":15}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":5,"name":"object","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":7,"character":14}],"type":{"type":"instrinct","name":"any"}},{"id":6,"name":"propertyName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":8,"character":20}],"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}},{"id":4,"name":"rule","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":6,"character":12}],"type":{"type":"instrinct","name":"any"}},{"id":7,"name":"valid","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":9,"character":13}],"type":{"type":"instrinct","name":"boolean"}},{"id":9,"name":"nextId","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":11,"character":29}],"type":{"type":"instrinct","name":"any"}},{"id":18,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":19,"name":"toString","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"sources":[{"fileName":"index.d.ts","line":23,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[11]},{"title":"Properties","kind":1024,"children":[10,8,5,6,4,7,9]},{"title":"Methods","kind":2048,"children":[18]}],"sources":[{"fileName":"index.d.ts","line":5,"character":31}]}],"groups":[{"title":"Classes","kind":128,"children":[3]}],"sources":[{"fileName":"index.d.ts","line":1,"character":32}]},{"id":53,"name":"\"validate-trigger\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":54,"name":"validateTrigger","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"Validation triggers."},"sources":[{"fileName":"index.d.ts","line":111,"character":32}],"type":{"type":"reflection","declaration":{"id":55,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":57,"name":"blur","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":113,"character":12}],"type":{"type":"instrinct","name":"number"}},{"id":58,"name":"change","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":114,"character":14}],"type":{"type":"instrinct","name":"number"}},{"id":59,"name":"changeOrBlur","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":115,"character":20}],"type":{"type":"instrinct","name":"number"}},{"id":56,"name":"manual","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":112,"character":14}],"type":{"type":"instrinct","name":"number"}}],"groups":[{"title":"Variables","kind":32,"children":[57,58,59,56]}],"sources":[{"fileName":"index.d.ts","line":111,"character":33}]}}}],"groups":[{"title":"Variables","kind":32,"children":[54]}],"sources":[{"fileName":"index.d.ts","line":107,"character":33}]},{"id":72,"name":"\"validation-controller\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":73,"name":"ValidationController","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Orchestrates validation.\nManages a set of bindings, renderers and objects.\nExposes the current list of validation results for binding purposes."},"children":[{"id":85,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":86,"name":"new ValidationController","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":87,"name":"validator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Validator","id":39}}],"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":197,"character":33}]},{"id":76,"name":"bindings","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":177,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":81,"name":"elements","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":191,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":79,"name":"errors","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Validation errors that have been rendered by the controller."},"sources":[{"fileName":"index.d.ts","line":186,"character":14}],"type":{"type":"reference","isArray":true,"name":"ValidateResult","id":3}},{"id":84,"name":"finishValidating","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":197,"character":32}],"type":{"type":"instrinct","name":"any"}},{"id":82,"name":"objects","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":192,"character":23}],"type":{"type":"instrinct","name":"any"}},{"id":77,"name":"renderers","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":178,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":78,"name":"results","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"comment":{"shortText":"Validation results that have been rendered by the controller."},"sources":[{"fileName":"index.d.ts","line":182,"character":23}],"type":{"type":"instrinct","name":"any"}},{"id":83,"name":"validateTrigger","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The trigger that will invoke automatic validation of a property used in a binding."},"sources":[{"fileName":"index.d.ts","line":196,"character":23}],"type":{"type":"instrinct","name":"number"}},{"id":80,"name":"validating","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":" Whether the controller is currently validating."},"sources":[{"fileName":"index.d.ts","line":190,"character":18}],"type":{"type":"instrinct","name":"boolean"}},{"id":74,"name":"validator","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":175,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":75,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":176,"character":21}],"type":{"type":"reference","isArray":true,"name":"Validator","id":39}},{"id":95,"name":"addError","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":96,"name":"addError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and renders an error."},"parameters":[{"id":97,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":98,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":99,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"instrinct","name":"null"}]}}],"type":{"type":"reference","name":"ValidateResult","id":3}}],"sources":[{"fileName":"index.d.ts","line":213,"character":16}]},{"id":88,"name":"addObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":89,"name":"addObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an object to the set of objects that should be validated when validate is called."},"parameters":[{"id":90,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object."},"type":{"type":"instrinct","name":"any"}},{"id":91,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. The rules. If rules aren't supplied the Validator implementation will lookup the rules.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":204,"character":17}]},{"id":103,"name":"addRenderer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":104,"name":"addRenderer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a renderer."},"parameters":[{"id":105,"name":"renderer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The renderer.\n"},"type":{"type":"reference","name":"ValidationRenderer","id":68}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":222,"character":19}]},{"id":126,"name":"getAssociatedElements","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":127,"name":"getAssociatedElements","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the elements associated with an object and propertyName (if any)."},"parameters":[{"id":128,"name":"__namedParameters","kind":32768,"kindString":"Parameter","flags":{},"originalName":"__0","type":{"type":"reflection","declaration":{"id":129,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":130,"name":"object","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":260,"character":45}],"type":{"type":"instrinct","name":"any"}},{"id":131,"name":"propertyName","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":260,"character":59}],"type":{"type":"instrinct","name":"any"}}],"groups":[{"title":"Variables","kind":32,"children":[130,131]}],"sources":[{"fileName":"index.d.ts","line":260,"character":38}]}}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":260,"character":37}]},{"id":117,"name":"getInstructionPredicate","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":118,"name":"getInstructionPredicate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Interprets the instruction and returns a predicate that will identify\nrelevant results in the list of rendered validation results."},"parameters":[{"id":119,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":244,"character":39}]},{"id":132,"name":"processResultDelta","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":133,"name":"processResultDelta","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":134,"name":"kind","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":135,"name":"oldResults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}},{"id":136,"name":"newResults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"index.d.ts","line":261,"character":34}]},{"id":109,"name":"registerBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"registerBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding with the controller."},"parameters":[{"id":111,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance."},"type":{"type":"reference","name":"Binding"}},{"id":112,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DOM element."},"type":{"type":"reference","name":"Element"}},{"id":113,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"(optional) rules associated with the binding. Validator implementation specific.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":234,"character":23}]},{"id":100,"name":"removeError","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":101,"name":"removeError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes and unrenders an error."},"parameters":[{"id":102,"name":"result","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidateResult","id":3}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":217,"character":19}]},{"id":92,"name":"removeObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":93,"name":"removeObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes an object from the set of objects that should be validated when validate is called."},"parameters":[{"id":94,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":209,"character":20}]},{"id":106,"name":"removeRenderer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":107,"name":"removeRenderer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a renderer."},"parameters":[{"id":108,"name":"renderer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The renderer.\n"},"type":{"type":"reference","name":"ValidationRenderer","id":68}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":227,"character":22}]},{"id":123,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":124,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets any rendered validation results (unrenders)."},"parameters":[{"id":125,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. Instructions on what to reset. If unspecified all rendered results\nwill be unrendered.\n"},"type":{"type":"reference","name":"ValidateInstruction","id":21}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":256,"character":13}]},{"id":140,"name":"resetBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":141,"name":"resetBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets the results for a property associated with a binding."},"parameters":[{"id":142,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":269,"character":20}]},{"id":114,"name":"unregisterBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":115,"name":"unregisterBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregisters a binding with the controller."},"parameters":[{"id":116,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":239,"character":25}]},{"id":120,"name":"validate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":121,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates and renders results."},"parameters":[{"id":122,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. Instructions on what to validate. If undefined, all\nobjects and bindings will be validated.\n"},"type":{"type":"reference","name":"ValidateInstruction","id":21}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ControllerValidateResult","id":26}]}}],"sources":[{"fileName":"index.d.ts","line":250,"character":16}]},{"id":137,"name":"validateBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":138,"name":"validateBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the property associated with a binding."},"parameters":[{"id":139,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":265,"character":23}]}],"groups":[{"title":"Constructors","kind":512,"children":[85]},{"title":"Properties","kind":1024,"children":[76,81,79,84,82,77,78,83,80,74,75]},{"title":"Methods","kind":2048,"children":[95,88,103,126,117,132,109,100,92,106,123,140,114,120,137]}],"sources":[{"fileName":"index.d.ts","line":174,"character":37}]}],"groups":[{"title":"Classes","kind":128,"children":[73]}],"sources":[{"fileName":"index.d.ts","line":162,"character":38}]},{"id":267,"name":"\"validation-controller-factory\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":268,"name":"ValidationControllerFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Creates ValidationController instances."},"children":[{"id":273,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":274,"name":"new ValidationControllerFactory","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":275,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"ValidationControllerFactory","id":268}}],"sources":[{"fileName":"index.d.ts","line":351,"character":70}]},{"id":269,"name":"container","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":350,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":276,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":277,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new controller instance."},"parameters":[{"id":278,"name":"validator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Validator","id":39}}],"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":356,"character":14}]},{"id":279,"name":"createForCurrentScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":280,"name":"createForCurrentScope","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new controller and registers it in the current element's container so that it's\navailable to the validate binding behavior and renderers."},"parameters":[{"id":281,"name":"validator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Validator","id":39}}],"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":361,"character":29}]},{"id":270,"name":"get","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":271,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":272,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"ValidationControllerFactory","id":268}}],"sources":[{"fileName":"index.d.ts","line":351,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[273]},{"title":"Properties","kind":1024,"children":[269]},{"title":"Methods","kind":2048,"children":[276,279,270]}],"sources":[{"fileName":"index.d.ts","line":349,"character":44}]}],"groups":[{"title":"Classes","kind":128,"children":[268]}],"sources":[{"fileName":"index.d.ts","line":342,"character":46}]},{"id":282,"name":"\"validation-errors-custom-attribute\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":286,"name":"ValidationErrorsCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":296,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":297,"name":"new ValidationErrorsCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":298,"name":"boundaryElement","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":299,"name":"controllerAccessor","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":300,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":301,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"ValidationController","id":73}}],"sources":[{"fileName":"index.d.ts","line":382,"character":65}]}}}],"type":{"type":"reference","name":"ValidationErrorsCustomAttribute","id":286}}],"sources":[{"fileName":"index.d.ts","line":381,"character":32}]},{"id":287,"name":"boundaryElement","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":374,"character":31}],"type":{"type":"instrinct","name":"any"}},{"id":288,"name":"controllerAccessor","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":375,"character":34}],"type":{"type":"instrinct","name":"any"}},{"id":295,"name":"errors","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":381,"character":14}],"type":{"type":"reference","isArray":true,"name":"RenderedError","id":283}},{"id":294,"name":"value","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":380,"character":13}],"type":{"type":"reference","isArray":true,"name":"RenderedError","id":283}},{"id":289,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":376,"character":21}],"type":{"type":"union","isArray":true,"types":[{"type":"reflection","declaration":{"id":290,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":291,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":292,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":290}}],"sources":[{"fileName":"index.d.ts","line":376,"character":25}]},{"id":293,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"index.d.ts","line":378,"character":21}],"type":{"type":"reference","name":"Element"}}],"groups":[{"title":"Constructors","kind":512,"children":[291]},{"title":"Variables","kind":32,"children":[293]}]}},{"type":"reference","name":"Lazy"}]}},{"id":310,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":311,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":388,"character":12}]},{"id":304,"name":"interestingElements","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":305,"name":"interestingElements","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":306,"name":"elements","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","isArray":true,"name":"Element"}}],"type":{"type":"reference","isArray":true,"name":"Element"}}],"sources":[{"fileName":"index.d.ts","line":386,"character":27}]},{"id":307,"name":"render","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":308,"name":"render","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":309,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RenderInstruction","id":64}}],"type":{"type":"instrinct","name":"void"},"implementationOf":{"type":"reference","name":"ValidationRenderer.render","id":70}}],"sources":[{"fileName":"index.d.ts","line":387,"character":14}],"implementationOf":{"type":"reference","name":"ValidationRenderer.render","id":69}},{"id":302,"name":"sort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":303,"name":"sort","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":385,"character":12}]},{"id":312,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":313,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":389,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[296]},{"title":"Properties","kind":1024,"children":[287,288,295,294,289]},{"title":"Methods","kind":2048,"children":[310,304,307,302,312]}],"sources":[{"fileName":"index.d.ts","line":373,"character":48}],"implementedTypes":[{"type":"reference","name":"ValidationRenderer","id":68}]},{"id":283,"name":"RenderedError","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":284,"name":"error","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":370,"character":13}],"type":{"type":"reference","name":"ValidateResult","id":3}},{"id":285,"name":"targets","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"index.d.ts","line":371,"character":15}],"type":{"type":"reference","isArray":true,"name":"Element"}}],"groups":[{"title":"Properties","kind":1024,"children":[284,285]}],"sources":[{"fileName":"index.d.ts","line":369,"character":34}]}],"groups":[{"title":"Classes","kind":128,"children":[286]},{"title":"Interfaces","kind":256,"children":[283]}],"sources":[{"fileName":"index.d.ts","line":364,"character":51}]},{"id":60,"name":"\"validation-renderer\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":64,"name":"RenderInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Defines which validation results to render and which validation results to unrender."},"children":[{"id":65,"name":"kind","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The \"kind\" of render instruction. Either 'validate' or 'reset'."},"sources":[{"fileName":"index.d.ts","line":140,"character":12}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"validate"},{"type":"stringLiteral","value":"reset"}]}},{"id":66,"name":"render","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The results to render."},"sources":[{"fileName":"index.d.ts","line":144,"character":14}],"type":{"type":"reference","isArray":true,"name":"ResultInstruction","id":61}},{"id":67,"name":"unrender","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The results to unrender."},"sources":[{"fileName":"index.d.ts","line":148,"character":16}],"type":{"type":"reference","isArray":true,"name":"ResultInstruction","id":61}}],"groups":[{"title":"Properties","kind":1024,"children":[65,66,67]}],"sources":[{"fileName":"index.d.ts","line":136,"character":38}]},{"id":61,"name":"ResultInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A result to render (or unrender) and the associated elements (if any)"},"children":[{"id":63,"name":"elements","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The associated elements (if any)."},"sources":[{"fileName":"index.d.ts","line":131,"character":16}],"type":{"type":"reference","isArray":true,"name":"Element"}},{"id":62,"name":"result","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The validation result."},"sources":[{"fileName":"index.d.ts","line":127,"character":14}],"type":{"type":"reference","name":"ValidateResult","id":3}}],"groups":[{"title":"Properties","kind":1024,"children":[63,62]}],"sources":[{"fileName":"index.d.ts","line":123,"character":38}]},{"id":68,"name":"ValidationRenderer","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Renders validation results."},"children":[{"id":69,"name":"render","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":70,"name":"render","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Render the validation results."},"parameters":[{"id":71,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The render instruction. Defines which results to render and which\nresults to unrender.\n"},"type":{"type":"reference","name":"RenderInstruction","id":64}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":159,"character":14}]}],"groups":[{"title":"Methods","kind":2048,"children":[69]}],"sources":[{"fileName":"index.d.ts","line":153,"character":39}],"implementedBy":[{"type":"reference","name":"ValidationErrorsCustomAttribute","id":286}]}],"groups":[{"title":"Interfaces","kind":256,"children":[64,61,68]}],"sources":[{"fileName":"index.d.ts","line":118,"character":36}]},{"id":314,"name":"\"validation-renderer-custom-attribute\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":315,"name":"ValidationRendererCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":316,"name":"container","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":394,"character":25}],"type":{"type":"instrinct","name":"any"}},{"id":317,"name":"controller","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":395,"character":26}],"type":{"type":"instrinct","name":"any"}},{"id":319,"name":"renderer","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":397,"character":24}],"type":{"type":"instrinct","name":"any"}},{"id":318,"name":"value","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"index.d.ts","line":396,"character":21}],"type":{"type":"instrinct","name":"any"}},{"id":323,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":324,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":399,"character":12}]},{"id":320,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":321,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":322,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":398,"character":15}]},{"id":325,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":326,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"index.d.ts","line":400,"character":14}]}],"groups":[{"title":"Properties","kind":1024,"children":[316,317,319,318]},{"title":"Methods","kind":2048,"children":[323,320,325]}],"sources":[{"fileName":"index.d.ts","line":393,"character":50}]}],"groups":[{"title":"Classes","kind":128,"children":[315]}],"sources":[{"fileName":"index.d.ts","line":392,"character":53}]},{"id":38,"name":"\"validator\"","kind":2,"kindString":"Module","flags":{},"children":[{"id":39,"name":"Validator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Validates objects and properties."},"children":[{"id":49,"name":"ruleExists","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":50,"name":"ruleExists","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Determines whether a rule exists in a set of rules.","tags":[{"tag":"parem","text":"rule The rule to find.\n"}]},"parameters":[{"id":51,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"instrinct","name":"any"}},{"id":52,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"index.d.ts","line":104,"character":27}]},{"id":45,"name":"validateObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":46,"name":"validateObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates all rules for specified object and it's properties."},"parameters":[{"id":47,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":48,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the implementation should lookup the rules for the\nspecified object. This may not be possible for all implementations of this interface.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]}}],"sources":[{"fileName":"index.d.ts","line":98,"character":31}]},{"id":40,"name":"validateProperty","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":41,"name":"validateProperty","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the specified property."},"parameters":[{"id":42,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"instrinct","name":"any"}},{"id":43,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the property to validate."},"type":{"type":"instrinct","name":"string"}},{"id":44,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional. If unspecified, the implementation should lookup the rules for the\nspecified object. This may not be possible for all implementations of this interface.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","isArray":true,"name":"ValidateResult","id":3}]}}],"sources":[{"fileName":"index.d.ts","line":91,"character":33}]}],"groups":[{"title":"Methods","kind":2048,"children":[49,45,40]}],"sources":[{"fileName":"index.d.ts","line":83,"character":35}],"extendedBy":[{"type":"reference","name":"StandardValidator","id":429}]}],"groups":[{"title":"Classes","kind":128,"children":[39]}],"sources":[{"fileName":"index.d.ts","line":78,"character":26}]}],"groups":[{"title":"Modules","kind":2,"children":[671,25,327,349,428,362,410,366,468,30,165,143,20,2,53,72,267,282,60,314,38]}]} diff --git a/package.json b/package.json index 302ab315..780d241f 100644 --- a/package.json +++ b/package.json @@ -1,129 +1,127 @@ -{ - "name": "aurelia-validation", - "version": "1.0.0-beta.1.0.0", - "description": "Validation for Aurelia applications", - "keywords": [ - "aurelia", - "plugin", - "validation" - ], - "homepage": "http://aurelia.io", - "bugs": { - "url": "https://github.com/aurelia/validation/issues" - }, - "license": "MIT", - "author": "Jeremy Danyow (https:/danyow.net/)", - "main": "dist/commonjs/aurelia-validation.js", - "typings": "dist/commonjs/aurelia-validation.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/aurelia/validation" - }, - "scripts": { - "lint": "cross-env tslint --project tsconfig.json", - - "pretest": "cross-env npm run lint", - "test": "cross-env tsc && karma start --single-run", - "test-watch": "concurrently \"./node_modules/.bin/tsc --watch\" \"./node_modules/.bin/karma start\"", - - "prebuild:amd": "cross-env rimraf dist/amd", - "build:amd": "cross-env tsc --project tsconfig.build.json --outDir dist/amd --module amd", - "postbuild:amd": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/amd", - - "prebuild:commonjs": "cross-env rimraf dist/commonjs", - "build:commonjs": "cross-env tsc --project tsconfig.build.json --outDir dist/commonjs --module commonjs", - "postbuild:commonjs": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/commonjs", - - "prebuild:es2015": "cross-env rimraf dist/es2015", - "build:es2015": "cross-env tsc --project tsconfig.build.json --outDir dist/es2015 --module es2015 --target es2015", - "postbuild:es2015": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/es2015", - - "prebuild:native-modules": "cross-env rimraf dist/native-modules", - "build:native-modules": "cross-env tsc --project tsconfig.build.json --outDir dist/native-modules --module es2015", - "postbuild:native-modules": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/native-modules", - - "prebuild:system": "cross-env rimraf dist/system", - "build:system": "cross-env tsc --project tsconfig.build.json --outDir dist/system --module system", - "postbuild:system": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/system", - - "prebuild": "cross-env rimraf dist", - "build": "concurrently \"npm run build:amd\" \"npm run build:commonjs\" \"npm run build:es2015\" \"npm run build:native-modules\" \"npm run build:system\"", - "postbuild": "npm run build:doc", - - "prebuild:doc": "cross-env rimraf doc/api.json && rimraf dist/doc-temp && tsc --project tsconfig.build.json --outFile dist/doc-temp/index.js && node doc/shape-defs", - "build:doc": "cross-env typedoc --json doc/api.json --excludeExternals --includeDeclarations --mode modules --target ES6 --name aurelia-ux-docs --ignoreCompilerErrors --tsconfig doc/tsconfig.json dist/doc-temp/", - "postbuild:doc": "cross-env node doc/shape-doc && rimraf dist/doc-temp" - }, - "jspm": { - "registry": "npm", - "jspmPackage": true, - "main": "aurelia-validation", - "format": "amd", - "directories": { - "dist": "dist/amd" - }, - "peerDependencies": { - "aurelia-binding": "^1.0.4", - "aurelia-dependency-injection": "^1.0.0", - "aurelia-logging": "^1.0.0", - "aurelia-pal": "^1.0.0", - "aurelia-task-queue": "^1.0.0", - "aurelia-templating": "^1.1.0" - }, - "dependencies": { - "aurelia-binding": "^1.0.4", - "aurelia-dependency-injection": "^1.0.0", - "aurelia-logging": "^1.0.0", - "aurelia-pal": "^1.0.0", - "aurelia-task-queue": "^1.0.0", - "aurelia-templating": "^1.1.0" - }, - "devDependencies": {} - }, - "dependencies": { - "aurelia-binding": "^1.0.4", - "aurelia-dependency-injection": "^1.0.0", - "aurelia-logging": "^1.0.0", - "aurelia-pal": "^1.0.0", - "aurelia-task-queue": "^1.0.0", - "aurelia-templating": "^1.1.0" - }, - "devDependencies": { - "aurelia-bootstrapper": "^1.0.0", - "aurelia-pal-browser": "^1.0.0", - "aurelia-polyfills": "^1.1.0", - "aurelia-testing": "^1.0.0-beta.2.0.0", - "concurrently": "^2.2.0", - "copyfiles": "^1.0.0", - "cross-env": "^2.0.1", - "jasmine-core": "^2.4.1", - "karma": "^1.2.0", - "karma-chrome-launcher": "^2.0.0", - "karma-ie-launcher": "^1.0.0", - "karma-jasmine": "^1.0.2", - "karma-requirejs": "^1.0.0", - "requirejs": "^2.2.0", - "requirejs-text": "^2.0.12", - "rimraf": "^2.5.4", - "tslint": "^3.15.1", - "typedoc": "^0.5.0", - "typescript": "next" - }, - "aurelia": { - "build": { - "resources": [ - "validate-binding-behavior", - "validation-errors-custom-attribute", - "validation-renderer-custom-attribute" - ] - }, - "documentation": { - "articles": [ - { - "title": "Validation: Basics", - "href": "doc/article/en-US/validation-basics.md" - } - ] - } - } -} +{ + "name": "aurelia-validation", + "version": "1.0.0-beta.1.0.0", + "description": "Validation for Aurelia applications", + "keywords": [ + "aurelia", + "plugin", + "validation" + ], + "homepage": "http://aurelia.io", + "bugs": { + "url": "https://github.com/aurelia/validation/issues" + }, + "license": "MIT", + "author": "Jeremy Danyow (https:/danyow.net/)", + "main": "dist/commonjs/aurelia-validation.js", + "typings": "dist/commonjs/aurelia-validation.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/aurelia/validation" + }, + "scripts": { + "lint": "cross-env tslint --project tsconfig.json", + "pretest": "cross-env npm run lint", + "test": "cross-env tsc && karma start --single-run", + "test-watch": "concurrently \"./node_modules/.bin/tsc --watch\" \"./node_modules/.bin/karma start\"", + "prebuild:amd": "cross-env rimraf dist/amd", + "build:amd": "cross-env tsc --project tsconfig.build.json --outDir dist/amd --module amd", + "postbuild:amd": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/amd", + "prebuild:commonjs": "cross-env rimraf dist/commonjs", + "build:commonjs": "cross-env tsc --project tsconfig.build.json --outDir dist/commonjs --module commonjs", + "postbuild:commonjs": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/commonjs", + "prebuild:es2015": "cross-env rimraf dist/es2015", + "build:es2015": "cross-env tsc --project tsconfig.build.json --outDir dist/es2015 --module es2015 --target es2015", + "postbuild:es2015": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/es2015", + "prebuild:native-modules": "cross-env rimraf dist/native-modules", + "build:native-modules": "cross-env tsc --project tsconfig.build.json --outDir dist/native-modules --module es2015", + "postbuild:native-modules": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/native-modules", + "prebuild:system": "cross-env rimraf dist/system", + "build:system": "cross-env tsc --project tsconfig.build.json --outDir dist/system --module system", + "postbuild:system": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/system", + "prebuild": "cross-env rimraf dist", + "build": "concurrently \"npm run build:amd\" \"npm run build:commonjs\" \"npm run build:es2015\" \"npm run build:native-modules\" \"npm run build:system\"", + "postbuild": "npm run build:doc", + "prebuild:doc": "cross-env rimraf doc/api.json && rimraf dist/doc-temp && tsc --project tsconfig.build.json --outFile dist/doc-temp/index.js && node doc/shape-defs", + "build:doc": "cross-env typedoc --json doc/api.json --excludeExternals --includeDeclarations --mode modules --target ES6 --name aurelia-ux-docs --ignoreCompilerErrors --tsconfig doc/tsconfig.json dist/doc-temp/", + "postbuild:doc": "cross-env node doc/shape-doc && rimraf dist/doc-temp" + }, + "jspm": { + "registry": "npm", + "jspmPackage": true, + "main": "aurelia-validation", + "format": "amd", + "directories": { + "dist": "dist/amd" + }, + "peerDependencies": { + "aurelia-binding": "^1.0.4", + "aurelia-dependency-injection": "^1.0.0", + "aurelia-logging": "^1.0.0", + "aurelia-pal": "^1.0.0", + "aurelia-task-queue": "^1.0.0", + "aurelia-templating": "^1.1.0" + }, + "dependencies": { + "aurelia-binding": "^1.0.4", + "aurelia-dependency-injection": "^1.0.0", + "aurelia-logging": "^1.0.0", + "aurelia-pal": "^1.0.0", + "aurelia-task-queue": "^1.0.0", + "aurelia-templating": "^1.1.0" + }, + "devDependencies": {} + }, + "dependencies": { + "aurelia-binding": "^1.1.0", + "aurelia-dependency-injection": "^1.2.1", + "aurelia-logging": "^1.2.0", + "aurelia-pal": "^1.2.0", + "aurelia-pal-browser": "^1.1.0", + "aurelia-task-queue": "^1.0.0", + "aurelia-templating": "^1.1.4", + "aurelia-testing": "^1.0.0-beta.2.0.1", + "copyfiles": "^1.0.0", + "karma-jasmine": "^1.1.0", + "requirejs-text": "^2.0.15", + "typescript": "^2.2.0-dev.20161219" + }, + "devDependencies": { + "aurelia-bootstrapper": "^1.0.0", + "aurelia-pal-browser": "^1.0.0", + "aurelia-polyfills": "^1.1.0", + "aurelia-testing": "^1.0.0-beta.2.0.0", + "concurrently": "^2.2.0", + "copyfiles": "^1.0.0", + "cross-env": "^2.0.1", + "jasmine-core": "^2.4.1", + "karma": "^1.2.0", + "karma-chrome-launcher": "^2.0.0", + "karma-ie-launcher": "^1.0.0", + "karma-jasmine": "^1.0.2", + "karma-requirejs": "^1.0.0", + "requirejs": "^2.2.0", + "requirejs-text": "^2.0.12", + "rimraf": "^2.5.4", + "tslint": "^3.15.1", + "typedoc": "^0.5.0", + "typescript": "next" + }, + "aurelia": { + "build": { + "resources": [ + "validate-binding-behavior", + "validation-errors-custom-attribute", + "validation-renderer-custom-attribute" + ] + }, + "documentation": { + "articles": [ + { + "title": "Validation: Basics", + "href": "doc/article/en-US/validation-basics.md" + } + ] + } + } +} diff --git a/src/implementation/standard-validator.ts b/src/implementation/standard-validator.ts index 6e9a607a..3e40335a 100644 --- a/src/implementation/standard-validator.ts +++ b/src/implementation/standard-validator.ts @@ -28,7 +28,7 @@ export class StandardValidator extends Validator { * Validates the specified property. * @param object The object to validate. * @param propertyName The name of the property to validate. - * @param rules Optional. If unspecified, the rules will be looked up using the metadata + * @param rules Optional. If unspecified, the rules will be looked up using the metadata * for the object created by ValidationRules....on(class/object) */ public validateProperty(object: any, propertyName: string, rules?: any): Promise { @@ -38,7 +38,7 @@ export class StandardValidator extends Validator { /** * Validates all rules for specified object and it's properties. * @param object The object to validate. - * @param rules Optional. If unspecified, the rules will be looked up using the metadata + * @param rules Optional. If unspecified, the rules will be looked up using the metadata * for the object created by ValidationRules....on(class/object) */ public validateObject(object: any, rules?: any): Promise { @@ -108,7 +108,17 @@ export class StandardValidator extends Validator { } // validate. - const value = rule.property.name === null ? object : object[rule.property.name]; + let value = rule.property.name === null ? object : object[rule.property.name]; + console.log("standard-validator.ts 109 Property ", rule.property.name); + if (rule.property.name && rule.property.name.indexOf('.') !== -1) { + // if the rule name has a '.', we have a sub property. + // "Object" is the parent containing the field. + // The field is the last part of the propert path + // e.g. finalProp in object.sub1.sub2.finalProp + let parts = rule.property.name.split('.'); + value = object[ parts[ parts.length - 1 ]]; + } + console.log("standard-validator.ts 118 Property ", rule.property.name); let promiseOrBoolean = rule.condition(value, object); if (!(promiseOrBoolean instanceof Promise)) { promiseOrBoolean = Promise.resolve(promiseOrBoolean); diff --git a/src/implementation/validation-parser.ts b/src/implementation/validation-parser.ts index ee85e4d5..f3e6fa0b 100644 --- a/src/implementation/validation-parser.ts +++ b/src/implementation/validation-parser.ts @@ -64,10 +64,19 @@ export class ValidationParser { return { name: property, displayName: null }; } const accessor = this.getAccessorExpression(property.toString()); - if (accessor instanceof AccessScope - || accessor instanceof AccessMember && accessor.object instanceof AccessScope) { - return { - name: accessor.name, + const isSubProp = accessor instanceof AccessMember && accessor.object instanceof AccessScope; + if (accessor instanceof AccessScope || isSubProp) { + let propName = (accessor).name; + if (isSubProp) { + // iterate up the chain until we are in the 1st sub-object of the root object. + let ao = (accessor).object; + while (ao) { + propName = ao.name + '.' + propName; + ao = ao.object; + } + } + return { + name: propName, displayName: null }; } @@ -88,8 +97,8 @@ export class ValidationParser { } private getAccessorExpression(fn: string): Expression { - const classic = /^function\s*\([$_\w\d]+\)\s*\{\s*(?:"use strict";)?\s*return\s+[$_\w\d]+\.([$_\w\d]+)\s*;?\s*\}$/; - const arrow = /^\(?[$_\w\d]+\)?\s*=>\s*[$_\w\d]+\.([$_\w\d]+)$/; + const classic = /^function\s*\([$_\w\d]+\)\s*\{\s*(?:"use strict";)?\s*.*return\s+[$_\w\d]+\.([$_\w\d]+(\.[$_\w\d]+)*)\s*;?\s*\}$/; + const arrow = /^\(?[$_\w\d]+\)?\s*=>\s*(?:\{?.*return\s+)?[$_\w\d]+\.([$_\w\d]+(\.[$_\w\d]+)*);?\s*\}?$/; const match = classic.exec(fn) || arrow.exec(fn); if (match === null) { throw new Error(`Unable to parse accessor function:\n${fn}`); diff --git a/src/property-info.ts b/src/property-info.ts index 15fb07bc..f3fa7bab 100644 --- a/src/property-info.ts +++ b/src/property-info.ts @@ -30,12 +30,22 @@ export function getPropertyInfo(expression: Expression, source: any): { object: let object: null | undefined | Object; let propertyName: string; + let ruleSrc = null; if (expression instanceof AccessScope) { object = source.bindingContext; propertyName = expression.name; } else if (expression instanceof AccessMember) { object = getObject(originalExpression, expression.object, source); propertyName = expression.name; + if (expression.object) { + // build the path to the property from the object root. + let exp: any = expression.object; + while (exp.object) { + propertyName = exp.name + '.' + propertyName; + exp = exp.object; + } + ruleSrc = getObject(originalExpression, exp, source); + } } else if (expression instanceof AccessKeyed) { object = getObject(originalExpression, expression.object, source); propertyName = expression.key.evaluate(source); diff --git a/src/validation-controller.ts b/src/validation-controller.ts index dfc15523..a4ec2bde 100644 --- a/src/validation-controller.ts +++ b/src/validation-controller.ts @@ -6,6 +6,7 @@ import { ValidationRenderer, RenderInstruction } from './validation-renderer'; import { ValidateResult } from './validate-result'; import { ValidateInstruction } from './validate-instruction'; import { ControllerValidateResult } from './controller-validate-result'; +import { Rules } from './implementation/rules'; /** * Orchestrates validation. @@ -160,7 +161,7 @@ export class ValidationController { /** * Validates and renders results. - * @param instruction Optional. Instructions on what to validate. If undefined, all + * @param instruction Optional. Instructions on what to validate. If undefined, all * objects and bindings will be validated. */ public validate(instruction?: ValidateInstruction): Promise { @@ -170,6 +171,24 @@ export class ValidationController { let { object, propertyName, rules } = instruction; // if rules were not specified, check the object map. rules = rules || this.objects.get(object); + if (!rules) { + for (let [binding, ] of Array.from(this.bindings)) { + const propertyInfo = getPropertyInfo(binding.sourceExpression, (binding).source); + if (!propertyInfo || propertyInfo.propertyName !== propertyName || + this.objects.has(propertyInfo.object)) { + continue; + } + if (propertyInfo.propertyName.indexOf('.') !== -1) { + let parentProp = ''; + let ittr: any = (binding).sourceExpression.expression; + while (ittr.object) { + ittr = ittr.object; + parentProp = ittr.name; + } + rules = Rules.get((binding)._observer0._callable0._observer0.obj[parentProp]); + } + } + } // property specified? if (instruction.propertyName === undefined) { // validate the specified object. @@ -185,11 +204,25 @@ export class ValidationController { for (let [object, rules] of Array.from(this.objects)) { promises.push(this.validator.validateObject(object, rules)); } - for (let [binding, { rules }] of Array.from(this.bindings)) { + for (let [binding, {rulesObj} ] of Array.from(this.bindings)) { const propertyInfo = getPropertyInfo(binding.sourceExpression, (binding).source); if (!propertyInfo || this.objects.has(propertyInfo.object)) { continue; } + let propName = propertyInfo.propertyName; + let rules: any = null; + if (propertyInfo.propertyName.indexOf('.') !== -1) { + let parentProp = ''; + let ittr: any = (binding).sourceExpression.expression; + while (ittr.object) { + ittr = ittr.object; + parentProp = ittr.name; + } + propName = propertyInfo.propertyName.substr(propertyInfo.propertyName.lastIndexOf('.') + 1); + rules = Rules.get((binding)._observer0._callable0._observer0.obj[parentProp]); + } else { + rules = rulesObj; + } promises.push(this.validator.validateProperty(propertyInfo.object, propertyInfo.propertyName, rules)); } return Promise.all(promises).then(resultSets => resultSets.reduce((a, b) => a.concat(b), [])); @@ -287,7 +320,7 @@ export class ValidationController { this.errors.splice(this.errors.indexOf(oldResult), 1); } } else { - // there is a corresponding new result... + // there is a corresponding new result... const newResult = newResults.splice(newResultIndex, 1)[0]; // get the elements that are associated with the new result. diff --git a/test/basic.ts b/test/basic.ts index 4849e5fd..d6aea1af 100644 --- a/test/basic.ts +++ b/test/basic.ts @@ -4,6 +4,10 @@ import { RegistrationForm } from './resources/registration-form'; import { validateTrigger } from '../src/aurelia-validation'; import { configure, blur, change } from './shared'; +let c = console; +let l = c.log; +let d = c.dir; + describe('end to end', () => { it('basic scenarios', (done: () => void) => { const component: ComponentTester = StageComponent @@ -14,6 +18,7 @@ describe('end to end', () => { let firstName: HTMLInputElement; let lastName: HTMLInputElement; + let subProperty: HTMLInputElement; let number1: HTMLInputElement; let number2: HTMLInputElement; let password: HTMLInputElement; @@ -30,6 +35,7 @@ describe('end to end', () => { viewModel.controller.addRenderer(renderer); firstName = component.element.querySelector('#firstName'); lastName = component.element.querySelector('#lastName'); + subProperty = component.element.querySelector('#subProperty'); number1 = component.element.querySelector('#number1'); number2 = component.element.querySelector('#number2'); password = component.element.querySelector('#password'); @@ -41,13 +47,14 @@ describe('end to end', () => { .then(() => blur(firstName)) // confirm there's an error. .then(() => expect(viewModel.controller.errors.length).toBe(1)) - // make a model change to the firstName field. + // make a model change to the firstName field. // this should reset the errors for the firstName field. .then(() => viewModel.firstName = 'test') // confirm the errors were reset. .then(() => expect(viewModel.controller.errors.length).toBe(0)) // blur the lastName field- this should trigger validation. .then(() => blur(lastName)) + // confirm there's an error. .then(() => { expect(viewModel.controller.errors.length).toBe(1); @@ -55,6 +62,27 @@ describe('end to end', () => { const renderInstruction = calls.argsFor(calls.count() - 1)[0]; expect(renderInstruction.render[0].elements[0]).toBe(lastName); }) + + // blur the subProperty- this should trigger validation. + .then(()=>{ + l('***************** subProperty Start:'); + //l(viewModel) + }) + .then(() => { + l(viewModel); + l(viewModel.controller.bindings.values()); + l(viewModel.controller.elements.values()); + }) + .then(() => blur(subProperty)) + // confirm there's an error. + .then(() => expect(viewModel.controller.errors.length).toBe(2)) + // set to a valid value, should reset error + .then(() => change(subProperty , 'test')) + .then(() => expect(viewModel.controller.errors.length).toBe(1)) + .then(()=>{ + l('***************** subProperty End.'); + }) + // blur the number1 field- this should trigger validation. .then(() => blur(number1)) // confirm there's an error. @@ -73,12 +101,12 @@ describe('end to end', () => { const renderInstruction = calls.argsFor(calls.count() - 1)[0]; expect(renderInstruction.render[0].elements[0]).toBe(number2); }) - // make a model change to the number1 field. + // make a model change to the number1 field. // this should reset the errors for the number1 field. .then(() => viewModel.number1 = 1) // confirm the error was reset. .then(() => expect(viewModel.controller.errors.length).toBe(2)) - // make a model change to the number2 field. + // make a model change to the number2 field. // this should reset the errors for the number2 field. .then(() => viewModel.number2 = 2) // confirm the error was reset. @@ -166,7 +194,7 @@ describe('end to end', () => { .then(() => blur(firstName)) // confirm there's an error. .then(() => expect(viewModel.controller.errors.length).toBe(1)) - // make a model change to the firstName field. + // make a model change to the firstName field. // this should reset the errors for the firstName field. .then(() => viewModel.firstName = 'test') // confirm the errors were reset. diff --git a/test/resources/registration-form.ts b/test/resources/registration-form.ts index f6c5d967..6b233045 100644 --- a/test/resources/registration-form.ts +++ b/test/resources/registration-form.ts @@ -11,8 +11,9 @@ import {
+ - + @@ -23,6 +24,9 @@ export class RegistrationForm { public firstName = ''; public lastName = ''; public email = ''; + public settings = { + 'subProperty' : '' + }; public number1 = 0; public number2 = 0; public password = ''; @@ -52,6 +56,7 @@ ValidationRules.customRule( ValidationRules .ensure((f: RegistrationForm) => f.firstName).required() .ensure(f => f.lastName).required() + .ensure(f => f.settings.subProperty).required() .ensure('email').required().email() .ensure(f => f.number1).satisfies(value => value > 0) .ensure(f => f.number2).satisfies(value => value > 0).withMessage('${displayName} gots to be greater than zero.') diff --git a/test/shared.ts b/test/shared.ts index 76639f47..894cd351 100644 --- a/test/shared.ts +++ b/test/shared.ts @@ -4,7 +4,7 @@ import { DOM } from 'aurelia-pal'; export function configure(aurelia: Aurelia) { aurelia.use .standardConfiguration() - // .developmentLogging() + .developmentLogging() .plugin('dist/test/src/aurelia-validation') .feature('./dist/test/test/resources'); } diff --git a/test/validation-parser.ts b/test/validation-parser.ts index 968e7ef0..c153a2bb 100644 --- a/test/validation-parser.ts +++ b/test/validation-parser.ts @@ -1,4 +1,4 @@ -import { Expression, AccessScope } from 'aurelia-binding'; +import { Expression, AccessScope, AccessMember } from 'aurelia-binding'; import { Container } from 'aurelia-dependency-injection'; import { BindingLanguage } from 'aurelia-templating'; import { TemplatingBindingLanguage } from 'aurelia-templating-binding'; @@ -29,6 +29,7 @@ describe('Validator', () => { expect(parse('a =>a.b')).toEqual(new AccessScope('b', 0)); expect(parse('a=> a.b')).toEqual(new AccessScope('b', 0)); expect(parse('a => a.b')).toEqual(new AccessScope('b', 0)); + // expect(parse('a => a.b.c')).toEqual(new AccessMember(new AccessScope('b', 0), 'c')); expect(parse('a => a.bcde')).toEqual(new AccessScope('bcde', 0)); expect(parse('_ => _.b')).toEqual(new AccessScope('b', 0)); expect(parse('$ => $.b')).toEqual(new AccessScope('b', 0));