@sumaris-net/ngx-components 18.18.4 → 18.18.6
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 -0
- package/esm2022/src/app/core/services/model/entity.model.mjs +1 -1
- package/esm2022/src/app/core/services/model/person.model.mjs +5 -4
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +2 -1
- package/esm2022/src/app/shared/rx-state/rx-state.types.mjs +1 -1
- package/esm2022/src/app/shared/types.mjs +1 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +5 -3
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/entity.model.d.ts +1 -1
- package/src/app/shared/rx-state/rx-state.types.d.ts +1 -0
- package/src/app/shared/types.d.ts +5 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ export interface IEntity<T, ID = number, AO extends EntityAsObjectOptions = Enti
|
|
|
24
24
|
asObject(opts?: AO): any;
|
|
25
25
|
fromObject(source: any, opts?: FO): void;
|
|
26
26
|
}
|
|
27
|
-
export declare type OmitFunctions<T
|
|
27
|
+
export declare type OmitFunctions<T> = {
|
|
28
28
|
[K in keyof T as T[K] extends Function ? never : K]: T[K];
|
|
29
29
|
};
|
|
30
30
|
export declare abstract class Entity<T extends Entity<T, ID, AO, FO>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> implements IEntity<T, ID, AO, FO> {
|
|
@@ -32,5 +32,9 @@ export declare interface IconRef {
|
|
|
32
32
|
}
|
|
33
33
|
export declare type FilterFn<T> = Predicate<T>;
|
|
34
34
|
export declare type FilterFnFactory<T, F> = (filter: F) => FilterFn<T>;
|
|
35
|
-
export declare type
|
|
35
|
+
export declare type SimpleFunction<P, R> = (value: P) => R;
|
|
36
36
|
export declare type BiFunction<P1, P2, R> = (v1: P1, v2: P2) => R;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Use SimpleFunction instead
|
|
39
|
+
*/
|
|
40
|
+
export declare type Function<P, R> = SimpleFunction<P, 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.6",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|