@opengeoweb/theme 9.8.0 → 9.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { SvgIcon, createTheme as createTheme$1, ThemeProvider as ThemeProvider$1, CssBaseline, StyledEngineProvider } from '@mui/material';
2
+ import { SvgIcon, createTheme as createTheme$1, ThemeProvider as ThemeProvider$1, CssBaseline, GlobalStyles, StyledEngineProvider } from '@mui/material';
3
3
 
4
4
  /******************************************************************************
5
5
  Copyright (c) Microsoft Corporation.
@@ -1512,16 +1512,21 @@ var colors$1 = {
1512
1512
  iconLinkDisabled: '#CCCCCC',
1513
1513
  textLinkActive: '#186DFF',
1514
1514
  buttonIconTertiaryFlat: '#575F7A',
1515
- inactiveText: '#626262'
1515
+ inactiveText: '#626262',
1516
+ iconWarning: '#ffa800'
1516
1517
  },
1517
1518
  textInputField: {
1518
1519
  "default": {
1519
- fill: '#051039',
1520
- opacity: 0.07
1520
+ fill: '#e9edf5',
1521
+ opacity: 1
1522
+ },
1523
+ mouseOver: {
1524
+ fill: '#e0e8f5',
1525
+ opacity: 1
1521
1526
  },
1522
1527
  active: {
1523
- fill: '#051039',
1524
- opacity: 0.02
1528
+ fill: '#e9edf5',
1529
+ opacity: 1
1525
1530
  },
1526
1531
  disabled: {
1527
1532
  fill: '#000000',
@@ -1530,8 +1535,21 @@ var colors$1 = {
1530
1535
  label: {
1531
1536
  fill: '#051039',
1532
1537
  opacity: 0.67
1538
+ },
1539
+ error: {
1540
+ fill: '#FEEDEE',
1541
+ opacity: 1
1542
+ },
1543
+ errorMouseOver: {
1544
+ fill: '#ffc5c5',
1545
+ opacity: 1
1533
1546
  }
1534
1547
  },
1548
+ menuItem: {
1549
+ mouseOver: '#e0e8f5',
1550
+ selected: '#186DFF',
1551
+ selectedMouseOver: '#1047b0'
1552
+ },
1535
1553
  tab: {
1536
1554
  mouseOver: {
1537
1555
  fill: '#051039',
@@ -1774,7 +1792,7 @@ var colors$1 = {
1774
1792
  },
1775
1793
  captionErrorBackground: {
1776
1794
  color: '#C00000',
1777
- opacity: 0.25
1795
+ opacity: 1
1778
1796
  },
1779
1797
  captionDisabled: {
1780
1798
  color: '#707070',
@@ -1901,6 +1919,9 @@ var createTheme = function createTheme(_ref) {
1901
1919
  text: {
1902
1920
  primary: geowebColors.typographyAndIcons.text
1903
1921
  },
1922
+ warning: {
1923
+ main: geowebColors.typographyAndIcons.iconWarning
1924
+ },
1904
1925
  // geoweb color palette
1905
1926
  geowebColors: geowebColors
1906
1927
  },
@@ -1912,6 +1933,11 @@ var createTheme = function createTheme(_ref) {
1912
1933
  },
1913
1934
  shadows: shadows,
1914
1935
  components: {
1936
+ MuiInputBase: {
1937
+ defaultProps: {
1938
+ disableInjectingGlobalStyles: true
1939
+ }
1940
+ },
1915
1941
  MuiButton: {
1916
1942
  variants: buttonVariants(geowebColors.buttons),
1917
1943
  defaultProps: {
@@ -1959,6 +1985,25 @@ var createTheme = function createTheme(_ref) {
1959
1985
  }
1960
1986
  }
1961
1987
  },
1988
+ MuiPopover: {
1989
+ styleOverrides: {
1990
+ root: {
1991
+ '& .MuiMenuItem-root': {
1992
+ '&:hover, &:focus': {
1993
+ backgroundColor: geowebColors.menuItem.mouseOver
1994
+ },
1995
+ '&.Mui-selected': {
1996
+ background: geowebColors.menuItem.selected,
1997
+ boxShadow: 'none',
1998
+ color: '#fff',
1999
+ '&:hover, &:focus': {
2000
+ backgroundColor: geowebColors.menuItem.selectedMouseOver
2001
+ }
2002
+ }
2003
+ }
2004
+ }
2005
+ }
2006
+ },
1962
2007
  MuiRadio: {
1963
2008
  styleOverrides: {
1964
2009
  root: {
@@ -2234,16 +2279,23 @@ var createTheme = function createTheme(_ref) {
2234
2279
  root: {
2235
2280
  backgroundColor: geowebColors.textInputField["default"].rgba,
2236
2281
  '&.Mui-focused': {
2237
- backgroundColor: geowebColors.textInputField.active.rgba,
2282
+ backgroundColor: geowebColors.textInputField["default"].rgba,
2238
2283
  '&:after': {
2239
- borderColor: 'transparent'
2284
+ borderColor: geowebColors.captions.captionInformation.rgba
2240
2285
  }
2241
2286
  },
2287
+ '&:hover': {
2288
+ backgroundColor: geowebColors.textInputField.mouseOver.rgba
2289
+ },
2242
2290
  '&.Mui-disabled': {
2243
2291
  backgroundColor: geowebColors.textInputField.disabled.rgba
2244
2292
  },
2245
2293
  '&.Mui-error': {
2246
- '&:before': {
2294
+ backgroundColor: geowebColors.textInputField.error.rgba,
2295
+ '&:hover': {
2296
+ backgroundColor: geowebColors.textInputField.errorMouseOver.rgba
2297
+ },
2298
+ '&:after': {
2247
2299
  borderColor: geowebColors.captions.captionError.color
2248
2300
  }
2249
2301
  },
@@ -2260,8 +2312,11 @@ var createTheme = function createTheme(_ref) {
2260
2312
  }
2261
2313
  },
2262
2314
  underline: {
2315
+ '&:before': {
2316
+ borderColor: geowebColors.greys.accessible
2317
+ },
2263
2318
  '&:after': {
2264
- borderWidth: '1px'
2319
+ borderWidth: '2px'
2265
2320
  },
2266
2321
  '&.Mui-disabled:before': {
2267
2322
  borderBottomStyle: 'solid'
@@ -2278,7 +2333,7 @@ var createTheme = function createTheme(_ref) {
2278
2333
  color: geowebColors.captions.captionInformation.color,
2279
2334
  opacity: geowebColors.captions.captionInformation.opacity
2280
2335
  },
2281
- '&.Mui-error': {
2336
+ '&.Mui-error, :has(+ .Mui-error)': {
2282
2337
  color: geowebColors.captions.captionError.color,
2283
2338
  opacity: geowebColors.captions.captionError.opacity
2284
2339
  },
@@ -2393,6 +2448,48 @@ var createTheme = function createTheme(_ref) {
2393
2448
  paddingRight: '5px'
2394
2449
  }
2395
2450
  }
2451
+ },
2452
+ MuiPickersPopper: {
2453
+ styleOverrides: {
2454
+ root: {
2455
+ '& .MuiPickersPopper-paper': {
2456
+ backgroundColor: geowebColors.background.surface
2457
+ }
2458
+ }
2459
+ }
2460
+ },
2461
+ MuiPickersDay: {
2462
+ styleOverrides: {
2463
+ root: {
2464
+ borderRadius: 2,
2465
+ '&.Mui-selected': {
2466
+ backgroundColor: geowebColors.buttons.primary["default"].fill,
2467
+ color: geowebColors.buttons.primary["default"].color
2468
+ },
2469
+ '&:hover, &.Mui-selected:hover': {
2470
+ backgroundColor: geowebColors.buttons.primary.mouseOver.fill,
2471
+ color: geowebColors.buttons.primary["default"].color
2472
+ },
2473
+ '&.MuiPickersDay-today': {
2474
+ borderColor: geowebColors.buttons.primary.mouseOver.borderColor
2475
+ }
2476
+ }
2477
+ }
2478
+ },
2479
+ MuiMultiSectionDigitalClockSection: {
2480
+ styleOverrides: {
2481
+ item: {
2482
+ borderRadius: 2,
2483
+ '&.Mui-selected': {
2484
+ backgroundColor: geowebColors.buttons.primary["default"].fill,
2485
+ color: geowebColors.buttons.primary["default"].color
2486
+ },
2487
+ '&:hover, &.Mui-selected:hover': {
2488
+ backgroundColor: geowebColors.buttons.primary.mouseOver.fill,
2489
+ color: geowebColors.buttons.primary["default"].color
2490
+ }
2491
+ }
2492
+ }
2396
2493
  }
2397
2494
  }
2398
2495
  });
@@ -2711,12 +2808,17 @@ var colors = {
2711
2808
  iconLinkDisabled: '#5E5E5E',
2712
2809
  textLinkActive: '#488BFD',
2713
2810
  buttonIconTertiaryFlat: '#C5C5C5',
2714
- inactiveText: '#b4b4b4'
2811
+ inactiveText: '#b4b4b4',
2812
+ iconWarning: '#ffa800'
2715
2813
  },
2716
2814
  textInputField: {
2717
2815
  "default": {
2718
- fill: '#000000',
2719
- opacity: 0.15
2816
+ fill: '#2b2f35',
2817
+ opacity: 1
2818
+ },
2819
+ mouseOver: {
2820
+ fill: '#414751',
2821
+ opacity: 1
2720
2822
  },
2721
2823
  active: {
2722
2824
  fill: '#909090',
@@ -2729,8 +2831,21 @@ var colors = {
2729
2831
  label: {
2730
2832
  fill: '#FFFFFF',
2731
2833
  opacity: 0.7
2834
+ },
2835
+ error: {
2836
+ fill: '#532323',
2837
+ opacity: 1
2838
+ },
2839
+ errorMouseOver: {
2840
+ fill: '#633838',
2841
+ opacity: 1
2732
2842
  }
2733
2843
  },
2844
+ menuItem: {
2845
+ mouseOver: '#414751',
2846
+ selected: '#186DFF',
2847
+ selectedMouseOver: '#1047b0'
2848
+ },
2734
2849
  tab: {
2735
2850
  mouseOver: {
2736
2851
  fill: '#000000',
@@ -2962,7 +3077,7 @@ var colors = {
2962
3077
  captions: {
2963
3078
  captionStatus: {
2964
3079
  color: '#FFFFFF',
2965
- opacity: 0.7
3080
+ opacity: 0.67
2966
3081
  },
2967
3082
  captionInformation: {
2968
3083
  color: '#9EC2FF',
@@ -3047,318 +3162,6 @@ var elevations = {
3047
3162
  elevation_24: '0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.14)'
3048
3163
  };
3049
3164
 
3050
- /* *
3051
- * Licensed under the Apache License, Version 2.0 (the "License");
3052
- * you may not use this file except in compliance with the License.
3053
- * You may obtain a copy of the License at
3054
- *
3055
- * http://www.apache.org/licenses/LICENSE-2.0
3056
- *
3057
- * Unless required by applicable law or agreed to in writing, software
3058
- * distributed under the License is distributed on an "AS IS" BASIS,
3059
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3060
- * See the License for the specific language governing permissions and
3061
- * limitations under the License.
3062
- *
3063
- * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
3064
- * Copyright 2023 - Finnish Meteorological Institute (FMI)
3065
- * */
3066
- // temporary copy of theme color values to make sure GWTheme is backwards compatible while working on new theme.
3067
- var geowebColors = Object.assign({}, colors$1);
3068
- var GWTheme = createTheme$1({
3069
- breakpoints: {
3070
- values: {
3071
- xs: breakpoints.mobile,
3072
- sm: breakpoints.tablet,
3073
- md: breakpoints.desktop,
3074
- lg: breakpoints.desktopHD,
3075
- xl: breakpoints.desktopHDWide
3076
- }
3077
- },
3078
- palette: {
3079
- secondary: {
3080
- main: '#0075a9'
3081
- },
3082
- action: {
3083
- active: '#ffa800'
3084
- },
3085
- text: {
3086
- disabled: '#051039'
3087
- },
3088
- geowebColors: parseColors(geowebColors)
3089
- },
3090
- shape: {
3091
- borderRadius: 3
3092
- },
3093
- typography: {
3094
- h6: {
3095
- fontSize: '16px'
3096
- },
3097
- subtitle1: {
3098
- fontSize: '16px',
3099
- fontWeight: 500,
3100
- lineHeight: 1.5,
3101
- letterSpacing: '0.15px',
3102
- opacity: 0.87,
3103
- color: '#051039'
3104
- },
3105
- subtitle2: {
3106
- fontSize: '14px',
3107
- fontWeight: 500,
3108
- lineHeight: 1.71,
3109
- letterSpacing: '0.1px',
3110
- opacity: 0.87,
3111
- color: '#051039'
3112
- },
3113
- body1: {
3114
- fontSize: '16px',
3115
- lineHeight: 1.56,
3116
- letterSpacing: '0.44px',
3117
- color: '#051039'
3118
- },
3119
- body2: {
3120
- fontSize: '14px',
3121
- lineHeight: 1.43,
3122
- letterSpacing: '0.25px',
3123
- color: '#051039'
3124
- },
3125
- overline: {
3126
- textTransform: 'none',
3127
- fontSize: '12px',
3128
- lineHeight: 1.43,
3129
- letterSpacing: '0.25px',
3130
- color: '#051039',
3131
- opacity: 0.7
3132
- },
3133
- caption: {
3134
- fontSize: '12px',
3135
- lineHeight: 1.33,
3136
- letterSpacing: '0.4px',
3137
- color: '#051039',
3138
- opacity: 0.7
3139
- },
3140
- button: {
3141
- fontWeight: 500,
3142
- fontSize: '14px',
3143
- color: '0075a9'
3144
- }
3145
- },
3146
- components: {
3147
- MuiTooltip: {
3148
- styleOverrides: {
3149
- tooltip: {
3150
- borderRadius: '2px',
3151
- fontSize: '16px',
3152
- fontWeight: 'normal',
3153
- padding: '10px',
3154
- backgroundColor: '#232323'
3155
- }
3156
- }
3157
- },
3158
- MuiIconButton: {
3159
- styleOverrides: {
3160
- root: {
3161
- color: '#0075a9'
3162
- }
3163
- }
3164
- },
3165
- MuiCheckbox: {
3166
- styleOverrides: {
3167
- root: {
3168
- '&.Mui-disabled': {
3169
- color: '#CCCCCC!important'
3170
- },
3171
- '&.Mui-checked': {
3172
- color: '#0075a9'
3173
- }
3174
- }
3175
- }
3176
- },
3177
- MuiSelect: {
3178
- styleOverrides: {
3179
- icon: {
3180
- color: '#0075a9'
3181
- },
3182
- select: {
3183
- '&:focus': {
3184
- backgroundColor: 'rgba(0, 117, 169, 0.05)'
3185
- }
3186
- }
3187
- }
3188
- },
3189
- MuiAlert: {
3190
- styleOverrides: {
3191
- standardError: {
3192
- border: '1px solid #c00000',
3193
- borderRadius: '0px',
3194
- backgroundColor: '#fff0ea'
3195
- },
3196
- standardWarning: {
3197
- border: '1px solid #ffa800',
3198
- borderRadius: '0px',
3199
- backgroundColor: '#fff8eb'
3200
- },
3201
- standardInfo: {
3202
- border: '1px solid #0062e6',
3203
- borderRadius: '0px',
3204
- backgroundColor: '#eaf3ff'
3205
- },
3206
- standardSuccess: {
3207
- border: '1px solid #72bb23',
3208
- borderRadius: '0px',
3209
- backgroundColor: '#fcffeb'
3210
- },
3211
- action: {
3212
- color: '#0075a9'
3213
- },
3214
- message: {
3215
- fontSize: '14px',
3216
- lineHeight: 1.43,
3217
- letterSpacing: '0.25px',
3218
- color: '#051039'
3219
- }
3220
- }
3221
- },
3222
- MuiTabs: {
3223
- styleOverrides: {
3224
- root: {
3225
- backgroundColor: '#ffffff',
3226
- minHeight: '30px'
3227
- },
3228
- scrollButtons: {
3229
- width: '20px'
3230
- }
3231
- }
3232
- },
3233
- MuiTab: {
3234
- styleOverrides: {
3235
- root: {
3236
- minHeight: '30px',
3237
- textTransform: 'none',
3238
- minWidth: '76px',
3239
- '@media (min-width: 600px)': {
3240
- minWidth: '76px'
3241
- }
3242
- },
3243
- labelIcon: {
3244
- minHeight: '30px'
3245
- }
3246
- }
3247
- },
3248
- MuiListItem: {
3249
- styleOverrides: {
3250
- root: {
3251
- '&$selected': {
3252
- backgroundColor: 'rgba(0, 117, 169, 0.15)',
3253
- borderLeft: '4px solid #0075a9',
3254
- '&:hover': {
3255
- backgroundColor: 'rgba(0, 117, 169, 0.10)'
3256
- }
3257
- }
3258
- },
3259
- button: {
3260
- '&:hover': {
3261
- backgroundColor: 'rgba(0, 117, 169, 0.15)'
3262
- }
3263
- }
3264
- }
3265
- },
3266
- MuiMenuItem: {
3267
- styleOverrides: {
3268
- root: {
3269
- '&.Mui-selected': {
3270
- backgroundColor: 'rgba(0, 117, 169, 0.15)',
3271
- borderLeft: '4px solid #0075a9',
3272
- '&:hover': {
3273
- backgroundColor: 'rgba(0, 117, 169, 0.10)'
3274
- }
3275
- },
3276
- '&:hover': {
3277
- backgroundColor: 'rgba(0, 117, 169, 0.15)'
3278
- }
3279
- }
3280
- }
3281
- },
3282
- MuiFormLabel: {
3283
- styleOverrides: {
3284
- root: {
3285
- color: 'rgba(5, 16, 57, 0.7)',
3286
- '&.Mui-focused': {
3287
- color: '#0075a9'
3288
- },
3289
- '&.Mui-error': {
3290
- color: '#d32f2f!important'
3291
- }
3292
- }
3293
- }
3294
- },
3295
- MuiOutlinedInput: {
3296
- styleOverrides: {
3297
- root: {
3298
- '&$focused $notchedOutline': {
3299
- borderColor: '#0075a9'
3300
- }
3301
- }
3302
- }
3303
- },
3304
- MuiFilledInput: {
3305
- styleOverrides: {
3306
- root: {
3307
- backgroundColor: 'rgba(0, 117, 169, 0.05)',
3308
- color: '#051039',
3309
- '&.Mui-disabled': {
3310
- backgroundColor: 'white'
3311
- },
3312
- '&.Mui-focused': {
3313
- backgroundColor: 'rgba(0,0,0,0.09)'
3314
- }
3315
- },
3316
- underline: {
3317
- '&.Mui-disabled:before': {
3318
- borderBottomStyle: 'none'
3319
- }
3320
- }
3321
- }
3322
- },
3323
- MuiRadio: {
3324
- styleOverrides: {
3325
- root: {
3326
- '&.Mui-disabled': {
3327
- color: '#CCCCCC!important'
3328
- },
3329
- '&.Mui-checked': {
3330
- color: '#0075a9'
3331
- }
3332
- }
3333
- }
3334
- },
3335
- MuiCardContent: {
3336
- styleOverrides: {
3337
- root: {
3338
- '&:last-child': {
3339
- paddingBottom: 0
3340
- }
3341
- }
3342
- }
3343
- },
3344
- MuiDialog: {
3345
- styleOverrides: {
3346
- paperWidthLg: {
3347
- maxWidth: '1280px'
3348
- }
3349
- }
3350
- },
3351
- MuiButton: {
3352
- variants: buttonVariants(geowebColors.buttons)
3353
- },
3354
- MuiToggleButton: {
3355
- styleOverrides: {
3356
- root: variantsToClassName(buttonVariants(geowebColors.buttons))
3357
- }
3358
- }
3359
- }
3360
- });
3361
-
3362
3165
  /* *
3363
3166
  * Licensed under the Apache License, Version 2.0 (the "License");
3364
3167
  * you may not use this file except in compliance with the License.
@@ -3440,7 +3243,20 @@ var ThemeProvider = function ThemeProvider(_ref) {
3440
3243
  value: contextValue
3441
3244
  }, /*#__PURE__*/React.createElement(ThemeProvider$1, {
3442
3245
  theme: currentTheme
3443
- }, !disableCssBaseline && /*#__PURE__*/React.createElement(CssBaseline, null), children));
3246
+ }, !disableCssBaseline && /*#__PURE__*/React.createElement(CssBaseline, null), /*#__PURE__*/React.createElement(GlobalStyles, {
3247
+ styles: {
3248
+ '@keyframes mui-auto-fill': {
3249
+ from: {
3250
+ display: 'block'
3251
+ }
3252
+ },
3253
+ '@keyframes mui-auto-fill-cancel': {
3254
+ from: {
3255
+ display: 'block'
3256
+ }
3257
+ }
3258
+ }
3259
+ }), children));
3444
3260
  };
