@sumaris-net/ngx-components 2.6.4-alpha4 → 2.6.4-alpha6

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": "2.6.4-alpha4",
4
+ "version": "2.6.4-alpha6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,12 +1,10 @@
1
1
  import { Entity, EntityAsObjectOptions, IEntity } from './entity.model';
2
2
  import { FilterFn } from '../../../shared/services/entity-service.class';
3
- import { Person } from './person.model';
4
- import { Department } from './department.model';
5
3
  export interface IEntityFilter<F extends IEntityFilter<F, T, ID, AO, FO>, T extends IEntity<T, any>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> extends IEntity<F, ID, AO, FO> {
6
4
  filterName: string;
7
5
  filterType: string;
8
- filterRecorderPerson: Person;
9
- filterRecorderDepartment: Department;
6
+ filterRecorderPersonId: number;
7
+ filterRecorderDepartmentId: number;
10
8
  asPodObject(): any;
11
9
  asFilterFn(): FilterFn<T>;
12
10
  isEmpty(): boolean;
@@ -15,8 +13,8 @@ export interface IEntityFilter<F extends IEntityFilter<F, T, ID, AO, FO>, T exte
15
13
  export declare abstract class EntityFilter<F extends EntityFilter<F, T, ID, AO, FO>, T extends IEntity<T, any>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> extends Entity<F, ID, AO, FO> implements IEntityFilter<F, T, ID, AO, FO> {
16
14
  filterName: string;
17
15
  filterType: string;
18
- filterRecorderPerson: Person;
19
- filterRecorderDepartment: Department;
16
+ filterRecorderPersonId: number;
17
+ filterRecorderDepartmentId: number;
20
18
  /**
21
19
  * Compose some filter functions: all should return true
22
20
  * @param filterFns