@opengeoweb/taf 2.7.0 → 2.10.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 +51 -99
- package/index.umd.js +51 -83
- package/lib/components/Providers/Providers.d.ts +16 -0
- package/lib/components/Providers/index.d.ts +1 -0
- package/lib/components/TafLayout/LocationTabs/LocationTabs.stories.d.ts +2 -2
- package/package.json +7 -6
- package/assets/icons.d.ts +0 -2
- package/lib/utils/testUtils.d.ts +0 -25
package/index.esm.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { TextField,
|
|
3
|
+
import { TextField, Grid, Box, Button, IconButton, Tooltip, Chip, Typography, Card, Tabs, Tab, Dialog, MenuList, MenuItem, Backdrop, CircularProgress } from '@mui/material';
|
|
4
4
|
import { useFormContext, Controller, useFieldArray } from 'react-hook-form';
|
|
5
5
|
import { ReactSortable, Sortable } from 'react-sortablejs';
|
|
6
6
|
import { getDeepProperty, ReactHookFormHiddenInput, ReactHookFormProvider } from '@opengeoweb/form-fields';
|
|
7
7
|
import { useIsMounted, ToggleMenu, useDraftFormHelpers, ToolContainerDraggable, useConfirmationDialog, usePreventBrowserClose, ToolButton, ToolHeader, isAxiosError, getAxiosErrorMessage, AlertBanner, ConfirmationServiceProvider, usePoller, ErrorBoundary } from '@opengeoweb/shared';
|
|
8
8
|
import { isEqual } from 'lodash';
|
|
9
9
|
import moment from 'moment';
|
|
10
|
+
import { AddBig, Delete, Close, DragHandle as DragHandle$1, ThumbsUp, Clock, Cancel, Edit, Success, Export, ListItem } from '@opengeoweb/icons';
|
|
10
11
|
import makeStyles from '@mui/styles/makeStyles';
|
|
11
|
-
import { DragIndicator, Schedule, CheckCircle } from '@mui/icons-material';
|
|
12
12
|
import ReactDOM from 'react-dom';
|
|
13
13
|
import { useApiContext, useApi, createApiInstance, ApiProvider } from '@opengeoweb/api';
|
|
14
14
|
import LinearProgress from '@mui/material/LinearProgress';
|
|
15
|
-
import DoDisturbIcon from '@mui/icons-material/DoDisturb';
|
|
16
15
|
import Box$1 from '@mui/material/Box';
|
|
17
16
|
|
|
18
17
|
function _typeof(obj) {
|
|
@@ -2857,15 +2856,6 @@ var validateProbabilityField = function validateProbabilityField(value) {
|
|
|
2857
2856
|
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2858
2857
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
2859
2858
|
* */
|
|
2860
|
-
var AddIcon = /*#__PURE__*/React.createElement(SvgIcon, null, /*#__PURE__*/React.createElement("path", {
|
|
2861
|
-
d: "M10.647 10.647h6.82a1.276 1.276 0 1 0 0-2.552h-6.82v-6.82a1.276 1.276 0 1 0-2.552 0v6.82h-6.82a1.276 1.276 0 1 0 0 2.552h6.82v6.82a1.274 1.274 0 0 0 1.276 1.275c.705 0 1.276-.571 1.276-1.276v-6.82z"
|
|
2862
|
-
}));
|
|
2863
|
-
var DeleteIcon = /*#__PURE__*/React.createElement(SvgIcon, null, /*#__PURE__*/React.createElement("path", {
|
|
2864
|
-
d: "M17.504 8.228c.588 0 1.027.48.973 1.066l-.876 9.64A1.197 1.197 0 0 1 16.434 20H8.41c-.59 0-1.115-.48-1.167-1.066l-.877-9.64a.962.962 0 0 1 .973-1.066zm-2.115 1.228a.82.82 0 0 0-.819.82v7.674a.818.818 0 0 0 1.638 0v-7.675a.819.819 0 0 0-.819-.819zm-2.968 0a.819.819 0 0 0-.819.82v7.674a.818.818 0 1 0 1.638 0v-7.675a.82.82 0 0 0-.82-.819zm-2.968 0a.819.819 0 0 0-.818.82v7.674a.818.818 0 1 0 1.637 0v-7.675a.82.82 0 0 0-.82-.819zM13.432 4c.21 0 .404.168.436.376l.107.758 3.256-.01a1.606 1.606 0 0 1 1.61 1.6l.001.535-12.841.038L6 6.76a1.605 1.605 0 0 1 1.6-1.61l3.262-.008.103-.758a.454.454 0 0 1 .434-.38z"
|
|
2865
|
-
}));
|
|
2866
|
-
var CrossIcon = /*#__PURE__*/React.createElement(SvgIcon, null, /*#__PURE__*/React.createElement("path", {
|
|
2867
|
-
d: "m13.805 12 4.821-4.822a1.276 1.276 0 1 0-1.804-1.804L12 10.195 7.178 5.374a1.276 1.276 0 1 0-1.804 1.804L10.196 12l-4.822 4.822a1.276 1.276 0 1 0 1.804 1.805L12 13.805l4.822 4.822a1.274 1.274 0 0 0 1.804 0c.499-.5.499-1.306 0-1.805L13.805 12z"
|
|
2868
|
-
}));
|
|
2869
2859
|
|
|
2870
2860
|
var TafFormOptionsButton = function TafFormOptionsButton(_ref) {
|
|
2871
2861
|
var isChangeGroup = _ref.isChangeGroup,
|
|
@@ -2876,22 +2866,22 @@ var TafFormOptionsButton = function TafFormOptionsButton(_ref) {
|
|
|
2876
2866
|
index = _ref.index;
|
|
2877
2867
|
var insertAbove = {
|
|
2878
2868
|
text: 'Insert 1 row above',
|
|
2879
|
-
icon:
|
|
2869
|
+
icon: /*#__PURE__*/React.createElement(AddBig, null),
|
|
2880
2870
|
action: addChangeGroupAbove
|
|
2881
2871
|
};
|
|
2882
2872
|
var insertBelow = {
|
|
2883
2873
|
text: 'Insert 1 row below',
|
|
2884
|
-
icon:
|
|
2874
|
+
icon: /*#__PURE__*/React.createElement(AddBig, null),
|
|
2885
2875
|
action: addChangeGroupBelow
|
|
2886
2876
|
};
|
|
2887
2877
|
var deleteRow = {
|
|
2888
2878
|
text: 'Delete row',
|
|
2889
|
-
icon:
|
|
2879
|
+
icon: /*#__PURE__*/React.createElement(Delete, null),
|
|
2890
2880
|
action: removeChangeGroup
|
|
2891
2881
|
};
|
|
2892
2882
|
var clear = {
|
|
2893
2883
|
text: 'Clear row',
|
|
2894
|
-
icon:
|
|
2884
|
+
icon: /*#__PURE__*/React.createElement(Close, null),
|
|
2895
2885
|
action: clearRow
|
|
2896
2886
|
};
|
|
2897
2887
|
var menuItemsBaseForecast = [insertBelow, clear];
|
|
@@ -3554,7 +3544,7 @@ var DragHandle = function DragHandle(_ref) {
|
|
|
3554
3544
|
disableRipple: true,
|
|
3555
3545
|
disabled: isDisabled,
|
|
3556
3546
|
size: "large"
|
|
3557
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
3547
|
+
}, /*#__PURE__*/React__default.createElement(DragHandle$1, null));
|
|
3558
3548
|
};
|
|
3559
3549
|
|
|
3560
3550
|
/* *
|
|
@@ -3722,43 +3712,6 @@ var IssuesButton = function IssuesButton(_ref) {
|
|
|
3722
3712
|
}));
|
|
3723
3713
|
};
|
|
3724
3714
|
|
|
3725
|
-
/* *
|
|
3726
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3727
|
-
* you may not use this file except in compliance with the License.
|
|
3728
|
-
* You may obtain a copy of the License at
|
|
3729
|
-
*
|
|
3730
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3731
|
-
*
|
|
3732
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
3733
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3734
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3735
|
-
* See the License for the specific language governing permissions and
|
|
3736
|
-
* limitations under the License.
|
|
3737
|
-
*
|
|
3738
|
-
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3739
|
-
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
3740
|
-
* */
|
|
3741
|
-
var ThumbsUp = function ThumbsUp(props) {
|
|
3742
|
-
return /*#__PURE__*/React__default.createElement(SvgIcon, Object.assign({
|
|
3743
|
-
fontSize: "inherit",
|
|
3744
|
-
viewBox: "0 0 58 69"
|
|
3745
|
-
}, props), /*#__PURE__*/React__default.createElement("title", null, "Thumbs up"), /*#__PURE__*/React__default.createElement("g", {
|
|
3746
|
-
id: "Thumbs-up",
|
|
3747
|
-
stroke: "none",
|
|
3748
|
-
strokeWidth: "1",
|
|
3749
|
-
fill: "none",
|
|
3750
|
-
fillRule: "evenodd"
|
|
3751
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
3752
|
-
d: "M3.99883665,31.7843145 C7.41834232,30.0745617 7.39773108,30.3805485 10.9988366,28.8843145 C14.5999422,27.3880805 16.06167,27.0500418 18.1988366,25.8843145 C19.0904815,25.3979628 19.820202,24.8243341 20.5488366,24.1634286 C20.9845024,23.7682595 22.8819728,21.7794437 23.5488366,20.8277879 C24.2586546,19.8148341 25.1756722,18.5003429 25.9988366,16.8843145 C28.3936103,12.1829184 28.889513,9.4076237 29.8988366,6.88431453 C30.4506375,5.50481234 31.0206747,4.13576029 31.6089482,2.77715837 C31.8562473,2.20602771 32.1648239,1.47549588 32.9988366,0.88431453 C33.2365758,0.715795602 34.0556054,0.253858312 35.0144255,0.0843145301 C36.0262338,-0.0945989315 37.1937102,0.0296108539 37.9980376,0.28431453 C38.7449403,0.520833719 39.4692925,0.860990256 40.1710941,1.30478414 C40.2879689,1.37869154 41.2393256,2.13799569 41.8988366,3.58269657 C42.290748,4.4412034 42.5040976,4.92788584 42.7988366,6.88431453 C42.9953293,8.18860032 43.0453293,9.52193365 42.9488366,10.8843145 C42.947848,11.8251839 42.6645146,13.1585172 42.0988366,14.8843145 C41.9160014,15.4421169 41.6403041,16.2990156 41.2988366,17.1941099 C40.9325633,18.1542284 40.4965053,19.1582935 40.1988366,19.8843145 C39.1594737,22.4193462 37.7498356,25.6900566 37.4561402,26.5124038 C37.2603433,27.0606352 37.1745754,27.6512721 37.1988366,28.2843145 C37.21217,28.4109812 37.2455033,28.5187344 37.2988366,28.6075742 C37.35217,28.6964139 37.45217,28.821994 37.5988366,28.9843145 C38.7401033,28.7100145 39.6802034,28.5266812 40.4191367,28.4343145 C41.6262088,28.2834305 44.7342553,28.0975232 47.4943878,28.1962584 C50.2545202,28.2949937 51.7465936,28.4428269 52.9988366,28.8843145 C53.8336653,29.1786396 54.540332,29.8453063 55.1188366,30.8843145 C55.3507184,31.5616882 55.477385,32.2303996 55.4988366,32.8904489 C55.5202882,33.5504981 55.4369549,34.21512 55.2488366,34.8843145 C54.956044,35.585751 54.5393773,36.1190843 53.9988366,36.4843145 C53.4582959,36.8495447 52.6416293,37.1495447 51.5488366,37.3843145 C51.46217,37.6709812 51.4455033,37.9376479 51.4988366,38.1843145 C51.55217,38.4309812 51.7188366,38.5976479 51.9988366,38.6843145 C53.0027645,38.7154727 53.6750204,38.7821393 54.0156044,38.8843145 C54.7031375,39.0905745 55.3642149,39.4239078 55.9988366,39.8843145 C56.4980387,40.3674862 56.831372,40.7202741 56.9988366,40.9426784 C57.2459451,41.2708552 57.8988366,42.3863253 57.8988366,43.8843145 C57.8988366,44.882974 57.53217,45.882974 56.7988366,46.8843145 C56.4100652,47.2645006 55.9767318,47.5818962 55.4988366,47.8365013 C55.0209415,48.0911064 54.5157721,48.2737108 53.9833285,48.3843145 L52.6988366,48.3843145 C52.2988366,48.6576479 52.0988366,48.9643145 52.0988366,49.3043145 C52.0988366,49.6443145 52.1655033,49.9376479 52.2988366,50.1843145 L53.4440689,50.6343145 C54.0486381,50.9097065 54.566894,51.3263732 54.9988366,51.8843145 C55.2403033,52.1962176 55.7126861,53.1830494 55.7488366,53.8843145 C55.7849872,54.5855797 55.7892838,54.8412841 55.675362,55.3021772 C55.5409724,55.8458769 55.3321306,56.373256 54.9488366,56.8843145 C54.6880408,57.2320423 54.3421972,57.542124 54.0113058,57.8145598 C53.720974,58.0536013 53.0623839,58.3923099 52.0355354,58.6843145 C51.8426264,58.739172 51.4970601,58.8058387 50.9988366,58.8843145 L49.2488366,58.9843145 C48.96217,59.1509812 48.7955033,59.3509812 48.7488366,59.5843145 C48.70217,59.8176479 48.7855033,60.0643145 48.9988366,60.3243145 L50.0168579,60.6843145 C51.0110333,61.2176479 51.5216929,61.9496429 51.5488366,62.8802998 C51.5895523,64.276285 51.475285,65.4556464 50.0016466,66.7843145 C49.4876586,67.2477386 48.8545536,67.4912052 48.1023318,67.7343145 C47.6452927,67.8820242 46.8607943,68.0486909 45.7488366,68.2343145 L40.0010327,68.6843145 C38.1462353,68.7443145 36.81217,68.7776479 35.9988366,68.7843145 C34.7788366,68.7943145 28.6377735,68.7414839 25.3910307,68.5132824 C22.1442879,68.2850808 21.4236621,68.1168902 18.9258088,67.5843145 C16.4279556,67.0517389 16.0894589,66.9976619 13.9988366,66.0843145 C12.6050885,65.4754163 11.2717551,64.6754163 9.99883665,63.6843145 L5.99912679,59.8445931 C5.6005732,59.505994 5.13964906,59.1744645 4.61635438,58.8500046 C3.83141237,58.3633147 3.44878136,58.2942773 2.99883665,57.9843145 C2.44718062,57.6042838 2.05635486,57.1737105 1.71932092,56.7662516 C1.30382099,56.2639309 0.723401214,54.7703696 0.498836646,53.8721113 C0.239479861,52.8346842 0.182966814,51.4491222 0.134208514,50.425802 C0.00166588165,47.644049 0.0975252306,47.2982714 0.0687602378,44.8458357 C0.0452570713,42.8420109 -0.0277106081,40.4082829 0.0112302522,39.9409643 C0.224109489,37.3862585 0.450803729,36.3915418 0.898836646,34.8843145 C1.09883665,34.2114947 1.78104521,33.1945675 2.17275045,32.889441 C2.5644557,32.5843145 3.13875358,32.2143561 3.99883665,31.7843145 Z",
|
|
3753
|
-
id: "Path-2",
|
|
3754
|
-
fill: "#FFBF00"
|
|
3755
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
3756
|
-
d: "M37.1988366,28.2843145 C36.6491114,28.3570112 36.2566531,28.4236779 36.0214618,28.4843145 C35.0603746,28.7321005 34.3937143,29.0314706 34.021481,29.207818 C33.777778,29.3232735 32.5285093,30.04554 31.6988366,30.8956082 C31.0356177,31.5751308 30.7670551,32.3363186 30.5620165,32.9344937 C29.9561734,34.7019667 30.4904911,36.5989836 30.5988366,36.8981554 C30.8174274,37.5017447 31.0945063,37.9694877 31.2988366,38.4843145 C31.4064264,38.7553957 31.4498365,39.7521385 31.3985954,40.9130014 C31.388536,41.1408948 31.3995111,42.8738523 30.5816296,45.1307691 C30.125032,46.3907349 29.4940749,47.743868 28.6988366,48.906031 C27.6082165,50.4998658 26.3589437,51.7345157 26.1988366,51.8770596 C25.2520649,52.7199732 23.8988366,53.516454 23.3777374,54.1031009 C22.8566381,54.6897478 22.8988366,54.7174426 22.8988366,54.8843145 C22.8988366,55.0643438 22.9342857,55.2139882 23.0063234,55.32641 C23.2544011,55.7135594 23.9363916,55.6592779 25.0988366,54.8843145 C25.8683088,54.3713331 26.8213311,53.5952018 27.5988366,52.8259025 C28.3369913,52.0955388 28.9092218,51.3713331 29.2988366,50.8843145 C29.6096134,50.4958436 30.1890589,49.8244169 30.7488366,48.8700346 C31.0160857,48.4143934 31.4327524,47.5858201 31.9988366,46.3843145 C31.9988366,46.7176479 32.33217,47.2176479 32.9988366,47.8843145 C33.1686748,48.0541527 33.5020081,48.3041527 33.9988366,48.6343145 C33.535822,48.6343145 33.2024887,48.6676479 32.9988366,48.7343145 C31.9774176,49.1343145 31.4345654,49.3440777 30.8488366,49.8843145 C30.1709576,50.5095446 29.6310297,51.1756019 29.3988366,52.3843145 C29.1722814,53.5636787 29.3142136,54.632966 29.6488366,55.5921767 C29.928312,56.3933044 30.3156141,57.1176481 30.9865396,57.7652076 C31.1856402,57.9573742 31.5230725,58.2304098 31.9988366,58.5843145 C30.2988366,59.4509812 29.4488366,60.8843145 29.4488366,62.8843145 C29.4488366,65.8843145 31.4988366,68.7843145 35.9988366,68.7843145 C37.2162866,68.7843145 38.5382158,68.7607397 39.9988366,68.6843145 C41.1579568,68.623665 43.0746234,68.473665 45.7488366,68.2343145 C42.81999,68.0652276 40.9033233,67.948561 39.9988366,67.8843145 C38.4397862,67.7735739 34.9576244,67.4218793 34.5109642,67.2843145 C33.8898949,67.0930342 33.3876529,66.66767 32.9988366,66.3843145 C31.7988366,65.509797 31.6488366,63.8668327 31.6488366,63.3843145 C31.6488366,62.6767971 32.115551,61.4820497 32.7124803,60.9291427 C33.2967248,60.387985 34.101504,59.9827037 34.9988366,59.8343145 C36.8129843,59.5343145 37.8279851,59.6343145 38.9968712,59.6343145 C41.8836014,59.6343145 46.4559662,59.9063364 47.0327603,59.9503801 C47.6352731,59.9963876 48.2906319,60.1194654 48.9988366,60.3196132 C48.7881139,60.0647262 48.7047806,59.8196266 48.7488366,59.5843145 C48.7928927,59.3490025 48.9595594,59.1490025 49.2488366,58.9843145 C41.7042463,58.5910176 37.2875796,58.2576842 35.9988366,57.9843145 C34.0657222,57.57426 33.0783849,56.5232188 32.4988366,55.3843145 C32.1808463,54.7594131 31.9988366,54.0680377 32.1988366,52.8843145 C32.4054546,51.661422 33.0758788,51.154421 33.9988366,50.7343145 C35.0343809,50.2629616 36.2160776,50.213626 38.0168693,50.1343145 C41.4226671,49.9843145 41.9988366,49.8715355 44.9988366,49.8843145 C47.4322993,49.8928339 49.8656327,49.9928339 52.2988366,50.1843145 C52.1655033,49.9452767 52.0988366,49.6535253 52.0988366,49.3090604 C52.0988366,48.9645954 52.2988366,48.6563468 52.6988366,48.3843145 C49.4970675,48.4374708 47.2644784,48.4840975 46.0010696,48.5241946 C42.8267531,48.6249387 40.1650305,48.7843145 38.0159019,48.6090596 C36.5073153,48.3843145 35.5349602,47.7454709 35.0988366,47.3586886 C33.5267511,45.9644623 33.6909724,44.1458838 33.6988366,43.902953 C33.7490538,42.3517256 34.2594453,41.6540102 34.9988366,41.2843145 C36.9988366,40.2843145 38.521019,40.3843145 40.9988366,39.8843145 L51.9988366,38.6843145 C51.7847588,38.5992008 51.6347588,38.4325341 51.5488366,38.1843145 C51.4629145,37.9360949 51.4629145,37.6694283 51.5488366,37.3843145 C48.6830402,37.6590904 46.693269,37.8590904 45.579523,37.9843145 C44.2653604,38.1320725 42.7384649,38.3154059 40.9988366,38.5343145 C38.9988366,38.6009812 37.6749072,38.5733169 37.0270482,38.4513217 C35.0988366,38.2216852 33.4888366,37.4843145 33.4388366,34.8545872 C33.3888366,32.7744565 33.7430954,32.2207578 33.8988366,31.9295788 C34.3117653,31.1575537 34.9128559,30.575799 35.3988366,30.1843145 C36.0681111,29.6451768 36.8014444,29.2451768 37.5988366,28.9843145 C37.4503711,28.8228789 37.3503711,28.6970685 37.2988366,28.6068833 C37.2473022,28.516698 37.2139689,28.4091751 37.1988366,28.2843145 Z",
|
|
3757
|
-
id: "Path",
|
|
3758
|
-
fill: "#F28700"
|
|
3759
|
-
})));
|
|
3760
|
-
};
|
|
3761
|
-
|
|
3762
3715
|
var getPaneTitle = function getPaneTitle(sumOfErrors) {
|
|
3763
3716
|
switch (sumOfErrors) {
|
|
3764
3717
|
case 0:
|
|
@@ -4613,23 +4566,30 @@ var prepareTafExportValues = function prepareTafExportValues(tafToCopy, currentT
|
|
|
4613
4566
|
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
4614
4567
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
4615
4568
|
* */
|
|
4616
|
-
var EditIcon = createSvgIcon( /*#__PURE__*/React.createElement("path", {
|
|
4617
|
-
d: "m8.332 17.09-.005.001-2.652.604.956-2.542.001-.001.001-.001.857-.744 1.69 1.945-.848.738zm.71.815L20.932 7.577 17.823 4 5.933 14.329l-.01.008.005.005L4.173 19l4.857-1.09-.004-.02.019.02-.002-.005z"
|
|
4618
|
-
}), 'Edit');
|
|
4619
4569
|
|
|
4620
|
-
var
|
|
4621
|
-
var
|
|
4622
|
-
|
|
4570
|
+
var IconWithTooltip = function IconWithTooltip(_ref) {
|
|
4571
|
+
var title = _ref.title,
|
|
4572
|
+
children = _ref.children;
|
|
4573
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
4574
|
+
title: title,
|
|
4575
|
+
placement: "right"
|
|
4576
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
4577
|
+
component: "span"
|
|
4578
|
+
}, children));
|
|
4579
|
+
};
|
|
4580
|
+
|
|
4581
|
+
var StatusIcon = function StatusIcon(_ref2) {
|
|
4582
|
+
var timeSlot = _ref2.timeSlot,
|
|
4583
|
+
status = _ref2.status;
|
|
4623
4584
|
|
|
4624
4585
|
if (status === 'NEW') {
|
|
4625
4586
|
return null;
|
|
4626
4587
|
}
|
|
4627
4588
|
|
|
4628
4589
|
if (status === 'EXPIRED') {
|
|
4629
|
-
return /*#__PURE__*/React.createElement(
|
|
4630
|
-
title: "Expired"
|
|
4631
|
-
|
|
4632
|
-
}, /*#__PURE__*/React.createElement(Schedule, {
|
|
4590
|
+
return /*#__PURE__*/React.createElement(IconWithTooltip, {
|
|
4591
|
+
title: "Expired"
|
|
4592
|
+
}, /*#__PURE__*/React.createElement(Clock, {
|
|
4633
4593
|
"data-testid": "status-expired",
|
|
4634
4594
|
fontSize: "small",
|
|
4635
4595
|
sx: {
|
|
@@ -4640,10 +4600,9 @@ var StatusIcon = function StatusIcon(_ref) {
|
|
|
4640
4600
|
}
|
|
4641
4601
|
|
|
4642
4602
|
if (status === 'CANCELLED') {
|
|
4643
|
-
return /*#__PURE__*/React.createElement(
|
|
4644
|
-
title: "Cancelled"
|
|
4645
|
-
|
|
4646
|
-
}, /*#__PURE__*/React.createElement(DoDisturbIcon, {
|
|
4603
|
+
return /*#__PURE__*/React.createElement(IconWithTooltip, {
|
|
4604
|
+
title: "Cancelled"
|
|
4605
|
+
}, /*#__PURE__*/React.createElement(Cancel, {
|
|
4647
4606
|
"data-testid": "status-cancelled",
|
|
4648
4607
|
fontSize: "small",
|
|
4649
4608
|
sx: {
|
|
@@ -4653,31 +4612,28 @@ var StatusIcon = function StatusIcon(_ref) {
|
|
|
4653
4612
|
}
|
|
4654
4613
|
|
|
4655
4614
|
if (status === 'DRAFT' || status === 'DRAFT_CORRECTED' || status === 'DRAFT_AMENDED') {
|
|
4656
|
-
return /*#__PURE__*/React.createElement(
|
|
4657
|
-
title: "Draft"
|
|
4658
|
-
|
|
4659
|
-
}, /*#__PURE__*/React.createElement(SvgIcon, {
|
|
4660
|
-
component: EditIcon,
|
|
4615
|
+
return /*#__PURE__*/React.createElement(IconWithTooltip, {
|
|
4616
|
+
title: "Draft"
|
|
4617
|
+
}, /*#__PURE__*/React.createElement(Edit, {
|
|
4661
4618
|
"data-testid": "status-draft",
|
|
4619
|
+
fontSize: "small",
|
|
4662
4620
|
sx: {
|
|
4663
4621
|
color: 'geowebColors.buttons.tertiary.default.color'
|
|
4664
4622
|
}
|
|
4665
4623
|
}));
|
|
4666
4624
|
}
|
|
4667
4625
|
|
|
4668
|
-
return timeSlot === 'ACTIVE' ? /*#__PURE__*/React.createElement(
|
|
4669
|
-
title: "Active"
|
|
4670
|
-
|
|
4671
|
-
}, /*#__PURE__*/React.createElement(CheckCircle, {
|
|
4626
|
+
return timeSlot === 'ACTIVE' ? /*#__PURE__*/React.createElement(IconWithTooltip, {
|
|
4627
|
+
title: "Active"
|
|
4628
|
+
}, /*#__PURE__*/React.createElement(Success, {
|
|
4672
4629
|
"data-testid": "status-active",
|
|
4673
4630
|
fontSize: "small",
|
|
4674
4631
|
sx: {
|
|
4675
4632
|
color: 'geowebColors.functional.success'
|
|
4676
4633
|
}
|
|
4677
|
-
})) : /*#__PURE__*/React.createElement(
|
|
4678
|
-
title: "Upcoming"
|
|
4679
|
-
|
|
4680
|
-
}, /*#__PURE__*/React.createElement(Schedule, {
|
|
4634
|
+
})) : /*#__PURE__*/React.createElement(IconWithTooltip, {
|
|
4635
|
+
title: "Upcoming"
|
|
4636
|
+
}, /*#__PURE__*/React.createElement(Clock, {
|
|
4681
4637
|
"data-testid": "status-upcoming",
|
|
4682
4638
|
fontSize: "small",
|
|
4683
4639
|
sx: {
|
|
@@ -4702,9 +4658,6 @@ var StatusIcon = function StatusIcon(_ref) {
|
|
|
4702
4658
|
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
4703
4659
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
4704
4660
|
* */
|
|
4705
|
-
var ExportIcon = /*#__PURE__*/React__default.createElement(SvgIcon, null, /*#__PURE__*/React__default.createElement("path", {
|
|
4706
|
-
d: "M14.744 5.476a1.252 1.252 0 1 0 0 2.504h2.752v9.516H6.48v-1.753a1.251 1.251 0 1 0-2.504 0v3.004c0 .693.561 1.253 1.252 1.253h13.52C19.44 20 20 19.44 20 18.747V6.727c0-.69-.56-1.251-1.252-1.251zM9.133 2.385a1.252 1.252 0 0 0-1.77 0L1.773 7.974l5.54 5.54c.49.49 1.281.49 1.77 0l.022-.026a1.25 1.25 0 0 0-.021-1.745L6.568 9.225h1.371c.914 0 2.756.618 4.045 2.763 1.29 2.145.352 2.526.653 2.526.301 0 1.943-1.798.721-4.295-1.71-3.498-4.6-3.498-5.346-3.498H6.568l2.565-2.565a1.253 1.253 0 0 0 0-1.771z"
|
|
4707
|
-
}));
|
|
4708
4661
|
|
|
4709
4662
|
var ExportButton = function ExportButton(_ref) {
|
|
4710
4663
|
var onClick = _ref.onClick,
|
|
@@ -4715,7 +4668,7 @@ var ExportButton = function ExportButton(_ref) {
|
|
|
4715
4668
|
}, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(ToolButton, {
|
|
4716
4669
|
onClick: onClick,
|
|
4717
4670
|
"data-testid": "export-tac-button"
|
|
4718
|
-
},
|
|
4671
|
+
}, /*#__PURE__*/React__default.createElement(Export, null))));
|
|
4719
4672
|
};
|
|
4720
4673
|
|
|
4721
4674
|
var TacContainer = function TacContainer(_ref) {
|
|
@@ -4791,6 +4744,7 @@ var TacContainer = function TacContainer(_ref) {
|
|
|
4791
4744
|
height: 24,
|
|
4792
4745
|
display: 'flex',
|
|
4793
4746
|
marginRight: '2px',
|
|
4747
|
+
paddingTop: '6px',
|
|
4794
4748
|
alignItems: 'center',
|
|
4795
4749
|
justifyContent: 'center'
|
|
4796
4750
|
}
|
|
@@ -4964,10 +4918,6 @@ var TacOverview = function TacOverview(_ref) {
|
|
|
4964
4918
|
})));
|
|
4965
4919
|
};
|
|
4966
4920
|
|
|
4967
|
-
var TacOverviewIcon = /*#__PURE__*/React.createElement(SvgIcon, null, /*#__PURE__*/React.createElement("path", {
|
|
4968
|
-
d: "M3 3h4v4H3V3zm0 7h4v4H3v-4zm0 7h4v4H3v-4zm7-14h11v4H10V3zm0 7h11v4H10v-4zm0 7h11v4H10v-4z"
|
|
4969
|
-
}));
|
|
4970
|
-
|
|
4971
4921
|
var TacOverviewMobile = function TacOverviewMobile(_ref) {
|
|
4972
4922
|
var upcomingTafs = _ref.upcomingTafs,
|
|
4973
4923
|
currentTafs = _ref.currentTafs,
|
|
@@ -5000,7 +4950,7 @@ var TacOverviewMobile = function TacOverviewMobile(_ref) {
|
|
|
5000
4950
|
right: '8px',
|
|
5001
4951
|
top: '30px'
|
|
5002
4952
|
}
|
|
5003
|
-
},
|
|
4953
|
+
}, /*#__PURE__*/React.createElement(ListItem, null)), /*#__PURE__*/React.createElement(Dialog, {
|
|
5004
4954
|
open: isOpen,
|
|
5005
4955
|
onClose: onClose,
|
|
5006
4956
|
PaperProps: {
|
|
@@ -5158,18 +5108,20 @@ var LocationTabs = function LocationTabs(_ref) {
|
|
|
5158
5108
|
sx: {
|
|
5159
5109
|
fontSize: '12px',
|
|
5160
5110
|
fontWeight: '500',
|
|
5161
|
-
letterSpacing: '0.09px'
|
|
5162
|
-
'& + svg': {
|
|
5163
|
-
position: 'absolute',
|
|
5164
|
-
bottom: '1px',
|
|
5165
|
-
width: '20px',
|
|
5166
|
-
height: '20px'
|
|
5167
|
-
}
|
|
5111
|
+
letterSpacing: '0.09px'
|
|
5168
5112
|
}
|
|
5169
|
-
}, taf.location), /*#__PURE__*/React.createElement(
|
|
5113
|
+
}, taf.location), /*#__PURE__*/React.createElement(Box$1, {
|
|
5114
|
+
component: "span",
|
|
5115
|
+
sx: {
|
|
5116
|
+
position: 'absolute',
|
|
5117
|
+
bottom: '1px',
|
|
5118
|
+
width: '20px',
|
|
5119
|
+
height: '20px'
|
|
5120
|
+
}
|
|
5121
|
+
}, /*#__PURE__*/React.createElement(StatusIcon, {
|
|
5170
5122
|
timeSlot: timeSlot,
|
|
5171
5123
|
status: taf.status
|
|
5172
|
-
}));
|
|
5124
|
+
})));
|
|
5173
5125
|
}));
|
|
5174
5126
|
};
|
|
5175
5127
|
|
package/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@mui/material'), require('react-hook-form'), require('react-sortablejs'), require('@opengeoweb/form-fields'), require('@opengeoweb/shared'), require('lodash'), require('moment'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'react', '@mui/material', 'react-hook-form', 'react-sortablejs', '@opengeoweb/form-fields', '@opengeoweb/shared', 'lodash', 'moment', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Taf = {}, global.React, global.material, global.reactHookForm, global.reactSortablejs, global.formFields, global.shared, global.lodash, global.moment, global.
|
|
5
|
-
})(this, (function (exports, React, material, reactHookForm, reactSortablejs, formFields, shared, lodash, moment,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('@mui/material'), require('react-hook-form'), require('react-sortablejs'), require('@opengeoweb/form-fields'), require('@opengeoweb/shared'), require('lodash'), require('moment'), require('@opengeoweb/icons'), require('@mui/styles/makeStyles'), require('react-dom'), require('@opengeoweb/api'), require('@mui/material/LinearProgress'), require('@mui/material/Box')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'react', '@mui/material', 'react-hook-form', 'react-sortablejs', '@opengeoweb/form-fields', '@opengeoweb/shared', 'lodash', 'moment', '@opengeoweb/icons', '@mui/styles/makeStyles', 'react-dom', '@opengeoweb/api', '@mui/material/LinearProgress', '@mui/material/Box'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Taf = {}, global.React, global.material, global.reactHookForm, global.reactSortablejs, global.formFields, global.shared, global.lodash, global.moment, global.icons, global.makeStyles, global.ReactDOM, global.api, global.LinearProgress, global.Box));
|
|
5
|
+
})(this, (function (exports, React, material, reactHookForm, reactSortablejs, formFields, shared, lodash, moment, icons, makeStyles, ReactDOM, api, LinearProgress, Box) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
var makeStyles__default = /*#__PURE__*/_interopDefaultLegacy(makeStyles);
|
|
31
31
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
32
32
|
var LinearProgress__default = /*#__PURE__*/_interopDefaultLegacy(LinearProgress);
|
|
33
|
-
var DoDisturbIcon__default = /*#__PURE__*/_interopDefaultLegacy(DoDisturbIcon);
|
|
34
33
|
var Box__default = /*#__PURE__*/_interopDefaultLegacy(Box);
|
|
35
34
|
|
|
36
35
|
/*! *****************************************************************************
|
|
@@ -2860,15 +2859,6 @@
|
|
|
2860
2859
|
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2861
2860
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
2862
2861
|
* */
|
|
2863
|
-
var AddIcon = /*#__PURE__*/React__namespace.createElement(material.SvgIcon, null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2864
|
-
d: "M10.647 10.647h6.82a1.276 1.276 0 1 0 0-2.552h-6.82v-6.82a1.276 1.276 0 1 0-2.552 0v6.82h-6.82a1.276 1.276 0 1 0 0 2.552h6.82v6.82a1.274 1.274 0 0 0 1.276 1.275c.705 0 1.276-.571 1.276-1.276v-6.82z"
|
|
2865
|
-
}));
|
|
2866
|
-
var DeleteIcon = /*#__PURE__*/React__namespace.createElement(material.SvgIcon, null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2867
|
-
d: "M17.504 8.228c.588 0 1.027.48.973 1.066l-.876 9.64A1.197 1.197 0 0 1 16.434 20H8.41c-.59 0-1.115-.48-1.167-1.066l-.877-9.64a.962.962 0 0 1 .973-1.066zm-2.115 1.228a.82.82 0 0 0-.819.82v7.674a.818.818 0 0 0 1.638 0v-7.675a.819.819 0 0 0-.819-.819zm-2.968 0a.819.819 0 0 0-.819.82v7.674a.818.818 0 1 0 1.638 0v-7.675a.82.82 0 0 0-.82-.819zm-2.968 0a.819.819 0 0 0-.818.82v7.674a.818.818 0 1 0 1.637 0v-7.675a.82.82 0 0 0-.82-.819zM13.432 4c.21 0 .404.168.436.376l.107.758 3.256-.01a1.606 1.606 0 0 1 1.61 1.6l.001.535-12.841.038L6 6.76a1.605 1.605 0 0 1 1.6-1.61l3.262-.008.103-.758a.454.454 0 0 1 .434-.38z"
|
|
2868
|
-
}));
|
|
2869
|
-
var CrossIcon = /*#__PURE__*/React__namespace.createElement(material.SvgIcon, null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
2870
|
-
d: "m13.805 12 4.821-4.822a1.276 1.276 0 1 0-1.804-1.804L12 10.195 7.178 5.374a1.276 1.276 0 1 0-1.804 1.804L10.196 12l-4.822 4.822a1.276 1.276 0 1 0 1.804 1.805L12 13.805l4.822 4.822a1.274 1.274 0 0 0 1.804 0c.499-.5.499-1.306 0-1.805L13.805 12z"
|
|
2871
|
-
}));
|
|
2872
2862
|
|
|
2873
2863
|
var TafFormOptionsButton = function TafFormOptionsButton(_a) {
|
|
2874
2864
|
var isChangeGroup = _a.isChangeGroup,
|
|
@@ -2879,22 +2869,22 @@
|
|
|
2879
2869
|
index = _a.index;
|
|
2880
2870
|
var insertAbove = {
|
|
2881
2871
|
text: 'Insert 1 row above',
|
|
2882
|
-
icon:
|
|
2872
|
+
icon: /*#__PURE__*/React__namespace.createElement(icons.AddBig, null),
|
|
2883
2873
|
action: addChangeGroupAbove
|
|
2884
2874
|
};
|
|
2885
2875
|
var insertBelow = {
|
|
2886
2876
|
text: 'Insert 1 row below',
|
|
2887
|
-
icon:
|
|
2877
|
+
icon: /*#__PURE__*/React__namespace.createElement(icons.AddBig, null),
|
|
2888
2878
|
action: addChangeGroupBelow
|
|
2889
2879
|
};
|
|
2890
2880
|
var deleteRow = {
|
|
2891
2881
|
text: 'Delete row',
|
|
2892
|
-
icon:
|
|
2882
|
+
icon: /*#__PURE__*/React__namespace.createElement(icons.Delete, null),
|
|
2893
2883
|
action: removeChangeGroup
|
|
2894
2884
|
};
|
|
2895
2885
|
var clear = {
|
|
2896
2886
|
text: 'Clear row',
|
|
2897
|
-
icon:
|
|
2887
|
+
icon: /*#__PURE__*/React__namespace.createElement(icons.Close, null),
|
|
2898
2888
|
action: clearRow
|
|
2899
2889
|
};
|
|
2900
2890
|
var menuItemsBaseForecast = [insertBelow, clear];
|
|
@@ -3552,7 +3542,7 @@
|
|
|
3552
3542
|
disableRipple: true,
|
|
3553
3543
|
disabled: isDisabled,
|
|
3554
3544
|
size: "large"
|
|
3555
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
3545
|
+
}, /*#__PURE__*/React__default["default"].createElement(icons.DragHandle, null));
|
|
3556
3546
|
};
|
|
3557
3547
|
|
|
3558
3548
|
/* *
|
|
@@ -3719,27 +3709,6 @@
|
|
|
3719
3709
|
}));
|
|
3720
3710
|
};
|
|
3721
3711
|
|
|
3722
|
-
var ThumbsUp = function ThumbsUp(props) {
|
|
3723
|
-
return /*#__PURE__*/React__default["default"].createElement(material.SvgIcon, __assign({
|
|
3724
|
-
fontSize: "inherit",
|
|
3725
|
-
viewBox: "0 0 58 69"
|
|
3726
|
-
}, props), /*#__PURE__*/React__default["default"].createElement("title", null, "Thumbs up"), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
3727
|
-
id: "Thumbs-up",
|
|
3728
|
-
stroke: "none",
|
|
3729
|
-
strokeWidth: "1",
|
|
3730
|
-
fill: "none",
|
|
3731
|
-
fillRule: "evenodd"
|
|
3732
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
3733
|
-
d: "M3.99883665,31.7843145 C7.41834232,30.0745617 7.39773108,30.3805485 10.9988366,28.8843145 C14.5999422,27.3880805 16.06167,27.0500418 18.1988366,25.8843145 C19.0904815,25.3979628 19.820202,24.8243341 20.5488366,24.1634286 C20.9845024,23.7682595 22.8819728,21.7794437 23.5488366,20.8277879 C24.2586546,19.8148341 25.1756722,18.5003429 25.9988366,16.8843145 C28.3936103,12.1829184 28.889513,9.4076237 29.8988366,6.88431453 C30.4506375,5.50481234 31.0206747,4.13576029 31.6089482,2.77715837 C31.8562473,2.20602771 32.1648239,1.47549588 32.9988366,0.88431453 C33.2365758,0.715795602 34.0556054,0.253858312 35.0144255,0.0843145301 C36.0262338,-0.0945989315 37.1937102,0.0296108539 37.9980376,0.28431453 C38.7449403,0.520833719 39.4692925,0.860990256 40.1710941,1.30478414 C40.2879689,1.37869154 41.2393256,2.13799569 41.8988366,3.58269657 C42.290748,4.4412034 42.5040976,4.92788584 42.7988366,6.88431453 C42.9953293,8.18860032 43.0453293,9.52193365 42.9488366,10.8843145 C42.947848,11.8251839 42.6645146,13.1585172 42.0988366,14.8843145 C41.9160014,15.4421169 41.6403041,16.2990156 41.2988366,17.1941099 C40.9325633,18.1542284 40.4965053,19.1582935 40.1988366,19.8843145 C39.1594737,22.4193462 37.7498356,25.6900566 37.4561402,26.5124038 C37.2603433,27.0606352 37.1745754,27.6512721 37.1988366,28.2843145 C37.21217,28.4109812 37.2455033,28.5187344 37.2988366,28.6075742 C37.35217,28.6964139 37.45217,28.821994 37.5988366,28.9843145 C38.7401033,28.7100145 39.6802034,28.5266812 40.4191367,28.4343145 C41.6262088,28.2834305 44.7342553,28.0975232 47.4943878,28.1962584 C50.2545202,28.2949937 51.7465936,28.4428269 52.9988366,28.8843145 C53.8336653,29.1786396 54.540332,29.8453063 55.1188366,30.8843145 C55.3507184,31.5616882 55.477385,32.2303996 55.4988366,32.8904489 C55.5202882,33.5504981 55.4369549,34.21512 55.2488366,34.8843145 C54.956044,35.585751 54.5393773,36.1190843 53.9988366,36.4843145 C53.4582959,36.8495447 52.6416293,37.1495447 51.5488366,37.3843145 C51.46217,37.6709812 51.4455033,37.9376479 51.4988366,38.1843145 C51.55217,38.4309812 51.7188366,38.5976479 51.9988366,38.6843145 C53.0027645,38.7154727 53.6750204,38.7821393 54.0156044,38.8843145 C54.7031375,39.0905745 55.3642149,39.4239078 55.9988366,39.8843145 C56.4980387,40.3674862 56.831372,40.7202741 56.9988366,40.9426784 C57.2459451,41.2708552 57.8988366,42.3863253 57.8988366,43.8843145 C57.8988366,44.882974 57.53217,45.882974 56.7988366,46.8843145 C56.4100652,47.2645006 55.9767318,47.5818962 55.4988366,47.8365013 C55.0209415,48.0911064 54.5157721,48.2737108 53.9833285,48.3843145 L52.6988366,48.3843145 C52.2988366,48.6576479 52.0988366,48.9643145 52.0988366,49.3043145 C52.0988366,49.6443145 52.1655033,49.9376479 52.2988366,50.1843145 L53.4440689,50.6343145 C54.0486381,50.9097065 54.566894,51.3263732 54.9988366,51.8843145 C55.2403033,52.1962176 55.7126861,53.1830494 55.7488366,53.8843145 C55.7849872,54.5855797 55.7892838,54.8412841 55.675362,55.3021772 C55.5409724,55.8458769 55.3321306,56.373256 54.9488366,56.8843145 C54.6880408,57.2320423 54.3421972,57.542124 54.0113058,57.8145598 C53.720974,58.0536013 53.0623839,58.3923099 52.0355354,58.6843145 C51.8426264,58.739172 51.4970601,58.8058387 50.9988366,58.8843145 L49.2488366,58.9843145 C48.96217,59.1509812 48.7955033,59.3509812 48.7488366,59.5843145 C48.70217,59.8176479 48.7855033,60.0643145 48.9988366,60.3243145 L50.0168579,60.6843145 C51.0110333,61.2176479 51.5216929,61.9496429 51.5488366,62.8802998 C51.5895523,64.276285 51.475285,65.4556464 50.0016466,66.7843145 C49.4876586,67.2477386 48.8545536,67.4912052 48.1023318,67.7343145 C47.6452927,67.8820242 46.8607943,68.0486909 45.7488366,68.2343145 L40.0010327,68.6843145 C38.1462353,68.7443145 36.81217,68.7776479 35.9988366,68.7843145 C34.7788366,68.7943145 28.6377735,68.7414839 25.3910307,68.5132824 C22.1442879,68.2850808 21.4236621,68.1168902 18.9258088,67.5843145 C16.4279556,67.0517389 16.0894589,66.9976619 13.9988366,66.0843145 C12.6050885,65.4754163 11.2717551,64.6754163 9.99883665,63.6843145 L5.99912679,59.8445931 C5.6005732,59.505994 5.13964906,59.1744645 4.61635438,58.8500046 C3.83141237,58.3633147 3.44878136,58.2942773 2.99883665,57.9843145 C2.44718062,57.6042838 2.05635486,57.1737105 1.71932092,56.7662516 C1.30382099,56.2639309 0.723401214,54.7703696 0.498836646,53.8721113 C0.239479861,52.8346842 0.182966814,51.4491222 0.134208514,50.425802 C0.00166588165,47.644049 0.0975252306,47.2982714 0.0687602378,44.8458357 C0.0452570713,42.8420109 -0.0277106081,40.4082829 0.0112302522,39.9409643 C0.224109489,37.3862585 0.450803729,36.3915418 0.898836646,34.8843145 C1.09883665,34.2114947 1.78104521,33.1945675 2.17275045,32.889441 C2.5644557,32.5843145 3.13875358,32.2143561 3.99883665,31.7843145 Z",
|
|
3734
|
-
id: "Path-2",
|
|
3735
|
-
fill: "#FFBF00"
|
|
3736
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
3737
|
-
d: "M37.1988366,28.2843145 C36.6491114,28.3570112 36.2566531,28.4236779 36.0214618,28.4843145 C35.0603746,28.7321005 34.3937143,29.0314706 34.021481,29.207818 C33.777778,29.3232735 32.5285093,30.04554 31.6988366,30.8956082 C31.0356177,31.5751308 30.7670551,32.3363186 30.5620165,32.9344937 C29.9561734,34.7019667 30.4904911,36.5989836 30.5988366,36.8981554 C30.8174274,37.5017447 31.0945063,37.9694877 31.2988366,38.4843145 C31.4064264,38.7553957 31.4498365,39.7521385 31.3985954,40.9130014 C31.388536,41.1408948 31.3995111,42.8738523 30.5816296,45.1307691 C30.125032,46.3907349 29.4940749,47.743868 28.6988366,48.906031 C27.6082165,50.4998658 26.3589437,51.7345157 26.1988366,51.8770596 C25.2520649,52.7199732 23.8988366,53.516454 23.3777374,54.1031009 C22.8566381,54.6897478 22.8988366,54.7174426 22.8988366,54.8843145 C22.8988366,55.0643438 22.9342857,55.2139882 23.0063234,55.32641 C23.2544011,55.7135594 23.9363916,55.6592779 25.0988366,54.8843145 C25.8683088,54.3713331 26.8213311,53.5952018 27.5988366,52.8259025 C28.3369913,52.0955388 28.9092218,51.3713331 29.2988366,50.8843145 C29.6096134,50.4958436 30.1890589,49.8244169 30.7488366,48.8700346 C31.0160857,48.4143934 31.4327524,47.5858201 31.9988366,46.3843145 C31.9988366,46.7176479 32.33217,47.2176479 32.9988366,47.8843145 C33.1686748,48.0541527 33.5020081,48.3041527 33.9988366,48.6343145 C33.535822,48.6343145 33.2024887,48.6676479 32.9988366,48.7343145 C31.9774176,49.1343145 31.4345654,49.3440777 30.8488366,49.8843145 C30.1709576,50.5095446 29.6310297,51.1756019 29.3988366,52.3843145 C29.1722814,53.5636787 29.3142136,54.632966 29.6488366,55.5921767 C29.928312,56.3933044 30.3156141,57.1176481 30.9865396,57.7652076 C31.1856402,57.9573742 31.5230725,58.2304098 31.9988366,58.5843145 C30.2988366,59.4509812 29.4488366,60.8843145 29.4488366,62.8843145 C29.4488366,65.8843145 31.4988366,68.7843145 35.9988366,68.7843145 C37.2162866,68.7843145 38.5382158,68.7607397 39.9988366,68.6843145 C41.1579568,68.623665 43.0746234,68.473665 45.7488366,68.2343145 C42.81999,68.0652276 40.9033233,67.948561 39.9988366,67.8843145 C38.4397862,67.7735739 34.9576244,67.4218793 34.5109642,67.2843145 C33.8898949,67.0930342 33.3876529,66.66767 32.9988366,66.3843145 C31.7988366,65.509797 31.6488366,63.8668327 31.6488366,63.3843145 C31.6488366,62.6767971 32.115551,61.4820497 32.7124803,60.9291427 C33.2967248,60.387985 34.101504,59.9827037 34.9988366,59.8343145 C36.8129843,59.5343145 37.8279851,59.6343145 38.9968712,59.6343145 C41.8836014,59.6343145 46.4559662,59.9063364 47.0327603,59.9503801 C47.6352731,59.9963876 48.2906319,60.1194654 48.9988366,60.3196132 C48.7881139,60.0647262 48.7047806,59.8196266 48.7488366,59.5843145 C48.7928927,59.3490025 48.9595594,59.1490025 49.2488366,58.9843145 C41.7042463,58.5910176 37.2875796,58.2576842 35.9988366,57.9843145 C34.0657222,57.57426 33.0783849,56.5232188 32.4988366,55.3843145 C32.1808463,54.7594131 31.9988366,54.0680377 32.1988366,52.8843145 C32.4054546,51.661422 33.0758788,51.154421 33.9988366,50.7343145 C35.0343809,50.2629616 36.2160776,50.213626 38.0168693,50.1343145 C41.4226671,49.9843145 41.9988366,49.8715355 44.9988366,49.8843145 C47.4322993,49.8928339 49.8656327,49.9928339 52.2988366,50.1843145 C52.1655033,49.9452767 52.0988366,49.6535253 52.0988366,49.3090604 C52.0988366,48.9645954 52.2988366,48.6563468 52.6988366,48.3843145 C49.4970675,48.4374708 47.2644784,48.4840975 46.0010696,48.5241946 C42.8267531,48.6249387 40.1650305,48.7843145 38.0159019,48.6090596 C36.5073153,48.3843145 35.5349602,47.7454709 35.0988366,47.3586886 C33.5267511,45.9644623 33.6909724,44.1458838 33.6988366,43.902953 C33.7490538,42.3517256 34.2594453,41.6540102 34.9988366,41.2843145 C36.9988366,40.2843145 38.521019,40.3843145 40.9988366,39.8843145 L51.9988366,38.6843145 C51.7847588,38.5992008 51.6347588,38.4325341 51.5488366,38.1843145 C51.4629145,37.9360949 51.4629145,37.6694283 51.5488366,37.3843145 C48.6830402,37.6590904 46.693269,37.8590904 45.579523,37.9843145 C44.2653604,38.1320725 42.7384649,38.3154059 40.9988366,38.5343145 C38.9988366,38.6009812 37.6749072,38.5733169 37.0270482,38.4513217 C35.0988366,38.2216852 33.4888366,37.4843145 33.4388366,34.8545872 C33.3888366,32.7744565 33.7430954,32.2207578 33.8988366,31.9295788 C34.3117653,31.1575537 34.9128559,30.575799 35.3988366,30.1843145 C36.0681111,29.6451768 36.8014444,29.2451768 37.5988366,28.9843145 C37.4503711,28.8228789 37.3503711,28.6970685 37.2988366,28.6068833 C37.2473022,28.516698 37.2139689,28.4091751 37.1988366,28.2843145 Z",
|
|
3738
|
-
id: "Path",
|
|
3739
|
-
fill: "#F28700"
|
|
3740
|
-
})));
|
|
3741
|
-
};
|
|
3742
|
-
|
|
3743
3712
|
var getPaneTitle = function getPaneTitle(sumOfErrors) {
|
|
3744
3713
|
switch (sumOfErrors) {
|
|
3745
3714
|
case 0:
|
|
@@ -3856,7 +3825,7 @@
|
|
|
3856
3825
|
fontSize: '4rem'
|
|
3857
3826
|
},
|
|
3858
3827
|
"data-testid": "zeroIssuesImage"
|
|
3859
|
-
}, /*#__PURE__*/React__namespace.createElement(ThumbsUp, null)), errorList.length > 0 && errorList.map(function (error, index) {
|
|
3828
|
+
}, /*#__PURE__*/React__namespace.createElement(icons.ThumbsUp, null)), errorList.length > 0 && errorList.map(function (error, index) {
|
|
3860
3829
|
return /*#__PURE__*/React__namespace.createElement(material.Typography // eslint-disable-next-line react/no-array-index-key
|
|
3861
3830
|
, {
|
|
3862
3831
|
// eslint-disable-next-line react/no-array-index-key
|
|
@@ -4605,9 +4574,17 @@
|
|
|
4605
4574
|
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
4606
4575
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
4607
4576
|
* */
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4577
|
+
|
|
4578
|
+
var IconWithTooltip = function IconWithTooltip(_a) {
|
|
4579
|
+
var title = _a.title,
|
|
4580
|
+
children = _a.children;
|
|
4581
|
+
return /*#__PURE__*/React__namespace.createElement(material.Tooltip, {
|
|
4582
|
+
title: title,
|
|
4583
|
+
placement: "right"
|
|
4584
|
+
}, /*#__PURE__*/React__namespace.createElement(material.Box, {
|
|
4585
|
+
component: "span"
|
|
4586
|
+
}, children));
|
|
4587
|
+
};
|
|
4611
4588
|
|
|
4612
4589
|
var StatusIcon = function StatusIcon(_a) {
|
|
4613
4590
|
var timeSlot = _a.timeSlot,
|
|
@@ -4618,10 +4595,9 @@
|
|
|
4618
4595
|
}
|
|
4619
4596
|
|
|
4620
4597
|
if (status === 'EXPIRED') {
|
|
4621
|
-
return /*#__PURE__*/React__namespace.createElement(
|
|
4622
|
-
title: "Expired"
|
|
4623
|
-
|
|
4624
|
-
}, /*#__PURE__*/React__namespace.createElement(iconsMaterial.Schedule, {
|
|
4598
|
+
return /*#__PURE__*/React__namespace.createElement(IconWithTooltip, {
|
|
4599
|
+
title: "Expired"
|
|
4600
|
+
}, /*#__PURE__*/React__namespace.createElement(icons.Clock, {
|
|
4625
4601
|
"data-testid": "status-expired",
|
|
4626
4602
|
fontSize: "small",
|
|
4627
4603
|
sx: {
|
|
@@ -4632,10 +4608,9 @@
|
|
|
4632
4608
|
}
|
|
4633
4609
|
|
|
4634
4610
|
if (status === 'CANCELLED') {
|
|
4635
|
-
return /*#__PURE__*/React__namespace.createElement(
|
|
4636
|
-
title: "Cancelled"
|
|
4637
|
-
|
|
4638
|
-
}, /*#__PURE__*/React__namespace.createElement(DoDisturbIcon__default["default"], {
|
|
4611
|
+
return /*#__PURE__*/React__namespace.createElement(IconWithTooltip, {
|
|
4612
|
+
title: "Cancelled"
|
|
4613
|
+
}, /*#__PURE__*/React__namespace.createElement(icons.Cancel, {
|
|
4639
4614
|
"data-testid": "status-cancelled",
|
|
4640
4615
|
fontSize: "small",
|
|
4641
4616
|
sx: {
|
|
@@ -4645,31 +4620,28 @@
|
|
|
4645
4620
|
}
|
|
4646
4621
|
|
|
4647
4622
|
if (status === 'DRAFT' || status === 'DRAFT_CORRECTED' || status === 'DRAFT_AMENDED') {
|
|
4648
|
-
return /*#__PURE__*/React__namespace.createElement(
|
|
4649
|
-
title: "Draft"
|
|
4650
|
-
|
|
4651
|
-
}, /*#__PURE__*/React__namespace.createElement(material.SvgIcon, {
|
|
4652
|
-
component: EditIcon,
|
|
4623
|
+
return /*#__PURE__*/React__namespace.createElement(IconWithTooltip, {
|
|
4624
|
+
title: "Draft"
|
|
4625
|
+
}, /*#__PURE__*/React__namespace.createElement(icons.Edit, {
|
|
4653
4626
|
"data-testid": "status-draft",
|
|
4627
|
+
fontSize: "small",
|
|
4654
4628
|
sx: {
|
|
4655
4629
|
color: 'geowebColors.buttons.tertiary.default.color'
|
|
4656
4630
|
}
|
|
4657
4631
|
}));
|
|
4658
4632
|
}
|
|
4659
4633
|
|
|
4660
|
-
return timeSlot === 'ACTIVE' ? /*#__PURE__*/React__namespace.createElement(
|
|
4661
|
-
title: "Active"
|
|
4662
|
-
|
|
4663
|
-
}, /*#__PURE__*/React__namespace.createElement(iconsMaterial.CheckCircle, {
|
|
4634
|
+
return timeSlot === 'ACTIVE' ? /*#__PURE__*/React__namespace.createElement(IconWithTooltip, {
|
|
4635
|
+
title: "Active"
|
|
4636
|
+
}, /*#__PURE__*/React__namespace.createElement(icons.Success, {
|
|
4664
4637
|
"data-testid": "status-active",
|
|
4665
4638
|
fontSize: "small",
|
|
4666
4639
|
sx: {
|
|
4667
4640
|
color: 'geowebColors.functional.success'
|
|
4668
4641
|
}
|
|
4669
|
-
})) : /*#__PURE__*/React__namespace.createElement(
|
|
4670
|
-
title: "Upcoming"
|
|
4671
|
-
|
|
4672
|
-
}, /*#__PURE__*/React__namespace.createElement(iconsMaterial.Schedule, {
|
|
4642
|
+
})) : /*#__PURE__*/React__namespace.createElement(IconWithTooltip, {
|
|
4643
|
+
title: "Upcoming"
|
|
4644
|
+
}, /*#__PURE__*/React__namespace.createElement(icons.Clock, {
|
|
4673
4645
|
"data-testid": "status-upcoming",
|
|
4674
4646
|
fontSize: "small",
|
|
4675
4647
|
sx: {
|
|
@@ -4694,9 +4666,6 @@
|
|
|
4694
4666
|
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
4695
4667
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
4696
4668
|
* */
|
|
4697
|
-
var ExportIcon = /*#__PURE__*/React__default["default"].createElement(material.SvgIcon, null, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
4698
|
-
d: "M14.744 5.476a1.252 1.252 0 1 0 0 2.504h2.752v9.516H6.48v-1.753a1.251 1.251 0 1 0-2.504 0v3.004c0 .693.561 1.253 1.252 1.253h13.52C19.44 20 20 19.44 20 18.747V6.727c0-.69-.56-1.251-1.252-1.251zM9.133 2.385a1.252 1.252 0 0 0-1.77 0L1.773 7.974l5.54 5.54c.49.49 1.281.49 1.77 0l.022-.026a1.25 1.25 0 0 0-.021-1.745L6.568 9.225h1.371c.914 0 2.756.618 4.045 2.763 1.29 2.145.352 2.526.653 2.526.301 0 1.943-1.798.721-4.295-1.71-3.498-4.6-3.498-5.346-3.498H6.568l2.565-2.565a1.253 1.253 0 0 0 0-1.771z"
|
|
4699
|
-
}));
|
|
4700
4669
|
|
|
4701
4670
|
var ExportButton = function ExportButton(_a) {
|
|
4702
4671
|
var onClick = _a.onClick,
|
|
@@ -4707,7 +4676,7 @@
|
|
|
4707
4676
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement(shared.ToolButton, {
|
|
4708
4677
|
onClick: onClick,
|
|
4709
4678
|
"data-testid": "export-tac-button"
|
|
4710
|
-
},
|
|
4679
|
+
}, /*#__PURE__*/React__default["default"].createElement(icons.Export, null))));
|
|
4711
4680
|
};
|
|
4712
4681
|
|
|
4713
4682
|
/* *
|
|
@@ -4796,6 +4765,7 @@
|
|
|
4796
4765
|
height: 24,
|
|
4797
4766
|
display: 'flex',
|
|
4798
4767
|
marginRight: '2px',
|
|
4768
|
+
paddingTop: '6px',
|
|
4799
4769
|
alignItems: 'center',
|
|
4800
4770
|
justifyContent: 'center'
|
|
4801
4771
|
}
|
|
@@ -4968,10 +4938,6 @@
|
|
|
4968
4938
|
})));
|
|
4969
4939
|
};
|
|
4970
4940
|
|
|
4971
|
-
var TacOverviewIcon = /*#__PURE__*/React__namespace.createElement(material.SvgIcon, null, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4972
|
-
d: "M3 3h4v4H3V3zm0 7h4v4H3v-4zm0 7h4v4H3v-4zm7-14h11v4H10V3zm0 7h11v4H10v-4zm0 7h11v4H10v-4z"
|
|
4973
|
-
}));
|
|
4974
|
-
|
|
4975
4941
|
var TacOverviewMobile = function TacOverviewMobile(_a) {
|
|
4976
4942
|
var upcomingTafs = _a.upcomingTafs,
|
|
4977
4943
|
currentTafs = _a.currentTafs,
|
|
@@ -5003,7 +4969,7 @@
|
|
|
5003
4969
|
right: '8px',
|
|
5004
4970
|
top: '30px'
|
|
5005
4971
|
}
|
|
5006
|
-
},
|
|
4972
|
+
}, /*#__PURE__*/React__namespace.createElement(icons.ListItem, null)), /*#__PURE__*/React__namespace.createElement(material.Dialog, {
|
|
5007
4973
|
open: isOpen,
|
|
5008
4974
|
onClose: onClose,
|
|
5009
4975
|
PaperProps: {
|
|
@@ -5144,18 +5110,20 @@
|
|
|
5144
5110
|
sx: {
|
|
5145
5111
|
fontSize: '12px',
|
|
5146
5112
|
fontWeight: '500',
|
|
5147
|
-
letterSpacing: '0.09px'
|
|
5148
|
-
'& + svg': {
|
|
5149
|
-
position: 'absolute',
|
|
5150
|
-
bottom: '1px',
|
|
5151
|
-
width: '20px',
|
|
5152
|
-
height: '20px'
|
|
5153
|
-
}
|
|
5113
|
+
letterSpacing: '0.09px'
|
|
5154
5114
|
}
|
|
5155
|
-
}, taf.location), /*#__PURE__*/React__namespace.createElement(
|
|
5115
|
+
}, taf.location), /*#__PURE__*/React__namespace.createElement(Box__default["default"], {
|
|
5116
|
+
component: "span",
|
|
5117
|
+
sx: {
|
|
5118
|
+
position: 'absolute',
|
|
5119
|
+
bottom: '1px',
|
|
5120
|
+
width: '20px',
|
|
5121
|
+
height: '20px'
|
|
5122
|
+
}
|
|
5123
|
+
}, /*#__PURE__*/React__namespace.createElement(StatusIcon, {
|
|
5156
5124
|
timeSlot: timeSlot,
|
|
5157
5125
|
status: taf.status
|
|
5158
|
-
}));
|
|
5126
|
+
})));
|
|
5159
5127
|
}));
|
|
5160
5128
|
};
|
|
5161
5129
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { UseFormOptions } from 'react-hook-form';
|
|
3
|
+
import { Theme } from '@mui/material';
|
|
4
|
+
export interface TafThemeApiProviderProps {
|
|
5
|
+
createApiFunc?: any;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
}
|
|
9
|
+
export declare const TafThemeApiProvider: React.FC<TafThemeApiProviderProps>;
|
|
10
|
+
interface TafThemeFormProviderProps {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
options?: UseFormOptions;
|
|
13
|
+
theme?: Theme;
|
|
14
|
+
}
|
|
15
|
+
export declare const TafThemeFormProvider: React.FC<TafThemeFormProviderProps>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Providers';
|
|
@@ -3,11 +3,11 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const LocationTabsLightTheme: {
|
|
7
7
|
(): React.ReactElement;
|
|
8
8
|
storyName: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const LocationTabsDarkTheme: {
|
|
11
11
|
(): React.ReactElement;
|
|
12
12
|
storyName: string;
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/taf",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "GeoWeb TAF library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,17 +13,18 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^17.0.2",
|
|
16
|
-
"@
|
|
17
|
-
"@opengeoweb/api": "2.7.0",
|
|
16
|
+
"@opengeoweb/api": "2.10.0",
|
|
18
17
|
"axios": "^0.25.0",
|
|
19
|
-
"@opengeoweb/shared": "2.
|
|
20
|
-
"@
|
|
18
|
+
"@opengeoweb/shared": "2.10.0",
|
|
19
|
+
"@mui/material": "^5.2.8",
|
|
20
|
+
"@opengeoweb/theme": "2.10.0",
|
|
21
21
|
"@mui/styles": "^5.2.3",
|
|
22
22
|
"@mui/icons-material": "^5.2.5",
|
|
23
|
+
"@opengeoweb/icons": "2.10.0",
|
|
23
24
|
"react-draggable": "^4.4.3",
|
|
24
25
|
"re-resizable": "^6.9.0",
|
|
25
26
|
"lodash": "^4.17.20",
|
|
26
|
-
"@opengeoweb/form-fields": "2.
|
|
27
|
+
"@opengeoweb/form-fields": "2.10.0",
|
|
27
28
|
"react-hook-form": "^6.12.1",
|
|
28
29
|
"moment": "^2.29.0",
|
|
29
30
|
"moment-timezone": "^0.5.31",
|
package/assets/icons.d.ts
DELETED
package/lib/utils/testUtils.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { UseFormOptions } from 'react-hook-form';
|
|
3
|
-
import { Theme } from '@mui/material';
|
|
4
|
-
interface WrapperProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
theme?: Theme;
|
|
7
|
-
}
|
|
8
|
-
export interface TestWrapperProps extends WrapperProps {
|
|
9
|
-
createApiFunc?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const TestWrapper: React.FC<TestWrapperProps>;
|
|
12
|
-
interface ApiTestWrapperProps extends WrapperProps {
|
|
13
|
-
postTaf?: unknown;
|
|
14
|
-
getTafList?: unknown;
|
|
15
|
-
getTAC?: unknown;
|
|
16
|
-
}
|
|
17
|
-
export declare const ApiTestWrapper: React.FC<ApiTestWrapperProps>;
|
|
18
|
-
interface TestFormWrapperProps {
|
|
19
|
-
children: React.ReactNode;
|
|
20
|
-
options?: UseFormOptions;
|
|
21
|
-
theme?: Theme;
|
|
22
|
-
}
|
|
23
|
-
export declare const TestFormWrapper: React.FC<TestFormWrapperProps>;
|
|
24
|
-
export declare const StoryWrapper: React.FC<WrapperProps>;
|
|
25
|
-
export {};
|