@opengeoweb/taf 2.15.0 → 3.0.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
@@ -6,7 +6,7 @@ import { ReactSortable, Sortable } from 'react-sortablejs';
6
6
  import { isEqual } from 'lodash';
7
7
  import { useAuthenticationContext } from '@opengeoweb/authentication';
8
8
  import { getDeepProperty, ReactHookFormHiddenInput, ReactHookFormProvider } from '@opengeoweb/form-fields';
9
- import { useIsMounted, ToggleMenu, useDraftFormHelpers, ToolContainerDraggable, Avatar, getInitials, useConfirmationDialog, usePreventBrowserClose, ToolButton, ToolHeader, AlertBanner, getErrorMessage as getErrorMessage$1, ConfirmationServiceProvider, usePoller, ErrorBoundary } from '@opengeoweb/shared';
9
+ import { useIsMounted, ToggleMenu, useDraftFormHelpers, ToolContainerDraggable, Avatar, getInitials, useConfirmationDialog, usePreventBrowserClose, ToolButton, ToolHeader, AlertBanner, getErrorMessage as getErrorMessage$1, getWarningMessage, ConfirmationServiceProvider, usePoller, ErrorBoundary } from '@opengeoweb/shared';
10
10
  import moment from 'moment';
11
11
  import { Add, Delete, Close, DragHandle as DragHandle$1, ThumbsUp, Clock, Cancel, Edit, Success, Export, ListItem, Cached } from '@opengeoweb/theme';
12
12
  import makeStyles from '@mui/styles/makeStyles';
