@sumaris-net/ngx-components 18.18.36 → 18.18.37
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 +6 -2
- package/esm2022/src/app/shared/rx-state/rx-state.decorators.mjs +18 -4
- package/fesm2022/sumaris-net.ngx-components.mjs +17 -4
- 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 +6 -0
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ProjectValueReducer } from '@rx-angular/state';
|
|
3
|
+
import { Input } from '@angular/core';
|
|
3
4
|
export declare function enableRxStateProdMode(): void;
|
|
4
5
|
export type ObservablePropertyDecorator<R> = <K extends PropertyKey>(target: any, propertyKey: K) => void;
|
|
5
6
|
export type StatePropertyDecorator<R> = <K extends PropertyKey>(target: any, propertyKey: K) => void;
|
|
@@ -11,6 +12,10 @@ export declare function RxStateRegister(): PropertyDecorator;
|
|
|
11
12
|
* Decorator for RxState properties with getter/setter access
|
|
12
13
|
*/
|
|
13
14
|
export declare function RxStateProperty<T extends Object, K extends keyof T, R extends T[K] = T[K]>(statePropertyName?: string | K, projectValueReducer?: ProjectValueReducer<T, K, R>): StatePropertyDecorator<R>;
|
|
15
|
+
/**
|
|
16
|
+
* Decorator for RxState input properties with getter/setter access
|
|
17
|
+
*/
|
|
18
|
+
export declare function RxStateInput<T extends Object, K extends keyof T, R extends T[K] = T[K]>(arg?: string | Input, statePropertyName?: string | K, projectValueReducer?: ProjectValueReducer<T, K, R>): StatePropertyDecorator<R>;
|
|
14
19
|
/**
|
|
15
20
|
* Decorator for RxState observable selectors
|
|
16
21
|
*/
|
|
@@ -28,5 +33,6 @@ export declare function RxStateComputed<T extends Object = any, K extends keyof
|
|
|
28
33
|
* Decorator for RxState observable as output
|
|
29
34
|
*/
|
|
30
35
|
export declare function RxStateOutput<T extends Object, K extends keyof T, R extends T[K] = T[K]>(statePropertyName?: string | K | '$', opts?: {
|
|
36
|
+
alias?: string;
|
|
31
37
|
stateName?: string;
|
|
32
38
|
}): ObservablePropertyDecorator<Observable<R>>;
|
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.37",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|