@opengeoweb/sigmet-airmet 4.18.0 → 4.19.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
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default from 'react';
3
- import { Box, Button, FormControlLabel, Radio, Grid, Typography, Checkbox, MenuItem, FormHelperText, useTheme, Dialog, DialogTitle, DialogContent, Card, LinearProgress, List, ListItem, Backdrop, CircularProgress } from '@mui/material';
3
+ import { Box, Button, FormControlLabel, Radio, Grid, Typography, Checkbox, MenuItem, FormHelperText, useTheme, Dialog, DialogTitle, DialogContent, Card, LinearProgress, List, ListItemButton, Backdrop, CircularProgress } from '@mui/material';
4
4
  import { useFormContext } from 'react-hook-form';
5
5
  import { useDraftFormHelpers, ReactHookFormRadioGroup, ReactHookFormSelect, ReactHookFormNumberField, isInteger, isValidMax, isValidMin, isEmpty, ReactHookFormDateTime, isValidDate, isBefore, isBetween, hasMaxFeaturePoints, hasMulitpleIntersections, ReactHookFormHiddenInput, isMaximumOneDrawing, hasIntersectionWithFIR, isValidGeoJsonCoordinates, isXHoursBefore, isAfter, isXHoursAfter, ReactHookFormTextField, isLatitude, isNonOrBothCoordinates, isLongitude, ReactHookFormFormControl, isGeometryDirty, ReactHookFormProvider, defaultFormOptions } from '@opengeoweb/form-fields';
6
6
  import { useApiContext, useApi, createApiInstance, createNonAuthApiInstance, ApiProvider } from '@opengeoweb/api';
