@opengeoweb/taf 8.0.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/README.md +0 -0
- package/index.esm.d.ts +0 -0
- package/index.esm.js +4 -40
- package/package.json +9 -9
- package/src/index.d.ts +0 -0
- package/src/lib/TafDemo.stories.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/ComponentsLookUp.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/ComponentsLookUp.spec.d.ts +0 -0
- package/src/lib/components/ComponentsLookUp/index.d.ts +0 -0
- package/src/lib/components/IssuesPane/IssuesButton.d.ts +0 -0
- package/src/lib/components/IssuesPane/IssuesButton.spec.d.ts +0 -0
- package/src/lib/components/IssuesPane/IssuesPane.d.ts +0 -0
- package/src/lib/components/IssuesPane/IssuesPane.spec.d.ts +0 -0
- package/src/lib/components/IssuesPane/IssuesPane.stories.d.ts +0 -0
- package/src/lib/components/IssuesPane/IssuesPaneWrapper.d.ts +0 -0
- package/src/lib/components/IssuesPane/IssuesPaneWrapper.spec.d.ts +0 -0
- package/src/lib/components/IssuesPane/index.d.ts +0 -0
- package/src/lib/components/IssuesPane/types.d.ts +0 -0
- package/src/lib/components/IssuesPane/utils.d.ts +0 -0
- package/src/lib/components/IssuesPane/utils.spec.d.ts +0 -0
- package/src/lib/components/Providers/Providers.d.ts +0 -0
- package/src/lib/components/Providers/index.d.ts +0 -0
- package/src/lib/components/ResponsiveWrapper/ResponsiveWrapper.d.ts +0 -0
- package/src/lib/components/ResponsiveWrapper/ResponsiveWrapper.spec.d.ts +0 -0
- package/src/lib/components/Spinner/Spinner.d.ts +0 -0
- package/src/lib/components/Spinner/Spinner.spec.d.ts +0 -0
- package/src/lib/components/Spinner/Spinner.stories.d.ts +0 -0
- package/src/lib/components/StatusIcon/StatusIcon.d.ts +0 -0
- package/src/lib/components/StatusIcon/StatusIcon.spec.d.ts +0 -0
- package/src/lib/components/TabPanel/TabPanel.d.ts +0 -0
- package/src/lib/components/TabPanel/TabPanel.spec.d.ts +0 -0
- package/src/lib/components/TabPanel/index.d.ts +0 -0
- package/src/lib/components/TafAvatar/TafAvatar.d.ts +0 -0
- package/src/lib/components/TafAvatar/index.d.ts +0 -0
- package/src/lib/components/TafForm/TafForm.d.ts +0 -0
- package/src/lib/components/TafForm/TafForm.editor.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafForm.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafForm.statusChanges.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafForm.stories.d.ts +0 -0
- package/src/lib/components/TafForm/TafForm.validations.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormButtons/TafFormButtons.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormButtons/TafFormButtons.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormButtons/TafFormOptionsButton.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/DragHandle.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/DragHandle.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/TafFormRow.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/TafFormRow.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/TafFormTextField.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/TafFormTextField.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/types.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/change.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/change.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/clouds.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/clouds.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/probability.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/probability.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/utils.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/utils.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/validField.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/validField.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/visibility.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/visibility.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/weather.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/weather.spec.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/wind.d.ts +0 -0
- package/src/lib/components/TafForm/TafFormRow/validations/wind.spec.d.ts +0 -0
- package/src/lib/components/TafForm/index.d.ts +0 -0
- package/src/lib/components/TafForm/utils.d.ts +0 -0
- package/src/lib/components/TafForm/utils.spec.d.ts +0 -0
- package/src/lib/components/TafHeader/TafHeader.d.ts +0 -0
- package/src/lib/components/TafHeader/TafHeader.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/LastUpdateTime/LastUpdateTime.d.ts +0 -0
- package/src/lib/components/TafLayout/LastUpdateTime/LastUpdateTime.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/LastUpdateTime/LastUpdateTime.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/LastUpdateTime/index.d.ts +0 -0
- package/src/lib/components/TafLayout/LocationTabs/LocationTabs.d.ts +0 -0
- package/src/lib/components/TafLayout/LocationTabs/LocationTabs.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/LocationTabs/LocationTabs.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/LocationTabs/index.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/AdverseWeatherTacMessage.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/ExportButton.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/ExportButton.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacContainer.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacContainer.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacOverview.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacOverview.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacOverview.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/TacOverviewMobile.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/TacOverview/index.d.ts +0 -0
- package/src/lib/components/TafLayout/TafLayout.d.ts +0 -0
- package/src/lib/components/TafLayout/TafLayout.issuespane.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TafLayout.snackbar.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TafLayout.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TafLayout.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/TafLayout.tacoverview.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TafPanel/TafPanel.d.ts +0 -0
- package/src/lib/components/TafLayout/TafPanel/TafPanel.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TafPanel/TafPanel.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/TafPanel/index.d.ts +0 -0
- package/src/lib/components/TafLayout/TopTabs/TopTabs.d.ts +0 -0
- package/src/lib/components/TafLayout/TopTabs/TopTabs.spec.d.ts +0 -0
- package/src/lib/components/TafLayout/TopTabs/TopTabs.stories.d.ts +0 -0
- package/src/lib/components/TafLayout/TopTabs/index.d.ts +0 -0
- package/src/lib/components/TafLayout/utils.d.ts +0 -0
- package/src/lib/components/TafLayout/utils.spec.d.ts +0 -0
- package/src/lib/components/TafModule/TafModule.d.ts +0 -0
- package/src/lib/components/TafModule/TafModule.spec.d.ts +0 -0
- package/src/lib/components/TafModule/TafModule.stories.d.ts +0 -0
- package/src/lib/components/TafModule/TafModuleProvider.d.ts +0 -0
- package/src/lib/components/TafModule/index.d.ts +0 -0
- package/src/lib/components/TafWrapper/TafWrapper.d.ts +0 -0
- package/src/lib/components/TafWrapper/TafWrapper.spec.d.ts +0 -0
- package/src/lib/components/TafWrapper/index.d.ts +0 -0
- package/src/lib/storyshots/Storyshots.spec.d.ts +0 -0
- package/src/lib/types.d.ts +0 -0
- package/src/lib/utils/__mocks__/api.d.ts +0 -0
- package/src/lib/utils/api.d.ts +0 -0
- package/src/lib/utils/api.spec.d.ts +0 -0
- package/src/lib/utils/fakeApi.d.ts +0 -0
- package/src/lib/utils/fakeApi.spec.d.ts +0 -0
- package/src/lib/utils/mockdata/fakeTafList.d.ts +0 -0
- package/src/lib/utils/weatherPhenomena.d.ts +0 -0
- package/src/lib/components/SwitchButton/SwitchButton.d.ts +0 -4
- package/src/lib/components/SwitchButton/SwitchButton.spec.d.ts +0 -1
- package/src/lib/components/SwitchButton/index.d.ts +0 -1
package/README.md
CHANGED
|
File without changes
|
package/index.esm.d.ts
CHANGED
|
File without changes
|
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,
|
|
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,
|
|
@@ -35129,13 +35093,13 @@ var TafLayout = function TafLayout(_ref2) {
|
|
|
35129
35093
|
var TafWrapper = function TafWrapper(_a) {
|
|
35130
35094
|
var children = _a.children,
|
|
35131
35095
|
props = __rest(_a, ["children"]);
|
|
35132
|
-
return /*#__PURE__*/React.createElement(TafModuleProvider, Object.assign({}, props), /*#__PURE__*/React.createElement(
|
|
35096
|
+
return /*#__PURE__*/React.createElement(TafModuleProvider, Object.assign({}, props), /*#__PURE__*/React.createElement(ReactHookFormProvider, {
|
|
35133
35097
|
options: {
|
|
35134
35098
|
mode: 'onTouched',
|
|
35135
35099
|
reValidateMode: 'onChange',
|
|
35136
35100
|
criteriaMode: 'all'
|
|
35137
35101
|
}
|
|
35138
|
-
}, children))
|
|
35102
|
+
}, children));
|
|
35139
35103
|
};
|
|
35140
35104
|
|
|
35141
35105
|
var getCurrentDate = function getCurrentDate() {
|
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,20 +14,20 @@
|
|
|
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",
|
|
27
27
|
"moment": "2.29.4",
|
|
28
28
|
"react": "18.2.0",
|
|
29
29
|
"react-dom": "18.2.0",
|
|
30
|
-
"react-hook-form": "7.46.
|
|
30
|
+
"react-hook-form": "7.46.2",
|
|
31
31
|
"react-redux": "8.1.2",
|
|
32
32
|
"react-sortablejs": "6.1.4",
|
|
33
33
|
"sortablejs": "1.15.0"
|
package/src/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/lib/types.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/src/lib/utils/api.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SwitchButton } from './SwitchButton';
|