@opengeoweb/sigmet-airmet 8.0.0 → 8.2.0
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/README.md +0 -0
- package/index.esm.d.ts +0 -0
- package/index.esm.js +42 -14
- package/package.json +12 -12
- package/src/index.d.ts +0 -0
- package/src/lib/AirmetDemo.stories.d.ts +0 -0
- package/src/lib/SigmetDemo.stories.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/AirmetComponentsLookUp.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/AirmetComponentsLookUp.spec.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/AviationProductApiWrapper.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/AviationProductApiWrapper.spec.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/SigmetComponentsLookUp.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/SigmetComponentsLookUp.spec.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/index.d.ts +0 -0
- package/src/lib/components/ContentDialog/ContentDialog.d.ts +0 -0
- package/src/lib/components/ContentDialog/ContentDialog.spec.d.ts +0 -0
- package/src/lib/components/ContentDialog/ContentDialog.stories.d.ts +0 -0
- package/src/lib/components/ContentDialog/index.d.ts +0 -0
- package/src/lib/components/MapViewGeoJson/MapViewGeoJson.d.ts +0 -0
- package/src/lib/components/MapViewGeoJson/MapViewGeoJson.spec.d.ts +0 -0
- package/src/lib/components/MapViewGeoJson/MapViewGeoJson.stories.d.ts +0 -0
- package/src/lib/components/MapViewGeoJson/constants.d.ts +0 -0
- package/src/lib/components/MapViewGeoJson/index.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/DownloadSigmetAirmetConfigWrapper.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/DownloadSigmetAirmetConfigWrapper.spec.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/MetInfoWrapper.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/MetInfoWrapper.spec.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/MetInfoWrapper.stories.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/MetInfoWrapper.tac.spec.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/index.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/utils.d.ts +0 -0
- package/src/lib/components/MetInfoWrapper/utils.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/AirmetForm/AirmetForm.d.ts +0 -0
- package/src/lib/components/ProductForms/AirmetForm/AirmetForm.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/AirmetForm/AirmetForm.stories.d.ts +0 -0
- package/src/lib/components/ProductForms/AirmetForm/AirmetForm.validations.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductForm.styles.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialog.Airmet.stories.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialog.Draw.stories.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialog.Sigmet.stories.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialog.actions.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialog.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialog.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialogContent.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormDialogContent.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Change.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Change.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/CloudLevels.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/CloudLevels.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/DrawTools.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/DrawTools.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/IssuedAt.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/IssuedAt.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Levels.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Levels.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ObservationForecast.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ObservationForecast.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ObservationForecastTime.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ObservationForecastTime.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Phenomenon.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Phenomenon.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ProductFormFieldLayout.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ProductFormFieldLayout.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Progress.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Progress.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/RadioButtonAndLabel.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/RadioButtonAndLabel.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/SelectFIR.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/SelectFIR.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/StartGeometry.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/StartGeometry.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/SurfaceVisibility.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/SurfaceVisibility.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/SurfaceWind.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/SurfaceWind.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Tac.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Tac.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Type.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/Type.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ValidFrom.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ValidFrom.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ValidUntil.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/ValidUntil.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/VolcanicFields.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/VolcanicFields.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormFields/index.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormLayout.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormLayout.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/ProductFormTac.d.ts +4 -2
- package/src/lib/components/ProductForms/ProductFormTac.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/SigmetForm/SigmetCancelVolcanicMovements.d.ts +0 -0
- package/src/lib/components/ProductForms/SigmetForm/SigmetForm.d.ts +0 -0
- package/src/lib/components/ProductForms/SigmetForm/SigmetForm.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/SigmetForm/SigmetForm.stories.d.ts +0 -0
- package/src/lib/components/ProductForms/SigmetForm/SigmetForm.validations.spec.d.ts +0 -0
- package/src/lib/components/ProductForms/index.d.ts +0 -0
- package/src/lib/components/ProductForms/utils.d.ts +1 -0
- package/src/lib/components/ProductForms/utils.spec.d.ts +0 -0
- package/src/lib/components/ProductList/ProductList.d.ts +0 -0
- package/src/lib/components/ProductList/ProductList.spec.d.ts +0 -0
- package/src/lib/components/ProductList/ProductList.stories.d.ts +0 -0
- package/src/lib/components/ProductList/ProductListRow.d.ts +0 -0
- package/src/lib/components/ProductList/ProductListRow.spec.d.ts +0 -0
- package/src/lib/components/ProductList/index.d.ts +0 -0
- package/src/lib/storyshots/Storyshots.spec.d.ts +0 -0
- package/src/lib/types.d.ts +2 -1
- package/src/lib/utils/api.d.ts +0 -0
- package/src/lib/utils/api.spec.d.ts +0 -0
- package/src/lib/utils/config/config.d.ts +0 -0
- package/src/lib/utils/config/config.spec.d.ts +0 -0
- package/src/lib/utils/config/index.d.ts +0 -0
- package/src/lib/utils/fakeApi.d.ts +0 -0
- package/src/lib/utils/fakeApi.spec.d.ts +0 -0
- package/src/lib/utils/mockdata/fakeAirmetList.d.ts +0 -0
- package/src/lib/utils/mockdata/fakeSigmetList.d.ts +0 -0
- package/src/lib/utils/store.d.ts +0 -0
- package/src/lib/utils/testUtils.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/sigmet-airmet",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
"main": "./index.esm.js",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@mui/material": "5.12.0",
|
|
15
|
-
"@mui/system": "5.14.
|
|
16
|
-
"@opengeoweb/api": "8.
|
|
17
|
-
"@opengeoweb/authentication": "8.
|
|
18
|
-
"@opengeoweb/core": "8.
|
|
19
|
-
"@opengeoweb/form-fields": "8.
|
|
20
|
-
"@opengeoweb/shared": "8.
|
|
21
|
-
"@opengeoweb/store": "8.
|
|
22
|
-
"@opengeoweb/theme": "8.
|
|
23
|
-
"@opengeoweb/webmap": "8.
|
|
24
|
-
"@opengeoweb/webmap-react": "8.
|
|
15
|
+
"@mui/system": "5.14.10",
|
|
16
|
+
"@opengeoweb/api": "8.2.0",
|
|
17
|
+
"@opengeoweb/authentication": "8.2.0",
|
|
18
|
+
"@opengeoweb/core": "8.2.0",
|
|
19
|
+
"@opengeoweb/form-fields": "8.2.0",
|
|
20
|
+
"@opengeoweb/shared": "8.2.0",
|
|
21
|
+
"@opengeoweb/store": "8.2.0",
|
|
22
|
+
"@opengeoweb/theme": "8.2.0",
|
|
23
|
+
"@opengeoweb/webmap": "8.2.0",
|
|
24
|
+
"@opengeoweb/webmap-react": "8.2.0",
|
|
25
25
|
"@redux-eggs/redux-toolkit": "2.2.0",
|
|
26
26
|
"@redux-eggs/saga-extension": "2.2.0",
|
|
27
27
|
"@reduxjs/toolkit": "1.9.5",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"lodash": "4.17.21",
|
|
32
32
|
"moment": "2.29.4",
|
|
33
33
|
"react": "18.2.0",
|
|
34
|
-
"react-hook-form": "7.46.
|
|
34
|
+
"react-hook-form": "7.46.2",
|
|
35
35
|
"react-redux": "8.1.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {}
|
package/src/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,10 +3,12 @@ import { CancelSigmet, Sigmet, Airmet, CancelAirmet } from '../../types';
|
|
|
3
3
|
type AviationProduct = Sigmet | CancelSigmet | Airmet | CancelAirmet;
|
|
4
4
|
export declare const noTAC = "Missing data: no TAC can be generated";
|
|
5
5
|
export declare const isLevelFieldsComplete: (product: Sigmet | Airmet) => boolean;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const isChangeComplete: (product: Sigmet | Airmet, omitChange?: boolean) => boolean;
|
|
7
|
+
export declare const isSurfaceVisComplete: (product: Sigmet | Airmet) => boolean;
|
|
8
|
+
export declare const shouldRetrieveTAC: (product: AviationProduct, omitChange?: boolean) => boolean;
|
|
7
9
|
export declare const useTAC: (initialProduct: AviationProduct, getTAC: (product: AviationProduct) => Promise<{
|
|
8
10
|
data: string;
|
|
9
|
-
}>, hasErrors?: () => boolean) => [string, any];
|
|
11
|
+
}>, hasErrors?: () => boolean, omitChange?: boolean) => [string, any];
|
|
10
12
|
interface ProductFormTACProps {
|
|
11
13
|
tac: string;
|
|
12
14
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -9,6 +9,7 @@ export declare const getHoursBeforeValidity: (phenomenon: string, fir: string, c
|
|
|
9
9
|
export declare const getMaxHoursOfValidity: (phenomenon: string, fir: string, config: ProductConfig) => number;
|
|
10
10
|
export declare const getValidFromDelayTimeMinutesFromConfig: (config: ProductConfig) => number;
|
|
11
11
|
export declare const getDefaultValidityMinutesFromConfig: (config: ProductConfig) => number;
|
|
12
|
+
export declare const getOmitChangeFromConfig: (config: ProductConfig) => boolean;
|
|
12
13
|
export declare const getFirArea: (selectedFIR: string, productConfig: ProductConfig) => string;
|
|
13
14
|
export declare const getActiveFIRArea: (selectedFIR: string, productConfig: ProductConfig) => FIRConfigSigmet | FIRConfigAirmet;
|
|
14
15
|
export declare const DEFAULT_MINIMUM_SURFACE_LEVEL = 0;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/lib/types.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ export interface Sigmet extends BaseProduct {
|
|
|
214
214
|
* WKN: Weakening
|
|
215
215
|
* NC: No change
|
|
216
216
|
*/
|
|
217
|
-
change
|
|
217
|
+
change?: Change;
|
|
218
218
|
levelInfoMode: LevelInfoMode;
|
|
219
219
|
level: LevelType;
|
|
220
220
|
lowerLevel?: LevelType;
|
|
@@ -391,6 +391,7 @@ export type ProductConfig = {
|
|
|
391
391
|
default_validity_minutes: number;
|
|
392
392
|
fir_areas: Firareas;
|
|
393
393
|
mapPreset?: mapTypes.MapPreset;
|
|
394
|
+
omit_change_va_and_rdoact_cloud?: boolean;
|
|
394
395
|
};
|
|
395
396
|
export interface SigmetConfig extends ProductConfig {
|
|
396
397
|
fir_areas: SigmetFIRArea;
|
package/src/lib/utils/api.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/lib/utils/store.d.ts
CHANGED
|
File without changes
|
|
File without changes
|