@sumaris-net/ngx-components 1.22.6 → 1.22.7

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.22.6",
4
+ "version": "1.22.7",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -6,9 +6,6 @@ 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';
9
- import { ShowToastOptions } from '../../shared/toast/toasts';
10
- import { OverlayEventDetail } from '@ionic/core';
11
- import { ToastController } from '@ionic/angular';
12
9
  import { TranslateService } from '@ngx-translate/core';
13
10
  import { NetworkService } from '../../core/services/network.service';
14
11
  import { BaseGraphqlService, BaseGraphqlServiceOptions } from '../../core/services/base-graphql-service.class';
@@ -121,18 +118,9 @@ export declare class UserEventService extends AbstractUserEventService<UserEvent
121
118
  protected accountService: AccountService;
122
119
  protected network: NetworkService;
123
120
  protected translate: TranslateService;
124
- protected toastController: ToastController;
125
121
  protected environment: Environment;
126
- constructor(graphql: GraphqlService, accountService: AccountService, network: NetworkService, translate: TranslateService, toastController: ToastController, environment: Environment);
127
- showToastErrorWithContext(opts: {
128
- error?: any;
129
- message?: string;
130
- context: any | (() => any) | Promise<any>;
131
- }): Promise<void>;
132
- sendDataForDebug(data: any): Promise<UserEvent>;
122
+ constructor(graphql: GraphqlService, accountService: AccountService, network: NetworkService, translate: TranslateService, environment: Environment);
133
123
  asFilter(filter: Partial<UserEventFilter>): UserEventFilter;
134
124
  fromObject(source: any): UserEvent;
135
- protected convertObjectToString(data: any): string;
136
- protected showToast<T = any>(opts: ShowToastOptions): Promise<OverlayEventDetail<T>>;
137
125
  protected fillDefaultProperties(entity: UserEvent): void;
138
126
  }