3445
3261
  var useThemeContext = function useThemeContext() {
3446
3262
  return React.useContext(ThemeContext);
@@ -3460,14 +3276,532 @@ var ThemeWrapper = function ThemeWrapper(_ref2) {
3460
3276
  disableCssBaseline: disableCssBaseline
3461
3277
  }, children));
3462
3278
  };
3463
- // Wrapper for storybook stories with GWTheme. Will be deprecated
3464
- var ThemeWrapperOldTheme = function ThemeWrapperOldTheme(_a) {
3465
- var children = _a.children,
3466
- props = __rest(_a, ["children"]);
3467
- return /*#__PURE__*/React.createElement(ThemeWrapper, Object.assign({
3468
- theme: GWTheme,
3469
- disableCssBaseline: true
3470
- }, props), children);
3279
+
3280
+ /* *
3281
+ * Licensed under the Apache License, Version 2.0 (the "License");
3282
+ * you may not use this file except in compliance with the License.
3283
+ * You may obtain a copy of the License at
3284
+ *
3285
+ * http://www.apache.org/licenses/LICENSE-2.0
3286
+ *
3287
+ * Unless required by applicable law or agreed to in writing, software
3288
+ * distributed under the License is distributed on an "AS IS" BASIS,
3289
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3290
+ * See the License for the specific language governing permissions and
3291
+ * limitations under the License.
3292
+ *
3293
+ * Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
3294
+ * Copyright 2024 - Finnish Meteorological Institute (FMI)
3295
+ * */
3296
+ var EChartsDarkTheme = {
3297
+ backgroundColor: '#393939',
3298
+ textStyle: {
3299
+ color: '#ffffff',
3300
+ fontSize: '10px',
3301
+ fontWeight: '400'
3302
+ },
3303
+ title: {
3304
+ textStyle: {
3305
+ color: '#ffffff'
3306
+ },
3307
+ subtextStyle: {
3308
+ color: '#ffffff'
3309
+ }
3310
+ },
3311
+ line: {
3312
+ itemStyle: {
3313
+ borderWidth: 1
3314
+ },
3315
+ lineStyle: {
3316
+ width: 2
3317
+ },
3318
+ symbolSize: 4,
3319
+ symbol: 'circle',
3320
+ smooth: false
3321
+ },
3322
+ bar: {
3323
+ itemStyle: {
3324
+ barBorderWidth: 0,
3325
+ barBorderColor: '#ccc'
3326
+ }
3327
+ },
3328
+ scatter: {
3329
+ itemStyle: {
3330
+ borderWidth: 0,
3331
+ borderColor: '#ccc'
3332
+ }
3333
+ },
3334
+ categoryAxis: {
3335
+ axisLine: {
3336
+ show: true,
3337
+ lineStyle: {
3338
+ color: '#979797'
3339
+ }
3340
+ },
3341
+ axisTick: {
3342
+ show: true,
3343
+ lineStyle: {
3344
+ color: '#979797'
3345
+ }
3346
+ },
3347
+ axisLabel: {
3348
+ show: true,
3349
+ color: 'rgba(255, 255, 255, 0.67)',
3350
+ fontSize: '8px'
3351
+ },
3352
+ splitLine: {
3353
+ show: false,
3354
+ lineStyle: {
3355
+ color: ['#979797']
3356
+ }
3357
+ },
3358
+ splitArea: {
3359
+ show: false,
3360
+ areaStyle: {
3361
+ color: ['#979797']
3362
+ }
3363
+ }
3364
+ },
3365
+ valueAxis: {
3366
+ axisLine: {
3367
+ show: true,
3368
+ lineStyle: {
3369
+ color: '#979797'
3370
+ }
3371
+ },
3372
+ axisTick: {
3373
+ show: true,
3374
+ lineStyle: {
3375
+ color: '#979797'
3376
+ }
3377
+ },
3378
+ axisLabel: {
3379
+ show: true,
3380
+ color: 'rgba(255, 255, 255, 0.67)',
3381
+ fontSize: '8px'
3382
+ },
3383
+ splitLine: {
3384
+ show: true,
3385
+ lineStyle: {
3386
+ color: ['#979797']
3387
+ }
3388
+ },
3389
+ splitArea: {
3390
+ show: false,
3391
+ areaStyle: {
3392
+ color: ['#979797']
3393
+ }
3394
+ }
3395
+ },
3396
+ logAxis: {
3397
+ axisLine: {
3398
+ show: true,
3399
+ lineStyle: {
3400
+ color: '#979797'
3401
+ }
3402
+ },
3403
+ axisTick: {
3404
+ show: true,
3405
+ lineStyle: {
3406
+ color: '#979797'
3407
+ }
3408
+ },
3409
+ axisLabel: {
3410
+ show: true,
3411
+ color: 'rgba(255, 255, 255, 0.67)',
3412
+ fontSize: '8px'
3413
+ },
3414
+ splitLine: {
3415
+ show: true,
3416
+ lineStyle: {
3417
+ color: ['#979797']
3418
+ }
3419
+ },
3420
+ splitArea: {
3421
+ show: false,
3422
+ areaStyle: {
3423
+ color: ['#979797']
3424
+ }
3425
+ }
3426
+ },
3427
+ timeAxis: {
3428
+ nameTextStyle: {
3429
+ color: 'rgba(255, 255, 255, 0.67)'
3430
+ },
3431
+ axisLine: {
3432
+ show: true,
3433
+ lineStyle: {
3434
+ color: '#979797'
3435
+ }
3436
+ },
3437
+ axisTick: {
3438
+ show: true,
3439
+ lineStyle: {
3440
+ color: '#979797'
3441
+ }
3442
+ },
3443
+ axisLabel: {
3444
+ show: true,
3445
+ color: 'rgba(255, 255, 255, 0.67)',
3446
+ fontSize: '8px'
3447
+ },
3448
+ splitLine: {
3449
+ show: false,
3450
+ lineStyle: {
3451
+ color: ['#979797']
3452
+ }
3453
+ },
3454
+ splitArea: {
3455
+ show: false,
3456
+ areaStyle: {
3457
+ color: ['#979797']
3458
+ }
3459
+ }
3460
+ },
3461
+ toolbox: {
3462
+ iconStyle: {
3463
+ borderColor: '#ffffff'
3464
+ },
3465
+ emphasis: {
3466
+ iconStyle: {
3467
+ borderColor: '#979797'
3468
+ }
3469
+ }
3470
+ },
3471
+ legend: {
3472
+ textStyle: {
3473
+ color: '#979797'
3474
+ }
3475
+ },
3476
+ tooltip: {
3477
+ axisPointer: {
3478
+ lineStyle: {
3479
+ color: '#979797',
3480
+ width: '1'
3481
+ },
3482
+ crossStyle: {
3483
+ color: '#979797',
3484
+ width: '1'
3485
+ }
3486
+ }
3487
+ },
3488
+ timeline: {
3489
+ lineStyle: {
3490
+ color: '#979797',
3491
+ width: 1
3492
+ },
3493
+ itemStyle: {
3494
+ color: '#e60049',
3495
+ borderWidth: 1
3496
+ },
3497
+ controlStyle: {
3498
+ color: '#979797',
3499
+ borderColor: '#979797',
3500
+ borderWidth: 0.5
3501
+ },
3502
+ checkpointStyle: {
3503
+ color: '#e43c59',
3504
+ borderColor: '#c23531'
3505
+ },
3506
+ label: {
3507
+ color: 'rgba(255, 255, 255, 0.67)',
3508
+ fontSize: '8px'
3509
+ },
3510
+ emphasis: {
3511
+ itemStyle: {
3512
+ color: '#a9334c'
3513
+ },
3514
+ controlStyle: {
3515
+ color: '#979797',
3516
+ borderColor: '#979797',
3517
+ borderWidth: 0.5
3518
+ },
3519
+ label: {
3520
+ color: 'rgba(255, 255, 255, 0.67)'
3521
+ }
3522
+ }
3523
+ },
3524
+ dataZoom: {
3525
+ backgroundColor: 'rgba(47,69,84,0)',
3526
+ dataBackgroundColor: 'rgba(255,255,255,0.3)',
3527
+ fillerColor: 'rgba(167,183,204,0.4)',
3528
+ handleColor: '#313131',
3529
+ handleSize: '100%',
3530
+ textStyle: {
3531
+ color: '#979797'
3532
+ }
3533
+ },
3534
+ markPoint: {
3535
+ label: {
3536
+ color: 'rgba(255, 255, 255, 0.67)'
3537
+ },
3538
+ emphasis: {
3539
+ label: {
3540
+ color: 'rgba(255, 255, 255, 0.67)'
3541
+ }
3542
+ }
3543
+ }
3544
+ };
3545
+
3546
+ /* *
3547
+ * Licensed under the Apache License, Version 2.0 (the "License");
3548
+ * you may not use this file except in compliance with the License.
3549
+ * You may obtain a copy of the License at
3550
+ *
3551
+ * http://www.apache.org/licenses/LICENSE-2.0
3552
+ *
3553
+ * Unless required by applicable law or agreed to in writing, software
3554
+ * distributed under the License is distributed on an "AS IS" BASIS,
3555
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3556
+ * See the License for the specific language governing permissions and
3557
+ * limitations under the License.
3558
+ *
3559
+ * Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
3560
+ * Copyright 2024 - Finnish Meteorological Institute (FMI)
3561
+ * */
3562
+ var EChartsLightTheme = {
3563
+ backgroundColor: 'rgba(0,0,0,0)',
3564
+ textStyle: {
3565
+ color: '#051039',
3566
+ fontSize: '10px',
3567
+ fontWeight: '400'
3568
+ },
3569
+ title: {
3570
+ textStyle: {
3571
+ color: 'rgba(5, 16, 57, 0.67)'
3572
+ },
3573
+ subtextStyle: {
3574
+ color: 'rgba(5, 16, 57, 0.67)'
3575
+ }
3576
+ },
3577
+ line: {
3578
+ itemStyle: {
3579
+ borderWidth: 1
3580
+ },
3581
+ lineStyle: {
3582
+ width: 2
3583
+ },
3584
+ symbolSize: 4,
3585
+ symbol: 'circle',
3586
+ smooth: false
3587
+ },
3588
+ bar: {
3589
+ itemStyle: {
3590
+ barBorderWidth: 0,
3591
+ barBorderColor: '#ccc'
3592
+ }
3593
+ },
3594
+ scatter: {
3595
+ itemStyle: {
3596
+ borderWidth: 0,
3597
+ borderColor: '#ccc'
3598
+ }
3599
+ },
3600
+ categoryAxis: {
3601
+ axisLine: {
3602
+ show: true,
3603
+ lineStyle: {
3604
+ color: '#6E7079'
3605
+ }
3606
+ },
3607
+ axisTick: {
3608
+ show: true,
3609
+ lineStyle: {
3610
+ color: '#6E7079'
3611
+ }
3612
+ },
3613
+ axisLabel: {
3614
+ show: true,
3615
+ color: '#6E7079',
3616
+ fontSize: '8px'
3617
+ },
3618
+ splitLine: {
3619
+ show: false,
3620
+ lineStyle: {
3621
+ color: ['#E0E6F1']
3622
+ }
3623
+ },
3624
+ splitArea: {
3625
+ show: false,
3626
+ areaStyle: {
3627
+ color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)']
3628
+ }
3629
+ }
3630
+ },
3631
+ valueAxis: {
3632
+ axisLine: {
3633
+ show: false,
3634
+ lineStyle: {
3635
+ color: '#6E7079'
3636
+ }
3637
+ },
3638
+ axisTick: {
3639
+ show: false,
3640
+ lineStyle: {
3641
+ color: '#6E7079'
3642
+ }
3643
+ },
3644
+ axisLabel: {
3645
+ show: true,
3646
+ color: '#6E7079',
3647
+ fontSize: '8px'
3648
+ },
3649
+ splitLine: {
3650
+ show: true,
3651
+ lineStyle: {
3652
+ color: ['#E0E6F1']
3653
+ }
3654
+ },
3655
+ splitArea: {
3656
+ show: false,
3657
+ areaStyle: {
3658
+ color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)']
3659
+ }
3660
+ }
3661
+ },
3662
+ logAxis: {
3663
+ axisLine: {
3664
+ show: false,
3665
+ lineStyle: {
3666
+ color: '#6E7079'
3667
+ }
3668
+ },
3669
+ axisTick: {
3670
+ show: false,
3671
+ lineStyle: {
3672
+ color: '#6E7079'
3673
+ }
3674
+ },
3675
+ axisLabel: {
3676
+ show: true,
3677
+ color: '#6E7079',
3678
+ fontSize: '8px'
3679
+ },
3680
+ splitLine: {
3681
+ show: true,
3682
+ lineStyle: {
3683
+ color: ['#E0E6F1']
3684
+ }
3685
+ },
3686
+ splitArea: {
3687
+ show: false,
3688
+ areaStyle: {
3689
+ color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)']
3690
+ }
3691
+ }
3692
+ },
3693
+ timeAxis: {
3694
+ nameTextStyle: {
3695
+ color: '#6E7079'
3696
+ },
3697
+ axisLine: {
3698
+ show: true,
3699
+ lineStyle: {
3700
+ color: '#6E7079'
3701
+ }
3702
+ },
3703
+ axisTick: {
3704
+ show: true,
3705
+ lineStyle: {
3706
+ color: '#6E7079'
3707
+ }
3708
+ },
3709
+ axisLabel: {
3710
+ show: true,
3711
+ color: '#6E7079',
3712
+ fontSize: '8px'
3713
+ },
3714
+ splitLine: {
3715
+ show: false,
3716
+ lineStyle: {
3717
+ color: ['#E0E6F1']
3718
+ }
3719
+ },
3720
+ splitArea: {
3721
+ show: false,
3722
+ areaStyle: {
3723
+ color: ['rgba(250,250,250,0.2)', 'rgba(210,219,238,0.2)']
3724
+ }
3725
+ }
3726
+ },
3727
+ toolbox: {
3728
+ iconStyle: {
3729
+ borderColor: '#374061'
3730
+ },
3731
+ emphasis: {
3732
+ iconStyle: {
3733
+ borderColor: '#6E7079'
3734
+ }
3735
+ }
3736
+ },
3737
+ legend: {
3738
+ textStyle: {
3739
+ color: '#333333'
3740
+ }
3741
+ },
3742
+ tooltip: {
3743
+ axisPointer: {
3744
+ lineStyle: {
3745
+ color: '#cccccc',
3746
+ width: 1
3747
+ },
3748
+ crossStyle: {
3749
+ color: '#cccccc',
3750
+ width: 1
3751
+ }
3752
+ }
3753
+ },
3754
+ timeline: {
3755
+ lineStyle: {
3756
+ color: '#dae1f5',
3757
+ width: 2
3758
+ },
3759
+ itemStyle: {
3760
+ color: '#a4b1d7',
3761
+ borderWidth: 1
3762
+ },
3763
+ controlStyle: {
3764
+ color: '#a4b1d7',
3765
+ borderColor: '#a4b1d7',
3766
+ borderWidth: 1
3767
+ },
3768
+ checkpointStyle: {
3769
+ color: '#316bf3',
3770
+ borderColor: '#ffffff'
3771
+ },
3772
+ label: {
3773
+ color: '#a4b1d7'
3774
+ },
3775
+ emphasis: {
3776
+ itemStyle: {
3777
+ color: '#ffffff'
3778
+ },
3779
+ controlStyle: {
3780
+ color: '#a4b1d7',
3781
+ borderColor: '#a4b1d7',
3782
+ borderWidth: 1
3783
+ },
3784
+ label: {
3785
+ color: '#a4b1d7'
3786
+ }
3787
+ }
3788
+ },
3789
+ dataZoom: {
3790
+ handleSize: '100%',
3791
+ textStyle: {
3792
+ color: '#051039'
3793
+ }
3794
+ },
3795
+ markPoint: {
3796
+ label: {
3797
+ color: '#eeeeee'
3798
+ },
3799
+ emphasis: {
3800
+ label: {
3801
+ color: '#eeeeee'
3802
+ }
3803
+ }
3804
+ }
3471
3805
  };
