@opengeoweb/sigmet-airmet 8.2.0 → 8.3.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 +9 -9
- package/package.json +10 -10
package/index.esm.js
CHANGED
|
@@ -8142,7 +8142,7 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
8142
8142
|
var _useApiContext = useApiContext(),
|
|
8143
8143
|
api = _useApiContext.api;
|
|
8144
8144
|
var _useMapDrawTool = useMapDrawTool({
|
|
8145
|
-
|
|
8145
|
+
defaultDrawModes: getDrawTools(StartOrEndDrawing.start, getFir(productConfig)),
|
|
8146
8146
|
defaultGeoJSON: !isCancelSigmet && initialSigmet && initialSigmet.startGeometry ? addFeatureProperties(initialSigmet.startGeometry, featurePropsStart) : undefined,
|
|
8147
8147
|
defaultGeoJSONIntersection: !isCancelSigmet && initialSigmet && initialSigmet.startGeometryIntersect ? addFeatureProperties(initialSigmet.startGeometryIntersect, featurePropsIntersectionStart) : undefined,
|
|
8148
8148
|
defaultGeoJSONIntersectionBounds: addFeatureProperties(getFir(productConfig), featurePropsFIR)
|
|
@@ -8150,14 +8150,14 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
8150
8150
|
startGeoJSON = _useMapDrawTool.geoJSON,
|
|
8151
8151
|
startGeoJSONIntersection = _useMapDrawTool.geoJSONIntersection,
|
|
8152
8152
|
getStartLayer = _useMapDrawTool.getLayer,
|
|
8153
|
-
startEditModes = _useMapDrawTool.
|
|
8153
|
+
startEditModes = _useMapDrawTool.drawModes,
|
|
8154
8154
|
activeStartTool = _useMapDrawTool.activeTool,
|
|
8155
8155
|
changeActiveStartTool = _useMapDrawTool.changeActiveTool,
|
|
8156
8156
|
deactivateStartTool = _useMapDrawTool.deactivateTool,
|
|
8157
8157
|
setStartGeoJSONIntersectionBounds = _useMapDrawTool.setGeoJSONIntersectionBounds,
|
|
8158
|
-
setStartEditModes = _useMapDrawTool.
|
|
8158
|
+
setStartEditModes = _useMapDrawTool.setDrawModes;
|
|
8159
8159
|
var _useMapDrawTool2 = useMapDrawTool({
|
|
8160
|
-
|
|
8160
|
+
defaultDrawModes: getDrawTools(StartOrEndDrawing.end, getFir(productConfig)),
|
|
8161
8161
|
defaultGeoJSON: !isCancelSigmet && initialSigmet && initialSigmet.endGeometry ? addFeatureProperties(initialSigmet.endGeometry, featurePropsEnd) : undefined,
|
|
8162
8162
|
defaultGeoJSONIntersection: !isCancelSigmet && initialSigmet && initialSigmet.endGeometryIntersect ? addFeatureProperties(initialSigmet.endGeometryIntersect, featurePropsIntersectionEnd) : undefined,
|
|
8163
8163
|
defaultGeoJSONIntersectionBounds: addFeatureProperties(getFir(productConfig), featurePropsFIR),
|
|
@@ -8166,12 +8166,12 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
8166
8166
|
endGeoJSON = _useMapDrawTool2.geoJSON,
|
|
8167
8167
|
endGeoJSONIntersection = _useMapDrawTool2.geoJSONIntersection,
|
|
8168
8168
|
getEndLayer = _useMapDrawTool2.getLayer,
|
|
8169
|
-
endEditModes = _useMapDrawTool2.
|
|
8169
|
+
endEditModes = _useMapDrawTool2.drawModes,
|
|
8170
8170
|
activeEndTool = _useMapDrawTool2.activeTool,
|
|
8171
8171
|
changeActiveEndTool = _useMapDrawTool2.changeActiveTool,
|
|
8172
8172
|
deactivateEndTool = _useMapDrawTool2.deactivateTool,
|
|
8173
8173
|
setEndGeoJSONIntersectionBounds = _useMapDrawTool2.setGeoJSONIntersectionBounds,
|
|
8174
|
-
setEndEditModes = _useMapDrawTool2.
|
|
8174
|
+
setEndEditModes = _useMapDrawTool2.setDrawModes;
|
|
8175
8175
|
var onUpdateStartgeoJSON = function onUpdateStartgeoJSON(updatedStartGeoJSON, updateStartGeoJSONIntersection) {
|
|
8176
8176
|
setValue('startGeometry', updatedStartGeoJSON, {
|
|
8177
8177
|
shouldValidate: true,
|
|
@@ -8437,7 +8437,7 @@ var AirmetForm = function AirmetForm(_ref) {
|
|
|
8437
8437
|
var _useApiContext = useApiContext(),
|
|
8438
8438
|
api = _useApiContext.api;
|
|
8439
8439
|
var _useMapDrawTool = useMapDrawTool({
|
|
8440
|
-
|
|
8440
|
+
defaultDrawModes: getDrawTools(StartOrEndDrawing.start, getFir(productConfig)),
|
|
8441
8441
|
defaultGeoJSON: !isCancelAirmet && initialAirmet && initialAirmet.startGeometry ? addFeatureProperties(initialAirmet.startGeometry, featurePropsStart) : undefined,
|
|
8442
8442
|
defaultGeoJSONIntersection: !isCancelAirmet && initialAirmet && initialAirmet.startGeometryIntersect ? addFeatureProperties(initialAirmet.startGeometryIntersect, featurePropsIntersectionStart) : undefined,
|
|
8443
8443
|
defaultGeoJSONIntersectionBounds: addFeatureProperties(getFir(productConfig), featurePropsFIR)
|
|
@@ -8445,12 +8445,12 @@ var AirmetForm = function AirmetForm(_ref) {
|
|
|
8445
8445
|
startGeoJSON = _useMapDrawTool.geoJSON,
|
|
8446
8446
|
startGeoJSONIntersection = _useMapDrawTool.geoJSONIntersection,
|
|
8447
8447
|
getStartLayer = _useMapDrawTool.getLayer,
|
|
8448
|
-
startEditModes = _useMapDrawTool.
|
|
8448
|
+
startEditModes = _useMapDrawTool.drawModes,
|
|
8449
8449
|
activeStartTool = _useMapDrawTool.activeTool,
|
|
8450
8450
|
changeActiveStartTool = _useMapDrawTool.changeActiveTool,
|
|
8451
8451
|
deactivateStartTool = _useMapDrawTool.deactivateTool,
|
|
8452
8452
|
setStartGeoJSONIntersectionBounds = _useMapDrawTool.setGeoJSONIntersectionBounds,
|
|
8453
|
-
setStartEditModes = _useMapDrawTool.
|
|
8453
|
+
setStartEditModes = _useMapDrawTool.setDrawModes;
|
|
8454
8454
|
var onUpdateStartgeoJSON = function onUpdateStartgeoJSON(updatedStartGeoJSON, updateStartGeoJSONIntersection) {
|
|
8455
8455
|
setValue('startGeometry', updatedStartGeoJSON, {
|
|
8456
8456
|
shouldValidate: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/sigmet-airmet",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@mui/material": "5.12.0",
|
|
15
15
|
"@mui/system": "5.14.10",
|
|
16
|
-
"@opengeoweb/api": "8.
|
|
17
|
-
"@opengeoweb/authentication": "8.
|
|
18
|
-
"@opengeoweb/core": "8.
|
|
19
|
-
"@opengeoweb/form-fields": "8.
|
|
20
|
-
"@opengeoweb/shared": "8.
|
|
21
|
-
"@opengeoweb/store": "8.
|
|
22
|
-
"@opengeoweb/theme": "8.
|
|
23
|
-
"@opengeoweb/webmap": "8.
|
|
24
|
-
"@opengeoweb/webmap-react": "8.
|
|
16
|
+
"@opengeoweb/api": "8.3.0",
|
|
17
|
+
"@opengeoweb/authentication": "8.3.0",
|
|
18
|
+
"@opengeoweb/core": "8.3.0",
|
|
19
|
+
"@opengeoweb/form-fields": "8.3.0",
|
|
20
|
+
"@opengeoweb/shared": "8.3.0",
|
|
21
|
+
"@opengeoweb/store": "8.3.0",
|
|
22
|
+
"@opengeoweb/theme": "8.3.0",
|
|
23
|
+
"@opengeoweb/webmap": "8.3.0",
|
|
24
|
+
"@opengeoweb/webmap-react": "8.3.0",
|
|
25
25
|
"@redux-eggs/redux-toolkit": "2.2.0",
|
|
26
26
|
"@redux-eggs/saga-extension": "2.2.0",
|
|
27
27
|
"@reduxjs/toolkit": "1.9.5",
|