@sumaris-net/ngx-components 18.8.16 → 18.8.18
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/doc/changelog.md +7 -0
- package/esm2022/src/app/shared/file/file.utils.mjs +3 -1
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +9 -7
- package/fesm2022/sumaris-net.ngx-components.mjs +10 -6
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/pipes/maps.pipe.d.ts +3 -2
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -3,19 +3,20 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class MapGetPipe implements PipeTransform {
|
|
4
4
|
transform<T = any, R = any>(val: T, args: keyof T | string | number | {
|
|
5
5
|
key: keyof T | string | number;
|
|
6
|
+
defaultValue?: any;
|
|
6
7
|
}): R;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapGetPipe, never>;
|
|
8
9
|
static ɵpipe: i0.ɵɵPipeDeclaration<MapGetPipe, "mapGet", false>;
|
|
9
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapGetPipe>;
|
|
10
11
|
}
|
|
11
12
|
export declare class MapKeysPipe implements PipeTransform {
|
|
12
|
-
transform(map: any): any[];
|
|
13
|
+
transform(map: any, defaultValue?: any[]): any[];
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapKeysPipe, never>;
|
|
14
15
|
static ɵpipe: i0.ɵɵPipeDeclaration<MapKeysPipe, "mapKeys", false>;
|
|
15
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapKeysPipe>;
|
|
16
17
|
}
|
|
17
18
|
export declare class MapValuesPipe implements PipeTransform {
|
|
18
|
-
transform<K = any, V = any>(map: any | Map<K, V
|
|
19
|
+
transform<K = any, V = any>(map: any | Map<K, V>, defaultValue?: V[]): V[];
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapValuesPipe, never>;
|
|
20
21
|
static ɵpipe: i0.ɵɵPipeDeclaration<MapValuesPipe, "mapValues", false>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapValuesPipe>;
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "18.8.
|
|
5
|
+
"version": "18.8.18",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|