@sumaris-net/ngx-components 2.8.0-rc4 → 2.8.0
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 +9 -1
- package/esm2022/src/app/core/table/table.pipes.mjs +9 -1
- package/esm2022/src/app/shared/pipes/maps.pipe.mjs +1 -1
- package/esm2022/src/app/shared/pipes/selection.pipes.mjs +8 -5
- package/fesm2022/sumaris-net.ngx-components.mjs +14 -3
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/table/table.pipes.d.ts +2 -0
- package/src/app/shared/pipes/maps.pipe.d.ts +4 -4
- package/src/app/shared/pipes/selection.pipes.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -11,6 +11,8 @@ export declare abstract class AbstractTableSelectionPipe<R, O, T extends AppTabl
|
|
|
11
11
|
transform(selectionOrTable: SelectionModel<any> | T, tableOrOpts?: T | O, opts?: O): R;
|
|
12
12
|
protected _subscribe(selection: SelectionModel<any>, table?: T, opts?: O): Subscription;
|
|
13
13
|
protected _dispose(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTableSelectionPipe<any, any, any>, never>;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbstractTableSelectionPipe<any, any, any>, "abstract-table-selection", false>;
|
|
14
16
|
}
|
|
15
17
|
export declare class IsAllSelectedPipe extends AbstractTableSelectionPipe<boolean, AppTableRowCountProperty> implements PipeTransform, OnDestroy {
|
|
16
18
|
constructor(_ref: ChangeDetectorRef);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MapGetPipe implements PipeTransform {
|
|
4
|
-
transform(val:
|
|
5
|
-
key: string | number;
|
|
6
|
-
}):
|
|
4
|
+
transform<T = any, R = any>(val: T, args: keyof T | string | number | {
|
|
5
|
+
key: keyof T | string | number;
|
|
6
|
+
}): R;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapGetPipe, never>;
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<MapGetPipe, "mapGet", false>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapGetPipe>;
|
|
@@ -15,7 +15,7 @@ export declare class MapKeysPipe implements PipeTransform {
|
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapKeysPipe>;
|
|
16
16
|
}
|
|
17
17
|
export declare class MapValuesPipe implements PipeTransform {
|
|
18
|
-
transform(map: any):
|
|
18
|
+
transform<K = any, V = any>(map: any | Map<K, V>): V[];
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapValuesPipe, never>;
|
|
20
20
|
static ɵpipe: i0.ɵɵPipeDeclaration<MapValuesPipe, "mapValues", false>;
|
|
21
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapValuesPipe>;
|
|
@@ -21,7 +21,7 @@ export declare abstract class AbstractSelectionModelPipe<T, R, O = void> impleme
|
|
|
21
21
|
protected abstract _transform(selection: SelectionModel<T>, value?: T, opts?: O): R;
|
|
22
22
|
protected _filterSelectionChange(selectionChange: SelectionChange<any>, value?: T, opts?: O): boolean;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelectionModelPipe<any, any, any>, never>;
|
|
24
|
-
static
|
|
24
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AbstractSelectionModelPipe<any, any, any>, "abstract-selection", false>;
|
|
25
25
|
}
|
|
26
26
|
export declare class IsSelectedPipe extends AbstractSelectionModelPipe<any, boolean> implements PipeTransform, OnDestroy {
|
|
27
27
|
constructor(_ref: ChangeDetectorRef);
|
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": "2.8.0
|
|
5
|
+
"version": "2.8.0",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|