@sumaris-net/ngx-components 2.6.4-rc7 → 2.6.4-rc8

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-rc7",
4
+ "version": "2.6.4-rc8",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -5,9 +5,6 @@ import { Entity, EntityAsObjectOptions, IEntity } from '../../core/services/mode
5
5
  import { EntityFilter, IEntityFilter } from '../../core/services/model/filter.model';
6
6
  import { EntitiesServiceLoadOptions, EntitiesServiceWatchOptions, IEntitiesService, IEntityService, LoadResult, SuggestService } from '../services/entity-service.class';
7
7
  import { GraphqlService } from '../../core/graphql/graphql.service';
8
- import { AccountService } from '../../core/services/account.service';
9
- import { NetworkService } from '../../core/services/network.service';
10
- import { TranslateService } from '@ngx-translate/core';
11
8
  import { BaseEntityGraphqlMutations, BaseEntityGraphqlQueries, BaseEntityService, BaseEntityServiceOptions } from '../../core/services/base-entity-service.class';
12
9
  import { PlatformService } from '../../core/services/platform.service';
13
10
  import { StoreObject } from '@apollo/client/core';
@@ -54,19 +51,16 @@ export interface INamedFilterService<T extends INamedFilter<T>, F extends Entity
54
51
  defaultFilter(): F;
55
52
  suggestFilter(searchText: string, filter?: Partial<F>): F;
56
53
  }
57
- interface INamedFilterQueries extends BaseEntityGraphqlQueries {
54
+ export interface INamedFilterQueries extends BaseEntityGraphqlQueries {
58
55
  loadAllWithContent: any;
59
56
  }
60
57
  export declare abstract class AbstractNamedFilterService<T extends NamedFilter<T>, F extends NamedFilterFilter<F, T>, WO extends INamedFilterServiceWatchOptions = INamedFilterServiceWatchOptions, LO extends INamedFilterServiceLoadOptions = INamedFilterServiceLoadOptions, Q extends INamedFilterQueries = INamedFilterQueries, M extends BaseEntityGraphqlMutations = BaseEntityGraphqlMutations> extends BaseEntityService<T, F, number, WO, LO, Q, M> implements INamedFilterService<T, F> {
61
58
  protected graphql: GraphqlService;
62
59
  protected platform: PlatformService;
63
- protected accountService: AccountService;
64
60
  protected dataType: new () => T;
65
61
  protected filterType: new () => F;
66
- protected network: NetworkService;
67
- protected translate: TranslateService;
68
62
  protected options: BaseEntityServiceOptions<T, number, Q, M>;
69
- protected constructor(graphql: GraphqlService, platform: PlatformService, accountService: AccountService, dataType: new () => T, filterType: new () => F, network: NetworkService, translate: TranslateService, options: BaseEntityServiceOptions<T, number, Q, M>);
63
+ protected constructor(graphql: GraphqlService, platform: PlatformService, dataType: new () => T, filterType: new () => F, options: BaseEntityServiceOptions<T, number, Q, M>);
70
64
  abstract defaultFilter(): F;
71
65
  watchAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: F, options?: WO): Observable<LoadResult<T>>;
72
66
  loadAll(offset: number, size: number, sortBy?: string, sortDirection?: SortDirection, filter?: Partial<F>, options?: LO & {
@@ -77,4 +71,3 @@ export declare abstract class AbstractNamedFilterService<T extends NamedFilter<T
77
71
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNamedFilterService<any, any, any, any, any, any>, never>;
78
72
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractNamedFilterService<any, any, any, any, any, any>, never, never, {}, {}, never, never, false>;
79
73
  }
80
- export {};