@sumaris-net/ngx-components 18.12.8 → 18.12.10

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.12.8",
4
+ "version": "18.12.10",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,7 +1,7 @@
1
1
  import { IEntity } from './entity.model';
2
2
  import { EntityFilter } from './filter.model';
3
3
  import { FilterFn } from '../../../shared/types';
4
- export declare interface ITreeItemEntity<T extends IEntity<T, ID>, ID = number> extends IEntity<T, ID> {
4
+ export declare interface ITreeItemEntity<T extends IEntity<T, ID>, ID = number> {
5
5
  parentId: ID;
6
6
  parent: T;
7
7
  children: T[];
@@ -57,5 +57,5 @@ export declare class TreeItemEntityUtils {
57
57
  * @param {new () => T} [dataType] - An optional class constructor used to shape the objects within the tree.
58
58
  * @return {T[] | undefined} An array of root elements representing the tree structure, or undefined if the input is empty.
59
59
  */
60
- static fromObjectArrayAsTrees<T extends ITreeItemEntity<any>>(sources: T[], dataType?: new () => T): T[];
60
+ static fromObjectArrayAsTrees<T extends ITreeItemEntity<T> & IEntity<T>>(sources: T[], dataType?: new () => T): T[];
61
61
  }
@@ -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.12.8",
5
+ "version": "18.12.10",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{