From 875b9251b08980fa3425e26e5de5923db0866c39 Mon Sep 17 00:00:00 2001 From: EisenbergEffect Date: Sun, 18 Mar 2018 15:30:54 -0700 Subject: [PATCH] chore(all): prepare release 1.1.3 --- bower.json | 4 +- dist/amd/aurelia-validation.js | 2 +- dist/amd/implementation/expression-visitor.js | 2 +- dist/amd/implementation/rules.js | 2 +- dist/amd/implementation/standard-validator.js | 2 +- .../validation-message-parser.d.ts | 2 +- .../validation-message-parser.js | 4 +- .../implementation/validation-messages.d.ts | 2 +- .../amd/implementation/validation-messages.js | 2 +- dist/amd/implementation/validation-rules.js | 8 +- dist/amd/property-accessor-parser.d.ts | 2 +- dist/amd/property-accessor-parser.js | 2 +- dist/amd/property-info.d.ts | 3 - dist/amd/validate-binding-behavior-base.js | 12 +- dist/amd/validate-binding-behavior.d.ts | 10 +- dist/amd/validate-binding-behavior.js | 10 +- dist/amd/validate-event.js | 58 ++--- dist/amd/validate-result.js | 2 +- dist/amd/validation-controller-factory.js | 2 +- dist/amd/validation-controller.js | 2 +- .../amd/validation-errors-custom-attribute.js | 2 +- .../validation-renderer-custom-attribute.js | 2 +- dist/amd/validator.js | 2 +- dist/commonjs/aurelia-validation.js | 2 +- .../implementation/expression-visitor.js | 2 +- dist/commonjs/implementation/rules.js | 2 +- .../implementation/standard-validator.js | 2 +- .../validation-message-parser.d.ts | 2 +- .../validation-message-parser.js | 4 +- .../implementation/validation-messages.d.ts | 2 +- .../implementation/validation-messages.js | 2 +- .../implementation/validation-rules.js | 8 +- dist/commonjs/property-accessor-parser.d.ts | 2 +- dist/commonjs/property-accessor-parser.js | 2 +- dist/commonjs/property-info.d.ts | 3 - .../validate-binding-behavior-base.js | 12 +- dist/commonjs/validate-binding-behavior.d.ts | 10 +- dist/commonjs/validate-binding-behavior.js | 10 +- dist/commonjs/validate-event.js | 58 ++--- dist/commonjs/validate-result.js | 2 +- .../commonjs/validation-controller-factory.js | 2 +- dist/commonjs/validation-controller.js | 2 +- .../validation-errors-custom-attribute.js | 2 +- .../validation-renderer-custom-attribute.js | 2 +- dist/commonjs/validator.js | 2 +- .../validation-message-parser.d.ts | 2 +- .../implementation/validation-messages.d.ts | 2 +- dist/es2015/property-accessor-parser.d.ts | 2 +- dist/es2015/property-info.d.ts | 3 - dist/es2015/validate-binding-behavior-base.js | 10 +- dist/es2015/validate-binding-behavior.d.ts | 10 +- dist/es2015/validate-event.js | 56 ++--- .../validation-message-parser.d.ts | 2 +- .../implementation/validation-messages.d.ts | 2 +- dist/es2017/property-accessor-parser.d.ts | 2 +- dist/es2017/property-info.d.ts | 3 - dist/es2017/validate-binding-behavior-base.js | 10 +- dist/es2017/validate-binding-behavior.d.ts | 10 +- dist/es2017/validate-event.js | 56 ++--- dist/native-modules/aurelia-validation.js | 2 +- .../implementation/expression-visitor.js | 2 +- dist/native-modules/implementation/rules.js | 2 +- .../implementation/standard-validator.js | 2 +- .../validation-message-parser.d.ts | 2 +- .../validation-message-parser.js | 4 +- .../implementation/validation-messages.d.ts | 2 +- .../implementation/validation-messages.js | 2 +- .../implementation/validation-rules.js | 8 +- .../property-accessor-parser.d.ts | 2 +- .../property-accessor-parser.js | 2 +- dist/native-modules/property-info.d.ts | 3 - .../validate-binding-behavior-base.js | 12 +- .../validate-binding-behavior.d.ts | 10 +- .../validate-binding-behavior.js | 10 +- dist/native-modules/validate-event.js | 58 ++--- dist/native-modules/validate-result.js | 2 +- .../validation-controller-factory.js | 2 +- dist/native-modules/validation-controller.js | 2 +- .../validation-errors-custom-attribute.js | 2 +- .../validation-renderer-custom-attribute.js | 2 +- dist/native-modules/validator.js | 2 +- dist/system/aurelia-validation.js | 2 +- .../implementation/expression-visitor.js | 2 +- dist/system/implementation/rules.js | 2 +- .../implementation/standard-validator.js | 2 +- .../validation-message-parser.d.ts | 2 +- .../validation-message-parser.js | 4 +- .../implementation/validation-messages.d.ts | 2 +- .../implementation/validation-messages.js | 2 +- .../system/implementation/validation-rules.js | 8 +- dist/system/property-accessor-parser.d.ts | 2 +- dist/system/property-accessor-parser.js | 2 +- dist/system/property-info.d.ts | 3 - dist/system/validate-binding-behavior-base.js | 12 +- dist/system/validate-binding-behavior.d.ts | 10 +- dist/system/validate-binding-behavior.js | 10 +- dist/system/validate-event.js | 58 ++--- dist/system/validate-result.js | 2 +- dist/system/validation-controller-factory.js | 2 +- dist/system/validation-controller.js | 2 +- .../validation-errors-custom-attribute.js | 2 +- .../validation-renderer-custom-attribute.js | 2 +- dist/system/validator.js | 2 +- doc/CHANGELOG.md | 10 + doc/api.json | 2 +- package.json | 226 +++++++++--------- 106 files changed, 472 insertions(+), 480 deletions(-) diff --git a/bower.json b/bower.json index dfca8188..0f0fc54b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-validation", - "version": "1.1.2", + "version": "1.1.3", "description": "Validation for Aurelia applications", "keywords": [ "aurelia", @@ -17,7 +17,7 @@ "url": "https://github.com/aurelia/validation" }, "dependencies": { - "aurelia-binding": "^1.0.1", + "aurelia-binding": "^1.7.1", "aurelia-metadata": "^1.0.0", "aurelia-templating": "^1.0.0" } diff --git a/dist/amd/aurelia-validation.js b/dist/amd/aurelia-validation.js index 6371b5e6..fd141afa 100644 --- a/dist/amd/aurelia-validation.js +++ b/dist/amd/aurelia-validation.js @@ -25,7 +25,7 @@ define(["require", "exports", "./get-target-dom-element", "./property-info", "./ /** * Aurelia Validation Configuration API */ - var AureliaValidationConfiguration = (function () { + var AureliaValidationConfiguration = /** @class */ (function () { function AureliaValidationConfiguration() { this.validatorType = standard_validator_2.StandardValidator; } diff --git a/dist/amd/implementation/expression-visitor.js b/dist/amd/implementation/expression-visitor.js index ae5e1938..635e6b2d 100644 --- a/dist/amd/implementation/expression-visitor.js +++ b/dist/amd/implementation/expression-visitor.js @@ -2,7 +2,7 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable:no-empty - var ExpressionVisitor = (function () { + var ExpressionVisitor = /** @class */ (function () { function ExpressionVisitor() { } ExpressionVisitor.prototype.visitChain = function (chain) { diff --git a/dist/amd/implementation/rules.js b/dist/amd/implementation/rules.js index 7c4c4b88..b09cf5fa 100644 --- a/dist/amd/implementation/rules.js +++ b/dist/amd/implementation/rules.js @@ -4,7 +4,7 @@ define(["require", "exports"], function (require, exports) { /** * Sets, unsets and retrieves rules on an object or constructor function. */ - var Rules = (function () { + var Rules = /** @class */ (function () { function Rules() { } /** diff --git a/dist/amd/implementation/standard-validator.js b/dist/amd/implementation/standard-validator.js index 72d7b4e8..49f0e4c7 100644 --- a/dist/amd/implementation/standard-validator.js +++ b/dist/amd/implementation/standard-validator.js @@ -15,7 +15,7 @@ define(["require", "exports", "aurelia-templating", "../validator", "../validate * Validates. * Responsible for validating objects and properties. */ - var StandardValidator = (function (_super) { + var StandardValidator = /** @class */ (function (_super) { __extends(StandardValidator, _super); function StandardValidator(messageProvider, resources) { var _this = _super.call(this) || this; diff --git a/dist/amd/implementation/validation-message-parser.d.ts b/dist/amd/implementation/validation-message-parser.d.ts index 83d5b7aa..39d288c0 100644 --- a/dist/amd/implementation/validation-message-parser.d.ts +++ b/dist/amd/implementation/validation-message-parser.d.ts @@ -3,7 +3,7 @@ import { BindingLanguage } from 'aurelia-templating'; import { ExpressionVisitor } from './expression-visitor'; export declare class ValidationMessageParser { private bindinqLanguage; - static inject: typeof BindingLanguage[]; + static inject: (typeof BindingLanguage)[]; private emptyStringExpression; private nullExpression; private undefinedExpression; diff --git a/dist/amd/implementation/validation-message-parser.js b/dist/amd/implementation/validation-message-parser.js index 0d7fcd12..3600bc72 100644 --- a/dist/amd/implementation/validation-message-parser.js +++ b/dist/amd/implementation/validation-message-parser.js @@ -11,7 +11,7 @@ var __extends = (this && this.__extends) || (function () { define(["require", "exports", "aurelia-binding", "aurelia-templating", "aurelia-logging", "./expression-visitor"], function (require, exports, aurelia_binding_1, aurelia_templating_1, LogManager, expression_visitor_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var ValidationMessageParser = (function () { + var ValidationMessageParser = /** @class */ (function () { function ValidationMessageParser(bindinqLanguage) { this.bindinqLanguage = bindinqLanguage; this.emptyStringExpression = new aurelia_binding_1.LiteralString(''); @@ -43,7 +43,7 @@ define(["require", "exports", "aurelia-binding", "aurelia-templating", "aurelia- return ValidationMessageParser; }()); exports.ValidationMessageParser = ValidationMessageParser; - var MessageExpressionValidator = (function (_super) { + var MessageExpressionValidator = /** @class */ (function (_super) { __extends(MessageExpressionValidator, _super); function MessageExpressionValidator(originalMessage) { var _this = _super.call(this) || this; diff --git a/dist/amd/implementation/validation-messages.d.ts b/dist/amd/implementation/validation-messages.d.ts index 1c3a85eb..e44e670d 100644 --- a/dist/amd/implementation/validation-messages.d.ts +++ b/dist/amd/implementation/validation-messages.d.ts @@ -12,7 +12,7 @@ export declare const validationMessages: ValidationMessages; */ export declare class ValidationMessageProvider { private parser; - static inject: typeof ValidationMessageParser[]; + static inject: (typeof ValidationMessageParser)[]; constructor(parser: ValidationMessageParser); /** * Returns a message binding expression that corresponds to the key. diff --git a/dist/amd/implementation/validation-messages.js b/dist/amd/implementation/validation-messages.js index 8a3aae12..686ef244 100644 --- a/dist/amd/implementation/validation-messages.js +++ b/dist/amd/implementation/validation-messages.js @@ -21,7 +21,7 @@ define(["require", "exports", "./validation-message-parser"], function (require, /** * Retrieves validation messages and property display names. */ - var ValidationMessageProvider = (function () { + var ValidationMessageProvider = /** @class */ (function () { function ValidationMessageProvider(parser) { this.parser = parser; } diff --git a/dist/amd/implementation/validation-rules.js b/dist/amd/implementation/validation-rules.js index dedc06db..fb26625e 100644 --- a/dist/amd/implementation/validation-rules.js +++ b/dist/amd/implementation/validation-rules.js @@ -4,7 +4,7 @@ define(["require", "exports", "./rules", "./validation-messages", "../util"], fu /** * Part of the fluent rule API. Enables customizing property rules. */ - var FluentRuleCustomizer = (function () { + var FluentRuleCustomizer = /** @class */ (function () { function FluentRuleCustomizer(property, condition, config, fluentEnsure, fluentRules, parsers) { if (config === void 0) { config = {}; } this.fluentEnsure = fluentEnsure; @@ -180,7 +180,7 @@ define(["require", "exports", "./rules", "./validation-messages", "../util"], fu /** * Part of the fluent rule API. Enables applying rules to properties and objects. */ - var FluentRules = (function () { + var FluentRules = /** @class */ (function () { function FluentRules(fluentEnsure, parsers, property) { this.fluentEnsure = fluentEnsure; this.parsers = parsers; @@ -312,7 +312,7 @@ define(["require", "exports", "./rules", "./validation-messages", "../util"], fu /** * Part of the fluent rule API. Enables targeting properties and objects with rules. */ - var FluentEnsure = (function () { + var FluentEnsure = /** @class */ (function () { function FluentEnsure(parsers) { this.parsers = parsers; /** @@ -380,7 +380,7 @@ define(["require", "exports", "./rules", "./validation-messages", "../util"], fu /** * Fluent rule definition API. */ - var ValidationRules = (function () { + var ValidationRules = /** @class */ (function () { function ValidationRules() { } ValidationRules.initialize = function (messageParser, propertyParser) { diff --git a/dist/amd/property-accessor-parser.d.ts b/dist/amd/property-accessor-parser.d.ts index 98f1d1c6..13f1a91e 100644 --- a/dist/amd/property-accessor-parser.d.ts +++ b/dist/amd/property-accessor-parser.d.ts @@ -2,7 +2,7 @@ import { Parser } from 'aurelia-binding'; export declare type PropertyAccessor = (object: TObject) => TValue; export declare class PropertyAccessorParser { private parser; - static inject: typeof Parser[]; + static inject: (typeof Parser)[]; constructor(parser: Parser); parse(property: string | PropertyAccessor): string; } diff --git a/dist/amd/property-accessor-parser.js b/dist/amd/property-accessor-parser.js index 1031fe6b..22275239 100644 --- a/dist/amd/property-accessor-parser.js +++ b/dist/amd/property-accessor-parser.js @@ -1,7 +1,7 @@ define(["require", "exports", "aurelia-binding", "./util"], function (require, exports, aurelia_binding_1, util_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var PropertyAccessorParser = (function () { + var PropertyAccessorParser = /** @class */ (function () { function PropertyAccessorParser(parser) { this.parser = parser; } diff --git a/dist/amd/property-info.d.ts b/dist/amd/property-info.d.ts index e5a3d2cd..35fef1d5 100644 --- a/dist/amd/property-info.d.ts +++ b/dist/amd/property-info.d.ts @@ -1,7 +1,4 @@ import { Expression, Scope } from 'aurelia-binding'; -declare module 'aurelia-binding' { - const getContextFor: any; -} /** * Retrieves the object and property name for the specified expression. * @param expression The expression diff --git a/dist/amd/validate-binding-behavior-base.js b/dist/amd/validate-binding-behavior-base.js index d1e4354c..c97b7fee 100644 --- a/dist/amd/validate-binding-behavior-base.js +++ b/dist/amd/validate-binding-behavior-base.js @@ -4,7 +4,7 @@ define(["require", "exports", "aurelia-dependency-injection", "./validation-cont /** * Binding behavior. Indicates the bound property should be validated. */ - var ValidateBindingBehaviorBase = (function () { + var ValidateBindingBehaviorBase = /** @class */ (function () { function ValidateBindingBehaviorBase(taskQueue) { this.taskQueue = taskQueue; } @@ -29,11 +29,11 @@ define(["require", "exports", "aurelia-dependency-injection", "./validation-cont var trigger = this.getValidateTrigger(controller); // tslint:disable-next-line:no-bitwise if (trigger & validate_trigger_1.validateTrigger.change) { - binding.standardUpdateSource = binding.updateSource; + binding.vbbUpdateSource = binding.updateSource; // tslint:disable-next-line:only-arrow-functions // tslint:disable-next-line:space-before-function-paren binding.updateSource = function (value) { - this.standardUpdateSource(value); + this.vbbUpdateSource(value); this.validationController.validateBinding(this); }; } @@ -57,9 +57,9 @@ define(["require", "exports", "aurelia-dependency-injection", "./validation-cont }; ValidateBindingBehaviorBase.prototype.unbind = function (binding) { // reset the binding to it's original state. - if (binding.standardUpdateSource) { - binding.updateSource = binding.standardUpdateSource; - binding.standardUpdateSource = null; + if (binding.vbbUpdateSource) { + binding.updateSource = binding.vbbUpdateSource; + binding.vbbUpdateSource = null; } if (binding.standardUpdateTarget) { binding.updateTarget = binding.standardUpdateTarget; diff --git a/dist/amd/validate-binding-behavior.d.ts b/dist/amd/validate-binding-behavior.d.ts index 518186be..08b5d9e0 100644 --- a/dist/amd/validate-binding-behavior.d.ts +++ b/dist/amd/validate-binding-behavior.d.ts @@ -8,7 +8,7 @@ import { ValidateBindingBehaviorBase } from './validate-binding-behavior-base'; * validateTrigger property occurs. */ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(controller: ValidationController): validateTrigger; } /** @@ -17,7 +17,7 @@ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase * triggered by data-entry or blur will occur. */ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -25,7 +25,7 @@ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBeha * when the associated element blurs. */ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -34,7 +34,7 @@ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehavi * to the model. */ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -43,6 +43,6 @@ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBeha * a change to the model. */ export declare class ValidateOnChangeOrBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } diff --git a/dist/amd/validate-binding-behavior.js b/dist/amd/validate-binding-behavior.js index 2bc5fff6..5050f5be 100644 --- a/dist/amd/validate-binding-behavior.js +++ b/dist/amd/validate-binding-behavior.js @@ -16,7 +16,7 @@ define(["require", "exports", "aurelia-task-queue", "./validate-trigger", "./val * when the validate trigger specified by the associated controller's * validateTrigger property occurs. */ - var ValidateBindingBehavior = (function (_super) { + var ValidateBindingBehavior = /** @class */ (function (_super) { __extends(ValidateBindingBehavior, _super); function ValidateBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -33,7 +33,7 @@ define(["require", "exports", "aurelia-task-queue", "./validate-trigger", "./val * manually, by calling controller.validate(). No automatic validation * triggered by data-entry or blur will occur. */ - var ValidateManuallyBindingBehavior = (function (_super) { + var ValidateManuallyBindingBehavior = /** @class */ (function (_super) { __extends(ValidateManuallyBindingBehavior, _super); function ValidateManuallyBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -49,7 +49,7 @@ define(["require", "exports", "aurelia-task-queue", "./validate-trigger", "./val * Binding behavior. Indicates the bound property should be validated * when the associated element blurs. */ - var ValidateOnBlurBindingBehavior = (function (_super) { + var ValidateOnBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnBlurBindingBehavior, _super); function ValidateOnBlurBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -66,7 +66,7 @@ define(["require", "exports", "aurelia-task-queue", "./validate-trigger", "./val * when the associated element is changed by the user, causing a change * to the model. */ - var ValidateOnChangeBindingBehavior = (function (_super) { + var ValidateOnChangeBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeBindingBehavior, _super); function ValidateOnChangeBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -83,7 +83,7 @@ define(["require", "exports", "aurelia-task-queue", "./validate-trigger", "./val * when the associated element blurs or is changed by the user, causing * a change to the model. */ - var ValidateOnChangeOrBlurBindingBehavior = (function (_super) { + var ValidateOnChangeOrBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeOrBlurBindingBehavior, _super); function ValidateOnChangeOrBlurBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/dist/amd/validate-event.js b/dist/amd/validate-event.js index 917875f6..98a1d8f9 100644 --- a/dist/amd/validate-event.js +++ b/dist/amd/validate-event.js @@ -1,36 +1,36 @@ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var ValidateEvent = (function () { + var ValidateEvent = /** @class */ (function () { function ValidateEvent( - /** - * The type of validate event. Either "validate" or "reset". - */ - type, - /** - * The controller's current array of errors. For an array containing both - * failed rules and passed rules, use the "results" property. - */ - errors, - /** - * The controller's current array of validate results. This - * includes both passed rules and failed rules. For an array of only failed rules, - * use the "errors" property. - */ - results, - /** - * The instruction passed to the "validate" or "reset" event. Will be null when - * the controller's validate/reset method was called with no instruction argument. - */ - instruction, - /** - * In events with type === "validate", this property will contain the result - * of validating the instruction (see "instruction" property). Use the controllerValidateResult - * to access the validate results specific to the call to "validate" - * (as opposed to using the "results" and "errors" properties to access the controller's entire - * set of results/errors). - */ - controllerValidateResult) { + /** + * The type of validate event. Either "validate" or "reset". + */ + type, + /** + * The controller's current array of errors. For an array containing both + * failed rules and passed rules, use the "results" property. + */ + errors, + /** + * The controller's current array of validate results. This + * includes both passed rules and failed rules. For an array of only failed rules, + * use the "errors" property. + */ + results, + /** + * The instruction passed to the "validate" or "reset" event. Will be null when + * the controller's validate/reset method was called with no instruction argument. + */ + instruction, + /** + * In events with type === "validate", this property will contain the result + * of validating the instruction (see "instruction" property). Use the controllerValidateResult + * to access the validate results specific to the call to "validate" + * (as opposed to using the "results" and "errors" properties to access the controller's entire + * set of results/errors). + */ + controllerValidateResult) { this.type = type; this.errors = errors; this.results = results; diff --git a/dist/amd/validate-result.js b/dist/amd/validate-result.js index 5af46715..500f9bdb 100644 --- a/dist/amd/validate-result.js +++ b/dist/amd/validate-result.js @@ -4,7 +4,7 @@ define(["require", "exports"], function (require, exports) { /** * The result of validating an individual validation rule. */ - var ValidateResult = (function () { + var ValidateResult = /** @class */ (function () { /** * @param rule The rule associated with the result. Validator implementation specific. * @param object The object that was validated. diff --git a/dist/amd/validation-controller-factory.js b/dist/amd/validation-controller-factory.js index 8bf5720d..a5a1380f 100644 --- a/dist/amd/validation-controller-factory.js +++ b/dist/amd/validation-controller-factory.js @@ -4,7 +4,7 @@ define(["require", "exports", "./validation-controller", "./validator", "./prope /** * Creates ValidationController instances. */ - var ValidationControllerFactory = (function () { + var ValidationControllerFactory = /** @class */ (function () { function ValidationControllerFactory(container) { this.container = container; } diff --git a/dist/amd/validation-controller.js b/dist/amd/validation-controller.js index 54bc7cc7..be344ba1 100644 --- a/dist/amd/validation-controller.js +++ b/dist/amd/validation-controller.js @@ -6,7 +6,7 @@ define(["require", "exports", "./validator", "./validate-trigger", "./property-i * Manages a set of bindings, renderers and objects. * Exposes the current list of validation results for binding purposes. */ - var ValidationController = (function () { + var ValidationController = /** @class */ (function () { function ValidationController(validator, propertyParser) { this.validator = validator; this.propertyParser = propertyParser; diff --git a/dist/amd/validation-errors-custom-attribute.js b/dist/amd/validation-errors-custom-attribute.js index 96e9b1da..bb7b6c65 100644 --- a/dist/amd/validation-errors-custom-attribute.js +++ b/dist/amd/validation-errors-custom-attribute.js @@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, define(["require", "exports", "aurelia-binding", "aurelia-dependency-injection", "aurelia-templating", "./validation-controller", "aurelia-pal"], function (require, exports, aurelia_binding_1, aurelia_dependency_injection_1, aurelia_templating_1, validation_controller_1, aurelia_pal_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var ValidationErrorsCustomAttribute = (function () { + var ValidationErrorsCustomAttribute = /** @class */ (function () { function ValidationErrorsCustomAttribute(boundaryElement, controllerAccessor) { this.boundaryElement = boundaryElement; this.controllerAccessor = controllerAccessor; diff --git a/dist/amd/validation-renderer-custom-attribute.js b/dist/amd/validation-renderer-custom-attribute.js index 22da57b9..b9b5d782 100644 --- a/dist/amd/validation-renderer-custom-attribute.js +++ b/dist/amd/validation-renderer-custom-attribute.js @@ -1,7 +1,7 @@ define(["require", "exports", "./validation-controller"], function (require, exports, validation_controller_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var ValidationRendererCustomAttribute = (function () { + var ValidationRendererCustomAttribute = /** @class */ (function () { function ValidationRendererCustomAttribute() { } ValidationRendererCustomAttribute.prototype.created = function (view) { diff --git a/dist/amd/validator.js b/dist/amd/validator.js index fa3d0c6e..c0f3bad3 100644 --- a/dist/amd/validator.js +++ b/dist/amd/validator.js @@ -4,7 +4,7 @@ define(["require", "exports"], function (require, exports) { /** * Validates objects and properties. */ - var Validator = (function () { + var Validator = /** @class */ (function () { function Validator() { } return Validator; diff --git a/dist/commonjs/aurelia-validation.js b/dist/commonjs/aurelia-validation.js index 0a166ef5..32d3c103 100644 --- a/dist/commonjs/aurelia-validation.js +++ b/dist/commonjs/aurelia-validation.js @@ -31,7 +31,7 @@ var validation_rules_1 = require("./implementation/validation-rules"); /** * Aurelia Validation Configuration API */ -var AureliaValidationConfiguration = (function () { +var AureliaValidationConfiguration = /** @class */ (function () { function AureliaValidationConfiguration() { this.validatorType = standard_validator_1.StandardValidator; } diff --git a/dist/commonjs/implementation/expression-visitor.js b/dist/commonjs/implementation/expression-visitor.js index 9503f798..ba924f58 100644 --- a/dist/commonjs/implementation/expression-visitor.js +++ b/dist/commonjs/implementation/expression-visitor.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable:no-empty -var ExpressionVisitor = (function () { +var ExpressionVisitor = /** @class */ (function () { function ExpressionVisitor() { } ExpressionVisitor.prototype.visitChain = function (chain) { diff --git a/dist/commonjs/implementation/rules.js b/dist/commonjs/implementation/rules.js index 68e00011..9b3f30e6 100644 --- a/dist/commonjs/implementation/rules.js +++ b/dist/commonjs/implementation/rules.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); /** * Sets, unsets and retrieves rules on an object or constructor function. */ -var Rules = (function () { +var Rules = /** @class */ (function () { function Rules() { } /** diff --git a/dist/commonjs/implementation/standard-validator.js b/dist/commonjs/implementation/standard-validator.js index 771c572f..124b7c17 100644 --- a/dist/commonjs/implementation/standard-validator.js +++ b/dist/commonjs/implementation/standard-validator.js @@ -19,7 +19,7 @@ var validation_messages_1 = require("./validation-messages"); * Validates. * Responsible for validating objects and properties. */ -var StandardValidator = (function (_super) { +var StandardValidator = /** @class */ (function (_super) { __extends(StandardValidator, _super); function StandardValidator(messageProvider, resources) { var _this = _super.call(this) || this; diff --git a/dist/commonjs/implementation/validation-message-parser.d.ts b/dist/commonjs/implementation/validation-message-parser.d.ts index 83d5b7aa..39d288c0 100644 --- a/dist/commonjs/implementation/validation-message-parser.d.ts +++ b/dist/commonjs/implementation/validation-message-parser.d.ts @@ -3,7 +3,7 @@ import { BindingLanguage } from 'aurelia-templating'; import { ExpressionVisitor } from './expression-visitor'; export declare class ValidationMessageParser { private bindinqLanguage; - static inject: typeof BindingLanguage[]; + static inject: (typeof BindingLanguage)[]; private emptyStringExpression; private nullExpression; private undefinedExpression; diff --git a/dist/commonjs/implementation/validation-message-parser.js b/dist/commonjs/implementation/validation-message-parser.js index d75e0254..3322c134 100644 --- a/dist/commonjs/implementation/validation-message-parser.js +++ b/dist/commonjs/implementation/validation-message-parser.js @@ -14,7 +14,7 @@ var aurelia_binding_1 = require("aurelia-binding"); var aurelia_templating_1 = require("aurelia-templating"); var LogManager = require("aurelia-logging"); var expression_visitor_1 = require("./expression-visitor"); -var ValidationMessageParser = (function () { +var ValidationMessageParser = /** @class */ (function () { function ValidationMessageParser(bindinqLanguage) { this.bindinqLanguage = bindinqLanguage; this.emptyStringExpression = new aurelia_binding_1.LiteralString(''); @@ -46,7 +46,7 @@ var ValidationMessageParser = (function () { return ValidationMessageParser; }()); exports.ValidationMessageParser = ValidationMessageParser; -var MessageExpressionValidator = (function (_super) { +var MessageExpressionValidator = /** @class */ (function (_super) { __extends(MessageExpressionValidator, _super); function MessageExpressionValidator(originalMessage) { var _this = _super.call(this) || this; diff --git a/dist/commonjs/implementation/validation-messages.d.ts b/dist/commonjs/implementation/validation-messages.d.ts index 1c3a85eb..e44e670d 100644 --- a/dist/commonjs/implementation/validation-messages.d.ts +++ b/dist/commonjs/implementation/validation-messages.d.ts @@ -12,7 +12,7 @@ export declare const validationMessages: ValidationMessages; */ export declare class ValidationMessageProvider { private parser; - static inject: typeof ValidationMessageParser[]; + static inject: (typeof ValidationMessageParser)[]; constructor(parser: ValidationMessageParser); /** * Returns a message binding expression that corresponds to the key. diff --git a/dist/commonjs/implementation/validation-messages.js b/dist/commonjs/implementation/validation-messages.js index 627d089c..82ac5d12 100644 --- a/dist/commonjs/implementation/validation-messages.js +++ b/dist/commonjs/implementation/validation-messages.js @@ -21,7 +21,7 @@ exports.validationMessages = { /** * Retrieves validation messages and property display names. */ -var ValidationMessageProvider = (function () { +var ValidationMessageProvider = /** @class */ (function () { function ValidationMessageProvider(parser) { this.parser = parser; } diff --git a/dist/commonjs/implementation/validation-rules.js b/dist/commonjs/implementation/validation-rules.js index 6b6d7afb..07bc6205 100644 --- a/dist/commonjs/implementation/validation-rules.js +++ b/dist/commonjs/implementation/validation-rules.js @@ -6,7 +6,7 @@ var util_1 = require("../util"); /** * Part of the fluent rule API. Enables customizing property rules. */ -var FluentRuleCustomizer = (function () { +var FluentRuleCustomizer = /** @class */ (function () { function FluentRuleCustomizer(property, condition, config, fluentEnsure, fluentRules, parsers) { if (config === void 0) { config = {}; } this.fluentEnsure = fluentEnsure; @@ -182,7 +182,7 @@ exports.FluentRuleCustomizer = FluentRuleCustomizer; /** * Part of the fluent rule API. Enables applying rules to properties and objects. */ -var FluentRules = (function () { +var FluentRules = /** @class */ (function () { function FluentRules(fluentEnsure, parsers, property) { this.fluentEnsure = fluentEnsure; this.parsers = parsers; @@ -314,7 +314,7 @@ exports.FluentRules = FluentRules; /** * Part of the fluent rule API. Enables targeting properties and objects with rules. */ -var FluentEnsure = (function () { +var FluentEnsure = /** @class */ (function () { function FluentEnsure(parsers) { this.parsers = parsers; /** @@ -382,7 +382,7 @@ exports.FluentEnsure = FluentEnsure; /** * Fluent rule definition API. */ -var ValidationRules = (function () { +var ValidationRules = /** @class */ (function () { function ValidationRules() { } ValidationRules.initialize = function (messageParser, propertyParser) { diff --git a/dist/commonjs/property-accessor-parser.d.ts b/dist/commonjs/property-accessor-parser.d.ts index 98f1d1c6..13f1a91e 100644 --- a/dist/commonjs/property-accessor-parser.d.ts +++ b/dist/commonjs/property-accessor-parser.d.ts @@ -2,7 +2,7 @@ import { Parser } from 'aurelia-binding'; export declare type PropertyAccessor = (object: TObject) => TValue; export declare class PropertyAccessorParser { private parser; - static inject: typeof Parser[]; + static inject: (typeof Parser)[]; constructor(parser: Parser); parse(property: string | PropertyAccessor): string; } diff --git a/dist/commonjs/property-accessor-parser.js b/dist/commonjs/property-accessor-parser.js index 50dc88cc..de29ea1c 100644 --- a/dist/commonjs/property-accessor-parser.js +++ b/dist/commonjs/property-accessor-parser.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var aurelia_binding_1 = require("aurelia-binding"); var util_1 = require("./util"); -var PropertyAccessorParser = (function () { +var PropertyAccessorParser = /** @class */ (function () { function PropertyAccessorParser(parser) { this.parser = parser; } diff --git a/dist/commonjs/property-info.d.ts b/dist/commonjs/property-info.d.ts index e5a3d2cd..35fef1d5 100644 --- a/dist/commonjs/property-info.d.ts +++ b/dist/commonjs/property-info.d.ts @@ -1,7 +1,4 @@ import { Expression, Scope } from 'aurelia-binding'; -declare module 'aurelia-binding' { - const getContextFor: any; -} /** * Retrieves the object and property name for the specified expression. * @param expression The expression diff --git a/dist/commonjs/validate-binding-behavior-base.js b/dist/commonjs/validate-binding-behavior-base.js index cb17804c..f5b6d775 100644 --- a/dist/commonjs/validate-binding-behavior-base.js +++ b/dist/commonjs/validate-binding-behavior-base.js @@ -7,7 +7,7 @@ var get_target_dom_element_1 = require("./get-target-dom-element"); /** * Binding behavior. Indicates the bound property should be validated. */ -var ValidateBindingBehaviorBase = (function () { +var ValidateBindingBehaviorBase = /** @class */ (function () { function ValidateBindingBehaviorBase(taskQueue) { this.taskQueue = taskQueue; } @@ -32,11 +32,11 @@ var ValidateBindingBehaviorBase = (function () { var trigger = this.getValidateTrigger(controller); // tslint:disable-next-line:no-bitwise if (trigger & validate_trigger_1.validateTrigger.change) { - binding.standardUpdateSource = binding.updateSource; + binding.vbbUpdateSource = binding.updateSource; // tslint:disable-next-line:only-arrow-functions // tslint:disable-next-line:space-before-function-paren binding.updateSource = function (value) { - this.standardUpdateSource(value); + this.vbbUpdateSource(value); this.validationController.validateBinding(this); }; } @@ -60,9 +60,9 @@ var ValidateBindingBehaviorBase = (function () { }; ValidateBindingBehaviorBase.prototype.unbind = function (binding) { // reset the binding to it's original state. - if (binding.standardUpdateSource) { - binding.updateSource = binding.standardUpdateSource; - binding.standardUpdateSource = null; + if (binding.vbbUpdateSource) { + binding.updateSource = binding.vbbUpdateSource; + binding.vbbUpdateSource = null; } if (binding.standardUpdateTarget) { binding.updateTarget = binding.standardUpdateTarget; diff --git a/dist/commonjs/validate-binding-behavior.d.ts b/dist/commonjs/validate-binding-behavior.d.ts index 518186be..08b5d9e0 100644 --- a/dist/commonjs/validate-binding-behavior.d.ts +++ b/dist/commonjs/validate-binding-behavior.d.ts @@ -8,7 +8,7 @@ import { ValidateBindingBehaviorBase } from './validate-binding-behavior-base'; * validateTrigger property occurs. */ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(controller: ValidationController): validateTrigger; } /** @@ -17,7 +17,7 @@ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase * triggered by data-entry or blur will occur. */ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -25,7 +25,7 @@ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBeha * when the associated element blurs. */ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -34,7 +34,7 @@ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehavi * to the model. */ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -43,6 +43,6 @@ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBeha * a change to the model. */ export declare class ValidateOnChangeOrBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } diff --git a/dist/commonjs/validate-binding-behavior.js b/dist/commonjs/validate-binding-behavior.js index e10265e7..2615f89d 100644 --- a/dist/commonjs/validate-binding-behavior.js +++ b/dist/commonjs/validate-binding-behavior.js @@ -18,7 +18,7 @@ var validate_binding_behavior_base_1 = require("./validate-binding-behavior-base * when the validate trigger specified by the associated controller's * validateTrigger property occurs. */ -var ValidateBindingBehavior = (function (_super) { +var ValidateBindingBehavior = /** @class */ (function (_super) { __extends(ValidateBindingBehavior, _super); function ValidateBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -35,7 +35,7 @@ exports.ValidateBindingBehavior = ValidateBindingBehavior; * manually, by calling controller.validate(). No automatic validation * triggered by data-entry or blur will occur. */ -var ValidateManuallyBindingBehavior = (function (_super) { +var ValidateManuallyBindingBehavior = /** @class */ (function (_super) { __extends(ValidateManuallyBindingBehavior, _super); function ValidateManuallyBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -51,7 +51,7 @@ exports.ValidateManuallyBindingBehavior = ValidateManuallyBindingBehavior; * Binding behavior. Indicates the bound property should be validated * when the associated element blurs. */ -var ValidateOnBlurBindingBehavior = (function (_super) { +var ValidateOnBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnBlurBindingBehavior, _super); function ValidateOnBlurBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -68,7 +68,7 @@ exports.ValidateOnBlurBindingBehavior = ValidateOnBlurBindingBehavior; * when the associated element is changed by the user, causing a change * to the model. */ -var ValidateOnChangeBindingBehavior = (function (_super) { +var ValidateOnChangeBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeBindingBehavior, _super); function ValidateOnChangeBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -85,7 +85,7 @@ exports.ValidateOnChangeBindingBehavior = ValidateOnChangeBindingBehavior; * when the associated element blurs or is changed by the user, causing * a change to the model. */ -var ValidateOnChangeOrBlurBindingBehavior = (function (_super) { +var ValidateOnChangeOrBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeOrBlurBindingBehavior, _super); function ValidateOnChangeOrBlurBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/dist/commonjs/validate-event.js b/dist/commonjs/validate-event.js index 9cfaef06..bc2e1890 100644 --- a/dist/commonjs/validate-event.js +++ b/dist/commonjs/validate-event.js @@ -1,35 +1,35 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var ValidateEvent = (function () { +var ValidateEvent = /** @class */ (function () { function ValidateEvent( - /** - * The type of validate event. Either "validate" or "reset". - */ - type, - /** - * The controller's current array of errors. For an array containing both - * failed rules and passed rules, use the "results" property. - */ - errors, - /** - * The controller's current array of validate results. This - * includes both passed rules and failed rules. For an array of only failed rules, - * use the "errors" property. - */ - results, - /** - * The instruction passed to the "validate" or "reset" event. Will be null when - * the controller's validate/reset method was called with no instruction argument. - */ - instruction, - /** - * In events with type === "validate", this property will contain the result - * of validating the instruction (see "instruction" property). Use the controllerValidateResult - * to access the validate results specific to the call to "validate" - * (as opposed to using the "results" and "errors" properties to access the controller's entire - * set of results/errors). - */ - controllerValidateResult) { + /** + * The type of validate event. Either "validate" or "reset". + */ + type, + /** + * The controller's current array of errors. For an array containing both + * failed rules and passed rules, use the "results" property. + */ + errors, + /** + * The controller's current array of validate results. This + * includes both passed rules and failed rules. For an array of only failed rules, + * use the "errors" property. + */ + results, + /** + * The instruction passed to the "validate" or "reset" event. Will be null when + * the controller's validate/reset method was called with no instruction argument. + */ + instruction, + /** + * In events with type === "validate", this property will contain the result + * of validating the instruction (see "instruction" property). Use the controllerValidateResult + * to access the validate results specific to the call to "validate" + * (as opposed to using the "results" and "errors" properties to access the controller's entire + * set of results/errors). + */ + controllerValidateResult) { this.type = type; this.errors = errors; this.results = results; diff --git a/dist/commonjs/validate-result.js b/dist/commonjs/validate-result.js index 4af4f3d9..04472b88 100644 --- a/dist/commonjs/validate-result.js +++ b/dist/commonjs/validate-result.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); /** * The result of validating an individual validation rule. */ -var ValidateResult = (function () { +var ValidateResult = /** @class */ (function () { /** * @param rule The rule associated with the result. Validator implementation specific. * @param object The object that was validated. diff --git a/dist/commonjs/validation-controller-factory.js b/dist/commonjs/validation-controller-factory.js index 970aeff0..2cf50e22 100644 --- a/dist/commonjs/validation-controller-factory.js +++ b/dist/commonjs/validation-controller-factory.js @@ -6,7 +6,7 @@ var property_accessor_parser_1 = require("./property-accessor-parser"); /** * Creates ValidationController instances. */ -var ValidationControllerFactory = (function () { +var ValidationControllerFactory = /** @class */ (function () { function ValidationControllerFactory(container) { this.container = container; } diff --git a/dist/commonjs/validation-controller.js b/dist/commonjs/validation-controller.js index 9c0cffaf..8d304766 100644 --- a/dist/commonjs/validation-controller.js +++ b/dist/commonjs/validation-controller.js @@ -11,7 +11,7 @@ var validate_event_1 = require("./validate-event"); * Manages a set of bindings, renderers and objects. * Exposes the current list of validation results for binding purposes. */ -var ValidationController = (function () { +var ValidationController = /** @class */ (function () { function ValidationController(validator, propertyParser) { this.validator = validator; this.propertyParser = propertyParser; diff --git a/dist/commonjs/validation-errors-custom-attribute.js b/dist/commonjs/validation-errors-custom-attribute.js index e367c6cf..260af774 100644 --- a/dist/commonjs/validation-errors-custom-attribute.js +++ b/dist/commonjs/validation-errors-custom-attribute.js @@ -11,7 +11,7 @@ var aurelia_dependency_injection_1 = require("aurelia-dependency-injection"); var aurelia_templating_1 = require("aurelia-templating"); var validation_controller_1 = require("./validation-controller"); var aurelia_pal_1 = require("aurelia-pal"); -var ValidationErrorsCustomAttribute = (function () { +var ValidationErrorsCustomAttribute = /** @class */ (function () { function ValidationErrorsCustomAttribute(boundaryElement, controllerAccessor) { this.boundaryElement = boundaryElement; this.controllerAccessor = controllerAccessor; diff --git a/dist/commonjs/validation-renderer-custom-attribute.js b/dist/commonjs/validation-renderer-custom-attribute.js index e86d851d..19fb49a2 100644 --- a/dist/commonjs/validation-renderer-custom-attribute.js +++ b/dist/commonjs/validation-renderer-custom-attribute.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var validation_controller_1 = require("./validation-controller"); -var ValidationRendererCustomAttribute = (function () { +var ValidationRendererCustomAttribute = /** @class */ (function () { function ValidationRendererCustomAttribute() { } ValidationRendererCustomAttribute.prototype.created = function (view) { diff --git a/dist/commonjs/validator.js b/dist/commonjs/validator.js index c9e81447..85c66f91 100644 --- a/dist/commonjs/validator.js +++ b/dist/commonjs/validator.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); /** * Validates objects and properties. */ -var Validator = (function () { +var Validator = /** @class */ (function () { function Validator() { } return Validator; diff --git a/dist/es2015/implementation/validation-message-parser.d.ts b/dist/es2015/implementation/validation-message-parser.d.ts index 83d5b7aa..39d288c0 100644 --- a/dist/es2015/implementation/validation-message-parser.d.ts +++ b/dist/es2015/implementation/validation-message-parser.d.ts @@ -3,7 +3,7 @@ import { BindingLanguage } from 'aurelia-templating'; import { ExpressionVisitor } from './expression-visitor'; export declare class ValidationMessageParser { private bindinqLanguage; - static inject: typeof BindingLanguage[]; + static inject: (typeof BindingLanguage)[]; private emptyStringExpression; private nullExpression; private undefinedExpression; diff --git a/dist/es2015/implementation/validation-messages.d.ts b/dist/es2015/implementation/validation-messages.d.ts index 1c3a85eb..e44e670d 100644 --- a/dist/es2015/implementation/validation-messages.d.ts +++ b/dist/es2015/implementation/validation-messages.d.ts @@ -12,7 +12,7 @@ export declare const validationMessages: ValidationMessages; */ export declare class ValidationMessageProvider { private parser; - static inject: typeof ValidationMessageParser[]; + static inject: (typeof ValidationMessageParser)[]; constructor(parser: ValidationMessageParser); /** * Returns a message binding expression that corresponds to the key. diff --git a/dist/es2015/property-accessor-parser.d.ts b/dist/es2015/property-accessor-parser.d.ts index 98f1d1c6..13f1a91e 100644 --- a/dist/es2015/property-accessor-parser.d.ts +++ b/dist/es2015/property-accessor-parser.d.ts @@ -2,7 +2,7 @@ import { Parser } from 'aurelia-binding'; export declare type PropertyAccessor = (object: TObject) => TValue; export declare class PropertyAccessorParser { private parser; - static inject: typeof Parser[]; + static inject: (typeof Parser)[]; constructor(parser: Parser); parse(property: string | PropertyAccessor): string; } diff --git a/dist/es2015/property-info.d.ts b/dist/es2015/property-info.d.ts index e5a3d2cd..35fef1d5 100644 --- a/dist/es2015/property-info.d.ts +++ b/dist/es2015/property-info.d.ts @@ -1,7 +1,4 @@ import { Expression, Scope } from 'aurelia-binding'; -declare module 'aurelia-binding' { - const getContextFor: any; -} /** * Retrieves the object and property name for the specified expression. * @param expression The expression diff --git a/dist/es2015/validate-binding-behavior-base.js b/dist/es2015/validate-binding-behavior-base.js index 6b30c8b0..b35e5805 100644 --- a/dist/es2015/validate-binding-behavior-base.js +++ b/dist/es2015/validate-binding-behavior-base.js @@ -29,11 +29,11 @@ export class ValidateBindingBehaviorBase { const trigger = this.getValidateTrigger(controller); // tslint:disable-next-line:no-bitwise if (trigger & validateTrigger.change) { - binding.standardUpdateSource = binding.updateSource; + binding.vbbUpdateSource = binding.updateSource; // tslint:disable-next-line:only-arrow-functions // tslint:disable-next-line:space-before-function-paren binding.updateSource = function (value) { - this.standardUpdateSource(value); + this.vbbUpdateSource(value); this.validationController.validateBinding(this); }; } @@ -57,9 +57,9 @@ export class ValidateBindingBehaviorBase { } unbind(binding) { // reset the binding to it's original state. - if (binding.standardUpdateSource) { - binding.updateSource = binding.standardUpdateSource; - binding.standardUpdateSource = null; + if (binding.vbbUpdateSource) { + binding.updateSource = binding.vbbUpdateSource; + binding.vbbUpdateSource = null; } if (binding.standardUpdateTarget) { binding.updateTarget = binding.standardUpdateTarget; diff --git a/dist/es2015/validate-binding-behavior.d.ts b/dist/es2015/validate-binding-behavior.d.ts index 518186be..08b5d9e0 100644 --- a/dist/es2015/validate-binding-behavior.d.ts +++ b/dist/es2015/validate-binding-behavior.d.ts @@ -8,7 +8,7 @@ import { ValidateBindingBehaviorBase } from './validate-binding-behavior-base'; * validateTrigger property occurs. */ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(controller: ValidationController): validateTrigger; } /** @@ -17,7 +17,7 @@ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase * triggered by data-entry or blur will occur. */ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -25,7 +25,7 @@ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBeha * when the associated element blurs. */ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -34,7 +34,7 @@ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehavi * to the model. */ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -43,6 +43,6 @@ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBeha * a change to the model. */ export declare class ValidateOnChangeOrBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } diff --git a/dist/es2015/validate-event.js b/dist/es2015/validate-event.js index 4b65d00f..e6c5d57b 100644 --- a/dist/es2015/validate-event.js +++ b/dist/es2015/validate-event.js @@ -1,33 +1,33 @@ export class ValidateEvent { constructor( - /** - * The type of validate event. Either "validate" or "reset". - */ - type, - /** - * The controller's current array of errors. For an array containing both - * failed rules and passed rules, use the "results" property. - */ - errors, - /** - * The controller's current array of validate results. This - * includes both passed rules and failed rules. For an array of only failed rules, - * use the "errors" property. - */ - results, - /** - * The instruction passed to the "validate" or "reset" event. Will be null when - * the controller's validate/reset method was called with no instruction argument. - */ - instruction, - /** - * In events with type === "validate", this property will contain the result - * of validating the instruction (see "instruction" property). Use the controllerValidateResult - * to access the validate results specific to the call to "validate" - * (as opposed to using the "results" and "errors" properties to access the controller's entire - * set of results/errors). - */ - controllerValidateResult) { + /** + * The type of validate event. Either "validate" or "reset". + */ + type, + /** + * The controller's current array of errors. For an array containing both + * failed rules and passed rules, use the "results" property. + */ + errors, + /** + * The controller's current array of validate results. This + * includes both passed rules and failed rules. For an array of only failed rules, + * use the "errors" property. + */ + results, + /** + * The instruction passed to the "validate" or "reset" event. Will be null when + * the controller's validate/reset method was called with no instruction argument. + */ + instruction, + /** + * In events with type === "validate", this property will contain the result + * of validating the instruction (see "instruction" property). Use the controllerValidateResult + * to access the validate results specific to the call to "validate" + * (as opposed to using the "results" and "errors" properties to access the controller's entire + * set of results/errors). + */ + controllerValidateResult) { this.type = type; this.errors = errors; this.results = results; diff --git a/dist/es2017/implementation/validation-message-parser.d.ts b/dist/es2017/implementation/validation-message-parser.d.ts index 83d5b7aa..39d288c0 100644 --- a/dist/es2017/implementation/validation-message-parser.d.ts +++ b/dist/es2017/implementation/validation-message-parser.d.ts @@ -3,7 +3,7 @@ import { BindingLanguage } from 'aurelia-templating'; import { ExpressionVisitor } from './expression-visitor'; export declare class ValidationMessageParser { private bindinqLanguage; - static inject: typeof BindingLanguage[]; + static inject: (typeof BindingLanguage)[]; private emptyStringExpression; private nullExpression; private undefinedExpression; diff --git a/dist/es2017/implementation/validation-messages.d.ts b/dist/es2017/implementation/validation-messages.d.ts index 1c3a85eb..e44e670d 100644 --- a/dist/es2017/implementation/validation-messages.d.ts +++ b/dist/es2017/implementation/validation-messages.d.ts @@ -12,7 +12,7 @@ export declare const validationMessages: ValidationMessages; */ export declare class ValidationMessageProvider { private parser; - static inject: typeof ValidationMessageParser[]; + static inject: (typeof ValidationMessageParser)[]; constructor(parser: ValidationMessageParser); /** * Returns a message binding expression that corresponds to the key. diff --git a/dist/es2017/property-accessor-parser.d.ts b/dist/es2017/property-accessor-parser.d.ts index 98f1d1c6..13f1a91e 100644 --- a/dist/es2017/property-accessor-parser.d.ts +++ b/dist/es2017/property-accessor-parser.d.ts @@ -2,7 +2,7 @@ import { Parser } from 'aurelia-binding'; export declare type PropertyAccessor = (object: TObject) => TValue; export declare class PropertyAccessorParser { private parser; - static inject: typeof Parser[]; + static inject: (typeof Parser)[]; constructor(parser: Parser); parse(property: string | PropertyAccessor): string; } diff --git a/dist/es2017/property-info.d.ts b/dist/es2017/property-info.d.ts index e5a3d2cd..35fef1d5 100644 --- a/dist/es2017/property-info.d.ts +++ b/dist/es2017/property-info.d.ts @@ -1,7 +1,4 @@ import { Expression, Scope } from 'aurelia-binding'; -declare module 'aurelia-binding' { - const getContextFor: any; -} /** * Retrieves the object and property name for the specified expression. * @param expression The expression diff --git a/dist/es2017/validate-binding-behavior-base.js b/dist/es2017/validate-binding-behavior-base.js index 6b30c8b0..b35e5805 100644 --- a/dist/es2017/validate-binding-behavior-base.js +++ b/dist/es2017/validate-binding-behavior-base.js @@ -29,11 +29,11 @@ export class ValidateBindingBehaviorBase { const trigger = this.getValidateTrigger(controller); // tslint:disable-next-line:no-bitwise if (trigger & validateTrigger.change) { - binding.standardUpdateSource = binding.updateSource; + binding.vbbUpdateSource = binding.updateSource; // tslint:disable-next-line:only-arrow-functions // tslint:disable-next-line:space-before-function-paren binding.updateSource = function (value) { - this.standardUpdateSource(value); + this.vbbUpdateSource(value); this.validationController.validateBinding(this); }; } @@ -57,9 +57,9 @@ export class ValidateBindingBehaviorBase { } unbind(binding) { // reset the binding to it's original state. - if (binding.standardUpdateSource) { - binding.updateSource = binding.standardUpdateSource; - binding.standardUpdateSource = null; + if (binding.vbbUpdateSource) { + binding.updateSource = binding.vbbUpdateSource; + binding.vbbUpdateSource = null; } if (binding.standardUpdateTarget) { binding.updateTarget = binding.standardUpdateTarget; diff --git a/dist/es2017/validate-binding-behavior.d.ts b/dist/es2017/validate-binding-behavior.d.ts index 518186be..08b5d9e0 100644 --- a/dist/es2017/validate-binding-behavior.d.ts +++ b/dist/es2017/validate-binding-behavior.d.ts @@ -8,7 +8,7 @@ import { ValidateBindingBehaviorBase } from './validate-binding-behavior-base'; * validateTrigger property occurs. */ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(controller: ValidationController): validateTrigger; } /** @@ -17,7 +17,7 @@ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase * triggered by data-entry or blur will occur. */ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -25,7 +25,7 @@ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBeha * when the associated element blurs. */ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -34,7 +34,7 @@ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehavi * to the model. */ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -43,6 +43,6 @@ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBeha * a change to the model. */ export declare class ValidateOnChangeOrBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } diff --git a/dist/es2017/validate-event.js b/dist/es2017/validate-event.js index 4b65d00f..e6c5d57b 100644 --- a/dist/es2017/validate-event.js +++ b/dist/es2017/validate-event.js @@ -1,33 +1,33 @@ export class ValidateEvent { constructor( - /** - * The type of validate event. Either "validate" or "reset". - */ - type, - /** - * The controller's current array of errors. For an array containing both - * failed rules and passed rules, use the "results" property. - */ - errors, - /** - * The controller's current array of validate results. This - * includes both passed rules and failed rules. For an array of only failed rules, - * use the "errors" property. - */ - results, - /** - * The instruction passed to the "validate" or "reset" event. Will be null when - * the controller's validate/reset method was called with no instruction argument. - */ - instruction, - /** - * In events with type === "validate", this property will contain the result - * of validating the instruction (see "instruction" property). Use the controllerValidateResult - * to access the validate results specific to the call to "validate" - * (as opposed to using the "results" and "errors" properties to access the controller's entire - * set of results/errors). - */ - controllerValidateResult) { + /** + * The type of validate event. Either "validate" or "reset". + */ + type, + /** + * The controller's current array of errors. For an array containing both + * failed rules and passed rules, use the "results" property. + */ + errors, + /** + * The controller's current array of validate results. This + * includes both passed rules and failed rules. For an array of only failed rules, + * use the "errors" property. + */ + results, + /** + * The instruction passed to the "validate" or "reset" event. Will be null when + * the controller's validate/reset method was called with no instruction argument. + */ + instruction, + /** + * In events with type === "validate", this property will contain the result + * of validating the instruction (see "instruction" property). Use the controllerValidateResult + * to access the validate results specific to the call to "validate" + * (as opposed to using the "results" and "errors" properties to access the controller's entire + * set of results/errors). + */ + controllerValidateResult) { this.type = type; this.errors = errors; this.results = results; diff --git a/dist/native-modules/aurelia-validation.js b/dist/native-modules/aurelia-validation.js index e0c2a3d6..4833094a 100644 --- a/dist/native-modules/aurelia-validation.js +++ b/dist/native-modules/aurelia-validation.js @@ -26,7 +26,7 @@ import { ValidationRules } from './implementation/validation-rules'; /** * Aurelia Validation Configuration API */ -var AureliaValidationConfiguration = (function () { +var AureliaValidationConfiguration = /** @class */ (function () { function AureliaValidationConfiguration() { this.validatorType = StandardValidator; } diff --git a/dist/native-modules/implementation/expression-visitor.js b/dist/native-modules/implementation/expression-visitor.js index 9cd2ccf6..51a02581 100644 --- a/dist/native-modules/implementation/expression-visitor.js +++ b/dist/native-modules/implementation/expression-visitor.js @@ -1,5 +1,5 @@ // tslint:disable:no-empty -var ExpressionVisitor = (function () { +var ExpressionVisitor = /** @class */ (function () { function ExpressionVisitor() { } ExpressionVisitor.prototype.visitChain = function (chain) { diff --git a/dist/native-modules/implementation/rules.js b/dist/native-modules/implementation/rules.js index c1cbce8b..5041fc6e 100644 --- a/dist/native-modules/implementation/rules.js +++ b/dist/native-modules/implementation/rules.js @@ -1,7 +1,7 @@ /** * Sets, unsets and retrieves rules on an object or constructor function. */ -var Rules = (function () { +var Rules = /** @class */ (function () { function Rules() { } /** diff --git a/dist/native-modules/implementation/standard-validator.js b/dist/native-modules/implementation/standard-validator.js index 62e99a98..da88a004 100644 --- a/dist/native-modules/implementation/standard-validator.js +++ b/dist/native-modules/implementation/standard-validator.js @@ -17,7 +17,7 @@ import { ValidationMessageProvider } from './validation-messages'; * Validates. * Responsible for validating objects and properties. */ -var StandardValidator = (function (_super) { +var StandardValidator = /** @class */ (function (_super) { __extends(StandardValidator, _super); function StandardValidator(messageProvider, resources) { var _this = _super.call(this) || this; diff --git a/dist/native-modules/implementation/validation-message-parser.d.ts b/dist/native-modules/implementation/validation-message-parser.d.ts index 83d5b7aa..39d288c0 100644 --- a/dist/native-modules/implementation/validation-message-parser.d.ts +++ b/dist/native-modules/implementation/validation-message-parser.d.ts @@ -3,7 +3,7 @@ import { BindingLanguage } from 'aurelia-templating'; import { ExpressionVisitor } from './expression-visitor'; export declare class ValidationMessageParser { private bindinqLanguage; - static inject: typeof BindingLanguage[]; + static inject: (typeof BindingLanguage)[]; private emptyStringExpression; private nullExpression; private undefinedExpression; diff --git a/dist/native-modules/implementation/validation-message-parser.js b/dist/native-modules/implementation/validation-message-parser.js index bbb3ac2c..ba2a73c5 100644 --- a/dist/native-modules/implementation/validation-message-parser.js +++ b/dist/native-modules/implementation/validation-message-parser.js @@ -12,7 +12,7 @@ import { LiteralString, Binary, Conditional, LiteralPrimitive, CallMember } from import { BindingLanguage } from 'aurelia-templating'; import * as LogManager from 'aurelia-logging'; import { ExpressionVisitor } from './expression-visitor'; -var ValidationMessageParser = (function () { +var ValidationMessageParser = /** @class */ (function () { function ValidationMessageParser(bindinqLanguage) { this.bindinqLanguage = bindinqLanguage; this.emptyStringExpression = new LiteralString(''); @@ -44,7 +44,7 @@ var ValidationMessageParser = (function () { return ValidationMessageParser; }()); export { ValidationMessageParser }; -var MessageExpressionValidator = (function (_super) { +var MessageExpressionValidator = /** @class */ (function (_super) { __extends(MessageExpressionValidator, _super); function MessageExpressionValidator(originalMessage) { var _this = _super.call(this) || this; diff --git a/dist/native-modules/implementation/validation-messages.d.ts b/dist/native-modules/implementation/validation-messages.d.ts index 1c3a85eb..e44e670d 100644 --- a/dist/native-modules/implementation/validation-messages.d.ts +++ b/dist/native-modules/implementation/validation-messages.d.ts @@ -12,7 +12,7 @@ export declare const validationMessages: ValidationMessages; */ export declare class ValidationMessageProvider { private parser; - static inject: typeof ValidationMessageParser[]; + static inject: (typeof ValidationMessageParser)[]; constructor(parser: ValidationMessageParser); /** * Returns a message binding expression that corresponds to the key. diff --git a/dist/native-modules/implementation/validation-messages.js b/dist/native-modules/implementation/validation-messages.js index 7c4ac11d..005e1371 100644 --- a/dist/native-modules/implementation/validation-messages.js +++ b/dist/native-modules/implementation/validation-messages.js @@ -19,7 +19,7 @@ export var validationMessages = { /** * Retrieves validation messages and property display names. */ -var ValidationMessageProvider = (function () { +var ValidationMessageProvider = /** @class */ (function () { function ValidationMessageProvider(parser) { this.parser = parser; } diff --git a/dist/native-modules/implementation/validation-rules.js b/dist/native-modules/implementation/validation-rules.js index a4a24463..b2ca4270 100644 --- a/dist/native-modules/implementation/validation-rules.js +++ b/dist/native-modules/implementation/validation-rules.js @@ -4,7 +4,7 @@ import { isString } from '../util'; /** * Part of the fluent rule API. Enables customizing property rules. */ -var FluentRuleCustomizer = (function () { +var FluentRuleCustomizer = /** @class */ (function () { function FluentRuleCustomizer(property, condition, config, fluentEnsure, fluentRules, parsers) { if (config === void 0) { config = {}; } this.fluentEnsure = fluentEnsure; @@ -180,7 +180,7 @@ export { FluentRuleCustomizer }; /** * Part of the fluent rule API. Enables applying rules to properties and objects. */ -var FluentRules = (function () { +var FluentRules = /** @class */ (function () { function FluentRules(fluentEnsure, parsers, property) { this.fluentEnsure = fluentEnsure; this.parsers = parsers; @@ -312,7 +312,7 @@ export { FluentRules }; /** * Part of the fluent rule API. Enables targeting properties and objects with rules. */ -var FluentEnsure = (function () { +var FluentEnsure = /** @class */ (function () { function FluentEnsure(parsers) { this.parsers = parsers; /** @@ -380,7 +380,7 @@ export { FluentEnsure }; /** * Fluent rule definition API. */ -var ValidationRules = (function () { +var ValidationRules = /** @class */ (function () { function ValidationRules() { } ValidationRules.initialize = function (messageParser, propertyParser) { diff --git a/dist/native-modules/property-accessor-parser.d.ts b/dist/native-modules/property-accessor-parser.d.ts index 98f1d1c6..13f1a91e 100644 --- a/dist/native-modules/property-accessor-parser.d.ts +++ b/dist/native-modules/property-accessor-parser.d.ts @@ -2,7 +2,7 @@ import { Parser } from 'aurelia-binding'; export declare type PropertyAccessor = (object: TObject) => TValue; export declare class PropertyAccessorParser { private parser; - static inject: typeof Parser[]; + static inject: (typeof Parser)[]; constructor(parser: Parser); parse(property: string | PropertyAccessor): string; } diff --git a/dist/native-modules/property-accessor-parser.js b/dist/native-modules/property-accessor-parser.js index 251d433a..0ec769c4 100644 --- a/dist/native-modules/property-accessor-parser.js +++ b/dist/native-modules/property-accessor-parser.js @@ -1,6 +1,6 @@ import { Parser, AccessMember, AccessScope } from 'aurelia-binding'; import { isString } from './util'; -var PropertyAccessorParser = (function () { +var PropertyAccessorParser = /** @class */ (function () { function PropertyAccessorParser(parser) { this.parser = parser; } diff --git a/dist/native-modules/property-info.d.ts b/dist/native-modules/property-info.d.ts index e5a3d2cd..35fef1d5 100644 --- a/dist/native-modules/property-info.d.ts +++ b/dist/native-modules/property-info.d.ts @@ -1,7 +1,4 @@ import { Expression, Scope } from 'aurelia-binding'; -declare module 'aurelia-binding' { - const getContextFor: any; -} /** * Retrieves the object and property name for the specified expression. * @param expression The expression diff --git a/dist/native-modules/validate-binding-behavior-base.js b/dist/native-modules/validate-binding-behavior-base.js index 59ced1c5..b7f64619 100644 --- a/dist/native-modules/validate-binding-behavior-base.js +++ b/dist/native-modules/validate-binding-behavior-base.js @@ -5,7 +5,7 @@ import { getTargetDOMElement } from './get-target-dom-element'; /** * Binding behavior. Indicates the bound property should be validated. */ -var ValidateBindingBehaviorBase = (function () { +var ValidateBindingBehaviorBase = /** @class */ (function () { function ValidateBindingBehaviorBase(taskQueue) { this.taskQueue = taskQueue; } @@ -30,11 +30,11 @@ var ValidateBindingBehaviorBase = (function () { var trigger = this.getValidateTrigger(controller); // tslint:disable-next-line:no-bitwise if (trigger & validateTrigger.change) { - binding.standardUpdateSource = binding.updateSource; + binding.vbbUpdateSource = binding.updateSource; // tslint:disable-next-line:only-arrow-functions // tslint:disable-next-line:space-before-function-paren binding.updateSource = function (value) { - this.standardUpdateSource(value); + this.vbbUpdateSource(value); this.validationController.validateBinding(this); }; } @@ -58,9 +58,9 @@ var ValidateBindingBehaviorBase = (function () { }; ValidateBindingBehaviorBase.prototype.unbind = function (binding) { // reset the binding to it's original state. - if (binding.standardUpdateSource) { - binding.updateSource = binding.standardUpdateSource; - binding.standardUpdateSource = null; + if (binding.vbbUpdateSource) { + binding.updateSource = binding.vbbUpdateSource; + binding.vbbUpdateSource = null; } if (binding.standardUpdateTarget) { binding.updateTarget = binding.standardUpdateTarget; diff --git a/dist/native-modules/validate-binding-behavior.d.ts b/dist/native-modules/validate-binding-behavior.d.ts index 518186be..08b5d9e0 100644 --- a/dist/native-modules/validate-binding-behavior.d.ts +++ b/dist/native-modules/validate-binding-behavior.d.ts @@ -8,7 +8,7 @@ import { ValidateBindingBehaviorBase } from './validate-binding-behavior-base'; * validateTrigger property occurs. */ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(controller: ValidationController): validateTrigger; } /** @@ -17,7 +17,7 @@ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase * triggered by data-entry or blur will occur. */ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -25,7 +25,7 @@ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBeha * when the associated element blurs. */ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -34,7 +34,7 @@ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehavi * to the model. */ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -43,6 +43,6 @@ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBeha * a change to the model. */ export declare class ValidateOnChangeOrBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } diff --git a/dist/native-modules/validate-binding-behavior.js b/dist/native-modules/validate-binding-behavior.js index a6a71857..7c635e45 100644 --- a/dist/native-modules/validate-binding-behavior.js +++ b/dist/native-modules/validate-binding-behavior.js @@ -16,7 +16,7 @@ import { ValidateBindingBehaviorBase } from './validate-binding-behavior-base'; * when the validate trigger specified by the associated controller's * validateTrigger property occurs. */ -var ValidateBindingBehavior = (function (_super) { +var ValidateBindingBehavior = /** @class */ (function (_super) { __extends(ValidateBindingBehavior, _super); function ValidateBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -33,7 +33,7 @@ export { ValidateBindingBehavior }; * manually, by calling controller.validate(). No automatic validation * triggered by data-entry or blur will occur. */ -var ValidateManuallyBindingBehavior = (function (_super) { +var ValidateManuallyBindingBehavior = /** @class */ (function (_super) { __extends(ValidateManuallyBindingBehavior, _super); function ValidateManuallyBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -49,7 +49,7 @@ export { ValidateManuallyBindingBehavior }; * Binding behavior. Indicates the bound property should be validated * when the associated element blurs. */ -var ValidateOnBlurBindingBehavior = (function (_super) { +var ValidateOnBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnBlurBindingBehavior, _super); function ValidateOnBlurBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -66,7 +66,7 @@ export { ValidateOnBlurBindingBehavior }; * when the associated element is changed by the user, causing a change * to the model. */ -var ValidateOnChangeBindingBehavior = (function (_super) { +var ValidateOnChangeBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeBindingBehavior, _super); function ValidateOnChangeBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; @@ -83,7 +83,7 @@ export { ValidateOnChangeBindingBehavior }; * when the associated element blurs or is changed by the user, causing * a change to the model. */ -var ValidateOnChangeOrBlurBindingBehavior = (function (_super) { +var ValidateOnChangeOrBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeOrBlurBindingBehavior, _super); function ValidateOnChangeOrBlurBindingBehavior() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/dist/native-modules/validate-event.js b/dist/native-modules/validate-event.js index cfd43c92..905d1199 100644 --- a/dist/native-modules/validate-event.js +++ b/dist/native-modules/validate-event.js @@ -1,33 +1,33 @@ -var ValidateEvent = (function () { +var ValidateEvent = /** @class */ (function () { function ValidateEvent( - /** - * The type of validate event. Either "validate" or "reset". - */ - type, - /** - * The controller's current array of errors. For an array containing both - * failed rules and passed rules, use the "results" property. - */ - errors, - /** - * The controller's current array of validate results. This - * includes both passed rules and failed rules. For an array of only failed rules, - * use the "errors" property. - */ - results, - /** - * The instruction passed to the "validate" or "reset" event. Will be null when - * the controller's validate/reset method was called with no instruction argument. - */ - instruction, - /** - * In events with type === "validate", this property will contain the result - * of validating the instruction (see "instruction" property). Use the controllerValidateResult - * to access the validate results specific to the call to "validate" - * (as opposed to using the "results" and "errors" properties to access the controller's entire - * set of results/errors). - */ - controllerValidateResult) { + /** + * The type of validate event. Either "validate" or "reset". + */ + type, + /** + * The controller's current array of errors. For an array containing both + * failed rules and passed rules, use the "results" property. + */ + errors, + /** + * The controller's current array of validate results. This + * includes both passed rules and failed rules. For an array of only failed rules, + * use the "errors" property. + */ + results, + /** + * The instruction passed to the "validate" or "reset" event. Will be null when + * the controller's validate/reset method was called with no instruction argument. + */ + instruction, + /** + * In events with type === "validate", this property will contain the result + * of validating the instruction (see "instruction" property). Use the controllerValidateResult + * to access the validate results specific to the call to "validate" + * (as opposed to using the "results" and "errors" properties to access the controller's entire + * set of results/errors). + */ + controllerValidateResult) { this.type = type; this.errors = errors; this.results = results; diff --git a/dist/native-modules/validate-result.js b/dist/native-modules/validate-result.js index a49b9756..6381f3b6 100644 --- a/dist/native-modules/validate-result.js +++ b/dist/native-modules/validate-result.js @@ -1,7 +1,7 @@ /** * The result of validating an individual validation rule. */ -var ValidateResult = (function () { +var ValidateResult = /** @class */ (function () { /** * @param rule The rule associated with the result. Validator implementation specific. * @param object The object that was validated. diff --git a/dist/native-modules/validation-controller-factory.js b/dist/native-modules/validation-controller-factory.js index 6a85652f..43e3831f 100644 --- a/dist/native-modules/validation-controller-factory.js +++ b/dist/native-modules/validation-controller-factory.js @@ -4,7 +4,7 @@ import { PropertyAccessorParser } from './property-accessor-parser'; /** * Creates ValidationController instances. */ -var ValidationControllerFactory = (function () { +var ValidationControllerFactory = /** @class */ (function () { function ValidationControllerFactory(container) { this.container = container; } diff --git a/dist/native-modules/validation-controller.js b/dist/native-modules/validation-controller.js index e69764a0..71a545f3 100644 --- a/dist/native-modules/validation-controller.js +++ b/dist/native-modules/validation-controller.js @@ -9,7 +9,7 @@ import { ValidateEvent } from './validate-event'; * Manages a set of bindings, renderers and objects. * Exposes the current list of validation results for binding purposes. */ -var ValidationController = (function () { +var ValidationController = /** @class */ (function () { function ValidationController(validator, propertyParser) { this.validator = validator; this.propertyParser = propertyParser; diff --git a/dist/native-modules/validation-errors-custom-attribute.js b/dist/native-modules/validation-errors-custom-attribute.js index 0e4f08e1..936bca17 100644 --- a/dist/native-modules/validation-errors-custom-attribute.js +++ b/dist/native-modules/validation-errors-custom-attribute.js @@ -9,7 +9,7 @@ import { Lazy } from 'aurelia-dependency-injection'; import { customAttribute, bindable } from 'aurelia-templating'; import { ValidationController } from './validation-controller'; import { DOM } from 'aurelia-pal'; -var ValidationErrorsCustomAttribute = (function () { +var ValidationErrorsCustomAttribute = /** @class */ (function () { function ValidationErrorsCustomAttribute(boundaryElement, controllerAccessor) { this.boundaryElement = boundaryElement; this.controllerAccessor = controllerAccessor; diff --git a/dist/native-modules/validation-renderer-custom-attribute.js b/dist/native-modules/validation-renderer-custom-attribute.js index b5eee48e..07f071d2 100644 --- a/dist/native-modules/validation-renderer-custom-attribute.js +++ b/dist/native-modules/validation-renderer-custom-attribute.js @@ -1,5 +1,5 @@ import { ValidationController } from './validation-controller'; -var ValidationRendererCustomAttribute = (function () { +var ValidationRendererCustomAttribute = /** @class */ (function () { function ValidationRendererCustomAttribute() { } ValidationRendererCustomAttribute.prototype.created = function (view) { diff --git a/dist/native-modules/validator.js b/dist/native-modules/validator.js index 826b2c24..801fae55 100644 --- a/dist/native-modules/validator.js +++ b/dist/native-modules/validator.js @@ -1,7 +1,7 @@ /** * Validates objects and properties. */ -var Validator = (function () { +var Validator = /** @class */ (function () { function Validator() { } return Validator; diff --git a/dist/system/aurelia-validation.js b/dist/system/aurelia-validation.js index 82f293e5..0c1054e0 100644 --- a/dist/system/aurelia-validation.js +++ b/dist/system/aurelia-validation.js @@ -101,7 +101,7 @@ System.register(["./get-target-dom-element", "./property-info", "./property-acce /** * Aurelia Validation Configuration API */ - AureliaValidationConfiguration = (function () { + AureliaValidationConfiguration = /** @class */ (function () { function AureliaValidationConfiguration() { this.validatorType = standard_validator_1.StandardValidator; } diff --git a/dist/system/implementation/expression-visitor.js b/dist/system/implementation/expression-visitor.js index dcfd778d..60d8b44a 100644 --- a/dist/system/implementation/expression-visitor.js +++ b/dist/system/implementation/expression-visitor.js @@ -6,7 +6,7 @@ System.register([], function (exports_1, context_1) { setters: [], execute: function () { // tslint:disable:no-empty - ExpressionVisitor = (function () { + ExpressionVisitor = /** @class */ (function () { function ExpressionVisitor() { } ExpressionVisitor.prototype.visitChain = function (chain) { diff --git a/dist/system/implementation/rules.js b/dist/system/implementation/rules.js index 5d91d7bc..4274f4f9 100644 --- a/dist/system/implementation/rules.js +++ b/dist/system/implementation/rules.js @@ -5,7 +5,7 @@ System.register([], function (exports_1, context_1) { return { setters: [], execute: function () { - Rules = (function () { + Rules = /** @class */ (function () { /** * Sets, unsets and retrieves rules on an object or constructor function. */ diff --git a/dist/system/implementation/standard-validator.js b/dist/system/implementation/standard-validator.js index 299dd5b4..09ca8c7a 100644 --- a/dist/system/implementation/standard-validator.js +++ b/dist/system/implementation/standard-validator.js @@ -31,7 +31,7 @@ System.register(["aurelia-templating", "../validator", "../validate-result", "./ } ], execute: function () { - StandardValidator = (function (_super) { + StandardValidator = /** @class */ (function (_super) { __extends(StandardValidator, _super); function StandardValidator(messageProvider, resources) { var _this = _super.call(this) || this; diff --git a/dist/system/implementation/validation-message-parser.d.ts b/dist/system/implementation/validation-message-parser.d.ts index 83d5b7aa..39d288c0 100644 --- a/dist/system/implementation/validation-message-parser.d.ts +++ b/dist/system/implementation/validation-message-parser.d.ts @@ -3,7 +3,7 @@ import { BindingLanguage } from 'aurelia-templating'; import { ExpressionVisitor } from './expression-visitor'; export declare class ValidationMessageParser { private bindinqLanguage; - static inject: typeof BindingLanguage[]; + static inject: (typeof BindingLanguage)[]; private emptyStringExpression; private nullExpression; private undefinedExpression; diff --git a/dist/system/implementation/validation-message-parser.js b/dist/system/implementation/validation-message-parser.js index a46e19aa..706d1c62 100644 --- a/dist/system/implementation/validation-message-parser.js +++ b/dist/system/implementation/validation-message-parser.js @@ -28,7 +28,7 @@ System.register(["aurelia-binding", "aurelia-templating", "aurelia-logging", "./ } ], execute: function () { - ValidationMessageParser = (function () { + ValidationMessageParser = /** @class */ (function () { function ValidationMessageParser(bindinqLanguage) { this.bindinqLanguage = bindinqLanguage; this.emptyStringExpression = new aurelia_binding_1.LiteralString(''); @@ -60,7 +60,7 @@ System.register(["aurelia-binding", "aurelia-templating", "aurelia-logging", "./ return ValidationMessageParser; }()); exports_1("ValidationMessageParser", ValidationMessageParser); - MessageExpressionValidator = (function (_super) { + MessageExpressionValidator = /** @class */ (function (_super) { __extends(MessageExpressionValidator, _super); function MessageExpressionValidator(originalMessage) { var _this = _super.call(this) || this; diff --git a/dist/system/implementation/validation-messages.d.ts b/dist/system/implementation/validation-messages.d.ts index 1c3a85eb..e44e670d 100644 --- a/dist/system/implementation/validation-messages.d.ts +++ b/dist/system/implementation/validation-messages.d.ts @@ -12,7 +12,7 @@ export declare const validationMessages: ValidationMessages; */ export declare class ValidationMessageProvider { private parser; - static inject: typeof ValidationMessageParser[]; + static inject: (typeof ValidationMessageParser)[]; constructor(parser: ValidationMessageParser); /** * Returns a message binding expression that corresponds to the key. diff --git a/dist/system/implementation/validation-messages.js b/dist/system/implementation/validation-messages.js index c101f439..aca978ac 100644 --- a/dist/system/implementation/validation-messages.js +++ b/dist/system/implementation/validation-messages.js @@ -26,7 +26,7 @@ System.register(["./validation-message-parser"], function (exports_1, context_1) maxItems: "${$displayName} cannot contain more than ${$config.count} item${$config.count === 1 ? '' : 's'}.", equals: "${$displayName} must be ${$config.expectedValue}.", }); - ValidationMessageProvider = (function () { + ValidationMessageProvider = /** @class */ (function () { function ValidationMessageProvider(parser) { this.parser = parser; } diff --git a/dist/system/implementation/validation-rules.js b/dist/system/implementation/validation-rules.js index fd335171..1fd5fd53 100644 --- a/dist/system/implementation/validation-rules.js +++ b/dist/system/implementation/validation-rules.js @@ -18,7 +18,7 @@ System.register(["./rules", "./validation-messages", "../util"], function (expor /** * Part of the fluent rule API. Enables customizing property rules. */ - FluentRuleCustomizer = (function () { + FluentRuleCustomizer = /** @class */ (function () { function FluentRuleCustomizer(property, condition, config, fluentEnsure, fluentRules, parsers) { if (config === void 0) { config = {}; } this.fluentEnsure = fluentEnsure; @@ -191,7 +191,7 @@ System.register(["./rules", "./validation-messages", "../util"], function (expor return FluentRuleCustomizer; }()); exports_1("FluentRuleCustomizer", FluentRuleCustomizer); - FluentRules = (function () { + FluentRules = /** @class */ (function () { function FluentRules(fluentEnsure, parsers, property) { this.fluentEnsure = fluentEnsure; this.parsers = parsers; @@ -323,7 +323,7 @@ System.register(["./rules", "./validation-messages", "../util"], function (expor /** * Part of the fluent rule API. Enables targeting properties and objects with rules. */ - FluentEnsure = (function () { + FluentEnsure = /** @class */ (function () { function FluentEnsure(parsers) { this.parsers = parsers; /** @@ -391,7 +391,7 @@ System.register(["./rules", "./validation-messages", "../util"], function (expor /** * Fluent rule definition API. */ - ValidationRules = (function () { + ValidationRules = /** @class */ (function () { function ValidationRules() { } ValidationRules.initialize = function (messageParser, propertyParser) { diff --git a/dist/system/property-accessor-parser.d.ts b/dist/system/property-accessor-parser.d.ts index 98f1d1c6..13f1a91e 100644 --- a/dist/system/property-accessor-parser.d.ts +++ b/dist/system/property-accessor-parser.d.ts @@ -2,7 +2,7 @@ import { Parser } from 'aurelia-binding'; export declare type PropertyAccessor = (object: TObject) => TValue; export declare class PropertyAccessorParser { private parser; - static inject: typeof Parser[]; + static inject: (typeof Parser)[]; constructor(parser: Parser); parse(property: string | PropertyAccessor): string; } diff --git a/dist/system/property-accessor-parser.js b/dist/system/property-accessor-parser.js index c780f0ea..549c1855 100644 --- a/dist/system/property-accessor-parser.js +++ b/dist/system/property-accessor-parser.js @@ -24,7 +24,7 @@ System.register(["aurelia-binding", "./util"], function (exports_1, context_1) { } ], execute: function () { - PropertyAccessorParser = (function () { + PropertyAccessorParser = /** @class */ (function () { function PropertyAccessorParser(parser) { this.parser = parser; } diff --git a/dist/system/property-info.d.ts b/dist/system/property-info.d.ts index e5a3d2cd..35fef1d5 100644 --- a/dist/system/property-info.d.ts +++ b/dist/system/property-info.d.ts @@ -1,7 +1,4 @@ import { Expression, Scope } from 'aurelia-binding'; -declare module 'aurelia-binding' { - const getContextFor: any; -} /** * Retrieves the object and property name for the specified expression. * @param expression The expression diff --git a/dist/system/validate-binding-behavior-base.js b/dist/system/validate-binding-behavior-base.js index df9eb341..b364839e 100644 --- a/dist/system/validate-binding-behavior-base.js +++ b/dist/system/validate-binding-behavior-base.js @@ -21,7 +21,7 @@ System.register(["aurelia-dependency-injection", "./validation-controller", "./v /** * Binding behavior. Indicates the bound property should be validated. */ - ValidateBindingBehaviorBase = (function () { + ValidateBindingBehaviorBase = /** @class */ (function () { function ValidateBindingBehaviorBase(taskQueue) { this.taskQueue = taskQueue; } @@ -46,11 +46,11 @@ System.register(["aurelia-dependency-injection", "./validation-controller", "./v var trigger = this.getValidateTrigger(controller); // tslint:disable-next-line:no-bitwise if (trigger & validate_trigger_1.validateTrigger.change) { - binding.standardUpdateSource = binding.updateSource; + binding.vbbUpdateSource = binding.updateSource; // tslint:disable-next-line:only-arrow-functions // tslint:disable-next-line:space-before-function-paren binding.updateSource = function (value) { - this.standardUpdateSource(value); + this.vbbUpdateSource(value); this.validationController.validateBinding(this); }; } @@ -74,9 +74,9 @@ System.register(["aurelia-dependency-injection", "./validation-controller", "./v }; ValidateBindingBehaviorBase.prototype.unbind = function (binding) { // reset the binding to it's original state. - if (binding.standardUpdateSource) { - binding.updateSource = binding.standardUpdateSource; - binding.standardUpdateSource = null; + if (binding.vbbUpdateSource) { + binding.updateSource = binding.vbbUpdateSource; + binding.vbbUpdateSource = null; } if (binding.standardUpdateTarget) { binding.updateTarget = binding.standardUpdateTarget; diff --git a/dist/system/validate-binding-behavior.d.ts b/dist/system/validate-binding-behavior.d.ts index 518186be..08b5d9e0 100644 --- a/dist/system/validate-binding-behavior.d.ts +++ b/dist/system/validate-binding-behavior.d.ts @@ -8,7 +8,7 @@ import { ValidateBindingBehaviorBase } from './validate-binding-behavior-base'; * validateTrigger property occurs. */ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(controller: ValidationController): validateTrigger; } /** @@ -17,7 +17,7 @@ export declare class ValidateBindingBehavior extends ValidateBindingBehaviorBase * triggered by data-entry or blur will occur. */ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -25,7 +25,7 @@ export declare class ValidateManuallyBindingBehavior extends ValidateBindingBeha * when the associated element blurs. */ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -34,7 +34,7 @@ export declare class ValidateOnBlurBindingBehavior extends ValidateBindingBehavi * to the model. */ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } /** @@ -43,6 +43,6 @@ export declare class ValidateOnChangeBindingBehavior extends ValidateBindingBeha * a change to the model. */ export declare class ValidateOnChangeOrBlurBindingBehavior extends ValidateBindingBehaviorBase { - static inject: typeof TaskQueue[]; + static inject: (typeof TaskQueue)[]; getValidateTrigger(): validateTrigger; } diff --git a/dist/system/validate-binding-behavior.js b/dist/system/validate-binding-behavior.js index 342d2c37..2032378a 100644 --- a/dist/system/validate-binding-behavior.js +++ b/dist/system/validate-binding-behavior.js @@ -25,7 +25,7 @@ System.register(["aurelia-task-queue", "./validate-trigger", "./validate-binding } ], execute: function () { - ValidateBindingBehavior = (function (_super) { + ValidateBindingBehavior = /** @class */ (function (_super) { __extends(ValidateBindingBehavior, _super); /** * Binding behavior. Indicates the bound property should be validated @@ -42,7 +42,7 @@ System.register(["aurelia-task-queue", "./validate-trigger", "./validate-binding return ValidateBindingBehavior; }(validate_binding_behavior_base_1.ValidateBindingBehaviorBase)); exports_1("ValidateBindingBehavior", ValidateBindingBehavior); - ValidateManuallyBindingBehavior = (function (_super) { + ValidateManuallyBindingBehavior = /** @class */ (function (_super) { __extends(ValidateManuallyBindingBehavior, _super); /** * Binding behavior. Indicates the bound property will be validated @@ -59,7 +59,7 @@ System.register(["aurelia-task-queue", "./validate-trigger", "./validate-binding return ValidateManuallyBindingBehavior; }(validate_binding_behavior_base_1.ValidateBindingBehaviorBase)); exports_1("ValidateManuallyBindingBehavior", ValidateManuallyBindingBehavior); - ValidateOnBlurBindingBehavior = (function (_super) { + ValidateOnBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnBlurBindingBehavior, _super); /** * Binding behavior. Indicates the bound property should be validated @@ -75,7 +75,7 @@ System.register(["aurelia-task-queue", "./validate-trigger", "./validate-binding return ValidateOnBlurBindingBehavior; }(validate_binding_behavior_base_1.ValidateBindingBehaviorBase)); exports_1("ValidateOnBlurBindingBehavior", ValidateOnBlurBindingBehavior); - ValidateOnChangeBindingBehavior = (function (_super) { + ValidateOnChangeBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeBindingBehavior, _super); /** * Binding behavior. Indicates the bound property should be validated @@ -92,7 +92,7 @@ System.register(["aurelia-task-queue", "./validate-trigger", "./validate-binding return ValidateOnChangeBindingBehavior; }(validate_binding_behavior_base_1.ValidateBindingBehaviorBase)); exports_1("ValidateOnChangeBindingBehavior", ValidateOnChangeBindingBehavior); - ValidateOnChangeOrBlurBindingBehavior = (function (_super) { + ValidateOnChangeOrBlurBindingBehavior = /** @class */ (function (_super) { __extends(ValidateOnChangeOrBlurBindingBehavior, _super); /** * Binding behavior. Indicates the bound property should be validated diff --git a/dist/system/validate-event.js b/dist/system/validate-event.js index 711f0023..832fd04f 100644 --- a/dist/system/validate-event.js +++ b/dist/system/validate-event.js @@ -5,36 +5,36 @@ System.register([], function (exports_1, context_1) { return { setters: [], execute: function () { - ValidateEvent = (function () { + ValidateEvent = /** @class */ (function () { function ValidateEvent( - /** - * The type of validate event. Either "validate" or "reset". - */ - type, - /** - * The controller's current array of errors. For an array containing both - * failed rules and passed rules, use the "results" property. - */ - errors, - /** - * The controller's current array of validate results. This - * includes both passed rules and failed rules. For an array of only failed rules, - * use the "errors" property. - */ - results, - /** - * The instruction passed to the "validate" or "reset" event. Will be null when - * the controller's validate/reset method was called with no instruction argument. - */ - instruction, - /** - * In events with type === "validate", this property will contain the result - * of validating the instruction (see "instruction" property). Use the controllerValidateResult - * to access the validate results specific to the call to "validate" - * (as opposed to using the "results" and "errors" properties to access the controller's entire - * set of results/errors). - */ - controllerValidateResult) { + /** + * The type of validate event. Either "validate" or "reset". + */ + type, + /** + * The controller's current array of errors. For an array containing both + * failed rules and passed rules, use the "results" property. + */ + errors, + /** + * The controller's current array of validate results. This + * includes both passed rules and failed rules. For an array of only failed rules, + * use the "errors" property. + */ + results, + /** + * The instruction passed to the "validate" or "reset" event. Will be null when + * the controller's validate/reset method was called with no instruction argument. + */ + instruction, + /** + * In events with type === "validate", this property will contain the result + * of validating the instruction (see "instruction" property). Use the controllerValidateResult + * to access the validate results specific to the call to "validate" + * (as opposed to using the "results" and "errors" properties to access the controller's entire + * set of results/errors). + */ + controllerValidateResult) { this.type = type; this.errors = errors; this.results = results; diff --git a/dist/system/validate-result.js b/dist/system/validate-result.js index e512d15c..da06f9fe 100644 --- a/dist/system/validate-result.js +++ b/dist/system/validate-result.js @@ -5,7 +5,7 @@ System.register([], function (exports_1, context_1) { return { setters: [], execute: function () { - ValidateResult = (function () { + ValidateResult = /** @class */ (function () { /** * @param rule The rule associated with the result. Validator implementation specific. * @param object The object that was validated. diff --git a/dist/system/validation-controller-factory.js b/dist/system/validation-controller-factory.js index 10f3cdb1..fa48f1a0 100644 --- a/dist/system/validation-controller-factory.js +++ b/dist/system/validation-controller-factory.js @@ -18,7 +18,7 @@ System.register(["./validation-controller", "./validator", "./property-accessor- /** * Creates ValidationController instances. */ - ValidationControllerFactory = (function () { + ValidationControllerFactory = /** @class */ (function () { function ValidationControllerFactory(container) { this.container = container; } diff --git a/dist/system/validation-controller.js b/dist/system/validation-controller.js index f5503cab..50e30893 100644 --- a/dist/system/validation-controller.js +++ b/dist/system/validation-controller.js @@ -24,7 +24,7 @@ System.register(["./validator", "./validate-trigger", "./property-info", "./vali } ], execute: function () { - ValidationController = (function () { + ValidationController = /** @class */ (function () { function ValidationController(validator, propertyParser) { this.validator = validator; this.propertyParser = propertyParser; diff --git a/dist/system/validation-errors-custom-attribute.js b/dist/system/validation-errors-custom-attribute.js index 2c0bd00e..c2e18c8e 100644 --- a/dist/system/validation-errors-custom-attribute.js +++ b/dist/system/validation-errors-custom-attribute.js @@ -27,7 +27,7 @@ System.register(["aurelia-binding", "aurelia-dependency-injection", "aurelia-tem } ], execute: function () { - ValidationErrorsCustomAttribute = (function () { + ValidationErrorsCustomAttribute = /** @class */ (function () { function ValidationErrorsCustomAttribute(boundaryElement, controllerAccessor) { this.boundaryElement = boundaryElement; this.controllerAccessor = controllerAccessor; diff --git a/dist/system/validation-renderer-custom-attribute.js b/dist/system/validation-renderer-custom-attribute.js index 903d6f03..7eba5664 100644 --- a/dist/system/validation-renderer-custom-attribute.js +++ b/dist/system/validation-renderer-custom-attribute.js @@ -9,7 +9,7 @@ System.register(["./validation-controller"], function (exports_1, context_1) { } ], execute: function () { - ValidationRendererCustomAttribute = (function () { + ValidationRendererCustomAttribute = /** @class */ (function () { function ValidationRendererCustomAttribute() { } ValidationRendererCustomAttribute.prototype.created = function (view) { diff --git a/dist/system/validator.js b/dist/system/validator.js index b12f9845..5945d52d 100644 --- a/dist/system/validator.js +++ b/dist/system/validator.js @@ -8,7 +8,7 @@ System.register([], function (exports_1, context_1) { /** * Validates objects and properties. */ - Validator = (function () { + Validator = /** @class */ (function () { function Validator() { } return Validator; diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 63aee27f..ad92d818 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [1.1.3](https://github.com/aurelia/validation/compare/1.1.2...1.1.3) (2018-03-18) + + +### Bug Fixes + +* **ValidateBindingBehavior:** avoid conflicts ([e15b06b](https://github.com/aurelia/validation/commit/e15b06b)), closes [#470](https://github.com/aurelia/validation/issues/470) + + + ## [1.1.2](https://github.com/aurelia/validation/compare/1.1.1...v1.1.2) (2017-10-02) diff --git a/doc/api.json b/doc/api.json index 33a2a4b8..cba32d3c 100644 --- a/doc/api.json +++ b/doc/api.json @@ -1 +1 @@ -{"name":"aurelia-validation","children":[{"id":867,"name":"AureliaValidationConfiguration","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Aurelia Validation Configuration API"},"children":[{"id":868,"name":"validatorType","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"src/aurelia-validation.ts","line":40,"character":23}],"type":{"type":"reflection","declaration":{"id":869,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":870,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":871,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":872,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"reference","name":"Validator","id":73}}],"sources":[{"fileName":"src/aurelia-validation.ts","line":40,"character":26}]}],"groups":[{"title":"Constructors","kind":512,"children":[870]}],"sources":[{"fileName":"src/aurelia-validation.ts","line":40,"character":24}]}},"defaultValue":" StandardValidator"},{"id":880,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true,"isPublic":true},"signatures":[{"id":881,"name":"apply","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the configuration."},"parameters":[{"id":882,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"src/aurelia-validation.ts","line":52,"character":14}]},{"id":873,"name":"customValidator","kind":2048,"kindString":"Method","flags":{"isExported":true,"isPublic":true},"signatures":[{"id":874,"name":"customValidator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Use a custom Validator implementation."},"parameters":[{"id":875,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":876,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":877,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":878,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":879,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"reference","name":"Validator","id":73}}],"sources":[{"fileName":"src/aurelia-validation.ts","line":45,"character":32}]}],"groups":[{"title":"Constructors","kind":512,"children":[877]}],"sources":[{"fileName":"src/aurelia-validation.ts","line":45,"character":30}]}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"src/aurelia-validation.ts","line":45,"character":24}]}],"groups":[{"title":"Properties","kind":1024,"children":[868]},{"title":"Methods","kind":2048,"children":[880,873]}],"sources":[{"fileName":"src/aurelia-validation.ts","line":39,"character":43}]},{"id":883,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":884,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the plugin."},"parameters":[{"id":885,"name":"frameworkConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":886,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":887,"name":"container","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"src/aurelia-validation.ts","line":62,"character":30}],"type":{"type":"reference","name":"Container"}},{"id":888,"name":"globalResources","kind":32,"kindString":"Variable","flags":{"isOptional":true},"sources":[{"fileName":"src/aurelia-validation.ts","line":62,"character":58}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":889,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":890,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":891,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"any"}}]}}]}}],"groups":[{"title":"Variables","kind":32,"children":[887,888]}],"sources":[{"fileName":"src/aurelia-validation.ts","line":62,"character":18}]}}},{"id":892,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":893,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":894,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":895,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AureliaValidationConfiguration","id":867}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"src/aurelia-validation.ts","line":61,"character":25}]}],"groups":[{"title":"Classes","kind":128,"children":[867]},{"title":"Functions","kind":64,"children":[883]}]} +{"name":"aurelia-validation","children":[{"id":52,"name":"validateTrigger","kind":4,"kindString":"Enumeration","flags":{"isExported":true},"comment":{"shortText":"Validation triggers."},"children":[{"id":54,"name":"blur","kind":16,"kindString":"Enumeration member","flags":{"isExported":true},"comment":{"shortText":"Validate the binding when the binding's target element fires a DOM \"blur\" event."},"sources":[{"fileName":"aurelia-validation.d.ts","line":135,"character":12}],"defaultValue":"1"},{"id":55,"name":"change","kind":16,"kindString":"Enumeration member","flags":{"isExported":true},"comment":{"shortText":"Validate the binding when it updates the model due to a change in the view."},"sources":[{"fileName":"aurelia-validation.d.ts","line":139,"character":14}],"defaultValue":"2"},{"id":56,"name":"changeOrBlur","kind":16,"kindString":"Enumeration member","flags":{"isExported":true},"comment":{"shortText":"Validate the binding when the binding's target element fires a DOM \"blur\" event and\nwhen it updates the model due to a change in the view."},"sources":[{"fileName":"aurelia-validation.d.ts","line":144,"character":20}],"defaultValue":"3"},{"id":53,"name":"manual","kind":16,"kindString":"Enumeration member","flags":{"isExported":true},"comment":{"shortText":"Manual validation. Use the controller's `validate()` and `reset()` methods\nto validate all bindings."},"sources":[{"fileName":"aurelia-validation.d.ts","line":131,"character":14}],"defaultValue":"0"}],"groups":[{"title":"Enumeration members","kind":16,"children":[54,55,56,53]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":126,"character":31}]},{"id":767,"name":"AureliaValidationConfiguration","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Aurelia Validation Configuration API"},"children":[{"id":768,"name":"validatorType","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":958,"character":29}],"type":{"type":"intrinsic","name":"any"}},{"id":776,"name":"apply","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":777,"name":"apply","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the configuration."},"parameters":[{"id":778,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":968,"character":13}]},{"id":769,"name":"customValidator","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":770,"name":"customValidator","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Use a custom Validator implementation."},"parameters":[{"id":771,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":772,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":773,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":774,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":775,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"reference","name":"Validator","id":38}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":962,"character":31}]}],"groups":[{"title":"Constructors","kind":512,"children":[773]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":962,"character":29}]}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":962,"character":23}]}],"groups":[{"title":"Properties","kind":1024,"children":[768]},{"title":"Methods","kind":2048,"children":[776,769]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":957,"character":47}]},{"id":363,"name":"ExpressionVisitor","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":388,"name":"visitAccessKeyed","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":389,"name":"visitAccessKeyed","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":390,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessKeyed"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":568,"character":24}]},{"id":385,"name":"visitAccessMember","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":386,"name":"visitAccessMember","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":387,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessMember"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":567,"character":25}]},{"id":382,"name":"visitAccessScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":383,"name":"visitAccessScope","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":384,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessScope"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":566,"character":24}]},{"id":379,"name":"visitAccessThis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":380,"name":"visitAccessThis","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":381,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessThis","id":807}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":565,"character":23}]},{"id":418,"name":"visitArgs","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":419,"name":"visitArgs","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":420,"name":"args","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":578,"character":25}]},{"id":373,"name":"visitAssign","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":374,"name":"visitAssign","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":375,"name":"assign","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Assign","id":806}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":563,"character":19}]},{"id":403,"name":"visitBinary","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":404,"name":"visitBinary","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":405,"name":"binary","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binary"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":573,"character":19}]},{"id":367,"name":"visitBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":368,"name":"visitBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":369,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BindingBehavior"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":561,"character":28}]},{"id":394,"name":"visitCallFunction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":395,"name":"visitCallFunction","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":396,"name":"call","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"CallFunction","id":810}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":570,"character":25}]},{"id":397,"name":"visitCallMember","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":398,"name":"visitCallMember","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":399,"name":"call","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"CallMember"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":571,"character":23}]},{"id":391,"name":"visitCallScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":392,"name":"visitCallScope","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":393,"name":"call","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"CallScope","id":809}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":569,"character":22}]},{"id":364,"name":"visitChain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":365,"name":"visitChain","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":366,"name":"chain","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Chain","id":805}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":560,"character":18}]},{"id":376,"name":"visitConditional","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":377,"name":"visitConditional","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":378,"name":"conditional","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Conditional"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":564,"character":24}]},{"id":409,"name":"visitLiteralArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":410,"name":"visitLiteralArray","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":411,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralArray","id":813}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":575,"character":25}]},{"id":412,"name":"visitLiteralObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":413,"name":"visitLiteralObject","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":414,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralObject","id":814}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":576,"character":26}]},{"id":406,"name":"visitLiteralPrimitive","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":407,"name":"visitLiteralPrimitive","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":408,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralPrimitive","id":812}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":574,"character":29}]},{"id":415,"name":"visitLiteralString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":416,"name":"visitLiteralString","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":417,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralString","id":815}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":577,"character":26}]},{"id":400,"name":"visitPrefix","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":401,"name":"visitPrefix","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":402,"name":"prefix","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PrefixNot","id":811}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":572,"character":19}]},{"id":370,"name":"visitValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":371,"name":"visitValueConverter","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":372,"name":"converter","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValueConverter"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":562,"character":27}]}],"groups":[{"title":"Methods","kind":2048,"children":[388,385,382,379,418,373,403,367,394,397,391,364,376,409,412,406,415,400,370]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":559,"character":34}],"extendedBy":[{"type":"reference","name":"MessageExpressionValidator","id":437}]},{"id":704,"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":705,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":708,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":709,"name":"new FluentEnsure","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":710,"name":"parsers","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Parsers","id":764}}],"type":{"type":"reference","name":"FluentEnsure","id":704}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":866,"character":38}]},{"id":706,"name":"parsers","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":862,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":707,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Rules that have been defined using the fluent API."},"sources":[{"fileName":"aurelia-validation.d.ts","line":866,"character":13}],"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}}},{"id":720,"name":"assertInitialized","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":721,"name":"assertInitialized","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":883,"character":33}]},{"id":711,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":712,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":713,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":714,"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":"intrinsic","name":"string"},{"type":"reference","name":"PropertyAccessor","id":793,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"FluentRules","id":640,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":873,"character":14}]},{"id":715,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":716,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"type":{"type":"reference","name":"FluentRules","id":640,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":877,"character":20}]},{"id":722,"name":"mergeRules","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":723,"name":"mergeRules","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":724,"name":"fluentRules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":725,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":884,"character":26}]},{"id":717,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":718,"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":719,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":882,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[708]},{"title":"Properties","kind":1024,"children":[706,707]},{"title":"Methods","kind":2048,"children":[720,711,715,722,717]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":861,"character":29}]},{"id":557,"name":"FluentRuleCustomizer","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Part of the fluent rule API. Enables customizing property rules."},"typeParameter":[{"id":558,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":559,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":564,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":565,"name":"new FluentRuleCustomizer","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":566,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RuleProperty","id":330}},{"id":567,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":568,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":569,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":570,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":571,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"TObject","id":558}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":680,"character":54}]}}},{"id":572,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"undefined"}]}},{"id":573,"name":"fluentEnsure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentEnsure","id":704,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}},{"id":574,"name":"fluentRules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentRules","id":640,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}},{"id":575,"name":"parsers","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Parsers","id":764}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":679,"character":21}]},{"id":560,"name":"fluentEnsure","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":676,"character":28}],"type":{"type":"intrinsic","name":"any"}},{"id":561,"name":"fluentRules","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":677,"character":27}],"type":{"type":"intrinsic","name":"any"}},{"id":562,"name":"parsers","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":678,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":563,"name":"rule","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":679,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":602,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Rules that have been defined using the fluent API."},"sources":[{"fileName":"aurelia-validation.d.ts","line":718,"character":22}],"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}}},{"id":623,"name":"email","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":624,"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":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":752,"character":13}]},{"id":593,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":594,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":595,"name":"TValue2","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":596,"name":"subject","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reflection","declaration":{"id":597,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":598,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":599,"name":"model","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"typeParameter","name":"TValue2"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":710,"character":41}]}}]}}],"type":{"type":"reference","name":"FluentRules","id":640,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":710,"character":14}]},{"id":600,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":601,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"type":{"type":"reference","name":"FluentRules","id":640,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":714,"character":20}]},{"id":637,"name":"equals","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":638,"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":639,"name":"expectedValue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":777,"character":14}]},{"id":620,"name":"matches","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":621,"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":622,"name":"regex","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RegExp"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":747,"character":15}]},{"id":634,"name":"maxItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":635,"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":636,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":772,"character":16}]},{"id":628,"name":"maxLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":629,"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":630,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":762,"character":17}]},{"id":631,"name":"minItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":632,"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":633,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":767,"character":16}]},{"id":625,"name":"minLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":626,"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":627,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":757,"character":17}]},{"id":603,"name":"on","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":604,"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":605,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"FluentEnsure","id":704,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":723,"character":10}]},{"id":618,"name":"required","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":619,"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":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":741,"character":16}]},{"id":606,"name":"satisfies","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":607,"name":"satisfies","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies an ad-hoc rule function to the ensured property or object."},"parameters":[{"id":608,"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":609,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":610,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":611,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":612,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":730,"character":28}]}}},{"id":613,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"object"}]}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":730,"character":17}]},{"id":614,"name":"satisfiesRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":615,"name":"satisfiesRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies a rule by name."},"parameters":[{"id":616,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom or standard rule."},"type":{"type":"intrinsic","name":"string"}},{"id":617,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"The rule's arguments.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":736,"character":21}]},{"id":590,"name":"tag","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":591,"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":592,"name":"tag","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":705,"character":11}]},{"id":576,"name":"then","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":577,"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."},"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":686,"character":12}]},{"id":584,"name":"when","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":585,"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":586,"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":587,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":588,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":589,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":700,"character":23}]}}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":700,"character":12}]},{"id":581,"name":"withMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":582,"name":"withMessage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Specifies rule's validation message."},"parameters":[{"id":583,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":694,"character":19}]},{"id":578,"name":"withMessageKey","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":579,"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":580,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":690,"character":22}]}],"groups":[{"title":"Constructors","kind":512,"children":[564]},{"title":"Properties","kind":1024,"children":[560,561,562,563,602]},{"title":"Methods","kind":2048,"children":[623,593,600,637,620,634,628,631,625,603,618,606,614,590,576,584,581,578]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":675,"character":37}]},{"id":640,"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":641,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":642,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":662,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":663,"name":"new FluentRules","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":664,"name":"fluentEnsure","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"FluentEnsure","id":704,"typeArguments":[{"type":"typeParameter","name":"TObject"}]}},{"id":665,"name":"parsers","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Parsers","id":764}},{"id":666,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RuleProperty","id":330}}],"type":{"type":"reference","name":"FluentRules","id":640}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":797,"character":25}]},{"id":643,"name":"fluentEnsure","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":783,"character":28}],"type":{"type":"intrinsic","name":"any"}},{"id":644,"name":"parsers","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":784,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":645,"name":"property","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":785,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":661,"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":"aurelia-validation.d.ts","line":797,"character":16}],"type":{"type":"intrinsic","name":"number"}},{"id":646,"name":"customRules","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":786,"character":26}],"type":{"type":"reflection","declaration":{"id":647,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"indexSignature":{"id":648,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":649,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reflection","declaration":{"id":650,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":657,"name":"argsToConfig","kind":32,"kindString":"Variable","flags":{"isOptional":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":789,"character":28}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":658,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":659,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":660,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"any"}}]}}]}},{"id":651,"name":"condition","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":788,"character":25}],"type":{"type":"reflection","declaration":{"id":652,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":653,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":654,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":655,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":656,"name":"fluentArgs","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":788,"character":26}]}}}],"groups":[{"title":"Variables","kind":32,"children":[657,651]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":787,"character":27}]}}},"sources":[{"fileName":"aurelia-validation.d.ts","line":786,"character":27}]}}},{"id":667,"name":"displayName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":668,"name":"displayName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the display name of the ensured property."},"parameters":[{"id":669,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ValidationDisplayNameAccessor","id":802},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"intrinsic","name":"this"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":802,"character":19}]},{"id":687,"name":"email","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":688,"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":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":831,"character":13}]},{"id":701,"name":"equals","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":702,"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":703,"name":"expectedValue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":856,"character":14}]},{"id":684,"name":"matches","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":685,"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":686,"name":"regex","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RegExp"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":826,"character":15}]},{"id":698,"name":"maxItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":699,"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":700,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":851,"character":16}]},{"id":692,"name":"maxLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":693,"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":694,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":841,"character":17}]},{"id":695,"name":"minItems","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":696,"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":697,"name":"count","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":846,"character":16}]},{"id":689,"name":"minLength","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":690,"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":691,"name":"length","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":836,"character":17}]},{"id":682,"name":"required","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":683,"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":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":820,"character":16}]},{"id":670,"name":"satisfies","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":671,"name":"satisfies","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies an ad-hoc rule function to the ensured property or object."},"parameters":[{"id":672,"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":673,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":674,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":675,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":676,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"TObject","id":641}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":809,"character":28}]}}},{"id":677,"name":"config","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"object"}]}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":809,"character":17}]},{"id":678,"name":"satisfiesRule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":679,"name":"satisfiesRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies a rule by name."},"parameters":[{"id":680,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom or standard rule."},"type":{"type":"intrinsic","name":"string"}},{"id":681,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"comment":{"text":"The rule's arguments.\n"},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"reference","name":"FluentRuleCustomizer","id":557,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":815,"character":21}]}],"groups":[{"title":"Constructors","kind":512,"children":[662]},{"title":"Properties","kind":1024,"children":[643,644,645,661,646]},{"title":"Methods","kind":2048,"children":[667,687,701,684,698,692,695,689,682,670,678]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":782,"character":28}]},{"id":437,"name":"MessageExpressionValidator","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":443,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":444,"name":"new MessageExpressionValidator","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":445,"name":"originalMessage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"MessageExpressionValidator","id":437}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":596,"character":79}]},{"id":438,"name":"originalMessage","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":595,"character":31}],"type":{"type":"intrinsic","name":"any"}},{"id":470,"name":"visitAccessKeyed","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":471,"name":"visitAccessKeyed","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":472,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessKeyed"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAccessKeyed","id":388}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":568,"character":24}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAccessKeyed","id":388}},{"id":467,"name":"visitAccessMember","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":468,"name":"visitAccessMember","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":469,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessMember"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAccessMember","id":385}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":567,"character":25}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAccessMember","id":385}},{"id":446,"name":"visitAccessScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":447,"name":"visitAccessScope","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":448,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessScope"}}],"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"ExpressionVisitor.visitAccessScope","id":382}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":598,"character":24}],"overwrites":{"type":"reference","name":"ExpressionVisitor.visitAccessScope","id":382}},{"id":464,"name":"visitAccessThis","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":465,"name":"visitAccessThis","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":466,"name":"access","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AccessThis","id":807}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAccessThis","id":379}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":565,"character":23}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAccessThis","id":379}},{"id":458,"name":"visitAssign","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":459,"name":"visitAssign","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":460,"name":"assign","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Assign","id":806}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAssign","id":373}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":563,"character":19}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitAssign","id":373}},{"id":485,"name":"visitBinary","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":486,"name":"visitBinary","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":487,"name":"binary","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binary"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitBinary","id":403}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":573,"character":19}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitBinary","id":403}},{"id":452,"name":"visitBindingBehavior","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":453,"name":"visitBindingBehavior","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":454,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BindingBehavior"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitBindingBehavior","id":367}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":561,"character":28}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitBindingBehavior","id":367}},{"id":476,"name":"visitCallFunction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":477,"name":"visitCallFunction","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":478,"name":"call","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"CallFunction","id":810}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitCallFunction","id":394}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":570,"character":25}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitCallFunction","id":394}},{"id":479,"name":"visitCallMember","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":480,"name":"visitCallMember","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":481,"name":"call","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"CallMember"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitCallMember","id":397}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":571,"character":23}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitCallMember","id":397}},{"id":473,"name":"visitCallScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":474,"name":"visitCallScope","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":475,"name":"call","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"CallScope","id":809}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitCallScope","id":391}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":569,"character":22}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitCallScope","id":391}},{"id":449,"name":"visitChain","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":450,"name":"visitChain","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":451,"name":"chain","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Chain","id":805}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitChain","id":364}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":560,"character":18}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitChain","id":364}},{"id":461,"name":"visitConditional","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":462,"name":"visitConditional","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":463,"name":"conditional","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Conditional"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitConditional","id":376}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":564,"character":24}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitConditional","id":376}},{"id":491,"name":"visitLiteralArray","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":492,"name":"visitLiteralArray","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":493,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralArray","id":813}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralArray","id":409}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":575,"character":25}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralArray","id":409}},{"id":494,"name":"visitLiteralObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":495,"name":"visitLiteralObject","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":496,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralObject","id":814}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralObject","id":412}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":576,"character":26}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralObject","id":412}},{"id":488,"name":"visitLiteralPrimitive","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":489,"name":"visitLiteralPrimitive","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":490,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralPrimitive","id":812}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralPrimitive","id":406}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":574,"character":29}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralPrimitive","id":406}},{"id":497,"name":"visitLiteralString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":498,"name":"visitLiteralString","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":499,"name":"literal","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"LiteralString","id":815}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralString","id":415}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":577,"character":26}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitLiteralString","id":415}},{"id":482,"name":"visitPrefix","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":483,"name":"visitPrefix","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":484,"name":"prefix","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PrefixNot","id":811}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitPrefix","id":400}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":572,"character":19}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitPrefix","id":400}},{"id":455,"name":"visitValueConverter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":456,"name":"visitValueConverter","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":457,"name":"converter","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValueConverter"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitValueConverter","id":370}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":562,"character":27}],"inheritedFrom":{"type":"reference","name":"ExpressionVisitor.visitValueConverter","id":370}},{"id":439,"name":"validate","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":440,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":441,"name":"expression","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Expression"}},{"id":442,"name":"originalMessage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":596,"character":23}]}],"groups":[{"title":"Constructors","kind":512,"children":[443]},{"title":"Properties","kind":1024,"children":[438]},{"title":"Methods","kind":2048,"children":[470,467,446,464,458,485,452,476,479,473,449,461,491,494,488,497,482,455,439]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":594,"character":43}],"extendedTypes":[{"type":"reference","name":"ExpressionVisitor","id":363}]},{"id":27,"name":"PropertyAccessorParser","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":30,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":31,"name":"new PropertyAccessorParser","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":32,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Parser"}}],"type":{"type":"reference","name":"PropertyAccessorParser","id":27}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":90,"character":41}]},{"id":28,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":89,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":29,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":90,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"Parser"}}},{"id":33,"name":"parse","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":34,"name":"parse","kind":4096,"kindString":"Call signature","flags":{},"typeParameter":[{"id":35,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":36,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":37,"name":"property","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"PropertyAccessor","id":793,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":92,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[30]},{"title":"Properties","kind":1024,"children":[28,29]},{"title":"Methods","kind":2048,"children":[33]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":88,"character":39}]},{"id":351,"name":"Rules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Sets, unsets and retrieves rules on an object or constructor function."},"children":[{"id":352,"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":"aurelia-validation.d.ts","line":533,"character":26}],"type":{"type":"intrinsic","name":"any"}},{"id":360,"name":"get","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":361,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the target's rules."},"parameters":[{"id":362,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"union","types":[{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":545,"character":18}]},{"id":353,"name":"set","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":354,"name":"set","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Applies the rules to a target."},"parameters":[{"id":355,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":356,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":537,"character":18}]},{"id":357,"name":"unset","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":358,"name":"unset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes rules from a target."},"parameters":[{"id":359,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":541,"character":20}]}],"groups":[{"title":"Properties","kind":1024,"children":[352]},{"title":"Methods","kind":2048,"children":[360,353,357]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":529,"character":22}]},{"id":518,"name":"StandardValidator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Validates.\nResponsible for validating objects and properties."},"children":[{"id":523,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":524,"name":"new StandardValidator","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":525,"name":"messageProvider","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationMessageProvider","id":503}},{"id":526,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewResources"}}],"type":{"type":"reference","name":"StandardValidator","id":518}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":642,"character":31}]},{"id":522,"name":"getDisplayName","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":642,"character":30}],"type":{"type":"intrinsic","name":"any"}},{"id":521,"name":"lookupFunctions","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":641,"character":31}],"type":{"type":"intrinsic","name":"any"}},{"id":520,"name":"messageProvider","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":640,"character":31}],"type":{"type":"intrinsic","name":"any"}},{"id":519,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":639,"character":21}],"type":{"type":"array","elementType":{"type":"union","types":[{"type":"reference","name":"ViewResources"},{"type":"reference","name":"ValidationMessageProvider","id":503}]}}},{"id":540,"name":"getMessage","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":541,"name":"getMessage","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":542,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":543,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":544,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":665,"character":26}]},{"id":536,"name":"ruleExists","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":537,"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":538,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}}},{"id":539,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}],"type":{"type":"intrinsic","name":"boolean"},"overwrites":{"type":"reference","name":"Validator.ruleExists","id":48}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":664,"character":18}],"overwrites":{"type":"reference","name":"Validator.ruleExists","id":48}},{"id":552,"name":"validate","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":553,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":554,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":555,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":556,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":667,"character":24}]},{"id":532,"name":"validateObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":533,"name":"validateObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates all rules for specified object and it's properties."},"parameters":[{"id":534,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"intrinsic","name":"any"}},{"id":535,"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":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}]},"overwrites":{"type":"reference","name":"Validator.validateObject","id":44}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":658,"character":22}],"overwrites":{"type":"reference","name":"Validator.validateObject","id":44}},{"id":527,"name":"validateProperty","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":528,"name":"validateProperty","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the specified property."},"parameters":[{"id":529,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"intrinsic","name":"any"}},{"id":530,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the property to validate."},"type":{"type":"intrinsic","name":"string"}},{"id":531,"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":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}]},"overwrites":{"type":"reference","name":"Validator.validateProperty","id":39}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":651,"character":24}],"overwrites":{"type":"reference","name":"Validator.validateProperty","id":39}},{"id":545,"name":"validateRuleSequence","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":546,"name":"validateRuleSequence","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":547,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":548,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":549,"name":"ruleSequence","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":550,"name":"sequence","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":551,"name":"results","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":666,"character":36}]}],"groups":[{"title":"Constructors","kind":512,"children":[523]},{"title":"Properties","kind":1024,"children":[522,521,520,519]},{"title":"Methods","kind":2048,"children":[540,536,552,532,527,545]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":638,"character":34}],"extendedTypes":[{"type":"reference","name":"Validator","id":38}]},{"id":191,"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":196,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":197,"name":"new ValidateBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":198,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateBindingBehavior","id":191},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":388,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}},{"id":192,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":404,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"TaskQueue"}}},{"id":199,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":200,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":201,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":202,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":203,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":81},{"type":"intrinsic","name":"any"}]}},{"id":204,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":391,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}},{"id":193,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":194,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":195,"name":"controller","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationController","id":81}}],"type":{"type":"reference","name":"validateTrigger","id":52},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":405,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}},{"id":205,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":206,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":207,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":392,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"groups":[{"title":"Constructors","kind":512,"children":[196]},{"title":"Properties","kind":1024,"children":[192]},{"title":"Methods","kind":2048,"children":[199,193,205]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":403,"character":40}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":174}]},{"id":174,"name":"ValidateBindingBehaviorBase","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Binding behavior. Indicates the bound property should be validated."},"children":[{"id":176,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":177,"name":"new ValidateBindingBehaviorBase","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":178,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateBindingBehaviorBase","id":174}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":388,"character":26}]},{"id":175,"name":"taskQueue","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":388,"character":25}],"type":{"type":"intrinsic","name":"any"}},{"id":182,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":183,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":184,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":185,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":186,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":81},{"type":"intrinsic","name":"any"}]}},{"id":187,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":391,"character":12}]},{"id":179,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true,"isProtected":true,"isAbstract":true},"signatures":[{"id":180,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":181,"name":"controller","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationController","id":81}}],"type":{"type":"reference","name":"validateTrigger","id":52}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":390,"character":45}]},{"id":188,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":189,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":190,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":392,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[176]},{"title":"Properties","kind":1024,"children":[175]},{"title":"Methods","kind":2048,"children":[182,179,188]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":387,"character":53}],"extendedBy":[{"type":"reference","name":"ValidateBindingBehavior","id":191},{"type":"reference","name":"ValidateManuallyBindingBehavior","id":208},{"type":"reference","name":"ValidateOnBlurBindingBehavior","id":224},{"type":"reference","name":"ValidateOnChangeBindingBehavior","id":240},{"type":"reference","name":"ValidateOnChangeOrBlurBindingBehavior","id":256}]},{"id":68,"name":"ValidateEvent","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":74,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":75,"name":"new ValidateEvent","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":76,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"stringLiteral","value":"validate"},{"type":"stringLiteral","value":"reset"}]}},{"id":77,"name":"errors","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}},{"id":78,"name":"results","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}},{"id":79,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"reference","name":"ValidateInstruction","id":19},{"type":"intrinsic","name":"null"}]}},{"id":80,"name":"controllerValidateResult","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"union","types":[{"type":"reference","name":"ControllerValidateResult","id":23},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"reference","name":"ValidateEvent","id":68}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":219,"character":75}]},{"id":73,"name":"controllerValidateResult","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"In events with type === \"validate\", this property will contain the result\nof validating the instruction (see \"instruction\" property). Use the controllerValidateResult\nto access the validate results specific to the call to \"validate\"\n(as opposed to using the \"results\" and \"errors\" properties to access the controller's entire\nset of results/errors)."},"sources":[{"fileName":"aurelia-validation.d.ts","line":219,"character":41}],"type":{"type":"union","types":[{"type":"reference","name":"ControllerValidateResult","id":23},{"type":"intrinsic","name":"null"}]}},{"id":70,"name":"errors","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The controller's current array of errors. For an array containing both\nfailed rules and passed rules, use the \"results\" property."},"sources":[{"fileName":"aurelia-validation.d.ts","line":200,"character":23}],"type":{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}},{"id":72,"name":"instruction","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The instruction passed to the \"validate\" or \"reset\" event. Will be null when\nthe controller's validate/reset method was called with no instruction argument."},"sources":[{"fileName":"aurelia-validation.d.ts","line":211,"character":28}],"type":{"type":"union","types":[{"type":"reference","name":"ValidateInstruction","id":19},{"type":"intrinsic","name":"null"}]}},{"id":71,"name":"results","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The controller's current array of validate results. This\nincludes both passed rules and failed rules. For an array of only failed rules,\nuse the \"errors\" property."},"sources":[{"fileName":"aurelia-validation.d.ts","line":206,"character":24}],"type":{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}},{"id":69,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The type of validate event. Either \"validate\" or \"reset\"."},"sources":[{"fileName":"aurelia-validation.d.ts","line":195,"character":21}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"validate"},{"type":"stringLiteral","value":"reset"}]}}],"groups":[{"title":"Constructors","kind":512,"children":[74]},{"title":"Properties","kind":1024,"children":[73,70,72,71,69]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":191,"character":30}]},{"id":208,"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":212,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":213,"name":"new ValidateManuallyBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":214,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateManuallyBindingBehavior","id":208},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":388,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}},{"id":209,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":413,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"TaskQueue"}}},{"id":215,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":216,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":217,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":218,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":219,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":81},{"type":"intrinsic","name":"any"}]}},{"id":220,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":391,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}},{"id":210,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":211,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"validateTrigger","id":52},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":414,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}},{"id":221,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":222,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":223,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":392,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"groups":[{"title":"Constructors","kind":512,"children":[212]},{"title":"Properties","kind":1024,"children":[209]},{"title":"Methods","kind":2048,"children":[215,210,221]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":412,"character":48}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":174}]},{"id":224,"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":228,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":229,"name":"new ValidateOnBlurBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":230,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnBlurBindingBehavior","id":224},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":388,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}},{"id":225,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":421,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"TaskQueue"}}},{"id":231,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":232,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":233,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":234,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":235,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":81},{"type":"intrinsic","name":"any"}]}},{"id":236,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":391,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}},{"id":226,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":227,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"validateTrigger","id":52},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":422,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}},{"id":237,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":238,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":239,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":392,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"groups":[{"title":"Constructors","kind":512,"children":[228]},{"title":"Properties","kind":1024,"children":[225]},{"title":"Methods","kind":2048,"children":[231,226,237]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":420,"character":46}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":174}]},{"id":240,"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":244,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":245,"name":"new ValidateOnChangeBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":246,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnChangeBindingBehavior","id":240},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":388,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}},{"id":241,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":430,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"TaskQueue"}}},{"id":247,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":248,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":249,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":250,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":251,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":81},{"type":"intrinsic","name":"any"}]}},{"id":252,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":391,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}},{"id":242,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":243,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"validateTrigger","id":52},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":431,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}},{"id":253,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":254,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":255,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":392,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"groups":[{"title":"Constructors","kind":512,"children":[244]},{"title":"Properties","kind":1024,"children":[241]},{"title":"Methods","kind":2048,"children":[247,242,253]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":429,"character":48}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":174}]},{"id":256,"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":260,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":261,"name":"new ValidateOnChangeOrBlurBindingBehavior","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":262,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"TaskQueue"}}],"type":{"type":"reference","name":"ValidateOnChangeOrBlurBindingBehavior","id":256},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":388,"character":26}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.__constructor","id":176}},{"id":257,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":439,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"TaskQueue"}}},{"id":263,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":264,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":265,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":266,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":267,"name":"rulesOrController","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":81},{"type":"intrinsic","name":"any"}]}},{"id":268,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":391,"character":12}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.bind","id":182}},{"id":258,"name":"getValidateTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":259,"name":"getValidateTrigger","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"validateTrigger","id":52},"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":440,"character":26}],"overwrites":{"type":"reference","name":"ValidateBindingBehaviorBase.getValidateTrigger","id":179}},{"id":269,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":270,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":271,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":392,"character":14}],"inheritedFrom":{"type":"reference","name":"ValidateBindingBehaviorBase.unbind","id":188}}],"groups":[{"title":"Constructors","kind":512,"children":[260]},{"title":"Properties","kind":1024,"children":[257]},{"title":"Methods","kind":2048,"children":[263,258,269]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":438,"character":54}],"extendedTypes":[{"type":"reference","name":"ValidateBindingBehaviorBase","id":174}]},{"id":2,"name":"ValidateResult","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"The result of validating an individual validation rule."},"children":[{"id":10,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{},"signatures":[{"id":11,"name":"new ValidateResult","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{},"parameters":[{"id":12,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The rule associated with the result. Validator implementation specific."},"type":{"type":"intrinsic","name":"any"}},{"id":13,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that was validated."},"type":{"type":"intrinsic","name":"any"}},{"id":14,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property that was validated."},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}},{"id":15,"name":"valid","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"boolean"}},{"id":16,"name":"message","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"reference","name":"ValidateResult","id":2}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":19,"character":19}]},{"id":9,"name":"id","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A number that uniquely identifies the result instance."},"sources":[{"fileName":"aurelia-validation.d.ts","line":19,"character":10}],"type":{"type":"intrinsic","name":"number"}},{"id":7,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":14,"character":15}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}},{"id":4,"name":"object","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":11,"character":14}],"type":{"type":"intrinsic","name":"any"}},{"id":5,"name":"propertyName","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":12,"character":20}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}},{"id":3,"name":"rule","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":10,"character":12}],"type":{"type":"intrinsic","name":"any"}},{"id":6,"name":"valid","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":13,"character":13}],"type":{"type":"intrinsic","name":"boolean"}},{"id":8,"name":"nextId","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":15,"character":29}],"type":{"type":"intrinsic","name":"any"}},{"id":17,"name":"toString","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":18,"name":"toString","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":27,"character":16}]}],"groups":[{"title":"Constructors","kind":512,"children":[10]},{"title":"Properties","kind":1024,"children":[9,7,4,5,3,6,8]},{"title":"Methods","kind":2048,"children":[17]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":9,"character":31}]},{"id":81,"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":95,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":96,"name":"new ValidationController","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":97,"name":"validator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Validator","id":38}},{"id":98,"name":"propertyParser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PropertyAccessorParser","id":27}}],"type":{"type":"reference","name":"ValidationController","id":81}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":289,"character":31}]},{"id":85,"name":"bindings","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":268,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":90,"name":"elements","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":282,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":88,"name":"errors","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Validation errors that have been rendered by the controller."},"sources":[{"fileName":"aurelia-validation.d.ts","line":277,"character":14}],"type":{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}},{"id":94,"name":"eventCallbacks","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":289,"character":30}],"type":{"type":"intrinsic","name":"any"}},{"id":93,"name":"finishValidating","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":288,"character":32}],"type":{"type":"intrinsic","name":"any"}},{"id":91,"name":"objects","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":283,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":83,"name":"propertyParser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":266,"character":30}],"type":{"type":"intrinsic","name":"any"}},{"id":86,"name":"renderers","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":269,"character":25}],"type":{"type":"intrinsic","name":"any"}},{"id":87,"name":"results","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"comment":{"shortText":"Validation results that have been rendered by the controller."},"sources":[{"fileName":"aurelia-validation.d.ts","line":273,"character":23}],"type":{"type":"intrinsic","name":"any"}},{"id":92,"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":"aurelia-validation.d.ts","line":287,"character":23}],"type":{"type":"reference","name":"validateTrigger","id":52}},{"id":89,"name":"validating","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":" Whether the controller is currently validating."},"sources":[{"fileName":"aurelia-validation.d.ts","line":281,"character":18}],"type":{"type":"intrinsic","name":"boolean"}},{"id":82,"name":"validator","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":265,"character":25}],"type":{"type":"intrinsic","name":"any"}},{"id":84,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":267,"character":21}],"type":{"type":"array","elementType":{"type":"union","types":[{"type":"reference","name":"PropertyAccessorParser","id":27},{"type":"reference","name":"Validator","id":38}]}}},{"id":116,"name":"addError","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":117,"name":"addError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and renders an error."},"typeParameter":[{"id":118,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":119,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":120,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}},{"id":121,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"PropertyAccessor","id":793,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"string"}]},{"type":"intrinsic","name":"null"}]}}],"type":{"type":"reference","name":"ValidateResult","id":2}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":313,"character":16}]},{"id":109,"name":"addObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"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":111,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object."},"type":{"type":"intrinsic","name":"any"}},{"id":112,"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":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":304,"character":17}]},{"id":125,"name":"addRenderer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":126,"name":"addRenderer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds a renderer."},"parameters":[{"id":127,"name":"renderer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The renderer.\n"},"type":{"type":"reference","name":"ValidationRenderer","id":64}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":322,"character":19}]},{"id":165,"name":"changeTrigger","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":166,"name":"changeTrigger","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Changes the controller's validateTrigger."},"parameters":[{"id":167,"name":"newTrigger","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new validateTrigger\n"},"type":{"type":"reference","name":"validateTrigger","id":52}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":374,"character":21}]},{"id":148,"name":"getAssociatedElements","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":149,"name":"getAssociatedElements","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the elements associated with an object and propertyName (if any)."},"parameters":[{"id":150,"name":"__namedParameters","kind":32768,"kindString":"Parameter","flags":{},"originalName":"__0","type":{"type":"reflection","declaration":{"id":151,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":152,"name":"object","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":360,"character":45}],"type":{"type":"intrinsic","name":"any"}},{"id":153,"name":"propertyName","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":360,"character":59}],"type":{"type":"intrinsic","name":"any"}}],"groups":[{"title":"Variables","kind":32,"children":[152,153]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":360,"character":38}]}}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":360,"character":37}]},{"id":139,"name":"getInstructionPredicate","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":140,"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":141,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":344,"character":39}]},{"id":170,"name":"invokeCallbacks","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":171,"name":"invokeCallbacks","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":172,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":173,"name":"result","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":379,"character":31}]},{"id":154,"name":"processResultDelta","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":155,"name":"processResultDelta","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":156,"name":"kind","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":157,"name":"oldResults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":158,"name":"newResults","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":361,"character":34}]},{"id":131,"name":"registerBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":132,"name":"registerBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a binding with the controller."},"parameters":[{"id":133,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance."},"type":{"type":"reference","name":"Binding"}},{"id":134,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The DOM element."},"type":{"type":"reference","name":"Element"}},{"id":135,"name":"rules","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"(optional) rules associated with the binding. Validator implementation specific.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":334,"character":23}]},{"id":122,"name":"removeError","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":123,"name":"removeError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes and unrenders an error."},"parameters":[{"id":124,"name":"result","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidateResult","id":2}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":317,"character":19}]},{"id":113,"name":"removeObject","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":114,"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":115,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":309,"character":20}]},{"id":128,"name":"removeRenderer","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":129,"name":"removeRenderer","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes a renderer."},"parameters":[{"id":130,"name":"renderer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The renderer.\n"},"type":{"type":"reference","name":"ValidationRenderer","id":64}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":327,"character":22}]},{"id":145,"name":"reset","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":146,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets any rendered validation results (unrenders)."},"parameters":[{"id":147,"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":19}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":356,"character":13}]},{"id":162,"name":"resetBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":163,"name":"resetBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resets the results for a property associated with a binding."},"parameters":[{"id":164,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":369,"character":20}]},{"id":168,"name":"revalidateErrors","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":169,"name":"revalidateErrors","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Revalidates the controller's current set of errors."},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":378,"character":24}]},{"id":99,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":100,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribe to controller validate and reset events. These events occur when the\ncontroller's \"validate\"\" and \"reset\" methods are called."},"parameters":[{"id":101,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callback to be invoked when the controller validates or resets.\n"},"type":{"type":"reflection","declaration":{"id":102,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":103,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":104,"name":"event","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidateEvent","id":68}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":296,"character":27}]}}}],"type":{"type":"reflection","declaration":{"id":105,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":106,"name":"dispose","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":297,"character":19}],"type":{"type":"reflection","declaration":{"id":107,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":108,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":297,"character":20}]}}}],"groups":[{"title":"Variables","kind":32,"children":[106]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":296,"character":60}]}}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":296,"character":17}]},{"id":136,"name":"unregisterBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":137,"name":"unregisterBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregisters a binding with the controller."},"parameters":[{"id":138,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding instance.\n"},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":339,"character":25}]},{"id":142,"name":"validate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":143,"name":"validate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates and renders results."},"parameters":[{"id":144,"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":19}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ControllerValidateResult","id":23}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":350,"character":16}]},{"id":159,"name":"validateBinding","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":160,"name":"validateBinding","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the property associated with a binding."},"parameters":[{"id":161,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Binding"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":365,"character":23}]}],"groups":[{"title":"Constructors","kind":512,"children":[95]},{"title":"Properties","kind":1024,"children":[85,90,88,94,93,91,83,86,87,92,89,82,84]},{"title":"Methods","kind":2048,"children":[116,109,125,165,148,139,170,154,131,122,113,128,145,162,168,99,136,142,159]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":264,"character":37}]},{"id":272,"name":"ValidationControllerFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Creates ValidationController instances."},"children":[{"id":277,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":278,"name":"new ValidationControllerFactory","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":279,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"ValidationControllerFactory","id":272}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":450,"character":70}]},{"id":273,"name":"container","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":449,"character":25}],"type":{"type":"intrinsic","name":"any"}},{"id":280,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":281,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new controller instance."},"parameters":[{"id":282,"name":"validator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Validator","id":38}}],"type":{"type":"reference","name":"ValidationController","id":81}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":455,"character":14}]},{"id":283,"name":"createForCurrentScope","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":284,"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":285,"name":"validator","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"Validator","id":38}}],"type":{"type":"reference","name":"ValidationController","id":81}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":460,"character":29}]},{"id":274,"name":"get","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":275,"name":"get","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":276,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"ValidationControllerFactory","id":272}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":450,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[277]},{"title":"Properties","kind":1024,"children":[273]},{"title":"Methods","kind":2048,"children":[280,283,274]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":448,"character":44}]},{"id":289,"name":"ValidationErrorsCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":300,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":301,"name":"new ValidationErrorsCustomAttribute","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":302,"name":"boundaryElement","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}},{"id":303,"name":"controllerAccessor","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":304,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":305,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"ValidationController","id":81}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":480,"character":65}]}}}],"type":{"type":"reference","name":"ValidationErrorsCustomAttribute","id":289}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":479,"character":31}]},{"id":290,"name":"boundaryElement","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":471,"character":31}],"type":{"type":"intrinsic","name":"any"}},{"id":297,"name":"controller","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":477,"character":18}],"type":{"type":"union","types":[{"type":"reference","name":"ValidationController","id":81},{"type":"intrinsic","name":"null"}]}},{"id":291,"name":"controllerAccessor","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":472,"character":34}],"type":{"type":"intrinsic","name":"any"}},{"id":298,"name":"errors","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":478,"character":14}],"type":{"type":"array","elementType":{"type":"reference","name":"RenderedError","id":286}}},{"id":299,"name":"errorsInternal","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":479,"character":30}],"type":{"type":"intrinsic","name":"any"}},{"id":292,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":473,"character":21}],"type":{"type":"array","elementType":{"type":"union","types":[{"type":"reflection","declaration":{"id":293,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":294,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":295,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":473,"character":25}]},{"id":296,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":475,"character":21}],"type":{"type":"reference","name":"Element"}}],"groups":[{"title":"Constructors","kind":512,"children":[294]},{"title":"Variables","kind":32,"children":[296]}]}},{"type":"reference","name":"Lazy"}]}}},{"id":314,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":315,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":484,"character":12}]},{"id":308,"name":"interestingElements","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":309,"name":"interestingElements","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":310,"name":"elements","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"array","elementType":{"type":"reference","name":"Element"}}}],"type":{"type":"array","elementType":{"type":"reference","name":"Element"}}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":482,"character":27}]},{"id":311,"name":"render","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":312,"name":"render","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":313,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"RenderInstruction","id":60}}],"type":{"type":"intrinsic","name":"void"},"implementationOf":{"type":"reference","name":"ValidationRenderer.render","id":66}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":483,"character":14}],"implementationOf":{"type":"reference","name":"ValidationRenderer.render","id":65}},{"id":306,"name":"sort","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":307,"name":"sort","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":481,"character":12}]},{"id":316,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":317,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":485,"character":14}]}],"groups":[{"title":"Constructors","kind":512,"children":[300]},{"title":"Properties","kind":1024,"children":[290,297,291,298,299,292]},{"title":"Methods","kind":2048,"children":[314,308,311,306,316]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":470,"character":48}],"implementedTypes":[{"type":"reference","name":"ValidationRenderer","id":64}]},{"id":421,"name":"ValidationMessageParser","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":428,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":429,"name":"new ValidationMessageParser","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":430,"name":"bindinqLanguage","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"BindingLanguage"}}],"type":{"type":"reference","name":"ValidationMessageParser","id":421}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":589,"character":22}]},{"id":422,"name":"bindinqLanguage","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":584,"character":31}],"type":{"type":"intrinsic","name":"any"}},{"id":427,"name":"cache","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":589,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":424,"name":"emptyStringExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":586,"character":37}],"type":{"type":"intrinsic","name":"any"}},{"id":425,"name":"nullExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":587,"character":30}],"type":{"type":"intrinsic","name":"any"}},{"id":426,"name":"undefinedExpression","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":588,"character":35}],"type":{"type":"intrinsic","name":"any"}},{"id":423,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":585,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"BindingLanguage"}}},{"id":434,"name":"coalesce","kind":2048,"kindString":"Method","flags":{"isPrivate":true,"isExported":true},"signatures":[{"id":435,"name":"coalesce","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":436,"name":"part","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"any"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":592,"character":24}]},{"id":431,"name":"parse","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":432,"name":"parse","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":433,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Expression"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":591,"character":13}]}],"groups":[{"title":"Constructors","kind":512,"children":[428]},{"title":"Properties","kind":1024,"children":[422,427,424,425,426,423]},{"title":"Methods","kind":2048,"children":[434,431]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":583,"character":40}]},{"id":503,"name":"ValidationMessageProvider","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Retrieves validation messages and property display names."},"children":[{"id":506,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":507,"name":"new ValidationMessageProvider","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":508,"name":"parser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationMessageParser","id":421}}],"type":{"type":"reference","name":"ValidationMessageProvider","id":503}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":614,"character":58}]},{"id":504,"name":"parser","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":613,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":505,"name":"inject","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":614,"character":21}],"type":{"type":"array","elementType":{"type":"reference","name":"ValidationMessageParser","id":421}}},{"id":512,"name":"getDisplayName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":513,"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":514,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The property name.\n"},"type":{"type":"intrinsic","name":"string"}},{"id":515,"name":"displayName","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"},{"type":"reflection","declaration":{"id":516,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":517,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":627,"character":74}]}}]}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":627,"character":22}]},{"id":509,"name":"getMessage","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":510,"name":"getMessage","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a message binding expression that corresponds to the key."},"parameters":[{"id":511,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The message key.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Expression"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":620,"character":18}]}],"groups":[{"title":"Constructors","kind":512,"children":[506]},{"title":"Properties","kind":1024,"children":[504,505]},{"title":"Methods","kind":2048,"children":[512,509]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":612,"character":42}]},{"id":318,"name":"ValidationRendererCustomAttribute","kind":128,"kindString":"Class","flags":{"isExported":true},"children":[{"id":319,"name":"container","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":489,"character":25}],"type":{"type":"intrinsic","name":"any"}},{"id":320,"name":"controller","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":490,"character":26}],"type":{"type":"intrinsic","name":"any"}},{"id":322,"name":"renderer","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":492,"character":24}],"type":{"type":"intrinsic","name":"any"}},{"id":321,"name":"value","kind":1024,"kindString":"Property","flags":{"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":491,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":326,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":327,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":494,"character":12}]},{"id":323,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":324,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":325,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":493,"character":15}]},{"id":328,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":329,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":495,"character":14}]}],"groups":[{"title":"Properties","kind":1024,"children":[319,320,322,321]},{"title":"Methods","kind":2048,"children":[326,323,328]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":488,"character":50}]},{"id":726,"name":"ValidationRules","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Fluent rule definition API."},"children":[{"id":727,"name":"parsers","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isPrivate":true,"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":890,"character":30}],"type":{"type":"intrinsic","name":"any"}},{"id":740,"name":"customRule","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":741,"name":"customRule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines a custom rule."},"parameters":[{"id":742,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the custom rule. Also serves as the message key."},"type":{"type":"intrinsic","name":"string"}},{"id":743,"name":"condition","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rule function."},"type":{"type":"reflection","declaration":{"id":744,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":745,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":746,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":747,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"intrinsic","name":"any"}},{"id":748,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":909,"character":50}]}}},{"id":749,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The message expression"},"type":{"type":"intrinsic","name":"string"}},{"id":750,"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":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":751,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":752,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":753,"name":"args","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"any"}}}],"type":{"type":"intrinsic","name":"any"}}]}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":909,"character":25}]},{"id":732,"name":"ensure","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":733,"name":"ensure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Target a property with validation rules."},"typeParameter":[{"id":734,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":735,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"parameters":[{"id":736,"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":"intrinsic","name":"string"},{"type":"reference","name":"PropertyAccessor","id":793,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"typeParameter","name":"TValue"}]}]}}],"type":{"type":"reference","name":"FluentRules","id":640,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":896,"character":21}]},{"id":737,"name":"ensureObject","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":738,"name":"ensureObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Targets an object with validation rules."},"typeParameter":[{"id":739,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}}],"type":{"type":"reference","name":"FluentRules","id":640,"typeArguments":[{"type":"typeParameter","name":"TObject"},{"type":"intrinsic","name":"any"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":900,"character":27}]},{"id":728,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":729,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":730,"name":"messageParser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ValidationMessageParser","id":421}},{"id":731,"name":"propertyParser","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"PropertyAccessorParser","id":27}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":891,"character":25}]},{"id":761,"name":"off","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":762,"name":"off","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes the rules from a class or object."},"parameters":[{"id":763,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A class or object.\n"},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":925,"character":18}]},{"id":754,"name":"taggedRules","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":755,"name":"taggedRules","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns rules with the matching tag."},"parameters":[{"id":756,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}}},{"id":757,"name":"tag","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The tag to search for.\n"},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":915,"character":26}]},{"id":758,"name":"untaggedRules","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":759,"name":"untaggedRules","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns rules that have no tag."},"parameters":[{"id":760,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search.\n"},"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}}}],"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","name":"Rule","id":333,"typeArguments":[{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}]}}}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":920,"character":28}]}],"groups":[{"title":"Properties","kind":1024,"children":[727]},{"title":"Methods","kind":2048,"children":[740,732,737,728,761,754,758]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":889,"character":32}]},{"id":38,"name":"Validator","kind":128,"kindString":"Class","flags":{"isExported":true,"isAbstract":true},"comment":{"shortText":"Validates objects and properties."},"children":[{"id":48,"name":"ruleExists","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":49,"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":50,"name":"rules","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The rules to search."},"type":{"type":"intrinsic","name":"any"}},{"id":51,"name":"rule","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":120,"character":27}]},{"id":44,"name":"validateObject","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":45,"name":"validateObject","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates all rules for specified object and it's properties."},"parameters":[{"id":46,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"intrinsic","name":"any"}},{"id":47,"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":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":114,"character":31}]},{"id":39,"name":"validateProperty","kind":2048,"kindString":"Method","flags":{"isExported":true,"isAbstract":true},"signatures":[{"id":40,"name":"validateProperty","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Validates the specified property."},"parameters":[{"id":41,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The object to validate."},"type":{"type":"intrinsic","name":"any"}},{"id":42,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the property to validate."},"type":{"type":"intrinsic","name":"string"}},{"id":43,"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":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":107,"character":33}]}],"groups":[{"title":"Methods","kind":2048,"children":[48,44,39]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":99,"character":35}],"extendedBy":[{"type":"reference","name":"StandardValidator","id":518}]},{"id":23,"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":26,"name":"instruction","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The instruction passed to the controller's validate method."},"sources":[{"fileName":"aurelia-validation.d.ts","line":64,"character":19}],"type":{"type":"reference","name":"ValidateInstruction","id":19}},{"id":25,"name":"results","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The validation result of every rule that was evaluated."},"sources":[{"fileName":"aurelia-validation.d.ts","line":60,"character":15}],"type":{"type":"array","elementType":{"type":"reference","name":"ValidateResult","id":2}}},{"id":24,"name":"valid","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Whether validation passed."},"sources":[{"fileName":"aurelia-validation.d.ts","line":56,"character":13}],"type":{"type":"intrinsic","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[26,25,24]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":52,"character":45}]},{"id":764,"name":"Parsers","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":765,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":928,"character":15}],"type":{"type":"reference","name":"ValidationMessageParser","id":421}},{"id":766,"name":"property","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":929,"character":16}],"type":{"type":"reference","name":"PropertyAccessorParser","id":27}}],"groups":[{"title":"Properties","kind":1024,"children":[765,766]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":927,"character":28}]},{"id":60,"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":61,"name":"kind","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The \"kind\" of render instruction. Either 'validate' or 'reset'."},"sources":[{"fileName":"aurelia-validation.d.ts","line":167,"character":12}],"type":{"type":"union","types":[{"type":"stringLiteral","value":"validate"},{"type":"stringLiteral","value":"reset"}]}},{"id":62,"name":"render","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The results to render."},"sources":[{"fileName":"aurelia-validation.d.ts","line":171,"character":14}],"type":{"type":"array","elementType":{"type":"reference","name":"ResultInstruction","id":57}}},{"id":63,"name":"unrender","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The results to unrender."},"sources":[{"fileName":"aurelia-validation.d.ts","line":175,"character":16}],"type":{"type":"array","elementType":{"type":"reference","name":"ResultInstruction","id":57}}}],"groups":[{"title":"Properties","kind":1024,"children":[61,62,63]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":163,"character":38}]},{"id":286,"name":"RenderedError","kind":256,"kindString":"Interface","flags":{"isExported":true},"children":[{"id":287,"name":"error","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":467,"character":13}],"type":{"type":"reference","name":"ValidateResult","id":2}},{"id":288,"name":"targets","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":468,"character":15}],"type":{"type":"array","elementType":{"type":"reference","name":"Element"}}}],"groups":[{"title":"Properties","kind":1024,"children":[287,288]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":466,"character":34}]},{"id":57,"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":59,"name":"elements","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The associated elements (if any)."},"sources":[{"fileName":"aurelia-validation.d.ts","line":158,"character":16}],"type":{"type":"array","elementType":{"type":"reference","name":"Element"}}},{"id":58,"name":"result","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The validation result."},"sources":[{"fileName":"aurelia-validation.d.ts","line":154,"character":14}],"type":{"type":"reference","name":"ValidateResult","id":2}}],"groups":[{"title":"Properties","kind":1024,"children":[59,58]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":150,"character":38}]},{"id":333,"name":"Rule","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"A rule definition. Associations a rule with a property or object."},"typeParameter":[{"id":334,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":335,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"children":[{"id":337,"name":"condition","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":517,"character":17}],"type":{"type":"reflection","declaration":{"id":338,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":339,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":340,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TValue"}},{"id":341,"name":"object","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"reference","name":"TObject","id":334}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"reference","name":"Promise","typeArguments":[{"type":"intrinsic","name":"boolean"}]}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":517,"character":18}]}}},{"id":342,"name":"config","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":518,"character":14}],"type":{"type":"intrinsic","name":"object"}},{"id":348,"name":"message","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":521,"character":15}],"type":{"type":"union","types":[{"type":"reference","name":"Expression"},{"type":"intrinsic","name":"null"}]}},{"id":347,"name":"messageKey","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":520,"character":18}],"type":{"type":"intrinsic","name":"string"}},{"id":336,"name":"property","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":516,"character":16}],"type":{"type":"reference","name":"RuleProperty","id":330}},{"id":349,"name":"sequence","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":522,"character":16}],"type":{"type":"intrinsic","name":"number"}},{"id":350,"name":"tag","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":523,"character":11}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"}]}},{"id":343,"name":"when","kind":1024,"kindString":"Property","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":519,"character":12}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":344,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":345,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":346,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":519,"character":13}]}},{"type":"intrinsic","name":"null"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[337,342,348,347,336,349,350,343]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":515,"character":25}]},{"id":330,"name":"RuleProperty","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Information related to a property that is the subject of validation."},"children":[{"id":332,"name":"displayName","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The displayName of the property (or object)."},"sources":[{"fileName":"aurelia-validation.d.ts","line":510,"character":19}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","name":"ValidationDisplayNameAccessor","id":802},{"type":"intrinsic","name":"null"}]}},{"id":331,"name":"name","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The property name. null indicates the rule targets the object itself."},"sources":[{"fileName":"aurelia-validation.d.ts","line":506,"character":12}],"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"null"}]}}],"groups":[{"title":"Properties","kind":1024,"children":[332,331]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":502,"character":33}]},{"id":19,"name":"ValidateInstruction","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Instructions for the validation controller's validate method."},"children":[{"id":20,"name":"object","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The object to validate."},"sources":[{"fileName":"aurelia-validation.d.ts","line":37,"character":14}],"type":{"type":"intrinsic","name":"any"}},{"id":21,"name":"propertyName","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The property to validate. Optional."},"sources":[{"fileName":"aurelia-validation.d.ts","line":41,"character":20}],"type":{"type":"intrinsic","name":"any"}},{"id":22,"name":"rules","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"The rules to validate. Optional."},"sources":[{"fileName":"aurelia-validation.d.ts","line":45,"character":13}],"type":{"type":"intrinsic","name":"any"}}],"groups":[{"title":"Properties","kind":1024,"children":[20,21,22]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":33,"character":40}]},{"id":500,"name":"ValidationMessages","kind":256,"kindString":"Interface","flags":{"isExported":true},"indexSignature":{"id":501,"name":"__index","kind":8192,"kindString":"Index signature","flags":{},"parameters":[{"id":502,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}},"sources":[{"fileName":"aurelia-validation.d.ts","line":602,"character":39}]},{"id":64,"name":"ValidationRenderer","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Renders validation results."},"children":[{"id":65,"name":"render","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":66,"name":"render","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Render the validation results."},"parameters":[{"id":67,"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":60}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":186,"character":14}]}],"groups":[{"title":"Methods","kind":2048,"children":[65]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":180,"character":39}],"implementedBy":[{"type":"reference","name":"ValidationErrorsCustomAttribute","id":289}]},{"id":808,"name":"AccessScope","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":551,"character":27}],"type":{"type":"intrinsic","name":"any"}},{"id":807,"name":"AccessThis","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":550,"character":26}],"type":{"type":"intrinsic","name":"any"}},{"id":806,"name":"Assign","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":549,"character":22}],"type":{"type":"intrinsic","name":"any"}},{"id":810,"name":"CallFunction","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":553,"character":28}],"type":{"type":"intrinsic","name":"any"}},{"id":809,"name":"CallScope","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":552,"character":25}],"type":{"type":"intrinsic","name":"any"}},{"id":805,"name":"Chain","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":548,"character":21}],"type":{"type":"intrinsic","name":"any"}},{"id":813,"name":"LiteralArray","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":556,"character":28}],"type":{"type":"intrinsic","name":"any"}},{"id":814,"name":"LiteralObject","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":557,"character":29}],"type":{"type":"intrinsic","name":"any"}},{"id":812,"name":"LiteralPrimitive","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":555,"character":32}],"type":{"type":"intrinsic","name":"any"}},{"id":815,"name":"LiteralString","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":558,"character":29}],"type":{"type":"intrinsic","name":"any"}},{"id":811,"name":"PrefixNot","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":554,"character":25}],"type":{"type":"intrinsic","name":"any"}},{"id":793,"name":"PropertyAccessor","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"typeParameter":[{"id":794,"name":"TObject","kind":131072,"kindString":"Type parameter","flags":{}},{"id":795,"name":"TValue","kind":131072,"kindString":"Type parameter","flags":{}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":87,"character":32}],"type":{"type":"reflection","declaration":{"id":796,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":797,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":798,"name":"object","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"typeParameter","name":"TObject"}}],"type":{"type":"typeParameter","name":"TValue"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":87,"character":51}]}}},{"id":802,"name":"ValidationDisplayNameAccessor","kind":4194304,"kindString":"Type alias","flags":{"isExported":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":498,"character":45}],"type":{"type":"reflection","declaration":{"id":803,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":804,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":498,"character":47}]}}},{"id":816,"name":"validationMessages","kind":32,"kindString":"Variable","flags":{"isExported":true,"isConst":true},"comment":{"shortText":"Dictionary of validation messages. [messageKey]: messageExpression"},"sources":[{"fileName":"aurelia-validation.d.ts","line":608,"character":35}],"type":{"type":"reference","name":"ValidationMessages","id":500}},{"id":817,"name":"configure","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":818,"name":"configure","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Configures the plugin."},"parameters":[{"id":819,"name":"frameworkConfig","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reflection","declaration":{"id":820,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":821,"name":"container","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":974,"character":17}],"type":{"type":"reference","name":"Container"}},{"id":822,"name":"globalResources","kind":32,"kindString":"Variable","flags":{"isOptional":true},"sources":[{"fileName":"aurelia-validation.d.ts","line":975,"character":23}],"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":823,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":824,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":825,"name":"resources","kind":32768,"kindString":"Parameter","flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"any"}}]}}]}}],"groups":[{"title":"Variables","kind":32,"children":[821,822]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":973,"character":46}]}}},{"id":826,"name":"callback","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"reflection","declaration":{"id":827,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":828,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":829,"name":"config","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"AureliaValidationConfiguration","id":767}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"void"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":973,"character":29}]},{"id":799,"name":"getAccessorExpression","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":800,"name":"getAccessorExpression","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":801,"name":"fn","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":94,"character":41}]},{"id":783,"name":"getPropertyInfo","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":784,"name":"getPropertyInfo","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Retrieves the object and property name for the specified expression."},"parameters":[{"id":785,"name":"expression","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The expression"},"type":{"type":"reference","name":"Expression"}},{"id":786,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The scope\n"},"type":{"type":"reference","name":"Scope"}}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":787,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":788,"name":"object","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":81,"character":14}],"type":{"type":"intrinsic","name":"object"}},{"id":789,"name":"propertyName","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"aurelia-validation.d.ts","line":82,"character":20}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Variables","kind":32,"children":[788,789]}],"sources":[{"fileName":"aurelia-validation.d.ts","line":80,"character":75}]}},{"type":"intrinsic","name":"null"}]}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":80,"character":35}]},{"id":779,"name":"getTargetDOMElement","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":780,"name":"getTargetDOMElement","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":781,"name":"binding","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}},{"id":782,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":73,"character":39}]},{"id":790,"name":"isString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":791,"name":"isString","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":792,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"boolean"}}],"sources":[{"fileName":"aurelia-validation.d.ts","line":85,"character":28}]}],"groups":[{"title":"Enumerations","kind":4,"children":[52]},{"title":"Classes","kind":128,"children":[767,363,704,557,640,437,27,351,518,191,174,68,208,224,240,256,2,81,272,289,421,503,318,726,38]},{"title":"Interfaces","kind":256,"children":[23,764,60,286,57,333,330,19,500,64]},{"title":"Type aliases","kind":4194304,"children":[808,807,806,810,809,805,813,814,812,815,811,793,802]},{"title":"Variables","kind":32,"children":[816]},{"title":"Functions","kind":64,"children":[817,799,783,779,790]}]} diff --git a/package.json b/package.json index 9498a51a..af136665 100644 --- a/package.json +++ b/package.json @@ -1,113 +1,113 @@ -{ - "name": "aurelia-validation", - "version": "1.1.2", - "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 rimraf dist && tsc && karma start --single-run", - "develop": "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:es2017": "cross-env rimraf dist/es2017", - "build:es2017": "cross-env tsc --project tsconfig.build.json --outDir dist/es2017 --module es2015 --target es2017", - "postbuild:es2017": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/es2017", - "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:es2017\" \"npm run build:native-modules\" \"npm run build:system\"", - "predoc": "cross-env rimraf doc/api.json && rimraf dist/doc-temp && tsc --project tsconfig.build.json --outFile dist/doc-temp/aurelia-validation.js && node doc/shape-defs && copyfiles tsconfig.json dist/doc-temp", - "doc": "cross-env typedoc --json doc/api.json --excludeExternals --includeDeclarations --mode modules --target ES6 --name aurelia-validation-docs dist/doc-temp/", - "postdoc": "cross-env node doc/shape-doc && rimraf dist/doc-temp", - "changelog": "cross-env conventional-changelog -p angular -i doc/CHANGELOG.md -s", - "bump-version": "npm --no-git-tag-version version", - "preprepare-release": "cross-env npm run test", - "prepare-release": "cross-env npm run changelog && npm run build && npm run doc" - }, - "jspm": { - "registry": "npm", - "jspmPackage": true, - "main": "aurelia-validation", - "format": "amd", - "directories": { - "dist": "dist/amd" - }, - "peerDependencies": { - "aurelia-binding": "^1.7.1", - "aurelia-dependency-injection": "^1.3.1", - "aurelia-logging": "^1.3.1", - "aurelia-pal": "^1.3.0", - "aurelia-task-queue": "^1.2.0", - "aurelia-templating": "^1.4.2" - }, - "dependencies": { - "aurelia-binding": "^1.7.1", - "aurelia-dependency-injection": "^1.3.1", - "aurelia-logging": "^1.3.1", - "aurelia-pal": "^1.3.0", - "aurelia-task-queue": "^1.2.0", - "aurelia-templating": "^1.4.2" - }, - "devDependencies": {} - }, - "dependencies": { - "aurelia-binding": "^1.7.1", - "aurelia-dependency-injection": "^1.3.1", - "aurelia-logging": "^1.3.1", - "aurelia-pal": "^1.3.0", - "aurelia-task-queue": "^1.2.0", - "aurelia-templating": "^1.4.2" - }, - "devDependencies": { - "@types/node": "^8.5.1", - "aurelia-bootstrapper": "^2.1.1", - "aurelia-pal-browser": "^1.3.0", - "aurelia-pal-nodejs": "^1.0.0-beta.2.0.0", - "aurelia-polyfills": "^1.2.2", - "aurelia-testing": "^1.0.0-beta.4.0.0", - "concurrently": "^3.5.1", - "conventional-changelog-cli": "^1.3.5", - "copyfiles": "^1.2.0", - "cross-env": "^5.1.1", - "jasmine-core": "^2.8.0", - "karma": "^1.7.1", - "karma-chrome-launcher": "^2.2.0", - "karma-ie-launcher": "^1.0.0", - "karma-jasmine": "^1.1.1", - "karma-requirejs": "^1.1.0", - "requirejs": "^2.3.5", - "requirejs-text": "^2.0.15", - "rimraf": "^2.6.2", - "tslint": "^5.8.0", - "typedoc": "^0.11.1", - "typescript": "^2.6.2" - } -} +{ + "name": "aurelia-validation", + "version": "1.1.3", + "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 rimraf dist && tsc && karma start --single-run", + "develop": "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:es2017": "cross-env rimraf dist/es2017", + "build:es2017": "cross-env tsc --project tsconfig.build.json --outDir dist/es2017 --module es2015 --target es2017", + "postbuild:es2017": "cross-env copyfiles --up 1 src/**/*.html src/**/*.css dist/es2017", + "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:es2017\" \"npm run build:native-modules\" \"npm run build:system\"", + "predoc": "cross-env rimraf doc/api.json && rimraf dist/doc-temp && tsc --project tsconfig.build.json --outFile dist/doc-temp/aurelia-validation.js && node doc/shape-defs && copyfiles tsconfig.json dist/doc-temp", + "doc": "cross-env typedoc --json doc/api.json --excludeExternals --includeDeclarations --mode modules --target ES6 --name aurelia-validation-docs dist/doc-temp/", + "postdoc": "cross-env node doc/shape-doc && rimraf dist/doc-temp", + "changelog": "cross-env conventional-changelog -p angular -i doc/CHANGELOG.md -s", + "bump-version": "npm --no-git-tag-version version", + "preprepare-release": "cross-env npm run test", + "prepare-release": "cross-env npm run changelog && npm run build && npm run doc" + }, + "jspm": { + "registry": "npm", + "jspmPackage": true, + "main": "aurelia-validation", + "format": "amd", + "directories": { + "dist": "dist/amd" + }, + "peerDependencies": { + "aurelia-binding": "^1.7.1", + "aurelia-dependency-injection": "^1.3.1", + "aurelia-logging": "^1.3.1", + "aurelia-pal": "^1.3.0", + "aurelia-task-queue": "^1.2.0", + "aurelia-templating": "^1.4.2" + }, + "dependencies": { + "aurelia-binding": "^1.7.1", + "aurelia-dependency-injection": "^1.3.1", + "aurelia-logging": "^1.3.1", + "aurelia-pal": "^1.3.0", + "aurelia-task-queue": "^1.2.0", + "aurelia-templating": "^1.4.2" + }, + "devDependencies": {} + }, + "dependencies": { + "aurelia-binding": "^1.7.1", + "aurelia-dependency-injection": "^1.3.1", + "aurelia-logging": "^1.3.1", + "aurelia-pal": "^1.3.0", + "aurelia-task-queue": "^1.2.0", + "aurelia-templating": "^1.4.2" + }, + "devDependencies": { + "@types/node": "^8.5.1", + "aurelia-bootstrapper": "^2.1.1", + "aurelia-pal-browser": "^1.3.0", + "aurelia-pal-nodejs": "^1.0.0-beta.2.0.0", + "aurelia-polyfills": "^1.2.2", + "aurelia-testing": "^1.0.0-beta.4.0.0", + "concurrently": "^3.5.1", + "conventional-changelog-cli": "^1.3.5", + "copyfiles": "^1.2.0", + "cross-env": "^5.1.1", + "jasmine-core": "^2.8.0", + "karma": "^1.7.1", + "karma-chrome-launcher": "^2.2.0", + "karma-ie-launcher": "^1.0.0", + "karma-jasmine": "^1.1.1", + "karma-requirejs": "^1.1.0", + "requirejs": "^2.3.5", + "requirejs-text": "^2.0.15", + "rimraf": "^2.6.2", + "tslint": "^5.8.0", + "typedoc": "^0.11.1", + "typescript": "^2.6.2" + } +}