@sumaris-net/ngx-components 18.21.4 → 18.21.6

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.4",
4
+ "version": "18.21.6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -51,6 +51,7 @@ export declare class ReferentialUtils {
51
51
  static isEmpty<T extends IReferentialRef<T>>(obj: T | any): boolean;
52
52
  static equals<T extends IReferentialRef<T>>(o1: T | any, o2: T | any): boolean;
53
53
  static isNotDisabled<T extends IReferentialRef<T>>(obj: T | any): boolean;
54
+ static isDisabled<T extends IReferentialRef<T>>(obj: T | any): boolean;
54
55
  }
55
56
  export interface ReferentialAsObjectOptions extends EntityAsObjectOptions {
56
57
  keepEntityName?: 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
  */
@@ -26,8 +26,9 @@
26
26
  "BTN_DELETE_FOREVER": "Delete forever",
27
27
  "BTN_EDIT": "Edit",
28
28
  "BTN_EXPAND": "Expand",
29
- "BTN_FREEZE_VALUE": "Freeze",
30
- "BTN_FREEZE_VALUE_HELP": "Freeze the value",
29
+ "BTN_FREEZE": "Freeze",
30
+ "BTN_FREEZE_VALUE": "Freeze the value",
31
+ "BTN_UNFREEZE_VALUE": "Unfreeze the value",
31
32
  "BTN_YES_DELETE": "Oui, delete",
32
33
  "BTN_YES_CONTINUE": "Oui, continue",
33
34
  "BTN_VALIDATE": "Validate",
@@ -26,8 +26,9 @@
26
26
  "BTN_DELETE_FOREVER": "Delete forever",
27
27
  "BTN_EDIT": "Edit",
28
28
  "BTN_EXPAND": "Expand",
29
- "BTN_FREEZE_VALUE": "Freeze",
30
- "BTN_FREEZE_VALUE_HELP": "Freeze the value",
29
+ "BTN_FREEZE": "Freeze",
30
+ "BTN_FREEZE_VALUE": "Freeze the value",
31
+ "BTN_UNFREEZE_VALUE": "Unfreeze the value",
31
32
  "BTN_YES_DELETE": "Oui, delete",
32
33
  "BTN_YES_CONTINUE": "Oui, continue",
33
34
  "BTN_VALIDATE": "Validate",
@@ -26,8 +26,9 @@
26
26
  "BTN_DELETE_FOREVER": "Supprimer définitivement",
27
27
  "BTN_EDIT": "Modifier",
28
28
  "BTN_EXPAND": "Déplier",
29
- "BTN_FREEZE_VALUE": "Figer",
30
- "BTN_FREEZE_VALUE_HELP": "Figer la valeur",
29
+ "BTN_FREEZE": "Figer",
30
+ "BTN_FREEZE_VALUE": "Figer la valeur",
31
+ "BTN_UNFREEZE_VALUE": "Défiger la valeur",
31
32
  "BTN_YES_DELETE": "Oui, supprimer",
32
33
  "BTN_YES_CONTINUE": "Oui, continuer",
33
34
  "BTN_VALIDATE": "Valider",
@@ -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.4",
5
+ "version": "18.21.6",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{