@sumaris-net/ngx-components 1.9.2 → 1.9.3

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.9.2",
4
+ "version": "1.9.3",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,5 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { Subject } from 'rxjs';
2
+ import { Subject, Subscription } from 'rxjs';
3
3
  import { AddToPageHistoryOptions, LocalSettingsService } from '../services/local-settings.service';
4
4
  import { Entity } from '../services/model/entity.model';
5
5
  import { UsageMode } from '../services/model/settings.model';
@@ -51,7 +51,7 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
51
51
  protected errorTranslator: FormErrorTranslator;
52
52
  data: T;
53
53
  saving: boolean;
54
- hasRemoteListener: boolean;
54
+ listenRemoteSubscription: Subscription;
55
55
  defaultBackHref: string;
56
56
  historyIcon: {
57
57
  icon?: string;
@@ -94,6 +94,7 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
94
94
  [key: string]: any;
95
95
  }): Promise<void>;
96
96
  startListenRemoteChanges(): void;
97
+ stopListenRemoteChanges(): void;
97
98
  updateView(data: T | null, opts?: {
98
99
  emitEvent?: boolean;
99
100
  openTabIndex?: number;