@opengeoweb/sigmet-airmet 2.1.3 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/icons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvgIconProps } from '@material
|
|
1
|
+
import { SvgIconProps } from '@mui/material';
|
|
2
2
|
export declare const RegionDraw: (props: SvgIconProps) => JSX.Element;
|
|
3
3
|
export declare const PolygonDraw: (props: SvgIconProps) => JSX.Element;
|
|
4
4
|
export declare const FIRDraw: (props: SvgIconProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { FormControlLabel, Radio, Grid, Typography, SvgIcon, Tooltip, Button, Checkbox, MenuItem, FormHelperText, Dialog, DialogTitle, DialogContent, Card, CardContent, List, ListItem, Skeleton, Backdrop, CircularProgress } from '@mui/material';
|
|
4
4
|
import { useFormContext } from 'react-hook-form';
|
|
5
5
|
import { ReactHookFormRadioGroup, ReactHookFormSelect, ReactHookFormNumberField, isInteger, isValidMax, isValidMin, isEmpty, ReactHookFormDateTime, isValidDate, isBefore, isBetween, hasMaxFeaturePoints, hasMulitpleIntersections, ReactHookFormHiddenInput, isMaximumOneDrawing, hasIntersectionWithFIR, isValidGeoJsonCoordinates, isXHoursBefore, isAfter, isXHoursAfter, ReactHookFormTextField, containsNoCommas, isLatitude, isNonOrBothCoordinates, isLongitude, errorMessages, isGeometryDirty, ReactHookFormProvider, defaultFormOptions } from '@opengeoweb/form-fields';
|
|
6
6
|
import { useApiContext, useApi, createApiInstance } from '@opengeoweb/api';
|
|
@@ -9,11 +9,11 @@ import { useDispatch, useSelector, shallowEqual } from 'react-redux';
|
|
|
9
9
|
import { mapTypes, mapSelectors, generateMapId, generateTimesliderId, SyncGroups, generateLayerId, mapActions, publicLayers, MapControls, LayerManagerMapButtonConnect, LegendMapButtonConnect, MultiDimensionSelectMapButtonsConnect, MapViewConnect, MapViewLayer, TimeSliderConnect } from '@opengeoweb/core';
|
|
10
10
|
import * as turf from '@turf/turf';
|
|
11
11
|
import { polygonToLineString, booleanClockwise, rewind } from '@turf/turf';
|
|
12
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
12
13
|
import { useDraftFormHelpers, useIsMounted, StatusTag, AlertBanner, usePreventBrowserClose, useConfirmationDialog, isAxiosError, getAxiosErrorMessage, ConfirmationServiceProvider, usePoller } from '@opengeoweb/shared';
|
|
13
|
-
import { LocationOn, Delete, ArrowBackIos, InfoOutlined, Create, CheckCircle, Schedule } from '@
|
|
14
|
+
import { LocationOn, Delete, ArrowBackIos, InfoOutlined, Create, CheckCircle, Schedule } from '@mui/icons-material';
|
|
14
15
|
import moment from 'moment';
|
|
15
16
|
import { debounce } from 'lodash';
|
|
16
|
-
import { Skeleton } from '@material-ui/lab';
|
|
17
17
|
|
|
18
18
|
function _typeof(obj) {
|
|
19
19
|
"@babel/helpers - typeof";
|
|
@@ -450,20 +450,20 @@ var StartOrEndDrawing;
|
|
|
450
450
|
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
451
451
|
* */
|
|
452
452
|
var adagucBaseUrl = 'https://adaguc-server-geoweb.geoweb.knmi.cloud/adagucserver';
|
|
453
|
-
var
|
|
454
|
-
name: '
|
|
455
|
-
url: "".concat(adagucBaseUrl, "?dataset=OVL
|
|
456
|
-
id: '
|
|
453
|
+
var KNMIGeoWebOverlays = {
|
|
454
|
+
name: 'KNMIGeoWebOverlays',
|
|
455
|
+
url: "".concat(adagucBaseUrl, "?dataset=OVL"),
|
|
456
|
+
id: 'knmigeoweboverlays'
|
|
457
457
|
};
|
|
458
458
|
var northSeaPlatforms = {
|
|
459
|
-
service:
|
|
459
|
+
service: KNMIGeoWebOverlays.url,
|
|
460
460
|
name: 'northseastations',
|
|
461
461
|
format: 'image/png',
|
|
462
462
|
layerType: mapTypes.LayerType.overLayer,
|
|
463
463
|
enabled: true
|
|
464
464
|
};
|
|
465
465
|
var majorAirportsEHAA = {
|
|
466
|
-
service:
|
|
466
|
+
service: KNMIGeoWebOverlays.url,
|
|
467
467
|
name: 'airports',
|
|
468
468
|
format: 'image/png',
|
|
469
469
|
layerType: mapTypes.LayerType.overLayer,
|
|
@@ -1128,6 +1128,9 @@ var useStyles$6 = makeStyles({
|
|
|
1128
1128
|
body: {
|
|
1129
1129
|
paddingTop: '17px'
|
|
1130
1130
|
},
|
|
1131
|
+
containerItem: {
|
|
1132
|
+
paddingTop: '8px'
|
|
1133
|
+
},
|
|
1131
1134
|
volcanicField: {
|
|
1132
1135
|
marginBottom: 16
|
|
1133
1136
|
},
|
|
@@ -1154,7 +1157,7 @@ var useStyles$6 = makeStyles({
|
|
|
1154
1157
|
opacity: '1'
|
|
1155
1158
|
},
|
|
1156
1159
|
drawSection: {
|
|
1157
|
-
|
|
1160
|
+
padding: '10px 0px'
|
|
1158
1161
|
}
|
|
1159
1162
|
});
|
|
1160
1163
|
|
|
@@ -1248,12 +1251,13 @@ var Change = function Change(_ref) {
|
|
|
1248
1251
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
1249
1252
|
item: true,
|
|
1250
1253
|
container: true,
|
|
1251
|
-
spacing: 2
|
|
1254
|
+
spacing: 2,
|
|
1255
|
+
className: classes.containerItem
|
|
1252
1256
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
1253
1257
|
item: true,
|
|
1254
1258
|
xs: 4,
|
|
1255
1259
|
container: true,
|
|
1256
|
-
|
|
1260
|
+
justifyContent: "flex-end"
|
|
1257
1261
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
1258
1262
|
variant: "subtitle1",
|
|
1259
1263
|
className: classes.label
|
|
@@ -1261,7 +1265,7 @@ var Change = function Change(_ref) {
|
|
|
1261
1265
|
item: true,
|
|
1262
1266
|
xs: 8,
|
|
1263
1267
|
container: true,
|
|
1264
|
-
|
|
1268
|
+
justifyContent: "flex-start"
|
|
1265
1269
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
1266
1270
|
item: true,
|
|
1267
1271
|
xs: 12
|
|
@@ -1379,7 +1383,7 @@ var DrawTools = function DrawTools(_ref) {
|
|
|
1379
1383
|
item: true,
|
|
1380
1384
|
xs: 12,
|
|
1381
1385
|
container: true,
|
|
1382
|
-
|
|
1386
|
+
justifyContent: "space-between",
|
|
1383
1387
|
"data-testid": "drawtools"
|
|
1384
1388
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
1385
1389
|
item: true
|
|
@@ -1674,7 +1678,7 @@ var getProductFormLifecycleButtons = function getProductFormLifecycleButtons(can
|
|
|
1674
1678
|
return /*#__PURE__*/React.createElement(Grid, {
|
|
1675
1679
|
container: true,
|
|
1676
1680
|
spacing: 1,
|
|
1677
|
-
|
|
1681
|
+
justifyContent: "flex-end"
|
|
1678
1682
|
}, canBe.includes('DISCARDED') && /*#__PURE__*/React.createElement(Grid, {
|
|
1679
1683
|
item: true
|
|
1680
1684
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1999,12 +2003,13 @@ var Levels = function Levels(_ref) {
|
|
|
1999
2003
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
2000
2004
|
item: true,
|
|
2001
2005
|
container: true,
|
|
2002
|
-
spacing: 2
|
|
2006
|
+
spacing: 2,
|
|
2007
|
+
className: classes.containerItem
|
|
2003
2008
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
2004
2009
|
item: true,
|
|
2005
2010
|
xs: 4,
|
|
2006
2011
|
container: true,
|
|
2007
|
-
|
|
2012
|
+
justifyContent: "flex-end"
|
|
2008
2013
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
2009
2014
|
variant: "subtitle1",
|
|
2010
2015
|
className: classes.label
|
|
@@ -2012,7 +2017,7 @@ var Levels = function Levels(_ref) {
|
|
|
2012
2017
|
item: true,
|
|
2013
2018
|
xs: 8,
|
|
2014
2019
|
container: true,
|
|
2015
|
-
|
|
2020
|
+
justifyContent: "flex-start"
|
|
2016
2021
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
2017
2022
|
item: true,
|
|
2018
2023
|
xs: 12
|
|
@@ -2408,12 +2413,12 @@ var ObservationForecast = function ObservationForecast(_ref) {
|
|
|
2408
2413
|
item: true,
|
|
2409
2414
|
xs: 4,
|
|
2410
2415
|
container: true,
|
|
2411
|
-
|
|
2416
|
+
justifyContent: "flex-end"
|
|
2412
2417
|
}), /*#__PURE__*/React__default.createElement(Grid, {
|
|
2413
2418
|
item: true,
|
|
2414
2419
|
xs: 8,
|
|
2415
2420
|
container: true,
|
|
2416
|
-
|
|
2421
|
+
justifyContent: "flex-start"
|
|
2417
2422
|
}, /*#__PURE__*/React__default.createElement(ReactHookFormRadioGroup, {
|
|
2418
2423
|
name: "isObservationOrForecast",
|
|
2419
2424
|
disabled: isDisabled,
|
|
@@ -2479,7 +2484,7 @@ var ObservationForecastTime = function ObservationForecastTime(_ref) {
|
|
|
2479
2484
|
item: true,
|
|
2480
2485
|
xs: 4,
|
|
2481
2486
|
container: true,
|
|
2482
|
-
|
|
2487
|
+
justifyContent: "flex-end"
|
|
2483
2488
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
2484
2489
|
variant: "subtitle1",
|
|
2485
2490
|
className: classes.label
|
|
@@ -2487,7 +2492,7 @@ var ObservationForecastTime = function ObservationForecastTime(_ref) {
|
|
|
2487
2492
|
item: true,
|
|
2488
2493
|
xs: 8,
|
|
2489
2494
|
container: true,
|
|
2490
|
-
|
|
2495
|
+
justifyContent: "flex-start"
|
|
2491
2496
|
}, /*#__PURE__*/React__default.createElement(ReactHookFormDateTime, {
|
|
2492
2497
|
disablePast: watch('isObservationOrForecast') === 'FCST',
|
|
2493
2498
|
disableFuture: watch('isObservationOrForecast') === 'OBS',
|
|
@@ -2532,7 +2537,7 @@ var Phenomenon = function Phenomenon(_ref) {
|
|
|
2532
2537
|
item: true,
|
|
2533
2538
|
xs: 4,
|
|
2534
2539
|
container: true,
|
|
2535
|
-
|
|
2540
|
+
justifyContent: "flex-end"
|
|
2536
2541
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
2537
2542
|
variant: "subtitle1",
|
|
2538
2543
|
className: classes.label
|
|
@@ -2540,7 +2545,7 @@ var Phenomenon = function Phenomenon(_ref) {
|
|
|
2540
2545
|
item: true,
|
|
2541
2546
|
xs: 8,
|
|
2542
2547
|
container: true,
|
|
2543
|
-
|
|
2548
|
+
justifyContent: "flex-start"
|
|
2544
2549
|
}, /*#__PURE__*/React__default.createElement(ReactHookFormSelect, {
|
|
2545
2550
|
name: "phenomenon",
|
|
2546
2551
|
label: "Select phenomenon",
|
|
@@ -2624,7 +2629,7 @@ var StartGeometry = function StartGeometry(_ref) {
|
|
|
2624
2629
|
item: true,
|
|
2625
2630
|
xs: 4,
|
|
2626
2631
|
container: true,
|
|
2627
|
-
|
|
2632
|
+
justifyContent: "flex-end"
|
|
2628
2633
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
2629
2634
|
variant: "subtitle1",
|
|
2630
2635
|
className: classes.label
|
|
@@ -2772,12 +2777,13 @@ var Progress = function Progress(_ref) {
|
|
|
2772
2777
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
2773
2778
|
item: true,
|
|
2774
2779
|
container: true,
|
|
2775
|
-
spacing: 2
|
|
2780
|
+
spacing: 2,
|
|
2781
|
+
className: classes.containerItem
|
|
2776
2782
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
2777
2783
|
item: true,
|
|
2778
2784
|
xs: 4,
|
|
2779
2785
|
container: true,
|
|
2780
|
-
|
|
2786
|
+
justifyContent: "flex-end"
|
|
2781
2787
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
2782
2788
|
variant: "subtitle1",
|
|
2783
2789
|
className: classes.label
|
|
@@ -2785,7 +2791,7 @@ var Progress = function Progress(_ref) {
|
|
|
2785
2791
|
item: true,
|
|
2786
2792
|
xs: 8,
|
|
2787
2793
|
container: true,
|
|
2788
|
-
|
|
2794
|
+
justifyContent: "flex-start"
|
|
2789
2795
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
2790
2796
|
item: true,
|
|
2791
2797
|
xs: 12
|
|
@@ -2991,12 +2997,13 @@ var SelectFIR = function SelectFIR(_ref) {
|
|
|
2991
2997
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
2992
2998
|
item: true,
|
|
2993
2999
|
container: true,
|
|
2994
|
-
spacing: 2
|
|
3000
|
+
spacing: 2,
|
|
3001
|
+
className: classes.containerItem
|
|
2995
3002
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
2996
3003
|
item: true,
|
|
2997
3004
|
xs: 4,
|
|
2998
3005
|
container: true,
|
|
2999
|
-
|
|
3006
|
+
justifyContent: "flex-end"
|
|
3000
3007
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
3001
3008
|
variant: "subtitle1",
|
|
3002
3009
|
className: classes.label
|
|
@@ -3004,7 +3011,7 @@ var SelectFIR = function SelectFIR(_ref) {
|
|
|
3004
3011
|
item: true,
|
|
3005
3012
|
xs: 8,
|
|
3006
3013
|
container: true,
|
|
3007
|
-
|
|
3014
|
+
justifyContent: "flex-start"
|
|
3008
3015
|
}, /*#__PURE__*/React__default.createElement(ReactHookFormSelect, {
|
|
3009
3016
|
name: "locationIndicatorATSR",
|
|
3010
3017
|
label: "Select FIR",
|
|
@@ -3070,12 +3077,13 @@ var Type = function Type(_ref) {
|
|
|
3070
3077
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
3071
3078
|
item: true,
|
|
3072
3079
|
container: true,
|
|
3073
|
-
spacing: 2
|
|
3080
|
+
spacing: 2,
|
|
3081
|
+
className: classes.containerItem
|
|
3074
3082
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
3075
3083
|
item: true,
|
|
3076
3084
|
xs: 4,
|
|
3077
3085
|
container: true,
|
|
3078
|
-
|
|
3086
|
+
justifyContent: "flex-end"
|
|
3079
3087
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
3080
3088
|
variant: "subtitle1",
|
|
3081
3089
|
className: classes.label
|
|
@@ -3083,7 +3091,7 @@ var Type = function Type(_ref) {
|
|
|
3083
3091
|
item: true,
|
|
3084
3092
|
xs: 8,
|
|
3085
3093
|
container: true,
|
|
3086
|
-
|
|
3094
|
+
justifyContent: "flex-start"
|
|
3087
3095
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
3088
3096
|
item: true,
|
|
3089
3097
|
xs: 12
|
|
@@ -3158,7 +3166,7 @@ var ValidFrom = function ValidFrom(_ref) {
|
|
|
3158
3166
|
item: true,
|
|
3159
3167
|
xs: 4,
|
|
3160
3168
|
container: true,
|
|
3161
|
-
|
|
3169
|
+
justifyContent: "flex-end"
|
|
3162
3170
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
3163
3171
|
variant: "subtitle1",
|
|
3164
3172
|
className: classes.label
|
|
@@ -3166,7 +3174,7 @@ var ValidFrom = function ValidFrom(_ref) {
|
|
|
3166
3174
|
item: true,
|
|
3167
3175
|
xs: 8,
|
|
3168
3176
|
container: true,
|
|
3169
|
-
|
|
3177
|
+
justifyContent: "flex-start"
|
|
3170
3178
|
}, /*#__PURE__*/React__default.createElement(ReactHookFormDateTime, {
|
|
3171
3179
|
disablePast: true,
|
|
3172
3180
|
name: "validDateStart",
|
|
@@ -3252,7 +3260,7 @@ var ValidUntil = function ValidUntil(_ref) {
|
|
|
3252
3260
|
item: true,
|
|
3253
3261
|
xs: 4,
|
|
3254
3262
|
container: true,
|
|
3255
|
-
|
|
3263
|
+
justifyContent: "flex-end"
|
|
3256
3264
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
3257
3265
|
variant: "subtitle1",
|
|
3258
3266
|
className: classes.label
|
|
@@ -3260,7 +3268,7 @@ var ValidUntil = function ValidUntil(_ref) {
|
|
|
3260
3268
|
item: true,
|
|
3261
3269
|
xs: 8,
|
|
3262
3270
|
container: true,
|
|
3263
|
-
|
|
3271
|
+
justifyContent: "flex-start"
|
|
3264
3272
|
}, /*#__PURE__*/React__default.createElement(ReactHookFormDateTime, {
|
|
3265
3273
|
disablePast: true,
|
|
3266
3274
|
name: "validDateEnd",
|
|
@@ -3333,12 +3341,12 @@ var VolcanicFields = function VolcanicFields(_ref) {
|
|
|
3333
3341
|
item: true,
|
|
3334
3342
|
xs: 4,
|
|
3335
3343
|
container: true,
|
|
3336
|
-
|
|
3344
|
+
justifyContent: "flex-end"
|
|
3337
3345
|
}), /*#__PURE__*/React__default.createElement(Grid, {
|
|
3338
3346
|
item: true,
|
|
3339
3347
|
xs: 8,
|
|
3340
3348
|
container: true,
|
|
3341
|
-
|
|
3349
|
+
justifyContent: "flex-start"
|
|
3342
3350
|
}, (!isReadOnly || !!watch('vaSigmetVolcanoName')) && /*#__PURE__*/React__default.createElement(Grid, {
|
|
3343
3351
|
item: true,
|
|
3344
3352
|
xs: 12,
|
|
@@ -3452,12 +3460,12 @@ var SurfaceVisibility = function SurfaceVisibility(_ref) {
|
|
|
3452
3460
|
item: true,
|
|
3453
3461
|
xs: 4,
|
|
3454
3462
|
container: true,
|
|
3455
|
-
|
|
3463
|
+
justifyContent: "flex-end"
|
|
3456
3464
|
}), /*#__PURE__*/React__default.createElement(Grid, {
|
|
3457
3465
|
item: true,
|
|
3458
3466
|
xs: 8,
|
|
3459
3467
|
container: true,
|
|
3460
|
-
|
|
3468
|
+
justifyContent: "flex-start"
|
|
3461
3469
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
3462
3470
|
item: true,
|
|
3463
3471
|
xs: 12,
|
|
@@ -3563,12 +3571,12 @@ var SurfaceWind = function SurfaceWind(_ref) {
|
|
|
3563
3571
|
item: true,
|
|
3564
3572
|
xs: 4,
|
|
3565
3573
|
container: true,
|
|
3566
|
-
|
|
3574
|
+
justifyContent: "flex-end"
|
|
3567
3575
|
}), /*#__PURE__*/React__default.createElement(Grid, {
|
|
3568
3576
|
item: true,
|
|
3569
3577
|
xs: 8,
|
|
3570
3578
|
container: true,
|
|
3571
|
-
|
|
3579
|
+
justifyContent: "flex-start"
|
|
3572
3580
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
3573
3581
|
item: true,
|
|
3574
3582
|
xs: 12,
|
|
@@ -3717,12 +3725,13 @@ var CloudLevels = function CloudLevels(_ref) {
|
|
|
3717
3725
|
return /*#__PURE__*/React__default.createElement(Grid, {
|
|
3718
3726
|
item: true,
|
|
3719
3727
|
container: true,
|
|
3720
|
-
spacing: 2
|
|
3728
|
+
spacing: 2,
|
|
3729
|
+
className: classes.containerItem
|
|
3721
3730
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
3722
3731
|
item: true,
|
|
3723
3732
|
xs: 4,
|
|
3724
3733
|
container: true,
|
|
3725
|
-
|
|
3734
|
+
justifyContent: "flex-end"
|
|
3726
3735
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
3727
3736
|
variant: "subtitle1",
|
|
3728
3737
|
className: classes.label
|
|
@@ -3730,7 +3739,7 @@ var CloudLevels = function CloudLevels(_ref) {
|
|
|
3730
3739
|
item: true,
|
|
3731
3740
|
xs: 8,
|
|
3732
3741
|
container: true,
|
|
3733
|
-
|
|
3742
|
+
justifyContent: "flex-start"
|
|
3734
3743
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
3735
3744
|
item: true,
|
|
3736
3745
|
xs: 12
|
|
@@ -4237,12 +4246,12 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
4237
4246
|
item: true,
|
|
4238
4247
|
xs: 4,
|
|
4239
4248
|
container: true,
|
|
4240
|
-
|
|
4249
|
+
justifyContent: "flex-end"
|
|
4241
4250
|
}), /*#__PURE__*/React__default.createElement(Grid, {
|
|
4242
4251
|
item: true,
|
|
4243
4252
|
xs: 8,
|
|
4244
4253
|
container: true,
|
|
4245
|
-
|
|
4254
|
+
justifyContent: "flex-start"
|
|
4246
4255
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4247
4256
|
item: true,
|
|
4248
4257
|
xs: 12
|
|
@@ -4253,12 +4262,13 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
4253
4262
|
}, "Volcanic Cloud is moving in the direction of:", ' ', /*#__PURE__*/React__default.createElement("b", null, " ", watch('vaSigmetMoveToFIR')))))), /*#__PURE__*/React__default.createElement(Grid, {
|
|
4254
4263
|
item: true,
|
|
4255
4264
|
container: true,
|
|
4256
|
-
spacing: 2
|
|
4265
|
+
spacing: 2,
|
|
4266
|
+
className: classes.containerItem
|
|
4257
4267
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4258
4268
|
item: true,
|
|
4259
4269
|
xs: 4,
|
|
4260
4270
|
container: true,
|
|
4261
|
-
|
|
4271
|
+
justifyContent: "flex-end"
|
|
4262
4272
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
4263
4273
|
variant: "subtitle1",
|
|
4264
4274
|
className: classes.label
|
|
@@ -4266,7 +4276,7 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
4266
4276
|
item: true,
|
|
4267
4277
|
xs: 8,
|
|
4268
4278
|
container: true,
|
|
4269
|
-
|
|
4279
|
+
justifyContent: "flex-start"
|
|
4270
4280
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4271
4281
|
item: true,
|
|
4272
4282
|
xs: 12
|
|
@@ -4281,7 +4291,7 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
4281
4291
|
item: true,
|
|
4282
4292
|
xs: 4,
|
|
4283
4293
|
container: true,
|
|
4284
|
-
|
|
4294
|
+
justifyContent: "flex-end"
|
|
4285
4295
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
4286
4296
|
variant: "subtitle1",
|
|
4287
4297
|
className: classes.label
|
|
@@ -4289,7 +4299,7 @@ var SigmetForm = function SigmetForm(_ref) {
|
|
|
4289
4299
|
item: true,
|
|
4290
4300
|
xs: 8,
|
|
4291
4301
|
container: true,
|
|
4292
|
-
|
|
4302
|
+
justifyContent: "flex-start"
|
|
4293
4303
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4294
4304
|
item: true,
|
|
4295
4305
|
xs: 12
|
|
@@ -4490,12 +4500,13 @@ var AirmetForm = function AirmetForm(_ref) {
|
|
|
4490
4500
|
}), /*#__PURE__*/React__default.createElement(Grid, {
|
|
4491
4501
|
item: true,
|
|
4492
4502
|
container: true,
|
|
4493
|
-
spacing: 2
|
|
4503
|
+
spacing: 2,
|
|
4504
|
+
className: classes.containerItem
|
|
4494
4505
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4495
4506
|
item: true,
|
|
4496
4507
|
xs: 4,
|
|
4497
4508
|
container: true,
|
|
4498
|
-
|
|
4509
|
+
justifyContent: "flex-end"
|
|
4499
4510
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
4500
4511
|
variant: "subtitle1",
|
|
4501
4512
|
className: classes.label
|
|
@@ -4503,7 +4514,7 @@ var AirmetForm = function AirmetForm(_ref) {
|
|
|
4503
4514
|
item: true,
|
|
4504
4515
|
xs: 8,
|
|
4505
4516
|
container: true,
|
|
4506
|
-
|
|
4517
|
+
justifyContent: "flex-start"
|
|
4507
4518
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4508
4519
|
item: true,
|
|
4509
4520
|
xs: 12
|
|
@@ -4518,7 +4529,7 @@ var AirmetForm = function AirmetForm(_ref) {
|
|
|
4518
4529
|
item: true,
|
|
4519
4530
|
xs: 4,
|
|
4520
4531
|
container: true,
|
|
4521
|
-
|
|
4532
|
+
justifyContent: "flex-end"
|
|
4522
4533
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
4523
4534
|
variant: "subtitle1",
|
|
4524
4535
|
className: classes.label
|
|
@@ -4526,7 +4537,7 @@ var AirmetForm = function AirmetForm(_ref) {
|
|
|
4526
4537
|
item: true,
|
|
4527
4538
|
xs: 8,
|
|
4528
4539
|
container: true,
|
|
4529
|
-
|
|
4540
|
+
justifyContent: "flex-start"
|
|
4530
4541
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4531
4542
|
item: true,
|
|
4532
4543
|
xs: 12
|
|
@@ -4602,6 +4613,11 @@ var useStyles$3 = makeStyles({
|
|
|
4602
4613
|
minHeight: 200,
|
|
4603
4614
|
minWidth: 400,
|
|
4604
4615
|
height: '100%'
|
|
4616
|
+
},
|
|
4617
|
+
dialog: {
|
|
4618
|
+
'& .MuiDialogContent-root': {
|
|
4619
|
+
paddingTop: 20
|
|
4620
|
+
}
|
|
4605
4621
|
}
|
|
4606
4622
|
});
|
|
4607
4623
|
|
|
@@ -4631,9 +4647,8 @@ var ContentDialog = function ContentDialog(_a) {
|
|
|
4631
4647
|
open: open,
|
|
4632
4648
|
onClose: handleClose,
|
|
4633
4649
|
maxWidth: other.maxWidth ? other.maxWidth : 'lg',
|
|
4634
|
-
|
|
4650
|
+
className: classes.dialog
|
|
4635
4651
|
}, other), /*#__PURE__*/React.createElement(DialogTitle, {
|
|
4636
|
-
disableTypography: true,
|
|
4637
4652
|
className: classes.dialogHeader
|
|
4638
4653
|
}, /*#__PURE__*/React.createElement(Grid, {
|
|
4639
4654
|
container: true,
|
|
@@ -4925,7 +4940,7 @@ var ProductList = function ProductList(_ref) {
|
|
|
4925
4940
|
}, /*#__PURE__*/React__default.createElement(Grid, {
|
|
4926
4941
|
container: true,
|
|
4927
4942
|
item: true,
|
|
4928
|
-
|
|
4943
|
+
justifyContent: "flex-end"
|
|
4929
4944
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
4930
4945
|
variant: "contained",
|
|
4931
4946
|
color: "secondary",
|
|
@@ -4955,7 +4970,7 @@ var ProductList = function ProductList(_ref) {
|
|
|
4955
4970
|
}));
|
|
4956
4971
|
})), isLoading && /*#__PURE__*/React__default.createElement(Skeleton, {
|
|
4957
4972
|
"data-testid": "productList-skeleton",
|
|
4958
|
-
variant: "
|
|
4973
|
+
variant: "rectangular",
|
|
4959
4974
|
height: "660px"
|
|
4960
4975
|
})));
|
|
4961
4976
|
};
|