@opengeoweb/taf 4.18.0 → 4.19.1
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 +14 -11
- package/index.umd.js +12 -9
- package/package.json +14 -13
package/index.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { Grid, Button,
|
|
3
|
+
import { Grid, Button, Chip, Box, Typography, FormLabel, Switch, TextField, Card, Tabs, Tab, Dialog, MenuList, MenuItem, Backdrop, CircularProgress } from '@mui/material';
|
|
4
4
|
import { useFormContext, Controller, useFieldArray } from 'react-hook-form';
|
|
5
5
|
import { useDispatch } from 'react-redux';
|
|
6
6
|
import { ReactSortable } from 'react-sortablejs';
|
|
7
7
|
import Sortable from 'sortablejs';
|
|
8
8
|
import { useAuthenticationContext } from '@opengeoweb/authentication';
|
|
9
9
|
import { HIDDEN_INPUT_HELPER_IS_DRAFT, getDeepProperty, useDraftFormHelpers, ReactHookFormHiddenInput, ReactHookFormProvider } from '@opengeoweb/form-fields';
|
|
10
|
-
import { useIsMounted, CustomTooltip, ToolContainerDraggable, Avatar, getInitials, ToggleMenu, useConfirmationDialog, usePreventBrowserClose, ToolButton, ToolHeader, AlertBanner, getErrorMessage as getErrorMessage$1, getWarningMessage, ConfirmationServiceProvider, usePoller, ErrorBoundary } from '@opengeoweb/shared';
|
|
10
|
+
import { useIsMounted, CustomIconButton, CustomTooltip, ToolContainerDraggable, Avatar, getInitials, ToggleMenu, useConfirmationDialog, usePreventBrowserClose, ToolButton, ToolHeader, AlertBanner, getErrorMessage as getErrorMessage$1, getWarningMessage, ConfirmationServiceProvider, usePoller, ErrorBoundary } from '@opengeoweb/shared';
|
|
11
11
|
import { snackbarActions } from '@opengeoweb/core';
|
|
12
12
|
import moment from 'moment';
|
|
13
13
|
import { isEqual } from 'lodash';
|
|
@@ -2893,8 +2893,8 @@ var getFormRowPosition = function getFormRowPosition(formRow) {
|
|
|
2893
2893
|
* See the License for the specific language governing permissions and
|
|
2894
2894
|
* limitations under the License.
|
|
2895
2895
|
*
|
|
2896
|
-
* Copyright
|
|
2897
|
-
* Copyright
|
|
2896
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2897
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2898
2898
|
* */
|
|
2899
2899
|
|
|
2900
2900
|
var DragHandle = function DragHandle(_ref) {
|
|
@@ -2903,18 +2903,21 @@ var DragHandle = function DragHandle(_ref) {
|
|
|
2903
2903
|
_ref$isDisabled = _ref.isDisabled,
|
|
2904
2904
|
isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled,
|
|
2905
2905
|
index = _ref.index;
|
|
2906
|
-
return /*#__PURE__*/React__default.createElement(
|
|
2906
|
+
return /*#__PURE__*/React__default.createElement(CustomIconButton, {
|
|
2907
2907
|
className: "handle",
|
|
2908
2908
|
"data-testid": "dragHandle-".concat(index),
|
|
2909
2909
|
disableRipple: true,
|
|
2910
2910
|
disabled: isDisabled,
|
|
2911
|
-
size: "large",
|
|
2912
2911
|
sx: {
|
|
2913
|
-
|
|
2914
|
-
'
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2912
|
+
cursor: isSorting ? 'grabbing' : 'grab',
|
|
2913
|
+
'&.MuiButtonBase-root.MuiIconButton-root': {
|
|
2914
|
+
width: 50,
|
|
2915
|
+
height: 50,
|
|
2916
|
+
color: 'geowebColors.greys.accessible',
|
|
2917
|
+
'&:hover': {
|
|
2918
|
+
backgroundColor: 'transparent'
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2918
2921
|
}
|
|
2919
2922
|
}, /*#__PURE__*/React__default.createElement(DragHandle$1, null));
|
|
2920
2923
|
};
|
package/index.umd.js
CHANGED
|
@@ -2900,8 +2900,8 @@
|
|
|
2900
2900
|
* See the License for the specific language governing permissions and
|
|
2901
2901
|
* limitations under the License.
|
|
2902
2902
|
*
|
|
2903
|
-
* Copyright
|
|
2904
|
-
* Copyright
|
|
2903
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2904
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2905
2905
|
* */
|
|
2906
2906
|
|
|
2907
2907
|
var DragHandle = function DragHandle(_a) {
|
|
@@ -2910,18 +2910,21 @@
|
|
|
2910
2910
|
_c = _a.isDisabled,
|
|
2911
2911
|
isDisabled = _c === void 0 ? false : _c,
|
|
2912
2912
|
index = _a.index;
|
|
2913
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
2913
|
+
return /*#__PURE__*/React__default["default"].createElement(shared.CustomIconButton, {
|
|
2914
2914
|
className: "handle",
|
|
2915
2915
|
"data-testid": "dragHandle-" + index,
|
|
2916
2916
|
disableRipple: true,
|
|
2917
2917
|
disabled: isDisabled,
|
|
2918
|
-
size: "large",
|
|
2919
2918
|
sx: {
|
|
2920
|
-
|
|
2921
|
-
'
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2919
|
+
cursor: isSorting ? 'grabbing' : 'grab',
|
|
2920
|
+
'&.MuiButtonBase-root.MuiIconButton-root': {
|
|
2921
|
+
width: 50,
|
|
2922
|
+
height: 50,
|
|
2923
|
+
color: 'geowebColors.greys.accessible',
|
|
2924
|
+
'&:hover': {
|
|
2925
|
+
backgroundColor: 'transparent'
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2925
2928
|
}
|
|
2926
2929
|
}, /*#__PURE__*/React__default["default"].createElement(theme.DragHandle, null));
|
|
2927
2930
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/taf",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.1",
|
|
4
4
|
"description": "GeoWeb TAF library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,43 +12,44 @@
|
|
|
12
12
|
"typings": "./index.d.ts",
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@opengeoweb/api": "4.
|
|
15
|
+
"@opengeoweb/api": "4.19.1",
|
|
16
16
|
"react": "^18.2.0",
|
|
17
17
|
"axios": "^0.25.0",
|
|
18
|
-
"@opengeoweb/shared": "4.
|
|
19
|
-
"@mui/material": "^5.
|
|
20
|
-
"@opengeoweb/theme": "4.
|
|
18
|
+
"@opengeoweb/shared": "4.19.1",
|
|
19
|
+
"@mui/material": "^5.12.0",
|
|
20
|
+
"@opengeoweb/theme": "4.19.1",
|
|
21
|
+
"@mui/x-date-pickers": "^6.2.1",
|
|
21
22
|
"react-draggable": "^4.4.5",
|
|
22
23
|
"re-resizable": "^6.9.0",
|
|
23
24
|
"@redux-eggs/core": "^2.2.0",
|
|
24
25
|
"react-redux": "^8.0.4",
|
|
25
26
|
"lodash": "^4.17.20",
|
|
26
27
|
"date-fns": "^2.29.3",
|
|
27
|
-
"@opengeoweb/core": "4.
|
|
28
|
+
"@opengeoweb/core": "4.19.1",
|
|
28
29
|
"moment": "^2.29.0",
|
|
29
|
-
"@opengeoweb/webmap": "4.
|
|
30
|
+
"@opengeoweb/webmap": "4.19.1",
|
|
30
31
|
"throttle-debounce": "^3.0.1",
|
|
31
32
|
"proj4": "^2.6.2",
|
|
32
33
|
"react-intl": "^5.17.5",
|
|
33
34
|
"react-sortablejs": "^6.1.4",
|
|
34
35
|
"sortablejs": "^1.15.0",
|
|
35
36
|
"immer": "^9.0.15",
|
|
37
|
+
"@reduxjs/toolkit": "^1.8.3",
|
|
36
38
|
"react-window": "^1.8.7",
|
|
37
|
-
"@opengeoweb/form-fields": "4.
|
|
39
|
+
"@opengeoweb/form-fields": "4.19.1",
|
|
38
40
|
"react-hook-form": "^7.41.5",
|
|
39
41
|
"moment-timezone": "^0.5.31",
|
|
40
|
-
"
|
|
41
|
-
"@reduxjs/toolkit": "^1.8.3",
|
|
42
|
+
"react-resize-detector": "^9.1.0",
|
|
42
43
|
"lodash.clonedeep": "^4.5.0",
|
|
43
44
|
"@turf/turf": "^5.1.6",
|
|
44
45
|
"react-router-dom": "^6.4.2",
|
|
45
|
-
"@mui/system": "^5.
|
|
46
|
+
"@mui/system": "^5.12.0",
|
|
46
47
|
"redux-saga": "^1.2.1",
|
|
47
48
|
"@redux-eggs/redux-toolkit": "^2.2.0",
|
|
48
49
|
"@redux-eggs/saga-extension": "^2.2.0",
|
|
49
50
|
"react-dom": "^18.2.0",
|
|
50
|
-
"@opengeoweb/authentication": "4.
|
|
51
|
+
"@opengeoweb/authentication": "4.19.1",
|
|
51
52
|
"query-string": "^6.13.7",
|
|
52
|
-
"@emotion/react": "^11.10.
|
|
53
|
+
"@emotion/react": "^11.10.6"
|
|
53
54
|
}
|
|
54
55
|
}
|