@sumaris-net/ngx-components 1.20.8 → 1.20.9

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.20.8",
4
+ "version": "1.20.9",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -12,6 +12,7 @@ export declare const StatusById: Readonly<import("../../../shared/types").KeyVal
12
12
  export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
13
13
  label: string;
14
14
  name: string;
15
+ description?: string;
15
16
  levelId?: number;
16
17
  statusId: number;
17
18
  entityName: string;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, Injector } from '@angular/core';
1
+ import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
2
2
  import { ModalController } from '@ionic/angular';
3
3
  import { PlatformService } from '../../core/services/platform.service';
4
4
  import { LocalSettingsService } from '../../core/services/local-settings.service';
@@ -9,7 +9,7 @@ export interface AppHelpModalOptions {
9
9
  docUrl?: string;
10
10
  showError?: boolean;
11
11
  }
12
- export declare class AppHelpModal implements AppHelpModalOptions {
12
+ export declare class AppHelpModal implements AppHelpModalOptions, OnInit {
13
13
  protected injector: Injector;
14
14
  protected viewCtrl: ModalController;
15
15
  protected platform: PlatformService;
@@ -24,7 +24,8 @@ export declare class AppHelpModal implements AppHelpModalOptions {
24
24
  docUrl: string;
25
25
  showError: boolean;
26
26
  constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, cd: ChangeDetectorRef);
27
- close(event?: UIEvent): Promise<void>;
27
+ ngOnInit(): void;
28
+ close(event?: UIEvent): Promise<boolean>;
28
29
  markAsLoaded(): void;
29
30
  onLoadError(error?: string): void;
30
31
  }