@sumaris-net/ngx-components 1.12.10 → 1.12.13
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/bundles/sumaris-net.ngx-components.umd.js +63 -9
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/pipes/form.pipes.js +28 -4
- package/esm2015/src/app/shared/pipes/pipes.module.js +11 -5
- package/esm2015/src/app/shared/pipes/string.pipes.js +13 -1
- package/fesm2015/sumaris-net.ngx-components.js +48 -6
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/pipes/form.pipes.d.ts +9 -3
- package/src/app/shared/pipes/string.pipes.d.ts +3 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
2
|
-
import { AbstractControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { FormErrorTranslator, FormErrorTranslatorOptions } from '../validator/form-error-adapter.class';
|
|
4
4
|
export declare class FormErrorTranslatePipe implements PipeTransform, OnDestroy {
|
|
5
5
|
private adapter;
|
|
@@ -17,6 +17,12 @@ export declare class FormErrorTranslatePipe implements PipeTransform, OnDestroy
|
|
|
17
17
|
*/
|
|
18
18
|
private _dispose;
|
|
19
19
|
}
|
|
20
|
-
export declare class
|
|
21
|
-
transform(form: AbstractControl, path: Array<string | number> | string):
|
|
20
|
+
export declare class FormGetPipe implements PipeTransform {
|
|
21
|
+
transform(form: AbstractControl, path: Array<string | number> | string): AbstractControl;
|
|
22
|
+
}
|
|
23
|
+
export declare class FormGetControlPipe implements PipeTransform {
|
|
24
|
+
transform(form: AbstractControl, path: Array<string | number> | string): FormControl;
|
|
25
|
+
}
|
|
26
|
+
export declare class FormGetArrayPipe implements PipeTransform {
|
|
27
|
+
transform(form: AbstractControl, path: Array<string | number> | string): FormArray;
|
|
22
28
|
}
|
|
@@ -11,3 +11,6 @@ export declare class ToStringPipe implements PipeTransform {
|
|
|
11
11
|
export declare class StrLengthPipe implements PipeTransform {
|
|
12
12
|
transform(value: string): number;
|
|
13
13
|
}
|
|
14
|
+
export declare class StrIncludesPipe implements PipeTransform {
|
|
15
|
+
transform(value: string, searchString: string, position?: number): boolean;
|
|
16
|
+
}
|