@opengeoweb/taf 8.1.0 → 8.2.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,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useContext, forwardRef } from 'react';
|
|
3
|
-
import { Grid, Button, Chip, Box, Typography,
|
|
3
|
+
import { Grid, Button, Chip, Box, Typography, 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 ReactDOM from 'react-dom';
|
|
6
6
|
import { ReactSortable } from 'react-sortablejs';
|
|
7
7
|
import { useAuthenticationContext } from '@opengeoweb/authentication';
|
|
8
8
|
import { HIDDEN_INPUT_HELPER_IS_DRAFT, getDeepProperty, useDraftFormHelpers, ReactHookFormHiddenInput, ReactHookFormProvider } from '@opengeoweb/form-fields';
|
|
9
|
-
import { useIsMounted, CustomIconButton, CustomTooltip, ToolContainerDraggable, Avatar, getInitials, ToggleMenu, useConfirmationDialog, usePreventBrowserClose, ToolHeader, AlertBanner, getErrorMessage as getErrorMessage$1, getWarningMessage, usePoller, ErrorBoundary } from '@opengeoweb/shared';
|
|
9
|
+
import { useIsMounted, CustomIconButton, CustomTooltip, ToolContainerDraggable, Avatar, getInitials, ToggleMenu, useConfirmationDialog, usePreventBrowserClose, SwitchButton, ToolHeader, AlertBanner, getErrorMessage as getErrorMessage$1, getWarningMessage, usePoller, ErrorBoundary } from '@opengeoweb/shared';
|
|
10
10
|
import { snackbarActions } from '@opengeoweb/store';
|
|
11
11
|
import { DragHandle as DragHandle$1, ThumbsUp, Add, Delete, Close, Clock, Cancel, Success, Edit, Export, ListItem, Cached } from '@opengeoweb/theme';
|
|
12
12
|
import { useApiContext, createApiInstance, createFakeApiInstance, ApiProvider } from '@opengeoweb/api';
|
|
@@ -30183,42 +30183,6 @@ var TafModuleProvider = function TafModuleProvider(_ref2) {
|
|
|
30183
30183
|
}, children);
|
|
30184
30184
|
};
|
|
30185
30185
|
|
|
30186
|
-
/* *
|
|
30187
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
30188
|
-
* you may not use this file except in compliance with the License.
|
|
30189
|
-
* You may obtain a copy of the License at
|
|
30190
|
-
*
|
|
30191
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
30192
|
-
*
|
|
30193
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
30194
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
30195
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
30196
|
-
* See the License for the specific language governing permissions and
|
|
30197
|
-
* limitations under the License.
|
|
30198
|
-
*
|
|
30199
|
-
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
30200
|
-
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
30201
|
-
* */
|
|
30202
|
-
var styles = {
|
|
30203
|
-
label: {
|
|
30204
|
-
color: 'geowebColors.buttons.tertiary.default.color',
|
|
30205
|
-
opacity: 1,
|
|
30206
|
-
fontSize: '12px',
|
|
30207
|
-
fontWeight: 500
|
|
30208
|
-
}
|
|
30209
|
-
};
|
|
30210
|
-
var SwitchButton = function SwitchButton(props) {
|
|
30211
|
-
return /*#__PURE__*/React.createElement(CustomTooltip, {
|
|
30212
|
-
title: "Switch mode"
|
|
30213
|
-
}, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(FormLabel, {
|
|
30214
|
-
sx: styles.label
|
|
30215
|
-
}, "Viewer"), /*#__PURE__*/React.createElement(Switch, Object.assign({
|
|
30216
|
-
"data-testid": "switchMode"
|
|
30217
|
-
}, props)), /*#__PURE__*/React.createElement(FormLabel, {
|
|
30218
|
-
sx: styles.label
|
|
30219
|
-
}, "Editor")));
|
|
30220
|
-
};
|
|
30221
|
-
|
|
30222
30186
|
var TafAvatar = function TafAvatar(_ref) {
|
|
30223
30187
|
var editor = _ref.editor,
|
|
30224
30188
|
_ref$tooltipPlacement = _ref.tooltipPlacement,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/taf",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "GeoWeb TAF library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@emotion/react": "11.11.1",
|
|
16
16
|
"@mui/material": "5.12.0",
|
|
17
|
-
"@opengeoweb/api": "8.
|
|
18
|
-
"@opengeoweb/authentication": "8.
|
|
19
|
-
"@opengeoweb/core": "8.
|
|
20
|
-
"@opengeoweb/form-fields": "8.
|
|
21
|
-
"@opengeoweb/shared": "8.
|
|
22
|
-
"@opengeoweb/store": "8.
|
|
23
|
-
"@opengeoweb/theme": "8.
|
|
17
|
+
"@opengeoweb/api": "8.2.0",
|
|
18
|
+
"@opengeoweb/authentication": "8.2.0",
|
|
19
|
+
"@opengeoweb/core": "8.2.0",
|
|
20
|
+
"@opengeoweb/form-fields": "8.2.0",
|
|
21
|
+
"@opengeoweb/shared": "8.2.0",
|
|
22
|
+
"@opengeoweb/store": "8.2.0",
|
|
23
|
+
"@opengeoweb/theme": "8.2.0",
|
|
24
24
|
"@reduxjs/toolkit": "1.9.5",
|
|
25
25
|
"axios": "1.5.0",
|
|
26
26
|
"lodash": "4.17.21",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SwitchButton } from './SwitchButton';
|