@sumaris-net/ngx-components 18.21.3 → 18.21.5

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": "18.21.3",
4
+ "version": "18.21.5",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -28,7 +28,7 @@ export interface IAppForm<T = any> {
28
28
  loading?: boolean;
29
29
  loaded?: boolean;
30
30
  destroyed?: boolean;
31
- ready(): Promise<void>;
31
+ ready(opts?: WaitForOptions): Promise<void>;
32
32
  waitIdle(opts?: WaitForOptions): Promise<any>;
33
33
  setValue?: (data: T, opts?: {
34
34
  onlySelf?: boolean;
@@ -11,7 +11,13 @@ export declare abstract class GeolocationUtils {
11
11
  static isNilOrInvalid(position: IPosition, opts?: {
12
12
  debug?: boolean;
13
13
  }): boolean;
14
+ /**
15
+ * @deprecated Use computeDistanceInNauticalMiles instead
16
+ * @param position1
17
+ * @param position2
18
+ */
14
19
  static computeDistanceInMiles(position1: IPosition, position2: IPosition): number;
20
+ static computeDistanceInNauticalMiles(position1: IPosition, position2: IPosition): number;
15
21
  /**
16
22
  * Get the position by geo loc sensor
17
23
  */
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
17
17
  }
18
18
  export declare function isInputElement(object: any): object is InputElement;
19
19
  export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
20
- export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
20
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
21
21
  export interface CanGainFocusOptions {
22
22
  minTabindex?: number;
23
23
  maxTabindex?: number;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "18.21.3",
5
+ "version": "18.21.5",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{