@sumaris-net/ngx-components 2.4.27 → 2.4.28

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.4.27",
4
+ "version": "2.4.28",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -268,7 +268,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
268
268
  }): Promise<number>;
269
269
  selectRowById(id: number): Promise<boolean>;
270
270
  /**
271
- * Try to select row by data. Will use dataEquals() (that call EntityUtils.equals()) to find same row's data
271
+ * Try to select row by data. Will use equals() to find same row's data
272
272
  * @param data
273
273
  */
274
274
  selectRowByData(data: T): Promise<boolean>;
@@ -352,7 +352,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
352
352
  emitEvent?: boolean;
353
353
  }): void;
354
354
  /**
355
- * Compare data equality (default by id)
355
+ * Compare data equality (default by id, using EntityUtils.equals())
356
356
  * Can be overridden to add additional properties to compare
357
357
  *
358
358
  * @param d1
@@ -3,11 +3,12 @@ import { TranslateService } from '@ngx-translate/core';
3
3
  export declare class Alerts {
4
4
  /**
5
5
  * Ask the user to save before leaving. If return undefined: user has cancelled
6
+ * <p>
7
+ * from a routed page, prefer using ComponentDirtyGuard
6
8
  *
7
9
  * @param alertCtrl
8
10
  * @param translate
9
11
  * @param event
10
- * @deprecated prefer ComponentDirtyGuard
11
12
  */
12
13
  static askSaveBeforeLeave(alertCtrl: AlertController, translate: TranslateService, event?: Event): Promise<boolean | undefined>;
13
14
  /**
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
4
4
  export declare class TranslateContextService {
5
5
  protected translate: TranslateService;
6
6
  constructor(translate: TranslateService);
7
- get(key: string, context?: string, interpolateParams?: Object): Observable<any>;
8
- instant(key: string, context?: string, interpolateParams?: Object): any;
7
+ get(key: string | string[], context?: string, interpolateParams?: Object): Observable<any>;
8
+ instant(key: string | string[], context?: string, interpolateParams?: Object): any;
9
9
  /**
10
10
  * Compute contextual i18n keys, using the context as suffix.<br>
11
11
  * Suffix can be simple name (like 'aaa' - will return ['<key>.aaa']) or complexe (like 'aaa.bbb' - will return ['<key>.aaa.bbb', '<key>.aaa']