Skip to content

Commit b000e81

Browse files
chore(all): prepare release 1.2.3
1 parent 69d3eff commit b000e81

16 files changed

+25
-15
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aurelia-validation",
3-
"version": "1.2.2",
3+
"version": "1.2.3",
44
"description": "Validation for Aurelia applications",
55
"keywords": [
66
"aurelia",

dist/amd/validation-errors-custom-attribute.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface RenderedError {
99
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
1010
private boundaryElement;
1111
private controllerAccessor;
12-
static inject: ({
12+
static inject(): ({
1313
new (): Element;
1414
prototype: Element;
1515
} | Lazy)[];

dist/amd/validation-errors-custom-attribute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ define(["require", "exports", "aurelia-binding", "aurelia-dependency-injection",
1515
this.errors = [];
1616
this.errorsInternal = [];
1717
}
18+
ValidationErrorsCustomAttribute.inject = function () { return [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)]; };
1819
ValidationErrorsCustomAttribute.prototype.sort = function () {
1920
this.errorsInternal.sort(function (a, b) {
2021
if (a.targets[0] === b.targets[0]) {
@@ -65,7 +66,6 @@ define(["require", "exports", "aurelia-binding", "aurelia-dependency-injection",
6566
this.controller.removeRenderer(this);
6667
}
6768
};
68-
ValidationErrorsCustomAttribute.inject = [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)];
6969
__decorate([
7070
aurelia_templating_1.bindable({ defaultBindingMode: aurelia_binding_1.bindingMode.oneWay })
7171
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);

dist/commonjs/validation-errors-custom-attribute.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface RenderedError {
99
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
1010
private boundaryElement;
1111
private controllerAccessor;
12-
static inject: ({
12+
static inject(): ({
1313
new (): Element;
1414
prototype: Element;
1515
} | Lazy)[];

dist/commonjs/validation-errors-custom-attribute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ var ValidationErrorsCustomAttribute = /** @class */ (function () {
1919
this.errors = [];
2020
this.errorsInternal = [];
2121
}
22+
ValidationErrorsCustomAttribute.inject = function () { return [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)]; };
2223
ValidationErrorsCustomAttribute.prototype.sort = function () {
2324
this.errorsInternal.sort(function (a, b) {
2425
if (a.targets[0] === b.targets[0]) {
@@ -69,7 +70,6 @@ var ValidationErrorsCustomAttribute = /** @class */ (function () {
6970
this.controller.removeRenderer(this);
7071
}
7172
};
72-
ValidationErrorsCustomAttribute.inject = [aurelia_pal_1.DOM.Element, aurelia_dependency_injection_1.Lazy.of(validation_controller_1.ValidationController)];
7373
__decorate([
7474
aurelia_templating_1.bindable({ defaultBindingMode: aurelia_binding_1.bindingMode.oneWay })
7575
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);

dist/es2015/validation-errors-custom-attribute.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface RenderedError {
99
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
1010
private boundaryElement;
1111
private controllerAccessor;
12-
static inject: ({
12+
static inject(): ({
1313
new (): Element;
1414
prototype: Element;
1515
} | Lazy)[];

dist/es2015/validation-errors-custom-attribute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
1717
this.errors = [];
1818
this.errorsInternal = [];
1919
}
20+
static inject() { return [DOM.Element, Lazy.of(ValidationController)]; }
2021
sort() {
2122
this.errorsInternal.sort((a, b) => {
2223
if (a.targets[0] === b.targets[0]) {
@@ -61,7 +62,6 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
6162
}
6263
}
6364
};
64-
ValidationErrorsCustomAttribute.inject = [DOM.Element, Lazy.of(ValidationController)];
6565
__decorate([
6666
bindable({ defaultBindingMode: bindingMode.oneWay })
6767
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);

dist/es2017/validation-errors-custom-attribute.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface RenderedError {
99
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
1010
private boundaryElement;
1111
private controllerAccessor;
12-
static inject: ({
12+
static inject(): ({
1313
new (): Element;
1414
prototype: Element;
1515
} | Lazy)[];

dist/es2017/validation-errors-custom-attribute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
1717
this.errors = [];
1818
this.errorsInternal = [];
1919
}
20+
static inject() { return [DOM.Element, Lazy.of(ValidationController)]; }
2021
sort() {
2122
this.errorsInternal.sort((a, b) => {
2223
if (a.targets[0] === b.targets[0]) {
@@ -61,7 +62,6 @@ let ValidationErrorsCustomAttribute = class ValidationErrorsCustomAttribute {
6162
}
6263
}
6364
};
64-
ValidationErrorsCustomAttribute.inject = [DOM.Element, Lazy.of(ValidationController)];
6565
__decorate([
6666
bindable({ defaultBindingMode: bindingMode.oneWay })
6767
], ValidationErrorsCustomAttribute.prototype, "controller", void 0);

dist/native-modules/validation-errors-custom-attribute.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface RenderedError {
99
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
1010
private boundaryElement;
1111
private controllerAccessor;
12-
static inject: ({
12+
static inject(): ({
1313
new (): Element;
1414
prototype: Element;
1515
} | Lazy)[];

0 commit comments

Comments
 (0)