@opengeoweb/sigmet-airmet 6.0.2 → 6.0.4
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 +8 -8
- package/package.json +9 -9
package/index.esm.js
CHANGED
|
@@ -8043,8 +8043,8 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
8043
8043
|
api = _useApiContext.api;
|
|
8044
8044
|
var _useMapDrawTool = useMapDrawTool({
|
|
8045
8045
|
defaultEditModes: getDrawTools(StartOrEndDrawing.start, getFir(productConfig)),
|
|
8046
|
-
defaultGeoJSON: !isCancelSigmet && initialSigmet ? addFeatureProperties(initialSigmet.startGeometry, featurePropsStart) : undefined,
|
|
8047
|
-
defaultGeoJSONIntersection: !isCancelSigmet && initialSigmet ? addFeatureProperties(initialSigmet.startGeometryIntersect, featurePropsIntersectionStart) : undefined,
|
|
8046
|
+
defaultGeoJSON: !isCancelSigmet && initialSigmet && initialSigmet.startGeometry ? addFeatureProperties(initialSigmet.startGeometry, featurePropsStart) : undefined,
|
|
8047
|
+
defaultGeoJSONIntersection: !isCancelSigmet && initialSigmet && initialSigmet.startGeometryIntersect ? addFeatureProperties(initialSigmet.startGeometryIntersect, featurePropsIntersectionStart) : undefined,
|
|
8048
8048
|
defaultGeoJSONIntersectionBounds: addFeatureProperties(getFir(productConfig), featurePropsFIR)
|
|
8049
8049
|
}),
|
|
8050
8050
|
startGeoJSON = _useMapDrawTool.geoJSON,
|
|
@@ -8058,8 +8058,8 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
8058
8058
|
setStartEditModes = _useMapDrawTool.setEditModes;
|
|
8059
8059
|
var _useMapDrawTool2 = useMapDrawTool({
|
|
8060
8060
|
defaultEditModes: getDrawTools(StartOrEndDrawing.end, getFir(productConfig)),
|
|
8061
|
-
defaultGeoJSON: !isCancelSigmet && initialSigmet ? addFeatureProperties(initialSigmet.endGeometry, featurePropsEnd) : undefined,
|
|
8062
|
-
defaultGeoJSONIntersection: !isCancelSigmet && initialSigmet ? addFeatureProperties(initialSigmet.endGeometryIntersect, featurePropsIntersectionEnd) : undefined,
|
|
8061
|
+
defaultGeoJSON: !isCancelSigmet && initialSigmet && initialSigmet.endGeometry ? addFeatureProperties(initialSigmet.endGeometry, featurePropsEnd) : undefined,
|
|
8062
|
+
defaultGeoJSONIntersection: !isCancelSigmet && initialSigmet && initialSigmet.endGeometryIntersect ? addFeatureProperties(initialSigmet.endGeometryIntersect, featurePropsIntersectionEnd) : undefined,
|
|
8063
8063
|
defaultGeoJSONIntersectionBounds: addFeatureProperties(getFir(productConfig), featurePropsFIR),
|
|
8064
8064
|
defaultGeoJSONIntersectionProperties: featurePropsIntersectionEnd
|
|
8065
8065
|
}),
|
|
@@ -8333,8 +8333,8 @@ var AirmetForm = function AirmetForm(_ref) {
|
|
|
8333
8333
|
api = _useApiContext.api;
|
|
8334
8334
|
var _useMapDrawTool = useMapDrawTool({
|
|
8335
8335
|
defaultEditModes: getDrawTools(StartOrEndDrawing.start, getFir(productConfig)),
|
|
8336
|
-
defaultGeoJSON: !isCancelAirmet && initialAirmet ? addFeatureProperties(initialAirmet.startGeometry, featurePropsStart) : undefined,
|
|
8337
|
-
defaultGeoJSONIntersection: !isCancelAirmet && initialAirmet ? addFeatureProperties(initialAirmet.startGeometryIntersect, featurePropsIntersectionStart) : undefined,
|
|
8336
|
+
defaultGeoJSON: !isCancelAirmet && initialAirmet && initialAirmet.startGeometry ? addFeatureProperties(initialAirmet.startGeometry, featurePropsStart) : undefined,
|
|
8337
|
+
defaultGeoJSONIntersection: !isCancelAirmet && initialAirmet && initialAirmet.startGeometryIntersect ? addFeatureProperties(initialAirmet.startGeometryIntersect, featurePropsIntersectionStart) : undefined,
|
|
8338
8338
|
defaultGeoJSONIntersectionBounds: addFeatureProperties(getFir(productConfig), featurePropsFIR)
|
|
8339
8339
|
}),
|
|
8340
8340
|
startGeoJSON = _useMapDrawTool.geoJSON,
|
|
@@ -16429,7 +16429,7 @@ var getApiRoutes = function getApiRoutes(axiosInstance) {
|
|
|
16429
16429
|
case 0:
|
|
16430
16430
|
_context.next = 2;
|
|
16431
16431
|
return new Promise(function (resolve) {
|
|
16432
|
-
|
|
16432
|
+
setTimeout(resolve, 2000);
|
|
16433
16433
|
});
|
|
16434
16434
|
case 2:
|
|
16435
16435
|
return _context.abrupt("return", axiosInstance.get('/sigmetConfiguration').then(function () {
|
|
@@ -16451,7 +16451,7 @@ var getApiRoutes = function getApiRoutes(axiosInstance) {
|
|
|
16451
16451
|
case 0:
|
|
16452
16452
|
_context2.next = 2;
|
|
16453
16453
|
return new Promise(function (resolve) {
|
|
16454
|
-
|
|
16454
|
+
setTimeout(resolve, 2000);
|
|
16455
16455
|
});
|
|
16456
16456
|
case 2:
|
|
16457
16457
|
return _context2.abrupt("return", axiosInstance.get('/airmetConfiguration').then(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/sigmet-airmet",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@mui/material": "5.12.0",
|
|
15
15
|
"@mui/system": "5.14.5",
|
|
16
|
-
"@opengeoweb/api": "6.0.
|
|
17
|
-
"@opengeoweb/authentication": "6.0.
|
|
18
|
-
"@opengeoweb/core": "6.0.
|
|
19
|
-
"@opengeoweb/form-fields": "6.0.
|
|
20
|
-
"@opengeoweb/shared": "6.0.
|
|
21
|
-
"@opengeoweb/store": "6.0.
|
|
22
|
-
"@opengeoweb/theme": "6.0.
|
|
23
|
-
"@opengeoweb/webmap": "6.0.
|
|
16
|
+
"@opengeoweb/api": "6.0.4",
|
|
17
|
+
"@opengeoweb/authentication": "6.0.4",
|
|
18
|
+
"@opengeoweb/core": "6.0.4",
|
|
19
|
+
"@opengeoweb/form-fields": "6.0.4",
|
|
20
|
+
"@opengeoweb/shared": "6.0.4",
|
|
21
|
+
"@opengeoweb/store": "6.0.4",
|
|
22
|
+
"@opengeoweb/theme": "6.0.4",
|
|
23
|
+
"@opengeoweb/webmap": "6.0.4",
|
|
24
24
|
"@redux-eggs/redux-toolkit": "2.2.0",
|
|
25
25
|
"@redux-eggs/saga-extension": "2.2.0",
|
|
26
26
|
"@reduxjs/toolkit": "1.9.5",
|