@sumaris-net/ngx-components 18.18.28 → 18.18.30
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/esm2022/src/app/shared/rx-state/rx-state.decorators.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs +1 -1
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/rx-state/rx-state.decorators.d.ts +4 -4
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -10,24 +10,24 @@ export declare function RxStateRegister(): PropertyDecorator;
|
|
|
10
10
|
/**
|
|
11
11
|
* Decorator for RxState properties with getter/setter access
|
|
12
12
|
*/
|
|
13
|
-
export declare function RxStateProperty<T extends
|
|
13
|
+
export declare function RxStateProperty<T extends Object, K extends keyof T, R extends T[K]>(statePropertyName?: string | K, projectValueReducer?: ProjectValueReducer<T, K, R>): StatePropertyDecorator<R>;
|
|
14
14
|
/**
|
|
15
15
|
* Decorator for RxState observable selectors
|
|
16
16
|
*/
|
|
17
|
-
export declare function RxStateSelect<T
|
|
17
|
+
export declare function RxStateSelect<T extends Object, K extends keyof T, R extends T[K]>(statePropertyName?: string | K | '$', opts?: {
|
|
18
18
|
stateName?: string;
|
|
19
19
|
}): ObservablePropertyDecorator<Observable<R>>;
|
|
20
20
|
/**
|
|
21
21
|
* Utility decorator to create computed observables from state
|
|
22
22
|
*/
|
|
23
|
-
export declare function RxStateComputed<T
|
|
23
|
+
export declare function RxStateComputed<T extends Object, K extends keyof T, R extends T[K]>(dependencies: K[], computeFn?: (slice: Pick<T, K>) => R, opts?: {
|
|
24
24
|
stateName?: string;
|
|
25
25
|
keyCompareMap?: any;
|
|
26
26
|
}): ObservablePropertyDecorator<Observable<R>>;
|
|
27
27
|
/**
|
|
28
28
|
* Decorator for RxState observable as output
|
|
29
29
|
*/
|
|
30
|
-
export declare function RxStateOutput<T,
|
|
30
|
+
export declare function RxStateOutput<T extends Object, K extends keyof T, R extends T[K]>(statePropertyName?: string | K | '$', opts?: {
|
|
31
31
|
stateName?: string;
|
|
32
32
|
}): ObservablePropertyDecorator<Observable<R>>;
|
|
33
33
|
export {};
|
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.18.
|
|
5
|
+
"version": "18.18.30",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|