@opengeoweb/sigmet-airmet 1.3.0 → 2.1.3
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/lib/components/ProductForms/AirmetForm/AirmetForm.d.ts +1 -0
- package/lib/components/ProductForms/AirmetForm/AirmetForm.stories.d.ts +16 -9
- package/lib/components/ProductForms/ProductFormDialog.Airmet.stories.d.ts +14 -0
- package/lib/components/ProductForms/{SigmetForm/SigmetFormDraw.stories.d.ts → ProductFormDialog.Draw.stories.d.ts} +0 -0
- package/lib/components/ProductForms/ProductFormDialog.Sigmet.stories.d.ts +14 -0
- package/lib/components/ProductForms/SigmetForm/SigmetForm.d.ts +3 -2
- package/lib/components/ProductForms/SigmetForm/SigmetForm.stories.d.ts +16 -9
- package/lib/components/ProductList/ProductList.stories.d.ts +10 -2
- package/lib/storyshots/Storyshots.spec.d.ts +1 -0
- package/lib/utils/KNMIlayers.d.ts +0 -2
- package/lib/utils/mockdata/fakeAirmetList.d.ts +1 -0
- package/lib/utils/mockdata/fakeSigmetList.d.ts +1 -0
- package/lib/utils/testUtils.d.ts +4 -0
- package/package.json +15 -15
- package/sigmet-airmet.esm.js +290 -277
- package/sigmet-airmet.umd.js +329 -315
|
@@ -3,12 +3,19 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const NewAirmet:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
6
|
+
export declare const NewAirmet: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const EditAirmet: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const ViewAirmet: {
|
|
15
|
+
(): React.ReactElement;
|
|
16
|
+
storyName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const CancelledAirmet: {
|
|
19
|
+
(): React.ReactElement;
|
|
20
|
+
storyName: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const NewAirmet: () => React.ReactElement;
|
|
7
|
+
export declare const ViewAirmet: () => React.ReactElement;
|
|
8
|
+
export declare const ViewAirmetSurfaceVisibility: () => React.ReactElement;
|
|
9
|
+
export declare const ViewAirmetSurfaceWind: () => React.ReactElement;
|
|
10
|
+
export declare const ViewBrokenCloud: () => React.ReactElement;
|
|
11
|
+
export declare const ViewOvercastCloud: () => React.ReactElement;
|
|
12
|
+
export declare const EditAirmet: () => React.ReactElement;
|
|
13
|
+
export declare const CancelAirmet: () => React.ReactElement;
|
|
14
|
+
export declare const BackendErrorMsgOnSaveOrPublish: () => React.ReactElement;
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const NewSigmet: () => React.ReactElement;
|
|
7
|
+
export declare const EditSigmet: () => React.ReactElement;
|
|
8
|
+
export declare const ViewSigmet: () => React.ReactElement;
|
|
9
|
+
export declare const ViewVolcanicSigmet: () => React.ReactElement;
|
|
10
|
+
export declare const ViewEmptyOptionalFieldsSigmet: () => React.ReactElement;
|
|
11
|
+
export declare const CancelledSigmet: () => React.ReactElement;
|
|
12
|
+
export declare const CancelSigmet: () => React.ReactElement;
|
|
13
|
+
export declare const CancelVolcanicSigmetNoMoveTo: () => React.ReactElement;
|
|
14
|
+
export declare const CancelVolcanicSigmetInclMoveTo: () => React.ReactElement;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CancelSigmet, Sigmet, FormMode } from '../../../types';
|
|
3
|
-
export interface
|
|
3
|
+
export interface SigmetFormProps {
|
|
4
4
|
mode: FormMode;
|
|
5
5
|
isCancelSigmet?: boolean;
|
|
6
6
|
initialSigmet?: Sigmet;
|
|
7
7
|
initialCancelSigmet?: CancelSigmet;
|
|
8
|
+
showMap?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const SigmetForm: React.FC<
|
|
10
|
+
declare const SigmetForm: React.FC<SigmetFormProps>;
|
|
10
11
|
export default SigmetForm;
|
|
@@ -3,12 +3,19 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const NewSigmet:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
6
|
+
export declare const NewSigmet: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const EditSigmet: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const ViewSigmet: {
|
|
15
|
+
(): React.ReactElement;
|
|
16
|
+
storyName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const CancelVASigmet: {
|
|
19
|
+
(): React.ReactElement;
|
|
20
|
+
storyName: string;
|
|
21
|
+
};
|
|
@@ -3,5 +3,13 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const SigmetListDemo: React.
|
|
7
|
-
export declare const
|
|
6
|
+
export declare const SigmetListDemo: () => React.ReactElement;
|
|
7
|
+
export declare const SigmetListDemoSnapshot: {
|
|
8
|
+
(): React.ReactElement;
|
|
9
|
+
storyName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const AirmetListDemo: () => React.ReactElement;
|
|
12
|
+
export declare const AirmetListDemoSnapshot: {
|
|
13
|
+
(): React.ReactElement;
|
|
14
|
+
storyName: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,7 +5,6 @@ export declare const northSeaPlatforms: {
|
|
|
5
5
|
format: string;
|
|
6
6
|
layerType: mapTypes.LayerType;
|
|
7
7
|
enabled: boolean;
|
|
8
|
-
id: string;
|
|
9
8
|
};
|
|
10
9
|
export declare const majorAirportsEHAA: {
|
|
11
10
|
service: string;
|
|
@@ -13,5 +12,4 @@ export declare const majorAirportsEHAA: {
|
|
|
13
12
|
format: string;
|
|
14
13
|
layerType: mapTypes.LayerType;
|
|
15
14
|
enabled: boolean;
|
|
16
|
-
id: string;
|
|
17
15
|
};
|
|
@@ -7,3 +7,4 @@ export declare const fakeCancelAirmet: CancelAirmet;
|
|
|
7
7
|
export declare const fakeNewAirmet: Airmet;
|
|
8
8
|
export declare const fakeDraftAirmetCloud: AirmetFromBackend;
|
|
9
9
|
export declare const airmetNoValidStartEnd: AirmetFromBackend;
|
|
10
|
+
export declare const fakeStaticAirmetList: AirmetFromBackend[];
|
|
@@ -7,3 +7,4 @@ export declare const fakeNewSigmet: Sigmet;
|
|
|
7
7
|
export declare const fakeSigmetMultiPolygon: SigmetFromBackend;
|
|
8
8
|
export declare const fakeVolcanicCancelSigmetNoMoveTo: SigmetFromBackend;
|
|
9
9
|
export declare const fakeVolcanicCancelSigmetWithMoveTo: SigmetFromBackend;
|
|
10
|
+
export declare const fakeStaticSigmetList: SigmetFromBackend[];
|
package/lib/utils/testUtils.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ interface TestWrapperProps extends StoryWrapperProps {
|
|
|
11
11
|
}
|
|
12
12
|
export declare const TestWrapper: React.FC<TestWrapperProps>;
|
|
13
13
|
export declare const StoryWrapperFakeApi: React.FC<StoryWrapperProps>;
|
|
14
|
+
interface SnapshotStoryWrapperProps {
|
|
15
|
+
children: React.ReactElement;
|
|
16
|
+
}
|
|
17
|
+
export declare const SnapshotStoryWrapper: React.FC<SnapshotStoryWrapperProps>;
|
|
14
18
|
export declare const fakeBackendError: AxiosError;
|
|
15
19
|
export declare const fakeBackendNestedError: AxiosError<{
|
|
16
20
|
message: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/sigmet-airmet",
|
|
3
|
-
"version": "1.3
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,36 +13,36 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"react": "16.14.0",
|
|
15
15
|
"@material-ui/core": "^4.11.0",
|
|
16
|
-
"
|
|
16
|
+
"react-redux": "7.2.2",
|
|
17
|
+
"@opengeoweb/shared": "2.1.3",
|
|
17
18
|
"@material-ui/lab": "^4.0.0-alpha.56",
|
|
19
|
+
"@opengeoweb/theme": "2.1.3",
|
|
18
20
|
"@material-ui/icons": "^4.9.1",
|
|
19
|
-
"@opengeoweb/core": "1.3.0",
|
|
20
|
-
"react-intl": "^5.17.5",
|
|
21
|
-
"react-redux": "7.2.2",
|
|
22
|
-
"@opengeoweb/webmap": "1.3.0",
|
|
23
|
-
"moment": "^2.29.0",
|
|
24
|
-
"throttle-debounce": "^3.0.1",
|
|
25
|
-
"proj4": "^2.6.2",
|
|
26
|
-
"react-sortablejs": "^6.0.0",
|
|
27
|
-
"@opengeoweb/shared": "1.3.0",
|
|
28
21
|
"react-draggable": "^4.4.3",
|
|
29
22
|
"re-resizable": "^6.9.0",
|
|
30
23
|
"lodash": "^4.17.20",
|
|
31
|
-
"@opengeoweb/form-fields": "1.3
|
|
24
|
+
"@opengeoweb/form-fields": "2.1.3",
|
|
32
25
|
"react-hook-form": "^6.12.1",
|
|
26
|
+
"moment": "^2.29.0",
|
|
33
27
|
"@material-ui/pickers": "^3.2.10",
|
|
34
|
-
"@date-io/moment": "^1.3.13",
|
|
35
28
|
"moment-timezone": "^0.5.31",
|
|
29
|
+
"@date-io/moment": "^1.3.13",
|
|
36
30
|
"axios": "^0.21.4",
|
|
37
|
-
"
|
|
31
|
+
"@opengeoweb/core": "2.1.3",
|
|
32
|
+
"react-intl": "^5.17.5",
|
|
33
|
+
"@opengeoweb/webmap": "2.1.3",
|
|
34
|
+
"throttle-debounce": "^3.0.1",
|
|
35
|
+
"proj4": "^2.6.2",
|
|
36
|
+
"react-sortablejs": "^6.0.0",
|
|
38
37
|
"redux-dynamic-modules": "^5.2.0",
|
|
39
38
|
"redux": "^4.0.4",
|
|
40
39
|
"lodash.clonedeep": "^4.5.0",
|
|
40
|
+
"immer": "^9.0.6",
|
|
41
41
|
"reselect": "^4.0.0",
|
|
42
42
|
"redux-dynamic-modules-saga": "^5.2.0",
|
|
43
43
|
"redux-saga": "^1.1.3",
|
|
44
44
|
"@turf/turf": "^5.1.6",
|
|
45
|
-
"@opengeoweb/api": "1.3
|
|
45
|
+
"@opengeoweb/api": "2.1.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {}
|
|
48
48
|
}
|