@anglr/common 12.0.0-beta.20220414093434 → 12.0.0-beta.20220414120442
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +11 -0
- package/es2015/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +2 -2
- package/es2015/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js.map +1 -1
- package/es2015/forms/src/components/index.js +1 -0
- package/es2015/forms/src/components/index.js.map +1 -1
- package/es2015/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +75 -0
- package/es2015/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js.map +1 -0
- package/es2015/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +31 -0
- package/es2015/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js.map +1 -0
- package/es2015/forms/src/directives/hasError/hasError.directive.js +25 -5
- package/es2015/forms/src/directives/hasError/hasError.directive.js.map +1 -1
- package/es2015/forms/src/directives/index.js +3 -0
- package/es2015/forms/src/directives/index.js.map +1 -0
- package/es2015/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +24 -0
- package/es2015/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js.map +1 -0
- package/es2015/forms/src/index.js +1 -0
- package/es2015/forms/src/index.js.map +1 -1
- package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -2
- package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
- package/es2015/forms/src/modules/hasError.module.js +14 -3
- package/es2015/forms/src/modules/hasError.module.js.map +1 -1
- package/es2020/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +2 -2
- package/es2020/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js.map +1 -1
- package/es2020/forms/src/components/index.js +1 -0
- package/es2020/forms/src/components/index.js.map +1 -1
- package/es2020/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +75 -0
- package/es2020/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js.map +1 -0
- package/es2020/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +31 -0
- package/es2020/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js.map +1 -0
- package/es2020/forms/src/directives/hasError/hasError.directive.js +25 -5
- package/es2020/forms/src/directives/hasError/hasError.directive.js.map +1 -1
- package/es2020/forms/src/directives/index.js +3 -0
- package/es2020/forms/src/directives/index.js.map +1 -0
- package/es2020/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +24 -0
- package/es2020/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js.map +1 -0
- package/es2020/forms/src/index.js +1 -0
- package/es2020/forms/src/index.js.map +1 -1
- package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -2
- package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
- package/es2020/forms/src/modules/hasError.module.js +14 -3
- package/es2020/forms/src/modules/hasError.module.js.map +1 -1
- package/forms/src/components/index.d.ts +1 -0
- package/forms/src/components/index.d.ts.map +1 -1
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.css +4 -0
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.d.ts +53 -0
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.d.ts.map +1 -0
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.html +3 -0
- package/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.d.ts +10 -0
- package/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.d.ts.map +1 -0
- package/forms/src/directives/hasError/hasError.directive.d.ts +16 -4
- package/forms/src/directives/hasError/hasError.directive.d.ts.map +1 -1
- package/forms/src/directives/index.d.ts +3 -0
- package/forms/src/directives/index.d.ts.map +1 -0
- package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts +12 -0
- package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts.map +1 -0
- package/forms/src/index.d.ts +1 -0
- package/forms/src/index.d.ts.map +1 -1
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts.map +1 -1
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.html +1 -1
- package/forms/src/modules/hasError.module.d.ts +7 -4
- package/forms/src/modules/hasError.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/version.bak +1 -1
- package/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.html +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,2DAA2D,CAAC;AAC1E,cAAc,iEAAiE,CAAC"}
|
package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ValidationErrorsContainerView } from '../../misc/validationErrorsContainerView';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Directive that sets view container for validation errors for current element
|
|
6
|
+
*/
|
|
7
|
+
export declare class ValidationErrorsContainerDirective {
|
|
8
|
+
constructor(containerView: ValidationErrorsContainerView, viewContainer: ViewContainerRef);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorsContainerDirective, [{ skipSelf: true; }, null]>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValidationErrorsContainerDirective, "[validationErrorsContainer]", never, {}, {}, never>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=validationErrorsContainer.directive.d.ts.map
|
package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validationErrorsContainer.directive.d.ts","sourceRoot":"","sources":["validationErrorsContainer.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAC,6BAA6B,EAAC,MAAM,0CAA0C,CAAC;;AAEvF;;GAEG;AACH,qBAIa,kCAAkC;gBAGnB,aAAa,EAAE,6BAA6B,EACxD,aAAa,EAAE,gBAAgB;yCAJlC,kCAAkC;2CAAlC,kCAAkC;CAQ9C"}
|
package/forms/src/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './components';
|
|
2
|
+
export * from './directives';
|
|
2
3
|
export * from './directives/numberInput/maxValueNumberValidator.directive';
|
|
3
4
|
export * from './directives/numberInput/minValueNumberValidator.directive';
|
|
4
5
|
export * from './directives/numberInput/numberInputValidator.directive';
|
package/forms/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,oEAAoE,CAAC;AACnF,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oEAAoE,CAAC;AACnF,cAAc,kEAAkE,CAAC;AACjF,cAAc,sEAAsE,CAAC;AACrF,cAAc,oEAAoE,CAAC;AACnF,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,oEAAoE,CAAC;AACnF,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oEAAoE,CAAC;AACnF,cAAc,kEAAkE,CAAC;AACjF,cAAc,sEAAsE,CAAC;AACrF,cAAc,oEAAoE,CAAC;AACnF,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC"}
|
package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groupErrors.component.d.ts","sourceRoot":"","sources":["groupErrors.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAsB,MAAM,eAAe,CAAC;AACtI,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAE,kBAAkB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"groupErrors.component.d.ts","sourceRoot":"","sources":["groupErrors.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAsB,MAAM,eAAe,CAAC;AACtI,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAE,kBAAkB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE/F,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,4BAA4B,EAAC,MAAM,kBAAkB,CAAC;;AAE9D;;GAEG;AACH,qBAOa,oBAAqB,YAAW,MAAM,EAAE,SAAS;IA+ClC,SAAS,CAAC,kBAAkB,EAAE,kBAAkB;IAChD,SAAS,CAAC,aAAa,EAAE,aAAa;IAClD,SAAS,CAAC,eAAe,EAAE,iBAAiB;IA7CxD;;OAEG;IACH,SAAS,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC;IAEjC;;OAEG;IACH,SAAS,CAAC,kBAAkB,EAAE,YAAY,CAAsB;IAEhE;;OAEG;IACH,SAAS,CAAC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAIzC;;;OAGG;IACH,IAAW,SAAS,IAAI,SAAS,CAGhC;IAID;;OAEG;IAEI,QAAQ,EAAE,MAAM,CAAC;IAIxB;;OAEG;IAEI,QAAQ,CAAC,EAAE,4BAA4B,CAAC;gBAGb,kBAAkB,EAAE,kBAAkB,EACtC,aAAa,EAAE,aAAa,EACxC,eAAe,EAAE,iBAAiB;IAUxD;;OAEG;IACI,QAAQ,IAAI,IAAI;IAcvB;;OAEG;IACI,WAAW,IAAI,IAAI;yCA/EjB,oBAAoB;2CAApB,oBAAoB;CAoFhC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<ng-template #defaultTemplate let-errorName>
|
|
2
|
-
<div [ngClass]="cssClass" [errorMessage]="errorName" [errors]="formGroup.errors"></div>
|
|
2
|
+
<div [ngClass]="cssClass" [errorMessage]="errorName" [errors]="formGroup.errors" @slideInOut></div>
|
|
3
3
|
</ng-template>
|
|
4
4
|
|
|
5
5
|
<ng-container *ngFor="let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index">
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "../directives/hasError/hasError.directive";
|
|
3
3
|
import * as i2 from "../directives/groupHasError/groupHasError.directive";
|
|
4
|
-
import * as i3 from "../
|
|
5
|
-
import * as i4 from "../
|
|
6
|
-
import * as i5 from "
|
|
4
|
+
import * as i3 from "../directives/groupHasErrorContainer/groupHasErrorContainer.directive";
|
|
5
|
+
import * as i4 from "../directives/validationErrorsContainer/validationErrorsContainer.directive";
|
|
6
|
+
import * as i5 from "../components/defaultValidationErrors/defaultValidationErrors.component";
|
|
7
|
+
import * as i6 from "../components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component";
|
|
8
|
+
import * as i7 from "../components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
7
10
|
/**
|
|
8
11
|
* Module for input validation directives
|
|
9
12
|
*/
|
|
10
13
|
export declare class HasErrorModule {
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HasErrorModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HasErrorModule, [typeof i1.HasErrorDirective, typeof i2.GroupHasErrorDirective, typeof i3.
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HasErrorModule, [typeof i1.HasErrorDirective, typeof i2.GroupHasErrorDirective, typeof i3.GroupHasErrorContainerDirective, typeof i4.ValidationErrorsContainerDirective, typeof i5.DefaultValidationErrorsComponent, typeof i6.DefaultValidationErrorsContainerComponent, typeof i7.ReservedSpaceValidationErrorsContainerComponent], [typeof i8.CommonModule], [typeof i1.HasErrorDirective, typeof i2.GroupHasErrorDirective, typeof i3.GroupHasErrorContainerDirective, typeof i4.ValidationErrorsContainerDirective]>;
|
|
13
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<HasErrorModule>;
|
|
14
17
|
}
|
|
15
18
|
//# sourceMappingURL=hasError.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasError.module.d.ts","sourceRoot":"","sources":["hasError.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hasError.module.d.ts","sourceRoot":"","sources":["hasError.module.ts"],"names":[],"mappings":";;;;;;;;;AAQA;;GAEG;AACH,qBAwBa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAE1B"}
|
package/package.json
CHANGED
package/version.bak
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
12.0.0-beta.
|
|
1
|
+
12.0.0-beta.20220414120442
|
|
File without changes
|