@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/doc/changelog.md +6 -1
- package/esm2022/src/app/core/services/model/referential.model.mjs +4 -1
- package/esm2022/src/app/shared/geolocation/geolocation.utils.mjs +9 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +11 -0
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/model/referential.model.d.ts +1 -0
- package/src/app/shared/geolocation/geolocation.utils.d.ts +6 -0
- package/src/assets/i18n/en-US.json +3 -2
- package/src/assets/i18n/en.json +3 -2
- package/src/assets/i18n/fr.json +3 -2
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
"
|
|
30
|
-
"
|
|
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",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
"BTN_DELETE_FOREVER": "Delete forever",
|
|
27
27
|
"BTN_EDIT": "Edit",
|
|
28
28
|
"BTN_EXPAND": "Expand",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
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",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
"BTN_DELETE_FOREVER": "Supprimer définitivement",
|
|
27
27
|
"BTN_EDIT": "Modifier",
|
|
28
28
|
"BTN_EXPAND": "Déplier",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
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",
|
package/src/assets/manifest.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "18.21.6",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|