@sumaris-net/ngx-components 0.12.0 → 0.13.2

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": "0.12.0",
4
+ "version": "0.13.2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Params, Router } from '@angular/router';
3
3
  import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
4
4
  import { AlertController, IonContent, ToastController } from '@ionic/angular';
@@ -29,7 +29,7 @@ export declare class AppTabEditorOptions {
29
29
  */
30
30
  enableSwipe?: boolean;
31
31
  }
32
- export declare abstract class AppTabEditor<T = any, ID = number, O = any> implements IAppEditor, OnInit, OnDestroy {
32
+ export declare abstract class AppTabEditor<T = any, ID = number, O = any> implements IAppEditor, OnInit, OnDestroy, AfterViewInit {
33
33
  protected route: ActivatedRoute;
34
34
  protected router: Router;
35
35
  protected alertCtrl: AlertController;
@@ -73,6 +73,7 @@ export declare abstract class AppTabEditor<T = any, ID = number, O = any> implem
73
73
  abstract get isNewData(): boolean;
74
74
  protected constructor(route: ActivatedRoute, router: Router, alertCtrl: AlertController, translate: TranslateService, options?: AppTabEditorOptions);
75
75
  ngOnInit(): void;
76
+ ngAfterViewInit(): void;
76
77
  ngOnDestroy(): void;
77
78
  abstract load(id?: ID, options?: O): Promise<void>;
78
79
  abstract save(event?: Event, options?: any): Promise<boolean>;
@@ -59,6 +59,7 @@ export declare class GraphqlService {
59
59
  get started(): boolean;
60
60
  get client(): ApolloClient<any>;
61
61
  get cache(): ApolloCache<any>;
62
+ get defaultFetchPolicy(): WatchQueryFetchPolicy;
62
63
  constructor(platform: Platform, apollo: Apollo, httpLink: HttpLink, network: NetworkService, storage: Storage, cryptoService: CryptoService, environment: any, typePolicies: TypePolicies);
63
64
  ready(): Promise<void>;
64
65
  start(): Promise<void>;