@@ -4025,7 +4025,7 @@ var TafForm = /*#__PURE__*/React__default.memo(function (_ref) {
4025
4025
  auth = _useAuthenticationCon.auth;
4026
4026
 
4027
4027
  var isEditor = editor === (auth === null || auth === void 0 ? void 0 : auth.username) || false;
4028
- var isDefaultDisabled = getIsFormDefaultDisabled(tafFromBackend.taf.status);
4028
+ var isDefaultDisabled = getIsFormDefaultDisabled(originalTaf.status);
4029
4029
  var confirmDialog = useConfirmationDialog();
4030
4030
 
4031
4031
  var _useDraftFormHelpers = useDraftFormHelpers(true),
@@ -4116,14 +4116,14 @@ var TafForm = /*#__PURE__*/React__default.memo(function (_ref) {
4116
4116
  var resetFormValues = function resetFormValues() {
4117
4117
  var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
4118
4118
  var shouldAddEmptyChangGroup = arguments.length > 1 ? arguments[1] : undefined;
4119
- var newTaf = prepareTafValues(tafFromBackend.taf, action, shouldAddEmptyChangGroup);
4119
+ var newTaf = prepareTafValues(originalTaf, action, shouldAddEmptyChangGroup);
4120
4120
  reset(newTaf);
4121
4121
  };
4122
4122
 
4123
4123
  var resetForm = function resetForm() {
4124
4124
  var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
4125
4125
  var resetDisabled = arguments.length > 1 ? arguments[1] : undefined;
4126
- var shouldAddEmptyChangGroup = !(tafFromBackend.taf && tafFromBackend.taf.changeGroups) && !resetDisabled;
4126
+ var shouldAddEmptyChangGroup = !(originalTaf && originalTaf.changeGroups) && !resetDisabled;
4127
4127
  resetFormValues(action, shouldAddEmptyChangGroup);
4128
4128
  setIsDisabled(resetDisabled);
4129
4129
  setTafAction(action);
@@ -4293,7 +4293,7 @@ var TafForm = /*#__PURE__*/React__default.memo(function (_ref) {
4293
4293
  switch (_context4.prev = _context4.next) {
4294
4294
  case 0:
4295
4295
  _context4.next = 2;
4296
- return onFormAction(action, convertTafValuesToObject(prepareTafValues(tafFromBackend.taf, action)));
4296
+ return onFormAction(action, convertTafValuesToObject(prepareTafValues(originalTaf, action)));
4297
4297
 
4298
4298
  case 2:
4299
4299
  case "end":
@@ -4399,7 +4399,7 @@ var TafForm = /*#__PURE__*/React__default.memo(function (_ref) {
4399
4399
 
4400
4400
  React__default.useEffect(function () {
4401
4401
  setIsDisabled(!isEditor || isDefaultDisabled);
4402
- var defaultValues = prepareTafValues(tafFromBackend.taf, undefined, !isDefaultDisabled && !tafFromBackend.taf.changeGroups); // set initial form values
4402
+ var defaultValues = prepareTafValues(originalTaf, undefined, !isDefaultDisabled && !originalTaf.changeGroups); // set initial form values
4403
4403
 
4404
4404
  reset(defaultValues); // set validate flag to validate after the values have been set
4405
4405
 
@@ -4429,10 +4429,12 @@ var TafForm = /*#__PURE__*/React__default.memo(function (_ref) {
4429
4429
  }; // eslint-disable-next-line react-hooks/exhaustive-deps
4430
4430
  }, []);
4431
4431
  React__default.useEffect(function () {
4432
- var newValues = prepareTafValues(tafFromBackend.taf, undefined, !isDefaultDisabled && !tafFromBackend.taf.changeGroups); // set new form values when tafFromBackend changed
4432
+ var newValues = prepareTafValues(originalTaf, undefined, !isDefaultDisabled && !originalTaf.changeGroups); // set new form values when taf values changed
4433
4433
 
4434
- reset(newValues); // eslint-disable-next-line react-hooks/exhaustive-deps
4435
- }, [tafFromBackend]);
4434
+ reset(newValues); // reset TAC when taf values changed
4435
+
4436
+ resetTAC(); // eslint-disable-next-line react-hooks/exhaustive-deps
4437
+ }, [originalTaf]);
4436
4438
  React__default.useEffect(function () {
4437
4439
  // update disabled state when editor changed
4438
4440
  setIsDisabled(!isEditor || isDefaultDisabled); // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -4440,8 +4442,8 @@ var TafForm = /*#__PURE__*/React__default.memo(function (_ref) {
4440
4442
  React__default.useEffect(function () {
4441
4443
  if (shouldValidate && !isDisabled) {
4442
4444
  // trigger validation on all changegroup validity times after form is enabled since they could be outside the new validity period
4443
- var _tafFromBackend$taf$c = tafFromBackend.taf.changeGroups,
4444
- changeGroups = _tafFromBackend$taf$c === void 0 ? [] : _tafFromBackend$taf$c;
4445
+ var _originalTaf$changeGr = originalTaf.changeGroups,
4446
+ changeGroups = _originalTaf$changeGr === void 0 ? [] : _originalTaf$changeGr;
4445
4447
  var validFields = changeGroups.map(function (_field, index) {
4446
4448
  return "changeGroups[".concat(index, "].valid");
4447
4449
  });
@@ -4622,14 +4624,16 @@ var TabPanel = function TabPanel(_a) {
4622
4624
  * */
4623
4625
 
4624
4626
  var TafHeader = function TafHeader(_ref) {
4625
- var title = _ref.title;
4627
+ var title = _ref.title,
4628
+ _ref$sx = _ref.sx,
4629
+ sx = _ref$sx === void 0 ? {} : _ref$sx;
4626
4630
  return /*#__PURE__*/React__default.createElement(Typography, {
4627
- sx: {
4631
+ sx: Object.assign({
4628
4632
  textAlign: 'center',
4629
4633
  fontWeight: 500,
4630
4634
  paddingTop: '6px',
4631
4635
  textTransform: 'capitalize'
4632
- }
4636
+ }, sx)
4633
4637
  }, title);
4634
4638
  };
4635
4639
 
@@ -5400,9 +5404,21 @@ var fromActionToStatus = function fromActionToStatus(tafAction) {
5400
5404
  return 'NEW';
5401
5405
  }
5402
5406
  };
5407
+ var isWarning = function isWarning(error) {
5408
+ return (error === null || error === void 0 ? void 0 : error.type) === 'WARNING';
5409
+ };
5403
5410
 
5404
5411
  var parseErrorMessage = function parseErrorMessage(error, params) {
5405
5412
  var message = getErrorMessage$1(error);
5413
+ var warningMessage = getWarningMessage(error);
5414
+
5415
+ if (warningMessage) {
5416
+ return {
5417
+ type: 'WARNING',
5418
+ title: warningMessage
5419
+ };
5420
+ }
5421
+
5406
5422
  return params.changeStatusTo === 'CANCELLED' ? {
5407
5423
  type: 'CANCELLED',
5408
5424
  title: 'Cancelling this TAF failed, please try again',
@@ -5518,6 +5534,7 @@ var TafPanel = function TafPanel(_ref) {
5518
5534
  return null;
5519
5535
  } : _ref$setIsFormDisable,
5520
5536
  error = _ref.error;
5537
+ var severity = isWarning(error) ? 'warning' : 'error';
5521
5538
 
5522
5539
  var onTafAction = function onTafAction(action, taf) {
5523
5540
  return __awaiter(void 0, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
@@ -5566,7 +5583,10 @@ var TafPanel = function TafPanel(_ref) {
5566
5583
  index: index,
5567
5584
  "data-testid": "taf-panel".concat(activeTafIndex === index ? '-active' : '')
5568
5585
  }, /*#__PURE__*/React__default.createElement(TafHeader, {
5569
- title: getTafStatusLabel(tafFromBackend.taf.status)
5586
+ title: getTafStatusLabel(tafFromBackend.taf.status),
5587
+ sx: {
5588
+ marginBottom: '4px'
5589
+ }
5570
5590
  }), isLoading && /*#__PURE__*/React__default.createElement(Spinner, {
5571
5591
  "data-testid": "taf-loading",
5572
5592
  sx: {
@@ -5575,7 +5595,7 @@ var TafPanel = function TafPanel(_ref) {
5575
5595
  color: 'geowebColors.backdrops.white.fill'
5576
5596
  }
5577
5597
  }), error && /*#__PURE__*/React__default.createElement(AlertBanner, {
5578
- severity: "error",
5598
+ severity: severity,
5579
5599
  title: error.title,
5580
5600
  info: error.message,
5581
5601
  dataTestId: "taf-error",
@@ -5755,19 +5775,33 @@ var TafLayout = function TafLayout(_ref) {
5755
5775
  while (1) {
5756
5776
  switch (_context.prev = _context.next) {
5757
5777
  case 0:
5758
- _context.next = 2;
5778
+ _context.prev = 0;
5779
+ setError(null);
5780
+ _context.next = 4;
5759
5781
  return postTafRequest(data);
5760
5782
 
5761
- case 2:
5783
+ case 4:
5762
5784
  // callback
5763
5785
  onUpdateTaf();
5786
+ _context.next = 11;
5787
+ break;
5764
5788
 
5765
- case 3:
5789
+ case 7:
5790
+ _context.prev = 7;
5791
+ _context.t0 = _context["catch"](0);
5792
+
5793
+ if (isWarning(_context.t0)) {
5794
+ onUpdateTaf();
5795
+ }
5796
+
5797
+ throw _context.t0;
5798
+
5799
+ case 11:
5766
5800
  case "end":
5767
5801
  return _context.stop();
5768
5802
  }
5769
5803
  }
5770
- }, _callee);
5804
+ }, _callee, null, [[0, 7]]);
5771
5805
  }));
5772
5806
  };
5773
5807
 
@@ -5778,25 +5812,26 @@ var TafLayout = function TafLayout(_ref) {
5778
5812
  switch (_context2.prev = _context2.next) {
5779
5813
  case 0:
5780
5814
  _context2.prev = 0;
5781
- _context2.next = 3;
5815
+ setError(null);
5816
+ _context2.next = 4;
5782
5817
  return patchTafRequest(data);
5783
5818
 
5784
- case 3:
5819
+ case 4:
5785
5820
  // callback
5786
5821
  onUpdateTaf();
5787
5822
  return _context2.abrupt("return", true);
5788
5823
 
5789
- case 7:
5790
- _context2.prev = 7;
5824
+ case 8:
5825
+ _context2.prev = 8;
5791
5826
  _context2.t0 = _context2["catch"](0);
5792
5827
  return _context2.abrupt("return", false);
5793
5828
 
5794
- case 10:
5829
+ case 11:
5795
5830
  case "end":
5796
5831
  return _context2.stop();
5797
5832
  }
5798
5833
  }
5799
- }, _callee2, null, [[0, 7]]);
5834
+ }, _callee2, null, [[0, 8]]);
5800
5835
  }));
5801
5836
  };
5802
5837
 
package/index.umd.js CHANGED
@@ -3992,7 +3992,7 @@
3992
3992
  editor = tafFromBackend.editor;
3993
3993
  var auth = authentication.useAuthenticationContext().auth;
3994
3994
  var isEditor = editor === (auth === null || auth === void 0 ? void 0 : auth.username) || false;
3995
- var isDefaultDisabled = getIsFormDefaultDisabled(tafFromBackend.taf.status);
3995
+ var isDefaultDisabled = getIsFormDefaultDisabled(originalTaf.status);
3996
3996
  var confirmDialog = shared.useConfirmationDialog();
3997
3997
 
3998
3998
  var _h = shared.useDraftFormHelpers(true),
@@ -4083,7 +4083,7 @@
4083
4083
  action = undefined;
4084
4084
  }
4085
4085
 
4086
- var newTaf = prepareTafValues(tafFromBackend.taf, action, shouldAddEmptyChangGroup);
4086
+ var newTaf = prepareTafValues(originalTaf, action, shouldAddEmptyChangGroup);
4087
4087
  reset(newTaf);
4088
4088
  };
4089
4089
 
@@ -4092,7 +4092,7 @@
4092
4092
  action = undefined;
4093
4093
  }
4094
4094
 
4095
- var shouldAddEmptyChangGroup = !(tafFromBackend.taf && tafFromBackend.taf.changeGroups) && !resetDisabled;
4095
+ var shouldAddEmptyChangGroup = !(originalTaf && originalTaf.changeGroups) && !resetDisabled;
4096
4096
  resetFormValues(action, shouldAddEmptyChangGroup);
4097
4097
  setIsDisabled(resetDisabled);
4098
4098
  setTafAction(action);
@@ -4263,7 +4263,7 @@
4263
4263
  case 0:
4264
4264
  return [4
4265
4265
  /*yield*/
4266
- , onFormAction(action, convertTafValuesToObject(prepareTafValues(tafFromBackend.taf, action)))];
4266
+ , onFormAction(action, convertTafValuesToObject(prepareTafValues(originalTaf, action)))];
4267
4267
 
4268
4268
  case 1:
4269
4269
  _a.sent();
@@ -4382,7 +4382,7 @@
4382
4382
 
4383
4383
  React__default["default"].useEffect(function () {
4384
4384
  setIsDisabled(!isEditor || isDefaultDisabled);
4385
- var defaultValues = prepareTafValues(tafFromBackend.taf, undefined, !isDefaultDisabled && !tafFromBackend.taf.changeGroups); // set initial form values
4385
+ var defaultValues = prepareTafValues(originalTaf, undefined, !isDefaultDisabled && !originalTaf.changeGroups); // set initial form values
4386
4386
 
4387
4387
  reset(defaultValues); // set validate flag to validate after the values have been set
4388
4388
 
@@ -4412,10 +4412,12 @@
4412
4412
  }; // eslint-disable-next-line react-hooks/exhaustive-deps
4413
4413
  }, []);
4414
4414
  React__default["default"].useEffect(function () {
4415
- var newValues = prepareTafValues(tafFromBackend.taf, undefined, !isDefaultDisabled && !tafFromBackend.taf.changeGroups); // set new form values when tafFromBackend changed
4415
+ var newValues = prepareTafValues(originalTaf, undefined, !isDefaultDisabled && !originalTaf.changeGroups); // set new form values when taf values changed
4416
4416
 
4417
- reset(newValues); // eslint-disable-next-line react-hooks/exhaustive-deps
4418
- }, [tafFromBackend]);
4417
+ reset(newValues); // reset TAC when taf values changed
4418
+
4419
+ resetTAC(); // eslint-disable-next-line react-hooks/exhaustive-deps
4420
+ }, [originalTaf]);
4419
4421
  React__default["default"].useEffect(function () {
4420
4422
  // update disabled state when editor changed
4421
4423
  setIsDisabled(!isEditor || isDefaultDisabled); // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -4423,7 +4425,7 @@
4423
4425
  React__default["default"].useEffect(function () {
4424
4426
  if (shouldValidate && !isDisabled) {
4425
4427
  // trigger validation on all changegroup validity times after form is enabled since they could be outside the new validity period
4426
- var _a = tafFromBackend.taf.changeGroups,
4428
+ var _a = originalTaf.changeGroups,
4427
4429
  changeGroups = _a === void 0 ? [] : _a;
4428
4430
  var validFields = changeGroups.map(function (_field, index) {
4429
4431
  return "changeGroups[" + index + "].valid";
@@ -4587,32 +4589,17 @@
4587
4589
  }, other), value === index && children);
4588
4590
  };
4589
4591
 
4590
- /* *
4591
- * Licensed under the Apache License, Version 2.0 (the "License");
4592
- * you may not use this file except in compliance with the License.
4593
- * You may obtain a copy of the License at
4594
- *
4595
- * http://www.apache.org/licenses/LICENSE-2.0
4596
- *
4597
- * Unless required by applicable law or agreed to in writing, software
4598
- * distributed under the License is distributed on an "AS IS" BASIS,
4599
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4600
- * See the License for the specific language governing permissions and
4601
- * limitations under the License.
4602
- *
4603
- * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4604
- * Copyright 2022 - Finnish Meteorological Institute (FMI)
4605
- * */
4606
-
4607
4592
  var TafHeader = function TafHeader(_a) {
4608
- var title = _a.title;
4593
+ var title = _a.title,
4594
+ _b = _a.sx,
4595
+ sx = _b === void 0 ? {} : _b;
4609
4596
  return /*#__PURE__*/React__default["default"].createElement(material.Typography, {
4610
- sx: {
4597
+ sx: __assign({
4611
4598
  textAlign: 'center',
4612
4599
  fontWeight: 500,
4613
4600
  paddingTop: '6px',
4614
4601
  textTransform: 'capitalize'
4615
- }
4602
+ }, sx)
4616
4603
  }, title);
4617
4604
  };
4618
4605
 
@@ -5366,9 +5353,21 @@
5366
5353
  return 'NEW';
5367
5354
  }
5368
5355
  };
5356
+ var isWarning = function isWarning(error) {
5357
+ return (error === null || error === void 0 ? void 0 : error.type) === 'WARNING';
5358
+ };
5369
5359
 
5370
5360
  var parseErrorMessage = function parseErrorMessage(error, params) {
5371
5361
  var message = shared.getErrorMessage(error);
5362
+ var warningMessage = shared.getWarningMessage(error);
5363
+
5364
+ if (warningMessage) {
5365
+ return {
5366
+ type: 'WARNING',
5367
+ title: warningMessage
5368
+ };
5369
+ }
5370
+
5372
5371
  return params.changeStatusTo === 'CANCELLED' ? {
5373
5372
  type: 'CANCELLED',
5374
5373
  title: 'Cancelling this TAF failed, please try again',
@@ -5478,6 +5477,7 @@
5478
5477
  return null;
5479
5478
  } : _h,
5480
5479
  error = _a.error;
5480
+ var severity = isWarning(error) ? 'warning' : 'error';
5481
5481
 
5482
5482
  var onTafAction = function onTafAction(action, taf) {
5483
5483
  return __awaiter(void 0, void 0, void 0, function () {
@@ -5578,7 +5578,10 @@
5578
5578
  index: index,
5579
5579
  "data-testid": "taf-panel" + (activeTafIndex === index ? '-active' : '')
5580
5580
  }, /*#__PURE__*/React__default["default"].createElement(TafHeader, {
5581
- title: getTafStatusLabel(tafFromBackend.taf.status)
5581
+ title: getTafStatusLabel(tafFromBackend.taf.status),
5582
+ sx: {
5583
+ marginBottom: '4px'
5584
+ }
5582
5585
  }), isLoading && /*#__PURE__*/React__default["default"].createElement(Spinner, {
5583
5586
  "data-testid": "taf-loading",
5584
5587
  sx: {
@@ -5587,7 +5590,7 @@
5587
5590
  color: 'geowebColors.backdrops.white.fill'
5588
5591
  }
5589
5592
  }), error && /*#__PURE__*/React__default["default"].createElement(shared.AlertBanner, {
5590
- severity: "error",
5593
+ severity: severity,
5591
5594
  title: error.title,
5592
5595
  info: error.message,
5593
5596
  dataTestId: "taf-error",
@@ -5734,9 +5737,13 @@
5734
5737
 
5735
5738
  var postTaf = function postTaf(data) {
5736
5739
  return __awaiter(void 0, void 0, void 0, function () {
5740
+ var error_1;
5737
5741
  return __generator(this, function (_a) {
5738
5742
  switch (_a.label) {
5739
5743
  case 0:
5744
+ _a.trys.push([0, 2,, 3]);
5745
+
5746
+ setError(null);
5740
5747
  return [4
5741
5748
  /*yield*/
5742
5749
  , postTafRequest(data)];
@@ -5746,6 +5753,20 @@
5746
5753
 
5747
5754
 
5748
5755
  onUpdateTaf();
5756
+ return [3
5757
+ /*break*/
5758
+ , 3];
5759
+
5760
+ case 2:
5761
+ error_1 = _a.sent();
5762
+
5763
+ if (isWarning(error_1)) {
5764
+ onUpdateTaf();
5765
+ }
5766
+
5767
+ throw error_1;
5768
+
5769
+ case 3:
5749
5770
  return [2
5750
5771
  /*return*/
5751
5772
  ];
@@ -5761,6 +5782,7 @@
5761
5782
  case 0:
5762
5783
  _a.trys.push([0, 2,, 3]);
5763
5784
 
5785
+ setError(null);
5764
5786
  return [4
5765
5787
  /*yield*/
5766
5788
  , patchTafRequest(data)];
@@ -1,6 +1,8 @@
1
+ import { SxProps } from '@mui/material';
1
2
  import React from 'react';
2
3
  interface TafHeaderProps {
3
4
  title: string;
5
+ sx?: SxProps;
4
6
  }
5
7
  declare const TafHeader: React.FC<TafHeaderProps>;
6
8
  export default TafHeader;
@@ -4,7 +4,7 @@ import { TafFromBackend, TafActions, TafStatus, TafFromFrontEnd } from '../../..
4
4
  import { IssuesPanePosition } from '../../IssuesPane/types';
5
5
  export declare const fromActionToStatus: (tafAction: TafActions) => TafStatus;
6
6
  export declare type TafError = {
7
- type: 'CANCELLED' | 'SERVER';
7
+ type: 'CANCELLED' | 'SERVER' | 'WARNING';
8
8
  title: string;
9
9
  message?: string;
10
10
  testId?: string;
@@ -22,6 +22,7 @@ interface TafPanelProps {
22
22
  setIsFormDisabled?: (isDisabled: boolean) => void;
23
23
  error?: TafError;
24
24
  }
25
+ export declare const isWarning: (error: TafError) => boolean;
25
26
  export declare const usePostTafRequest: (request: (params?: unknown) => Promise<void>, errorParser?: (error: AxiosError | Error, params: TafFromFrontEnd) => TafError) => {
26
27
  isLoading: boolean;
27
28
  error: TafError;
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const TafPanelSaveErrorLightSnap: {
7
+ (): React.ReactElement;
8
+ storyName: string;
9
+ };
10
+ export declare const TafPanelSaveErrorDarkSnap: {
11
+ (): React.ReactElement;
12
+ storyName: string;
13
+ };
14
+ export declare const TafPanelTakeOverErrorLightSnap: {
15
+ (): React.ReactElement;
16
+ storyName: string;
17
+ };
18
+ export declare const TafPanelTakeOverErrorDarkSnap: {
19
+ (): React.ReactElement;
20
+ storyName: string;
21
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/taf",
3
- "version": "2.15.0",
3
+ "version": "3.0.0",
4
4
  "description": "GeoWeb TAF library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,22 +13,22 @@
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
15
  "react": "^17.0.2",
16
- "@opengeoweb/api": "2.15.0",
16
+ "@opengeoweb/api": "3.0.0",
17
17
  "axios": "^0.25.0",
18
- "@opengeoweb/shared": "2.15.0",
18
+ "@opengeoweb/shared": "3.0.0",
19
19
  "@mui/material": "^5.2.8",
20
- "@opengeoweb/theme": "2.15.0",
20
+ "@opengeoweb/theme": "3.0.0",
21
21
  "@mui/styles": "^5.2.3",
22
22
  "react-draggable": "^4.4.3",
23
23
  "re-resizable": "^6.9.0",
24
24
  "lodash": "^4.17.20",
25
- "@opengeoweb/form-fields": "2.15.0",
25
+ "@opengeoweb/form-fields": "3.0.0",
26
26
  "react-hook-form": "^6.12.1",
27
27
  "moment": "^2.29.0",
28
28
  "moment-timezone": "^0.5.31",
29
29
  "@mui/lab": "^5.0.0-alpha.64",
30
30
  "react-dom": "^17.0.2",
31
- "@opengeoweb/authentication": "2.15.0",
31
+ "@opengeoweb/authentication": "3.0.0",
32
32
  "react-router-dom": "^5.2.0",
33
33
  "query-string": "^6.13.7",
34
34
  "react-sortablejs": "^6.0.0",