3472
3806
 
3473
- export { Add, Animation, ArrowDown, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CoastalEvent, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, Fog, FunnelCloud, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, LayersAdd, Lightning, Link, LinkOff, List, ListItem, Location, LockLocked, LockUnlocked, MapAdd, Menu, Minus, MyLocation, None, Notifications, Now, Options, Pause, Picture, Play, Polygons, Preset, PresetTiles, PresetWorkspace, Rain, Resize, Search, Share, SliderThumb, Snow, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TemperatureHigh, TemperatureLow, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesSelect, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, Wind, WorldMapProjection, breakpoints, colors$1 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$1 as elevationsLight, lightTheme, parseColors, useThemeContext };
3807
+ export { Add, Animation, ArrowDown, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CoastalEvent, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, EChartsDarkTheme, EChartsLightTheme, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, Fog, FunnelCloud, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, LayersAdd, Lightning, Link, LinkOff, List, ListItem, Location, LockLocked, LockUnlocked, MapAdd, Menu, Minus, MyLocation, None, Notifications, Now, Options, Pause, Picture, Play, Polygons, Preset, PresetTiles, PresetWorkspace, Rain, Resize, Search, Share, SliderThumb, Snow, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TemperatureHigh, TemperatureLow, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThumbsUp, TimeSeriesSelect, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, Wind, WorldMapProjection, breakpoints, colors$1 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$1 as elevationsLight, lightTheme, parseColors, useThemeContext };