@@ -1558,8 +1558,8 @@ var DrawTools = function DrawTools(_ref) {
1558
1558
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1559
1559
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
1560
1560
  * */
1561
- var DEFAULT_ROUNDING_LEVELS_FL = 100;
1562
- var DEFAULT_ROUNDING_LEVELS_FT = 5;
1561
+ var DEFAULT_ROUNDING_LEVELS_FL = 5;
1562
+ var DEFAULT_ROUNDING_LEVELS_FT = 500;
1563
1563
  var DEFAULT_ROUNDING_LEVELS_M = 1;
1564
1564
  var getLevelInvalidStepsForFLUnitMessage = function getLevelInvalidStepsForFLUnitMessage() {
1565
1565
  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_ROUNDING_LEVELS_FL;
@@ -4187,15 +4187,15 @@ var fir_areas$1 = {
4187
4187
  "EGPX"
4188
4188
  ],
4189
4189
  level_min: {
4190
- FT: 100,
4190
+ FT: 500,
4191
4191
  FL: 50
4192
4192
  },
4193
4193
  level_max: {
4194
- FT: 4900,
4194
+ FT: 4500,
4195
4195
  FL: 650
4196
4196
  },
4197
- level_rounding_FL: 100,
4198
- level_rounding_FT: 5,
4197
+ level_rounding_FL: 5,
4198
+ level_rounding_FT: 500,
4199
4199
  level_rounding_M: 1,
4200
4200
  movement_min: {
4201
4201
  KT: 5,
@@ -5717,15 +5717,15 @@ var fir_areas = {
5717
5717
  visibility_rounding_below: 50,
5718
5718
  visibility_rounding_above: 100,
5719
5719
  level_min: {
5720
- FT: 100,
5720
+ FT: 500,
5721
5721
  FL: 50
5722
5722
  },
5723
5723
  level_max: {
5724
- FT: 4900,
5724
+ FT: 4500,
5725
5725
  FL: 100
5726
5726
  },
5727
- level_rounding_FL: 100,
5728
- level_rounding_FT: 5,
5727
+ level_rounding_FL: 5,
5728
+ level_rounding_FT: 500,
5729
5729
  level_rounding_M: 1,
5730
5730
  movement_min: {
5731
5731
  KT: 5,
@@ -9218,9 +9218,8 @@ var ProductList = function ProductList(_ref) {
9218
9218
  }
9219
9219
  }, productList.map(function (productListItem, index) {
9220
9220
  var product = productListItem[productType];
9221
- return /*#__PURE__*/React__default.createElement(ListItem, {
9221
+ return /*#__PURE__*/React__default.createElement(ListItemButton, {
9222
9222
  "data-testid": "productListItem",
9223
- button: true,
9224
9223
  onClick: function onClick() {
9225
9224
  onClickProductRow(productListItem);
9226
9225
  },
package/index.umd.js CHANGED
@@ -1530,8 +1530,8 @@
1530
1530
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1531
1531
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
1532
1532
  * */
1533
- var DEFAULT_ROUNDING_LEVELS_FL = 100;
1534
- var DEFAULT_ROUNDING_LEVELS_FT = 5;
1533
+ var DEFAULT_ROUNDING_LEVELS_FL = 5;
1534
+ var DEFAULT_ROUNDING_LEVELS_FT = 500;
1535
1535
  var DEFAULT_ROUNDING_LEVELS_M = 1;
1536
1536
  var getLevelInvalidStepsForFLUnitMessage = function getLevelInvalidStepsForFLUnitMessage(value) {
1537
1537
  if (value === void 0) {
@@ -4114,15 +4114,15 @@
4114
4114
  "EGPX"
4115
4115
  ],
4116
4116
  level_min: {
4117
- FT: 100,
4117
+ FT: 500,
4118
4118
  FL: 50
4119
4119
  },
4120
4120
  level_max: {
4121
- FT: 4900,
4121
+ FT: 4500,
4122
4122
  FL: 650
4123
4123
  },
4124
- level_rounding_FL: 100,
4125
- level_rounding_FT: 5,
4124
+ level_rounding_FL: 5,
4125
+ level_rounding_FT: 500,
4126
4126
  level_rounding_M: 1,
4127
4127
  movement_min: {
4128
4128
  KT: 5,
@@ -5644,15 +5644,15 @@
5644
5644
  visibility_rounding_below: 50,
5645
5645
  visibility_rounding_above: 100,
5646
5646
  level_min: {
5647
- FT: 100,
5647
+ FT: 500,
5648
5648
  FL: 50
5649
5649
  },
5650
5650
  level_max: {
5651
- FT: 4900,
5651
+ FT: 4500,
5652
5652
  FL: 100
5653
5653
  },
5654
- level_rounding_FL: 100,
5655
- level_rounding_FT: 5,
5654
+ level_rounding_FL: 5,
5655
+ level_rounding_FT: 500,
5656
5656
  level_rounding_M: 1,
5657
5657
  movement_min: {
5658
5658
  KT: 5,
@@ -9150,9 +9150,8 @@
9150
9150
  }
9151
9151
  }, productList.map(function (productListItem, index) {
9152
9152
  var product = productListItem[productType];
9153
- return /*#__PURE__*/React__default["default"].createElement(material.ListItem, {
9153
+ return /*#__PURE__*/React__default["default"].createElement(material.ListItemButton, {
9154
9154
  "data-testid": "productListItem",
9155
- button: true,
9156
9155
  onClick: function onClick() {
9157
9156
  onClickProductRow(productListItem);
9158
9157
  },
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ConfigurableFormFieldProps, ProductConfig } from '../../../types';
3
- export declare const DEFAULT_ROUNDING_LEVELS_FL = 100;
4
- export declare const DEFAULT_ROUNDING_LEVELS_FT = 5;
3
+ export declare const DEFAULT_ROUNDING_LEVELS_FL = 5;
4
+ export declare const DEFAULT_ROUNDING_LEVELS_FT = 500;
5
5
  export declare const DEFAULT_ROUNDING_LEVELS_M = 1;
6
6
  export declare const getLevelInvalidStepsForFLUnitMessage: (value?: number) => string;
7
7
  export declare const getLevelInvalidStepsForFTUnitMessage: (value?: number) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/sigmet-airmet",
3
- "version": "4.18.0",
3
+ "version": "4.19.0",
4
4
  "description": "GeoWeb Sigmet/Airmet library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,39 +13,40 @@
13
13
  "dependencies": {
14
14
  "react": "^18.2.0",
15
15
  "react-redux": "^8.0.4",
16
- "@mui/material": "^5.10.8",
17
- "@opengeoweb/shared": "4.18.0",
18
- "@opengeoweb/theme": "4.18.0",
16
+ "@mui/material": "^5.12.0",
17
+ "@opengeoweb/shared": "4.19.0",
18
+ "@opengeoweb/theme": "4.19.0",
19
+ "@mui/x-date-pickers": "^6.2.1",
19
20
  "react-draggable": "^4.4.5",
20
21
  "re-resizable": "^6.9.0",
21
22
  "@redux-eggs/core": "^2.2.0",
22
23
  "lodash": "^4.17.20",
23
24
  "axios": "^0.25.0",
24
25
  "date-fns": "^2.29.3",
25
- "@opengeoweb/core": "4.18.0",
26
+ "@opengeoweb/core": "4.19.0",
26
27
  "moment": "^2.29.0",
27
- "@opengeoweb/webmap": "4.18.0",
28
+ "@opengeoweb/webmap": "4.19.0",
28
29
  "throttle-debounce": "^3.0.1",
29
30
  "proj4": "^2.6.2",
30
- "@opengeoweb/api": "4.18.0",
31
+ "@opengeoweb/api": "4.19.0",
31
32
  "react-intl": "^5.17.5",
32
33
  "react-sortablejs": "^6.1.4",
33
34
  "sortablejs": "^1.15.0",
34
35
  "immer": "^9.0.15",
36
+ "@reduxjs/toolkit": "^1.8.3",
35
37
  "react-window": "^1.8.7",
36
- "@opengeoweb/form-fields": "4.18.0",
38
+ "@opengeoweb/form-fields": "4.19.0",
37
39
  "react-hook-form": "^7.41.5",
38
40
  "moment-timezone": "^0.5.31",
39
- "@mui/x-date-pickers": "^5.0.4",
40
- "@reduxjs/toolkit": "^1.8.3",
41
+ "react-resize-detector": "^9.1.0",
41
42
  "lodash.clonedeep": "^4.5.0",
42
43
  "@turf/turf": "^5.1.6",
43
44
  "react-router-dom": "^6.4.2",
44
- "@mui/system": "^5.10.8",
45
+ "@mui/system": "^5.12.0",
45
46
  "redux-saga": "^1.2.1",
46
47
  "@redux-eggs/redux-toolkit": "^2.2.0",
47
48
  "@redux-eggs/saga-extension": "^2.2.0",
48
- "@opengeoweb/authentication": "4.18.0",
49
+ "@opengeoweb/authentication": "4.19.0",
49
50
  "query-string": "^6.13.7",
50
51
  "ajv": "^8.12.0",
51
52
  "ajv-merge-patch": "^5.0.1"