@opengeoweb/sigmet-airmet 4.22.1 → 5.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/sigmet-airmet",
3
- "version": "4.22.1",
3
+ "version": "5.0.0",
4
4
  "description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,12 +14,12 @@
14
14
  "dependencies": {
15
15
  "@mui/material": "5.12.0",
16
16
  "@mui/system": "5.12.0",
17
- "@opengeoweb/api": "4.22.1",
18
- "@opengeoweb/authentication": "4.22.1",
19
- "@opengeoweb/core": "4.22.1",
20
- "@opengeoweb/form-fields": "4.22.1",
21
- "@opengeoweb/shared": "4.22.1",
22
- "@opengeoweb/theme": "4.22.1",
17
+ "@opengeoweb/api": "5.0.0",
18
+ "@opengeoweb/authentication": "5.0.0",
19
+ "@opengeoweb/core": "5.0.0",
20
+ "@opengeoweb/form-fields": "5.0.0",
21
+ "@opengeoweb/shared": "5.0.0",
22
+ "@opengeoweb/theme": "5.0.0",
23
23
  "@redux-eggs/redux-toolkit": "2.2.0",
24
24
  "@redux-eggs/saga-extension": "2.2.0",
25
25
  "@reduxjs/toolkit": "1.9.5",
@@ -7,15 +7,15 @@ import { SetMapDrawModes, MapGeoJSONS, MapDrawMode, StartOrEndDrawing, ProductCo
7
7
  * @param featureProperties
8
8
  */
9
9
  export declare const addFeatureProperties: (geojson: GeoJSON.FeatureCollection | undefined, featureProperties: GeoJSON.GeoJsonProperties) => GeoJSON.FeatureCollection;
10
- export declare const getInitialGeoJSONState: (productConfig: ProductConfig, currentSelectedFIR?: string, initialGeometry?: MapGeoJSONS) => MapGeoJSONS;
11
- export declare const useDrawMode: (productConfig: ProductConfig, initialGeometry?: MapGeoJSONS, currentSelectedFIR?: string) => {
10
+ export declare const getInitialGeoJSONState: (productConfig: ProductConfig, currentSelectedFIR?: string | undefined, initialGeometry?: MapGeoJSONS | undefined) => MapGeoJSONS;
11
+ export declare const useDrawMode: (productConfig: ProductConfig, initialGeometry?: MapGeoJSONS | undefined, currentSelectedFIR?: string | undefined) => {
12
12
  geoJSONs: MapGeoJSONS;
13
13
  setLayerGeoJSONs: (geoJSONs: MapGeoJSONS) => void;
14
14
  layerDrawModes: SetMapDrawModes;
15
15
  setLayersDrawModes: (layerDrawModes: SetMapDrawModes) => void;
16
16
  drawMode: SetMapDrawModes;
17
17
  setDrawMode: (drawMode: SetMapDrawModes) => void;
18
- setDrawModeType: (mapDrawMode: MapDrawMode, startOrEnd: StartOrEndDrawing, updateCallback?: (mapGeoJSONS: MapGeoJSONS) => void) => void;
18
+ setDrawModeType: (mapDrawMode: MapDrawMode, startOrEnd: StartOrEndDrawing, updateCallback?: ((mapGeoJSONS: MapGeoJSONS) => void) | undefined) => void;
19
19
  };
20
20
  /**
21
21
  * Returns the intersection of two features. In case of a polygon, only the first feature is used.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ConfigurableFormFieldProps, ProductConfig } from '../../../types';
3
- export declare const getFirLocationDefaultValues: (productConfig: ProductConfig, currentFir?: string) => {
3
+ export declare const getFirLocationDefaultValues: (productConfig: ProductConfig, currentFir?: string | undefined) => {
4
4
  locationIndicatorATSR: string;
5
5
  locationIndicatorATSU: string;
6
6
  locationIndicatorMWO: string;
@@ -47,7 +47,7 @@ export declare const getAllowedUnits: (selectedFIR: string, productConfig: Produ
47
47
  /**
48
48
  * Function to translate the geojson data to a GeoJSON.FeatureCollection
49
49
  */
50
- export declare const getFir: (productConfig: ProductConfig, firName?: string) => FIRLocationGeoJson;
50
+ export declare const getFir: (productConfig: ProductConfig, firName?: string | undefined) => FIRLocationGeoJson;
51
51
  /**
52
52
  * Function to check if the given geojson object has 'fir' selectionType property
53
53
  */