@sumaris-net/ngx-components 2.12.6 → 2.12.8

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.12.6",
4
+ "version": "2.12.8",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -29,7 +29,7 @@ export declare function nullIfNilOrBlank<T>(obj: T | null | undefined): T | null
29
29
  export declare function undefinedIfNull<T>(obj: T | null | undefined): T | undefined;
30
30
  export declare function trimEmptyToNull<T>(str: string | null | undefined): string | null;
31
31
  export declare function toBoolean(obj: boolean | null | undefined | string, defaultValue?: boolean): boolean;
32
- export declare function toNumber(obj: number | null | undefined, defaultValue?: number): number;
32
+ export declare function toNumber(obj: number | null | undefined | string, defaultValue?: number): number;
33
33
  export declare function toFloat(obj: string | null | undefined, defaultValue?: number): number | null;
34
34
  export declare function toInt(obj: string | null | undefined, defaultValue?: number): number | null;
35
35
  export declare function toNotNil<T = any>(obj: T, defaultValue?: T): any | null;
@@ -20,7 +20,7 @@ export declare class Hotkeys {
20
20
  private _document;
21
21
  private _defaults;
22
22
  constructor(eventManager: EventManager, dialog: MatDialog, modalController: ModalController, popoverController: PopoverController);
23
- addShortcut(options: Partial<Options>): Observable<Event>;
23
+ addShortcut(options: Partial<Options>): Observable<KeyboardEvent>;
24
24
  openHelpModal(): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<Hotkeys, never>;
26
26
  static ɵprov: i0.ɵɵInjectableDeclaration<Hotkeys>;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.12.6",
5
+ "version": "2.12.8",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{