@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 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/sigmet-airmet",
3
- "version": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,18 +1,11 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const AirmetDemo: {
7
- (): React.ReactElement;
8
- parameters: {
9
- zeplinLink: {
10
- name: string;
11
- link: string;
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 * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const SigmetDemo: {
7
- (): React.ReactElement;
8
- parameters: {
9
- zeplinLink: {
10
- name: string;
11
- link: string;
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 KNMIAirmetConfiguration: () => React.ReactElement;
@@ -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 ContentDialogDemo: () => React.ReactElement;
@@ -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 mapViewGeoJson: React.FC;
@@ -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 RerenderDemo: () => React.ReactElement;
@@ -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 * 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;
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,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 NewSigmetDemo: () => React.ReactElement;
@@ -1,15 +1,16 @@
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 ViewSigmetDark: () => React.ReactElement;
10
- export declare const ViewVolcanicSigmet: () => React.ReactElement;
11
- export declare const ViewEmptyOptionalFieldsSigmet: () => React.ReactElement;
12
- export declare const CancelledSigmet: () => React.ReactElement;
13
- export declare const CancelSigmet: () => React.ReactElement;
14
- export declare const CancelVolcanicSigmetNoMoveTo: () => React.ReactElement;
15
- export declare const CancelVolcanicSigmetInclMoveTo: () => React.ReactElement;
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,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 NewSigmetLightTheme: {
@@ -1,8 +1,10 @@
1
1
  import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _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 StoryWrapperFakeApiWithErrors: React.FC<StoryWrapperProps>;
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;