@sumaris-net/ngx-components 18.18.31 → 18.18.32

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.18.31",
4
+ "version": "18.18.32",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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 Object, K extends keyof T, R extends T[K]>(statePropertyName?: string | K, projectValueReducer?: ProjectValueReducer<T, K, R>): StatePropertyDecorator<R>;
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 extends Object, K extends keyof T, R extends T[K]>(statePropertyName?: string | K | '$', opts?: {
17
+ export declare function RxStateSelect<T extends object, K extends keyof T, R extends T[K] = 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 extends Object, K extends keyof T, R extends T[K]>(dependencies: K[], computeFn?: (slice: Pick<T, K>) => R, opts?: {
23
+ export declare function RxStateComputed<T extends object, K extends keyof T, R extends T[K] = 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 extends Object, K extends keyof T, R extends T[K]>(statePropertyName?: string | K | '$', opts?: {
30
+ export declare function RxStateOutput<T extends object, K extends keyof T, R extends T[K] = T[K]>(statePropertyName?: string | K | '$', opts?: {
31
31
  stateName?: string;
32
32
  }): ObservablePropertyDecorator<Observable<R>>;
33
33
  export {};
@@ -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.31",
5
+ "version": "18.18.32",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{