@opengeoweb/sigmet-airmet 11.0.0 → 11.1.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/index.esm.js +1 -1
- package/package.json +1 -1
- package/src/lib/AirmetDemo.stories.d.ts +11 -18
- package/src/lib/SigmetDemo.stories.d.ts +11 -18
- package/src/lib/components/ConfigurationDemo/ConfigrationDemo.stories.d.ts +1 -0
- package/src/lib/components/ContentDialog/ContentDialog.stories.d.ts +1 -0
- package/src/lib/components/MapViewGeoJson/MapViewGeoJson.stories.d.ts +1 -0
- package/src/lib/components/MetInfoWrapper/MetInfoWrapper.stories.d.ts +1 -0
- package/src/lib/components/ProductForms/AirmetForm/AirmetForm.stories.d.ts +8 -2
- package/src/lib/components/ProductForms/ProductFormDialog.Airmet.stories.d.ts +15 -14
- package/src/lib/components/ProductForms/ProductFormDialog.Draw.stories.d.ts +1 -0
- package/src/lib/components/ProductForms/ProductFormDialog.Sigmet.stories.d.ts +16 -15
- package/src/lib/components/ProductForms/SigmetForm/SigmetForm.stories.d.ts +1 -0
- package/src/lib/components/ProductList/ProductList.stories.d.ts +6 -4
- package/src/lib/utils/testUtils.d.ts +4 -2
package/index.esm.js
CHANGED
|
@@ -3367,7 +3367,7 @@ var getDefaultValidFromValue = function getDefaultValidFromValue(productConfig)
|
|
|
3367
3367
|
var roundedDate = dateUtils.add(dateWithDelay, {
|
|
3368
3368
|
minutes: extraMinutes
|
|
3369
3369
|
});
|
|
3370
|
-
return dateUtils.dateToString(roundedDate);
|
|
3370
|
+
return dateUtils.dateToString(roundedDate, "yyyy-MM-dd'T'HH:mm:00'Z'");
|
|
3371
3371
|
};
|
|
3372
3372
|
var ValidFrom = function ValidFrom(_ref) {
|
|
3373
3373
|
var productConfig = _ref.productConfig,
|
package/package.json
CHANGED
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const AirmetDemoDark: () => React.ReactElement;
|
|
16
|
-
export declare const AirmetDemoErrorApi: () => React.ReactElement;
|
|
17
|
-
export declare const AirmetConfigIsLoading: () => React.ReactElement;
|
|
18
|
-
export declare const AirmetConfigIsLoadingWithError: () => React.ReactElement;
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import MetInfoWrapper from './components/MetInfoWrapper/MetInfoWrapper';
|
|
3
|
+
declare const meta: Meta<typeof MetInfoWrapper>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof MetInfoWrapper>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const AirmetDemo: Story;
|
|
8
|
+
export declare const AirmetDemoDark: Story;
|
|
9
|
+
export declare const AirmetDemoErrorApi: Story;
|
|
10
|
+
export declare const AirmetConfigIsLoading: Story;
|
|
11
|
+
export declare const AirmetConfigIsLoadingWithError: Story;
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const SigmetDemoDark: () => React.ReactElement;
|
|
16
|
-
export declare const SigmetDemoErrorApi: () => React.ReactElement;
|
|
17
|
-
export declare const SigmetConfigIsLoading: () => React.ReactElement;
|
|
18
|
-
export declare const SigmetConfigIsLoadingWithError: () => React.ReactElement;
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import MetInfoWrapper from './components/MetInfoWrapper/MetInfoWrapper';
|
|
3
|
+
declare const meta: Meta<typeof MetInfoWrapper>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof MetInfoWrapper>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const SigmetDemo: Story;
|
|
8
|
+
export declare const SigmetDemoDark: Story;
|
|
9
|
+
export declare const SigmetDemoErrorApi: Story;
|
|
10
|
+
export declare const SigmetConfigIsLoading: Story;
|
|
11
|
+
export declare const SigmetConfigIsLoadingWithError: Story;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
+
tags: string[];
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const NewAirmetLightTheme: {
|
|
@@ -100,11 +101,16 @@ export declare const CancelAirmetLightTheme: {
|
|
|
100
101
|
name: string;
|
|
101
102
|
link: string;
|
|
102
103
|
}[];
|
|
103
|
-
}
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export declare const CancelAirmetDarkTheme: {
|
|
107
|
+
(): React.ReactElement;
|
|
108
|
+
storyName: string;
|
|
109
|
+
tags: string[];
|
|
110
|
+
parameters: {
|
|
104
111
|
zeplinLink: {
|
|
105
112
|
name: string;
|
|
106
113
|
link: string;
|
|
107
114
|
}[];
|
|
108
115
|
};
|
|
109
116
|
};
|
|
110
|
-
export declare const CancelAirmetDarkTheme: () => React.ReactElement;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ProductFormDialog } from './ProductFormDialog';
|
|
3
|
+
declare const meta: Meta<typeof ProductFormDialog>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ProductFormDialog>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const NewAirmet: Story;
|
|
8
|
+
export declare const ViewAirmet: Story;
|
|
9
|
+
export declare const ViewAirmetSurfaceVisibility: Story;
|
|
10
|
+
export declare const ViewAirmetSurfaceWind: Story;
|
|
11
|
+
export declare const ViewBrokenCloud: Story;
|
|
12
|
+
export declare const ViewOvercastCloud: Story;
|
|
13
|
+
export declare const EditAirmet: Story;
|
|
14
|
+
export declare const CancelAirmet: Story;
|
|
15
|
+
export declare const BackendErrorMsgOnSaveOrPublish: Story;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react/*';
|
|
2
|
+
import { ProductFormDialog } from './ProductFormDialog';
|
|
3
|
+
declare const meta: Meta<typeof ProductFormDialog>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ProductFormDialog>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const NewSigmet: Story;
|
|
8
|
+
export declare const EditSigmet: Story;
|
|
9
|
+
export declare const ViewSigmet: Story;
|
|
10
|
+
export declare const ViewSigmetDark: Story;
|
|
11
|
+
export declare const ViewVolcanicSigmet: Story;
|
|
12
|
+
export declare const ViewEmptyOptionalFieldsSigmet: Story;
|
|
13
|
+
export declare const CancelledSigmet: Story;
|
|
14
|
+
export declare const CancelSigmet: Story;
|
|
15
|
+
export declare const CancelVolcanicSigmetNoMoveTo: Story;
|
|
16
|
+
export declare const CancelVolcanicSigmetInclMoveTo: Story;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react/*';
|
|
3
|
+
import ProductList from './ProductList';
|
|
4
|
+
declare const meta: Meta<typeof ProductList>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof ProductList>;
|
|
7
|
+
export declare const Component: Story;
|
|
6
8
|
export declare const SigmetListDemo: () => React.ReactElement;
|
|
7
9
|
export declare const SigmetListLoading: () => React.ReactElement;
|
|
8
10
|
export declare const SigmetListError: () => React.ReactElement;
|
|
@@ -15,7 +15,9 @@ export interface TestWrapperProps extends StoryWrapperProps {
|
|
|
15
15
|
createApi?: CreateApiFn;
|
|
16
16
|
}
|
|
17
17
|
export declare const TestWrapper: React.FC<TestWrapperProps>;
|
|
18
|
-
export declare const StoryWrapperFakeApi: React.FC<StoryWrapperProps
|
|
18
|
+
export declare const StoryWrapperFakeApi: React.FC<StoryWrapperProps & {
|
|
19
|
+
createApi?: CreateApiFn;
|
|
20
|
+
}>;
|
|
19
21
|
interface SnapshotStoryWrapperProps {
|
|
20
22
|
children: React.ReactNode;
|
|
21
23
|
}
|
|
@@ -26,7 +28,7 @@ export declare const fakeBackendNestedError: AxiosError<{
|
|
|
26
28
|
}>;
|
|
27
29
|
export declare const fakeBackendDifferentError: AxiosError;
|
|
28
30
|
export declare const testFir: GeoJSON.FeatureCollection;
|
|
29
|
-
export declare const
|
|
31
|
+
export declare const createFakeApiWithErrors: () => any;
|
|
30
32
|
export declare const fakeAirmetPhenomenaList: AviationPhenomenon[];
|
|
31
33
|
export declare const fakeSigmetPhenomenaList: AviationPhenomenon[];
|
|
32
34
|
export declare const createMockStore: (mockState: uiTypes.UIModuleState & WebMapStateModuleState) => Store;
|