@sumaris-net/ngx-components 1.21.0-beta20 → 1.21.0-beta21

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": "1.21.0-beta20",
4
+ "version": "1.21.0-beta21",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -2,7 +2,7 @@ import { InjectionToken, OnDestroy } from '@angular/core';
2
2
  import { FetchPolicy } from '@apollo/client/core';
3
3
  import { AccountService } from '../../core/services/account.service';
4
4
  import { GraphqlService } from '../../core/graphql/graphql.service';
5
- import { BehaviorSubject, Observable, Subscription } from 'rxjs';
5
+ import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { IUserEvent, IUserEventFilter, UserEvent, UserEventFilter } from './user-event.model';
7
7
  import { SortDirection } from '@angular/material/sort';
8
8
  import { EntitiesServiceWatchOptions, EntityServiceLoadOptions, IEntitiesService, LoadResult, Page } from '../../shared/services/entity-service.class';
@@ -13,6 +13,7 @@ import { TranslateService } from '@ngx-translate/core';
13
13
  import { NetworkService } from '../../core/services/network.service';
14
14
  import { BaseGraphqlService } from '../../core/services/base-graphql-service.class';
15
15
  import { Environment } from '../../../environments/environment.class';
16
+ import { Moment } from 'moment';
16
17
  export declare const UserEventServiceToken: InjectionToken<IUserEventService<any, any, UserEventWatchOptions>>;
17
18
  export declare interface UserEventWatchOptions extends EntitiesServiceWatchOptions {
18
19
  withContent?: boolean;
@@ -65,9 +66,10 @@ export declare abstract class AbstractUserEventService<E extends IUserEvent<E, a
65
66
  protected mutations: IUserEventMutations;
66
67
  protected subscriptions: IUserEventSubscriptions;
67
68
  protected environment: Environment;
68
- protected _count$: BehaviorSubject<number>;
69
- protected _subscriptions: Subscription;
69
+ protected count$: BehaviorSubject<number>;
70
+ protected resetCountDate: Moment;
70
71
  protected listeners: IUserEventListener<E>[];
72
+ private _subscriptions;
71
73
  private _listenSubscription;
72
74
  get userEventCount(): Observable<number>;
73
75
  protected constructor(graphql: GraphqlService, accountService: AccountService, network: NetworkService, translate: TranslateService, queries: IUserEventQueries, mutations: IUserEventMutations, subscriptions: IUserEventSubscriptions, environment: Environment);