@sumaris-net/ngx-components 2.7.5 → 2.7.6-rc1

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.7.5",
4
+ "version": "2.7.6-rc1",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -41,8 +41,10 @@ export declare class Alerts {
41
41
  * @param interpolateParams
42
42
  */
43
43
  static askDeleteConfirmation(alertCtrl: AlertController, translate: TranslateService, event?: Event, interpolateParams?: any): Promise<boolean | undefined>;
44
- static askSaveBeforeAction(alertCtrl: AlertController, translate: TranslateService, event?: {
45
- valid: boolean;
44
+ static askSaveBeforeAction(alertCtrl: AlertController, translate: TranslateService, opts?: {
45
+ valid?: boolean;
46
+ validMessageI18n?: string;
47
+ invalidMessageI18n?: string;
46
48
  }, interpolateParams?: any): Promise<{
47
49
  confirmed: boolean;
48
50
  save: boolean;