@opengeoweb/shared 15.3.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/index.esm.js +947 -406
  2. package/package.json +3 -3
  3. package/src/index.d.ts +0 -7
  4. package/src/lib/components/AlertBanner/AlertBanner.d.ts +0 -16
  5. package/src/lib/components/AlertBanner/AlertBanner.spec.d.ts +0 -1
  6. package/src/lib/components/AlertBanner/AlertBanner.stories.d.ts +0 -8
  7. package/src/lib/components/AlertBanner/index.d.ts +0 -1
  8. package/src/lib/components/AlertIcon/AlertIcon.d.ts +0 -8
  9. package/src/lib/components/AlertIcon/index.d.ts +0 -1
  10. package/src/lib/components/AppHeader/AppHeader.d.ts +0 -10
  11. package/src/lib/components/AppHeader/AppHeader.spec.d.ts +0 -1
  12. package/src/lib/components/AppHeader/AppHeader.stories.d.ts +0 -8
  13. package/src/lib/components/AppHeader/index.d.ts +0 -1
  14. package/src/lib/components/AppLayout/AppLayout.d.ts +0 -7
  15. package/src/lib/components/AppLayout/AppLayout.spec.d.ts +0 -1
  16. package/src/lib/components/AppLayout/AppLayout.stories.d.ts +0 -8
  17. package/src/lib/components/AppLayout/index.d.ts +0 -1
  18. package/src/lib/components/Avatar/Avatar.d.ts +0 -8
  19. package/src/lib/components/Avatar/Avatar.stories.d.ts +0 -8
  20. package/src/lib/components/Avatar/index.d.ts +0 -1
  21. package/src/lib/components/CanvasComponent/CanvasComponent.d.ts +0 -71
  22. package/src/lib/components/CanvasComponent/CanvasComponent.spec.d.ts +0 -1
  23. package/src/lib/components/CanvasComponent/CanvasComponent.stories.d.ts +0 -8
  24. package/src/lib/components/CanvasComponent/index.d.ts +0 -1
  25. package/src/lib/components/ConfirmationDialog/ConfirmationButtons.d.ts +0 -12
  26. package/src/lib/components/ConfirmationDialog/ConfirmationButtons.spec.d.ts +0 -1
  27. package/src/lib/components/ConfirmationDialog/ConfirmationButtons.stories.d.ts +0 -9
  28. package/src/lib/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -22
  29. package/src/lib/components/ConfirmationDialog/ConfirmationDialog.spec.d.ts +0 -1
  30. package/src/lib/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +0 -21
  31. package/src/lib/components/ConfirmationDialog/ConfirmationService.d.ts +0 -18
  32. package/src/lib/components/ConfirmationDialog/ConfirmationService.spec.d.ts +0 -1
  33. package/src/lib/components/ConfirmationDialog/index.d.ts +0 -3
  34. package/src/lib/components/CustomAccordion/CustomAccordion.d.ts +0 -13
  35. package/src/lib/components/CustomAccordion/CustomAccordion.spec.d.ts +0 -1
  36. package/src/lib/components/CustomAccordion/CustomAccordion.stories.d.ts +0 -8
  37. package/src/lib/components/CustomAccordion/index.d.ts +0 -1
  38. package/src/lib/components/CustomDialog/CustomDialog.d.ts +0 -18
  39. package/src/lib/components/CustomDialog/CustomDialog.spec.d.ts +0 -1
  40. package/src/lib/components/CustomDialog/CustomDialog.stories.d.ts +0 -22
  41. package/src/lib/components/CustomDialog/CustomDialogHeader.d.ts +0 -13
  42. package/src/lib/components/CustomDialog/CustomDialogHeader.spec.d.ts +0 -1
  43. package/src/lib/components/CustomDialog/CustomDialogHeader.stories.d.ts +0 -11
  44. package/src/lib/components/CustomDialog/index.d.ts +0 -2
  45. package/src/lib/components/CustomDialog/types.d.ts +0 -1
  46. package/src/lib/components/CustomIconButton/CustomIconButton.d.ts +0 -15
  47. package/src/lib/components/CustomIconButton/CustomIconButton.spec.d.ts +0 -1
  48. package/src/lib/components/CustomIconButton/CustomIconButton.stories.d.ts +0 -8
  49. package/src/lib/components/CustomIconButton/index.d.ts +0 -1
  50. package/src/lib/components/CustomSlider/CustomSlider.d.ts +0 -14
  51. package/src/lib/components/CustomSlider/CustomSlider.spec.d.ts +0 -1
  52. package/src/lib/components/CustomSlider/CustomSlider.stories.d.ts +0 -8
  53. package/src/lib/components/CustomSlider/index.d.ts +0 -1
  54. package/src/lib/components/CustomToggleButton/CustomToggleButton.d.ts +0 -8
  55. package/src/lib/components/CustomToggleButton/CustomToggleButton.spec.d.ts +0 -1
  56. package/src/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +0 -8
  57. package/src/lib/components/CustomToggleButton/index.d.ts +0 -1
  58. package/src/lib/components/CustomTooltip/CustomTooltip.d.ts +0 -5
  59. package/src/lib/components/CustomTooltip/CustomTooltip.spec.d.ts +0 -1
  60. package/src/lib/components/CustomTooltip/index.d.ts +0 -1
  61. package/src/lib/components/DraggableResizable/Draggable.d.ts +0 -16
  62. package/src/lib/components/DraggableResizable/Draggable.spec.d.ts +0 -1
  63. package/src/lib/components/DraggableResizable/Resizable.d.ts +0 -10
  64. package/src/lib/components/DraggableResizable/Resizable.spec.d.ts +0 -1
  65. package/src/lib/components/DraggableResizable/index.d.ts +0 -3
  66. package/src/lib/components/DraggableResizable/types.d.ts +0 -27
  67. package/src/lib/components/ErrorBoundary/ErrorBoundary.d.ts +0 -31
  68. package/src/lib/components/ErrorBoundary/ErrorBoundary.spec.d.ts +0 -1
  69. package/src/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +0 -8
  70. package/src/lib/components/ErrorBoundary/index.d.ts +0 -1
  71. package/src/lib/components/Filter/Filter.d.ts +0 -18
  72. package/src/lib/components/Filter/Filter.spec.d.ts +0 -1
  73. package/src/lib/components/Filter/Filter.stories.d.ts +0 -8
  74. package/src/lib/components/Filter/FilterChip.d.ts +0 -14
  75. package/src/lib/components/Filter/FilterChip.spec.d.ts +0 -1
  76. package/src/lib/components/Filter/FilterList.d.ts +0 -19
  77. package/src/lib/components/Filter/FilterList.spec.d.ts +0 -1
  78. package/src/lib/components/Filter/FilterOption.d.ts +0 -12
  79. package/src/lib/components/Filter/FilterToggleButton.d.ts +0 -6
  80. package/src/lib/components/Filter/SearchField.d.ts +0 -8
  81. package/src/lib/components/Filter/SearchField.spec.d.ts +0 -1
  82. package/src/lib/components/Filter/index.d.ts +0 -7
  83. package/src/lib/components/LastUpdateTime/LastUpdateTime.d.ts +0 -14
  84. package/src/lib/components/LastUpdateTime/LastUpdateTime.spec.d.ts +0 -1
  85. package/src/lib/components/LastUpdateTime/LastUpdateTime.stories.d.ts +0 -8
  86. package/src/lib/components/LastUpdateTime/index.d.ts +0 -1
  87. package/src/lib/components/Providers/Providers.d.ts +0 -18
  88. package/src/lib/components/Providers/index.d.ts +0 -1
  89. package/src/lib/components/SearchField/SearchField.d.ts +0 -10
  90. package/src/lib/components/SearchField/SearchField.spec.d.ts +0 -1
  91. package/src/lib/components/SearchField/SearchFieldButtonContainer.d.ts +0 -9
  92. package/src/lib/components/SearchField/SearchFieldButtonContainer.spec.d.ts +0 -1
  93. package/src/lib/components/SearchField/index.d.ts +0 -2
  94. package/src/lib/components/SearchHighlight/SearchHighlight.d.ts +0 -7
  95. package/src/lib/components/SearchHighlight/SearchHighlight.spec.d.ts +0 -1
  96. package/src/lib/components/SearchHighlight/SearchHighlight.stories.d.ts +0 -8
  97. package/src/lib/components/SearchHighlight/index.d.ts +0 -1
  98. package/src/lib/components/StatusTag/StatusTag.d.ts +0 -17
  99. package/src/lib/components/StatusTag/StatusTag.spec.d.ts +0 -1
  100. package/src/lib/components/StatusTag/StatusTag.stories.d.ts +0 -8
  101. package/src/lib/components/StatusTag/index.d.ts +0 -1
  102. package/src/lib/components/Storybook/StorybookDocsWrapper.d.ts +0 -6
  103. package/src/lib/components/Storybook/index.d.ts +0 -1
  104. package/src/lib/components/SwitchButton/SwitchButton.d.ts +0 -8
  105. package/src/lib/components/SwitchButton/SwitchButton.spec.d.ts +0 -1
  106. package/src/lib/components/SwitchButton/index.d.ts +0 -1
  107. package/src/lib/components/ToggleMenu/ToggleMenu.d.ts +0 -30
  108. package/src/lib/components/ToggleMenu/ToggleMenu.spec.d.ts +0 -1
  109. package/src/lib/components/ToggleMenu/ToggleMenu.stories.d.ts +0 -8
  110. package/src/lib/components/ToggleMenu/index.d.ts +0 -1
  111. package/src/lib/components/ToolContainer/ToolContainer.d.ts +0 -5
  112. package/src/lib/components/ToolContainer/ToolContainer.spec.d.ts +0 -1
  113. package/src/lib/components/ToolContainer/ToolContainer.stories.d.ts +0 -16
  114. package/src/lib/components/ToolContainer/ToolContainerDraggable.d.ts +0 -39
  115. package/src/lib/components/ToolContainer/ToolContainerDraggable.spec.d.ts +0 -1
  116. package/src/lib/components/ToolContainer/ToolContainerDraggable.stories.d.ts +0 -13
  117. package/src/lib/components/ToolContainer/ToolContainerSnapShots.stories.d.ts +0 -13
  118. package/src/lib/components/ToolContainer/ToolFooter.d.ts +0 -3
  119. package/src/lib/components/ToolContainer/ToolFooter.spec.d.ts +0 -1
  120. package/src/lib/components/ToolContainer/ToolHeader.d.ts +0 -4
  121. package/src/lib/components/ToolContainer/ToolHeader.spec.d.ts +0 -1
  122. package/src/lib/components/ToolContainer/ToolHeader.stories.d.ts +0 -8
  123. package/src/lib/components/ToolContainer/index.d.ts +0 -7
  124. package/src/lib/components/ToolContainer/types.d.ts +0 -19
  125. package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.d.ts +0 -15
  126. package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.spec.d.ts +0 -1
  127. package/src/lib/components/TooltipSelect/TooltipSelect.d.ts +0 -23
  128. package/src/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +0 -1
  129. package/src/lib/components/TooltipSelect/TooltipSelect.stories.d.ts +0 -10
  130. package/src/lib/components/TooltipSelect/index.d.ts +0 -1
  131. package/src/lib/components/UserMenu/CheatSheet/CheatSheet.d.ts +0 -3
  132. package/src/lib/components/UserMenu/CheatSheet/CheatSheet.spec.d.ts +0 -1
  133. package/src/lib/components/UserMenu/CheatSheet/CheatSheet.stories.d.ts +0 -10
  134. package/src/lib/components/UserMenu/CheatSheet/ShortcutList.d.ts +0 -6
  135. package/src/lib/components/UserMenu/CheatSheet/ShortcutList.spec.d.ts +0 -1
  136. package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.d.ts +0 -7
  137. package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.spec.d.ts +0 -1
  138. package/src/lib/components/UserMenu/UserMenu.d.ts +0 -11
  139. package/src/lib/components/UserMenu/UserMenu.spec.d.ts +0 -1
  140. package/src/lib/components/UserMenu/UserMenu.stories.d.ts +0 -10
  141. package/src/lib/components/UserMenu/UserMenuItemCheatSheet.d.ts +0 -3
  142. package/src/lib/components/UserMenu/UserMenuItemCheatSheet.spec.d.ts +0 -1
  143. package/src/lib/components/UserMenu/UserMenuItemTheme.d.ts +0 -6
  144. package/src/lib/components/UserMenu/UserMenuItemTheme.spec.d.ts +0 -1
  145. package/src/lib/components/UserMenu/index.d.ts +0 -5
  146. package/src/lib/components/UserMenu/useUserMenu.d.ts +0 -7
  147. package/src/lib/components/UserMenu/useUserMenu.spec.d.ts +0 -1
  148. package/src/lib/components/UserMenu/utils.d.ts +0 -1
  149. package/src/lib/components/index.d.ts +0 -26
  150. package/src/lib/hooks/index.d.ts +0 -9
  151. package/src/lib/hooks/useDebounce/useDebounce.d.ts +0 -1
  152. package/src/lib/hooks/useDebounce/useDebounce.spec.d.ts +0 -1
  153. package/src/lib/hooks/useIsMounted/useIsMounted.d.ts +0 -4
  154. package/src/lib/hooks/useIsMounted/useIsMounted.spec.d.ts +0 -1
  155. package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.d.ts +0 -4
  156. package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.spec.d.ts +0 -1
  157. package/src/lib/hooks/usePoller/usePoller.d.ts +0 -3
  158. package/src/lib/hooks/usePoller/usePoller.spec.d.ts +0 -1
  159. package/src/lib/hooks/usePoller/usePoller.stories.d.ts +0 -6
  160. package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.d.ts +0 -2
  161. package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.spec.d.ts +0 -1
  162. package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.stories.d.ts +0 -6
  163. package/src/lib/hooks/usePrevious/usePrevious.d.ts +0 -1
  164. package/src/lib/hooks/usePrevious/usePrevious.spec.d.ts +0 -1
  165. package/src/lib/hooks/usePrevious/usePrevious.stories.d.ts +0 -6
  166. package/src/lib/hooks/useResizeObserver/useResizeObserver.d.ts +0 -2
  167. package/src/lib/hooks/useResizeObserver/useResizeObserver.spec.d.ts +0 -1
  168. package/src/lib/hooks/useScrollingInIsolation/useScrollingInIsolation.d.ts +0 -11
  169. package/src/lib/hooks/useScrollingInIsolation/useScrollingInIsolation.spec.d.ts +0 -1
  170. package/src/lib/hooks/useWheelStopPropagation/useWheelStopPropagation.d.ts +0 -2
  171. package/src/lib/hooks/useWheelStopPropagation/useWheelStopPropagation.spec.d.ts +0 -1
  172. package/src/lib/types/crss-types.d.ts +0 -26
  173. package/src/lib/types/edr-coverage-types.d.ts +0 -98
  174. package/src/lib/types/index.d.ts +0 -2
  175. package/src/lib/types/types.d.ts +0 -190
  176. package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.d.ts +0 -9
  177. package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.spec.d.ts +0 -1
  178. package/src/lib/utils/axiosErrorUtils/index.d.ts +0 -1
  179. package/src/lib/utils/dateUtils/dateFormats.d.ts +0 -8
  180. package/src/lib/utils/dateUtils/dateUtils.d.ts +0 -372
  181. package/src/lib/utils/dateUtils/dateUtils.spec.d.ts +0 -1
  182. package/src/lib/utils/dateUtils/index.d.ts +0 -2
  183. package/src/lib/utils/i18n.d.ts +0 -14
  184. package/src/lib/utils/i18n.spec.d.ts +0 -1
  185. package/src/lib/utils/index.d.ts +0 -6
  186. package/src/lib/utils/mapProjections.d.ts +0 -79
  187. package/src/lib/utils/renderCounter.d.ts +0 -21
  188. package/src/lib/utils/renderCounter.spec.d.ts +0 -1
  189. package/src/lib/utils/sessionStorage.d.ts +0 -28
  190. package/src/lib/utils/sessionStorage.spec.d.ts +0 -1
package/index.esm.js CHANGED
@@ -1,13 +1,13 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
1
  import { Box, Typography, useTheme, Tooltip, IconButton, Menu, ListSubheader, MenuItem, Grid, ListItemText, ListItemIcon, DialogTitle, Button, Dialog, DialogContent, DialogActions, Paper, CircularProgress, Alert, AlertTitle, Drawer, Link, Avatar as Avatar$1, ClickAwayListener, MenuList, RadioGroup, FormControlLabel, Radio, List, ListItem, Tabs, Tab, Backdrop, Slider, ToggleButton, styled, Select, Accordion, AccordionSummary, AccordionDetails, FormLabel, Switch, TextField, InputAdornment, Chip, Stack, debounce as debounce$1, ListItemButton, Checkbox } from '@mui/material';
2
+ import React, { useRef, useEffect, useState, Component } from 'react';
3
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
4
  import 'i18next';
4
5
  import { initReactI18next, useTranslation } from 'react-i18next';
5
- import React, { useRef, useEffect, useState, Component } from 'react';
6
6
  import Draggable from 'react-draggable';
7
7
  import { Resizable } from 're-resizable';
8
8
  import { Resize, BORDER_RADIUS, Options, Close, ChevronLeft, Exclamation, Success, Info, ChevronRight, GeoWebLogo, HamburgerMenu, Admin, useThemeContext, ThemeTypes, ArrowLeft, ArrowRight, KeyOption, KeyCommand, ArrowUp, ArrowDown, ChevronDown, Search, Clear, Cached, Filter as Filter$1 } from '@opengeoweb/theme';
9
9
  import { throttle, isEqual, merge, escapeRegExp, debounce } from 'lodash';
10
- import { parseISO, parse, format, isEqual as isEqual$1, add as add$1, sub as sub$1, differenceInYears as differenceInYears$1, differenceInMonths as differenceInMonths$1, differenceInDays as differenceInDays$1, differenceInMinutes as differenceInMinutes$1, differenceInHours as differenceInHours$1, differenceInSeconds as differenceInSeconds$1, roundToNearestMinutes as roundToNearestMinutes$1, isBefore as isBefore$1, isAfter as isAfter$1, isValid as isValid$1, getUnixTime, fromUnixTime, set as set$1, getHours as getHours$1, startOfDay, addMinutes, addHours, setSeconds as setSeconds$1, getDay, getDayOfYear, getMonth, getWeek, getYear, isWithinInterval } from 'date-fns';
10
+ import { add as add$1, startOfDay, addMinutes, addHours, format, differenceInDays as differenceInDays$1, differenceInHours as differenceInHours$1, differenceInMinutes as differenceInMinutes$1, differenceInMonths as differenceInMonths$1, differenceInSeconds as differenceInSeconds$1, differenceInYears as differenceInYears$1, fromUnixTime, getHours as getHours$1, isAfter as isAfter$1, isBefore as isBefore$1, isEqual as isEqual$1, isValid as isValid$1, parseISO, roundToNearestMinutes as roundToNearestMinutes$1, set as set$1, setSeconds as setSeconds$1, parse, sub as sub$1, getUnixTime, getDay, getDayOfYear, getMonth, getWeek, getYear, isWithinInterval } from 'date-fns';
11
11
  import { fi as fi$1, nl as nl$1, nb, enGB } from 'date-fns/locale';
12
12
 
13
13
  var en = {
@@ -31,6 +31,7 @@ var en = {
31
31
  "shared-move-selected-time": "Move backwards/forwards in selected time",
32
32
  "shared-move-one-step": "Move 1 step backwards/forwards in selected time",
33
33
  "shared-toggle-timeslider": "Toggle hide/show time slider",
34
+ "shared-toggle-syncviewer": "Toggle hide/show sync settings",
34
35
  "shared-timeslider-scale": "Change time slider scale (visible timespan)",
35
36
  "shared-expand-timeslider-scale": "Expand/shrink time slider scale (visible timespan)",
36
37
  "shared-toggle-layerinformation": "Toggle hide/show layer information",
@@ -96,7 +97,8 @@ var fi = {
96
97
  "shared-choose-selected-time": "Valitse valittu aika",
97
98
  "shared-move-selected-time": "Liiku ajassa taaksepäin/eteenpäin",
98
99
  "shared-move-one-step": "Liiku 1 askel ajassa taaksepäin/eteenpäin",
99
- "shared-toggle-timeslider": "Kytke TimeSlider näkyville/pois näkyvistä",
100
+ "shared-toggle-timeslider": "Piilota/näytä synkronointiasetukset",
101
+ "shared-toggle-syncviewer": "Toggle hide/show sync settings",
100
102
  "shared-timeslider-scale": "Muuta TimeSliderin näkyvää aikaväliä",
101
103
  "shared-expand-timeslider-scale": "Laajenna/kutista TimeSliderin mittakaavaa (näkyvää aikaväliä)",
102
104
  "shared-toggle-layerinformation": "Kytke karttatasojen pikanäyttö näkyville/pois näkyvistä",
@@ -161,6 +163,7 @@ var no = {
161
163
  "shared-move-selected-time": "Gå bakover/fremover i valgt tid",
162
164
  "shared-move-one-step": "Gå 1 steg bakover/fremover i valgt tid",
163
165
  "shared-toggle-timeslider": "Vis/skjul tidslinje",
166
+ "shared-toggle-syncviewer": "Vis/skjul synkroniseringsinnstillinger",
164
167
  "shared-timeslider-scale": "Endre tidsseriens skala (synlig tidsperiode)",
165
168
  "shared-expand-timeslider-scale": "Utvid/krymp tidsseriens skala (synlig tidsperiode)",
166
169
  "shared-toggle-layerinformation": "Vis/skjul laginformasjon",
@@ -225,6 +228,7 @@ var nl = {
225
228
  "shared-move-selected-time": "Ga achteruit/vooruit in geselecteerde tijd",
226
229
  "shared-move-one-step": "Ga 1 stap achteruit/vooruit in geselecteerde tijd",
227
230
  "shared-toggle-timeslider": "Timeslider verbergen/tonen",
231
+ "shared-toggle-syncviewer": "Synchroniserings instellingen verbergen/tonen",
228
232
  "shared-timeslider-scale": "Timeslider zichtbare periode wijzigen",
229
233
  "shared-expand-timeslider-scale": "Timeslider zichtbare periode vergroten/verkleinen",
230
234
  "shared-toggle-layerinformation": "Laag informatie verbergen/tonen",
@@ -637,7 +641,7 @@ var StatusTag = function StatusTag(_ref) {
637
641
  icon = _ref.icon,
638
642
  sx = _ref.sx;
639
643
  _objectWithoutPropertiesLoose(_ref, _excluded$e);
640
- return jsxs(Box, {
644
+ return /*#__PURE__*/jsxs(Box, {
641
645
  alignItems: "center",
642
646
  className: "statusTag",
643
647
  "data-testid": "statusTag",
@@ -645,13 +649,13 @@ var StatusTag = function StatusTag(_ref) {
645
649
  position: "relative",
646
650
  sx: Object.assign({}, tagStyle(color), Array.isArray(sx) ? Object.assign.apply(Object, [{}].concat(sx)) : sx),
647
651
  textAlign: "center",
648
- children: [jsx(Box, {
652
+ children: [/*#__PURE__*/jsx(Box, {
649
653
  sx: {
650
654
  position: 'absolute',
651
655
  color: 'geowebColors.iconButtons.flat.default.color'
652
656
  },
653
657
  children: icon
654
- }), jsx(Typography, {
658
+ }), /*#__PURE__*/jsx(Typography, {
655
659
  sx: {
656
660
  width: '100%'
657
661
  },
@@ -678,6 +682,7 @@ var StatusTag = function StatusTag(_ref) {
678
682
  * Copyright 2025 - Finnish Meteorological Institute (FMI)
679
683
  * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
680
684
  * */
685
+
681
686
  var SHARED_NAMESPACE = 'shared';
682
687
  var geowebLanguages = ['en', 'fi', 'no', 'nl'];
683
688
  var loadAllTranslations = function loadAllTranslations(i18nInstance, translationsToLoad) {
@@ -729,7 +734,7 @@ var DraggableComponent$1 = function DraggableComponent(_ref) {
729
734
  y: pos.y
730
735
  });
731
736
  };
732
- return jsx(Draggable, Object.assign({
737
+ return /*#__PURE__*/jsx(Draggable, Object.assign({
733
738
  bounds: bounds
734
739
  }, props, {
735
740
  enableUserSelectHack: false,
@@ -796,6 +801,7 @@ var ResizeComponent = function ResizeComponent(_ref) {
796
801
  width: width,
797
802
  height: height
798
803
  });
804
+
799
805
  // fix for when initial maxHeight gets cleared
800
806
  // eslint-disable-next-line no-param-reassign
801
807
  node.style.height = height + "px";
@@ -815,7 +821,7 @@ var ResizeComponent = function ResizeComponent(_ref) {
815
821
  onResizeStop(event, direction, node, delta);
816
822
  }, [setSize, onResizeStop, size]);
817
823
  var boundsProps = useBoundsProps(nodeRef);
818
- return jsx(Resizable, Object.assign({
824
+ return /*#__PURE__*/jsx(Resizable, Object.assign({
819
825
  minHeight: minHeight,
820
826
  minWidth: minWidth,
821
827
  onResizeStop: onStopResize,
@@ -823,7 +829,7 @@ var ResizeComponent = function ResizeComponent(_ref) {
823
829
  }, boundsProps, {
824
830
  enable: enable,
825
831
  handleComponent: {
826
- bottomRight: jsx(Resize, {
832
+ bottomRight: /*#__PURE__*/jsx(Resize, {
827
833
  className: "resizableHandle",
828
834
  style: {
829
835
  fill: "" + theme.palette.geowebColors.buttons.flat["default"].color
@@ -832,7 +838,7 @@ var ResizeComponent = function ResizeComponent(_ref) {
832
838
  display: 'none'
833
839
  }
834
840
  }),
835
- bottomLeft: jsx(Resize, {
841
+ bottomLeft: /*#__PURE__*/jsx(Resize, {
836
842
  className: "resizableHandle",
837
843
  isRightAligned: true,
838
844
  style: {
@@ -849,6 +855,24 @@ var ResizeComponent = function ResizeComponent(_ref) {
849
855
  }));
850
856
  };
851
857
 
858
+ /* *
859
+ * Licensed under the Apache License, Version 2.0 (the "License");
860
+ * you may not use this file except in compliance with the License.
861
+ * You may obtain a copy of the License at
862
+ *
863
+ * http://www.apache.org/licenses/LICENSE-2.0
864
+ *
865
+ * Unless required by applicable law or agreed to in writing, software
866
+ * distributed under the License is distributed on an "AS IS" BASIS,
867
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
868
+ * See the License for the specific language governing permissions and
869
+ * limitations under the License.
870
+ *
871
+ * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
872
+ * Copyright 2022 - Finnish Meteorological Institute (FMI)
873
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
874
+ * */
875
+
852
876
  var defaultDelay = 1000;
853
877
  var useControlledTooltip = function useControlledTooltip() {
854
878
  var _React$useState = React.useState(false),
@@ -872,7 +896,7 @@ var useControlledTooltip = function useControlledTooltip() {
872
896
  return [delayedTooltip, setTooltipOpen];
873
897
  };
874
898
  var CustomTooltip = function CustomTooltip(props) {
875
- return jsx(Tooltip, Object.assign({}, props, {
899
+ return /*#__PURE__*/jsx(Tooltip, Object.assign({}, props, {
876
900
  disableInteractive: true,
877
901
  enterDelay: defaultDelay,
878
902
  enterNextDelay: defaultDelay
@@ -913,7 +937,7 @@ var CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef(function (_ref, ref)
913
937
  });
914
938
  }, [defaultTooltipProps, tooltipTitle]);
915
939
  var renderIconButton = function renderIconButton() {
916
- return jsxs(IconButton, Object.assign({
940
+ return /*#__PURE__*/jsxs(IconButton, Object.assign({
917
941
  "aria-label": tooltipTitle
918
942
  }, props, {
919
943
  "aria-pressed": isSelected,
@@ -928,7 +952,7 @@ var CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef(function (_ref, ref)
928
952
  color: "geowebColors.iconButtons." + variant + ".default.color"
929
953
  }
930
954
  }),
931
- children: [children, shouldShowExtraOptionsIndicator ? jsx(Box, {
955
+ children: [children, shouldShowExtraOptionsIndicator ? /*#__PURE__*/jsx(Box, {
932
956
  "data-testid": "extra-options-indicator",
933
957
  sx: {
934
958
  position: 'absolute',
@@ -943,12 +967,29 @@ var CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef(function (_ref, ref)
943
967
  }) : null]
944
968
  }));
945
969
  };
946
- return tooltipTitle && !props.disabled ? jsx(CustomTooltip, Object.assign({}, tooltipProps, {
970
+ return tooltipTitle && !props.disabled ? /*#__PURE__*/jsx(CustomTooltip, Object.assign({}, tooltipProps, {
947
971
  children: renderIconButton()
948
972
  })) : renderIconButton();
949
973
  });
950
974
  var CustomIconButton = /*#__PURE__*/React.memo(CustomIconButtonNoMemo);
951
975
 
976
+ /* *
977
+ * Licensed under the Apache License, Version 2.0 (the "License");
978
+ * you may not use this file except in compliance with the License.
979
+ * You may obtain a copy of the License at
980
+ *
981
+ * http://www.apache.org/licenses/LICENSE-2.0
982
+ *
983
+ * Unless required by applicable law or agreed to in writing, software
984
+ * distributed under the License is distributed on an "AS IS" BASIS,
985
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
986
+ * See the License for the specific language governing permissions and
987
+ * limitations under the License.
988
+ *
989
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
990
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
991
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
992
+ * */
952
993
  var getPosition = function getPosition(menuPosition) {
953
994
  switch (menuPosition) {
954
995
  case 'bottom':
@@ -1005,7 +1046,7 @@ var ToggleMenu = function ToggleMenu(_ref) {
1005
1046
  _ref$isDefaultOpen = _ref.isDefaultOpen,
1006
1047
  isDefaultOpen = _ref$isDefaultOpen === void 0 ? false : _ref$isDefaultOpen,
1007
1048
  _ref$buttonIcon = _ref.buttonIcon,
1008
- buttonIcon = _ref$buttonIcon === void 0 ? jsx(Options, {}) : _ref$buttonIcon,
1049
+ buttonIcon = _ref$buttonIcon === void 0 ? /*#__PURE__*/jsx(Options, {}) : _ref$buttonIcon,
1009
1050
  _ref$isDisabled = _ref.isDisabled,
1010
1051
  isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled;
1011
1052
  var _React$useState = React.useState(null),
@@ -1028,8 +1069,8 @@ var ToggleMenu = function ToggleMenu(_ref) {
1028
1069
  setAnchorEl(document.getElementById(buttonTestId));
1029
1070
  }
1030
1071
  }, [isDefaultOpen, buttonTestId]);
1031
- return jsxs(Fragment, {
1032
- children: [jsx(CustomIconButton, {
1072
+ return /*#__PURE__*/jsxs(Fragment, {
1073
+ children: [/*#__PURE__*/jsx(CustomIconButton, {
1033
1074
  "data-testid": buttonTestId,
1034
1075
  disabled: isDisabled,
1035
1076
  id: buttonTestId,
@@ -1042,7 +1083,7 @@ var ToggleMenu = function ToggleMenu(_ref) {
1042
1083
  },
1043
1084
  variant: variant,
1044
1085
  children: buttonIcon
1045
- }), jsxs(Menu, {
1086
+ }), /*#__PURE__*/jsxs(Menu, {
1046
1087
  anchorEl: anchorEl,
1047
1088
  anchorOrigin: anchorOrigin,
1048
1089
  onClose: function onClose(event, reason) {
@@ -1066,9 +1107,9 @@ var ToggleMenu = function ToggleMenu(_ref) {
1066
1107
  })
1067
1108
  },
1068
1109
  transformOrigin: transformOrigin,
1069
- children: [menuTitle ? jsx(ListSubheader, {
1110
+ children: [menuTitle ? /*#__PURE__*/jsx(ListSubheader, {
1070
1111
  "data-testid": "toggleMenuTitle",
1071
- children: jsx(Typography, {
1112
+ children: /*#__PURE__*/jsx(Typography, {
1072
1113
  sx: {
1073
1114
  fontSize: '12px'
1074
1115
  },
@@ -1079,25 +1120,25 @@ var ToggleMenu = function ToggleMenu(_ref) {
1079
1120
  icon = menuItem.icon,
1080
1121
  action = menuItem.action,
1081
1122
  isDisabled = menuItem.isDisabled;
1082
- return jsx(MenuItem, {
1123
+ return /*#__PURE__*/jsx(MenuItem, {
1083
1124
  disabled: isDisabled,
1084
1125
  onClick: function onClick(event) {
1085
1126
  action(event);
1086
1127
  handleClose(event);
1087
1128
  },
1088
1129
  selected: menuItem.isSelected,
1089
- children: jsxs(Grid, {
1130
+ children: /*#__PURE__*/jsxs(Grid, {
1090
1131
  container: true,
1091
1132
  justifyContent: "space-between",
1092
1133
  size: "grow",
1093
1134
  spacing: 2,
1094
- children: [jsx(Grid, {
1095
- children: jsx(ListItemText, {
1135
+ children: [/*#__PURE__*/jsx(Grid, {
1136
+ children: /*#__PURE__*/jsx(ListItemText, {
1096
1137
  children: text
1097
1138
  })
1098
- }), icon ? jsx(Grid, {
1139
+ }), icon ? /*#__PURE__*/jsx(Grid, {
1099
1140
  alignItems: "flex-end",
1100
- children: jsx(ListItemIcon, {
1141
+ children: /*#__PURE__*/jsx(ListItemIcon, {
1101
1142
  sx: {
1102
1143
  '&.MuiListItemIcon-root': {
1103
1144
  minWidth: '24px'
@@ -1108,15 +1149,32 @@ var ToggleMenu = function ToggleMenu(_ref) {
1108
1149
  }) : null]
1109
1150
  })
1110
1151
  }, text);
1111
- }) : jsx("div", {}) // Needed to make the menu work without any menuItems
1152
+ }) : /*#__PURE__*/jsx("div", {}) // Needed to make the menu work without any menuItems
1112
1153
  , children]
1113
1154
  })]
1114
1155
  });
1115
1156
  };
1116
1157
 
1158
+ /* *
1159
+ * Licensed under the Apache License, Version 2.0 (the "License");
1160
+ * you may not use this file except in compliance with the License.
1161
+ * You may obtain a copy of the License at
1162
+ *
1163
+ * http://www.apache.org/licenses/LICENSE-2.0
1164
+ *
1165
+ * Unless required by applicable law or agreed to in writing, software
1166
+ * distributed under the License is distributed on an "AS IS" BASIS,
1167
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1168
+ * See the License for the specific language governing permissions and
1169
+ * limitations under the License.
1170
+ *
1171
+ * Copyright 2025 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1172
+ * Copyright 2025 - Finnish Meteorological Institute (FMI)
1173
+ * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
1174
+ * */
1117
1175
  var Title = function Title(_ref) {
1118
1176
  var title = _ref.title;
1119
- return jsx(Typography, {
1177
+ return /*#__PURE__*/jsx(Typography, {
1120
1178
  component: "span",
1121
1179
  "data-testid": "customDialog-title",
1122
1180
  sx: {
@@ -1137,7 +1195,7 @@ var CustomDialogHeader = function CustomDialogHeader(_ref2) {
1137
1195
  onClose = _ref2.onClose;
1138
1196
  var _useSharedTranslation = useSharedTranslation(),
1139
1197
  t = _useSharedTranslation.t;
1140
- return !headerActions ? jsxs(DialogTitle, {
1198
+ return !headerActions ? /*#__PURE__*/jsxs(DialogTitle, {
1141
1199
  id: "dialog-title",
1142
1200
  sx: {
1143
1201
  zIndex: 1,
@@ -1146,9 +1204,9 @@ var CustomDialogHeader = function CustomDialogHeader(_ref2) {
1146
1204
  justifyContent: 'space-between',
1147
1205
  alignItems: 'center'
1148
1206
  },
1149
- children: [title ? jsx(Title, {
1207
+ children: [title ? /*#__PURE__*/jsx(Title, {
1150
1208
  title: title
1151
- }) : null, jsx(CustomIconButton, {
1209
+ }) : null, /*#__PURE__*/jsx(CustomIconButton, {
1152
1210
  "aria-label": "close",
1153
1211
  "data-testid": "customDialog-close",
1154
1212
  onClick: function onClick() {
@@ -1159,11 +1217,11 @@ var CustomDialogHeader = function CustomDialogHeader(_ref2) {
1159
1217
  color: 'geowebColors.greys.accessible'
1160
1218
  }
1161
1219
  },
1162
- children: jsx(Close, {
1220
+ children: /*#__PURE__*/jsx(Close, {
1163
1221
  "data-testid": "CloseIcon"
1164
1222
  })
1165
1223
  })]
1166
- }) : jsxs(Grid, {
1224
+ }) : /*#__PURE__*/jsxs(Grid, {
1167
1225
  alignItems: "center",
1168
1226
  "aria-label": "Dialog options header",
1169
1227
  container: true,
@@ -1174,34 +1232,34 @@ var CustomDialogHeader = function CustomDialogHeader(_ref2) {
1174
1232
  px: 1,
1175
1233
  zIndex: 1
1176
1234
  },
1177
- children: [jsx(Grid, {
1235
+ children: [/*#__PURE__*/jsx(Grid, {
1178
1236
  size: 4,
1179
- children: jsx(Button, {
1237
+ children: /*#__PURE__*/jsx(Button, {
1180
1238
  "aria-label": "close",
1181
1239
  "data-testid": "contentdialog-close",
1182
1240
  onClick: function onClick() {
1183
1241
  return onClose('CLOSED');
1184
1242
  },
1185
- startIcon: jsx(ChevronLeft, {}),
1243
+ startIcon: /*#__PURE__*/jsx(ChevronLeft, {}),
1186
1244
  sx: {
1187
1245
  textTransform: 'uppercase'
1188
1246
  },
1189
1247
  variant: "flat",
1190
1248
  children: t('shared-customdialog-back')
1191
1249
  })
1192
- }), jsx(Grid, {
1250
+ }), /*#__PURE__*/jsx(Grid, {
1193
1251
  size: 4,
1194
1252
  sx: {
1195
1253
  display: 'flex',
1196
1254
  justifyContent: 'center',
1197
1255
  textAlign: 'center'
1198
1256
  },
1199
- children: title ? jsx(Title, {
1257
+ children: title ? /*#__PURE__*/jsx(Title, {
1200
1258
  title: title
1201
1259
  }) : null
1202
- }), jsx(Grid, {
1260
+ }), /*#__PURE__*/jsx(Grid, {
1203
1261
  size: 4,
1204
- children: jsx(Box, {
1262
+ children: /*#__PURE__*/jsx(Box, {
1205
1263
  sx: {
1206
1264
  display: 'flex',
1207
1265
  justifyContent: 'flex-end',
@@ -1209,8 +1267,8 @@ var CustomDialogHeader = function CustomDialogHeader(_ref2) {
1209
1267
  marginLeft: 1
1210
1268
  }
1211
1269
  },
1212
- children: jsxs(Box, {
1213
- children: [jsx(Box, {
1270
+ children: /*#__PURE__*/jsxs(Box, {
1271
+ children: [/*#__PURE__*/jsx(Box, {
1214
1272
  display: {
1215
1273
  xs: 'none',
1216
1274
  lg: 'flex'
@@ -1221,7 +1279,7 @@ var CustomDialogHeader = function CustomDialogHeader(_ref2) {
1221
1279
  variant = _ref3.variant,
1222
1280
  _ref3$isDisabled = _ref3.isDisabled,
1223
1281
  isDisabled = _ref3$isDisabled === void 0 ? false : _ref3$isDisabled;
1224
- return jsx(Button, {
1282
+ return /*#__PURE__*/jsx(Button, {
1225
1283
  disabled: isDisabled,
1226
1284
  onClick: action,
1227
1285
  sx: {
@@ -1231,12 +1289,12 @@ var CustomDialogHeader = function CustomDialogHeader(_ref2) {
1231
1289
  children: text
1232
1290
  }, text + "-" + variant);
1233
1291
  })
1234
- }), jsx(Box, {
1292
+ }), /*#__PURE__*/jsx(Box, {
1235
1293
  display: {
1236
1294
  sm: 'block',
1237
1295
  lg: 'none'
1238
1296
  },
1239
- children: headerActions.length > 0 && jsx(ToggleMenu, {
1297
+ children: headerActions.length > 0 && /*#__PURE__*/jsx(ToggleMenu, {
1240
1298
  menuItems: headerActions.map(function (_ref4) {
1241
1299
  var text = _ref4.text,
1242
1300
  action = _ref4.action,
@@ -1273,7 +1331,7 @@ var PaperComponent = function PaperComponent(_ref) {
1273
1331
  props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
1274
1332
  var maxWidth = '98%';
1275
1333
  var maxHeight = '98%';
1276
- return jsx(ResizeComponent, Object.assign({
1334
+ return /*#__PURE__*/jsx(ResizeComponent, Object.assign({
1277
1335
  className: "custom-dialog-resize",
1278
1336
  maxHeight: maxHeight,
1279
1337
  maxWidth: maxWidth,
@@ -1305,7 +1363,7 @@ var PaperComponent = function PaperComponent(_ref) {
1305
1363
  topLeft: true
1306
1364
  },
1307
1365
  resizeRatio: [2, 2],
1308
- children: hasLayout ? jsx(Paper, Object.assign({}, props, {
1366
+ children: hasLayout ? /*#__PURE__*/jsx(Paper, Object.assign({}, props, {
1309
1367
  sx: {
1310
1368
  margin: '0px!important',
1311
1369
  width: '100%!important',
@@ -1340,10 +1398,11 @@ var CustomDialog = function CustomDialog(_ref2) {
1340
1398
  var _React$useState = React.useState(resizableDefaultSize),
1341
1399
  size = _React$useState[0],
1342
1400
  setSize = _React$useState[1];
1343
- return jsx(Dialog, Object.assign({
1401
+ return /*#__PURE__*/jsx(Dialog, Object.assign({
1344
1402
  "aria-labelledby": "dialog-title",
1345
- "data-testid": "customDialog",
1403
+ "data-testid": "customDialog"
1346
1404
  // fix for briefly showing default options when closing dialog
1405
+ ,
1347
1406
  transitionDuration: 0
1348
1407
  }, isResizable && {
1349
1408
  PaperComponent: PaperComponent
@@ -1388,20 +1447,20 @@ var CustomDialog = function CustomDialog(_ref2) {
1388
1447
  }
1389
1448
  })
1390
1449
  }, other, {
1391
- children: hasLayout ? jsxs(Fragment, {
1392
- children: [jsx(CustomDialogHeader, {
1450
+ children: hasLayout ? /*#__PURE__*/jsxs(Fragment, {
1451
+ children: [/*#__PURE__*/jsx(CustomDialogHeader, {
1393
1452
  headerActions: headerActions,
1394
1453
  onClose: _onClose,
1395
1454
  title: title
1396
- }), jsxs(DialogContent, {
1455
+ }), /*#__PURE__*/jsxs(DialogContent, {
1397
1456
  sx: {
1398
1457
  padding: '8px 16px'
1399
1458
  },
1400
- children: [description ? jsx(Typography, {
1459
+ children: [description ? /*#__PURE__*/jsx(Typography, {
1401
1460
  variant: "body1",
1402
1461
  children: description
1403
1462
  }) : null, children]
1404
- }), !headerActions && jsx(DialogActions, {
1463
+ }), !headerActions && /*#__PURE__*/jsx(DialogActions, {
1405
1464
  sx: {
1406
1465
  padding: 2,
1407
1466
  flexDirection: {
@@ -1415,6 +1474,23 @@ var CustomDialog = function CustomDialog(_ref2) {
1415
1474
  }));
1416
1475
  };
1417
1476
 
1477
+ /* *
1478
+ * Licensed under the Apache License, Version 2.0 (the "License");
1479
+ * you may not use this file except in compliance with the License.
1480
+ * You may obtain a copy of the License at
1481
+ *
1482
+ * http://www.apache.org/licenses/LICENSE-2.0
1483
+ *
1484
+ * Unless required by applicable law or agreed to in writing, software
1485
+ * distributed under the License is distributed on an "AS IS" BASIS,
1486
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1487
+ * See the License for the specific language governing permissions and
1488
+ * limitations under the License.
1489
+ *
1490
+ * Copyright 2025 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1491
+ * Copyright 2025 - Finnish Meteorological Institute (FMI)
1492
+ * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
1493
+ * */
1418
1494
  var confirmStyle = {
1419
1495
  width: {
1420
1496
  xs: '100%',
@@ -1442,8 +1518,8 @@ var ConfirmationButtons = function ConfirmationButtons(_ref) {
1442
1518
  confirmLabel = _ref.confirmLabel;
1443
1519
  var _useSharedTranslation = useSharedTranslation(),
1444
1520
  t = _useSharedTranslation.t;
1445
- return jsxs(Fragment, {
1446
- children: [jsx(Button, {
1521
+ return /*#__PURE__*/jsxs(Fragment, {
1522
+ children: [/*#__PURE__*/jsx(Button, {
1447
1523
  "data-testid": "confirmationDialog-cancel",
1448
1524
  onClick: function onClick() {
1449
1525
  return onClose('CANCELLED');
@@ -1462,7 +1538,7 @@ var ConfirmationButtons = function ConfirmationButtons(_ref) {
1462
1538
  },
1463
1539
  variant: "tertiary",
1464
1540
  children: cancelLabel != null ? cancelLabel : t('shared-confirmation-cancel')
1465
- }), isLoading ? jsx(Box, {
1541
+ }), isLoading ? /*#__PURE__*/jsx(Box, {
1466
1542
  "data-testid": "confirm-dialog-spinner",
1467
1543
  sx: Object.assign({}, confirmStyle, {
1468
1544
  height: '40px',
@@ -1470,11 +1546,11 @@ var ConfirmationButtons = function ConfirmationButtons(_ref) {
1470
1546
  justifyContent: 'center',
1471
1547
  alignItems: 'center'
1472
1548
  }),
1473
- children: jsx(CircularProgress, {
1549
+ children: /*#__PURE__*/jsx(CircularProgress, {
1474
1550
  color: "secondary",
1475
1551
  size: 40
1476
1552
  })
1477
- }) : jsx(Button, {
1553
+ }) : /*#__PURE__*/jsx(Button, {
1478
1554
  autoFocus: !disableAutoFocus,
1479
1555
  "data-testid": "confirmationDialog-confirm",
1480
1556
  onClick: onSubmit,
@@ -1513,8 +1589,8 @@ var ConfirmationDialog = function ConfirmationDialog(_ref) {
1513
1589
  var rest = _objectWithoutPropertiesLoose(other, _excluded2$1); // remove unwanted props
1514
1590
  var _useSharedTranslation = useSharedTranslation(),
1515
1591
  t = _useSharedTranslation.t;
1516
- return jsx(CustomDialog, Object.assign({
1517
- actions: jsx(ConfirmationButtons, {
1592
+ return /*#__PURE__*/jsx(CustomDialog, Object.assign({
1593
+ actions: /*#__PURE__*/jsx(ConfirmationButtons, {
1518
1594
  cancelLabel: cancelLabel,
1519
1595
  confirmLabel: confirmLabel,
1520
1596
  disableAutoFocus: disableAutoFocus,
@@ -1684,6 +1760,7 @@ var useIsMounted = function useIsMounted() {
1684
1760
  var adjustPosition = function adjustPosition(bbox, containingView, position, setPosition) {
1685
1761
  var isHorizontallyLarger = bbox.width > containingView.width;
1686
1762
  var isVerticallyLarger = bbox.height > containingView.height;
1763
+
1687
1764
  // Check corner cases first
1688
1765
  // bottom left
1689
1766
  if (bbox.x < containingView.x && bbox.bottom >= containingView.bottom) {
@@ -1767,10 +1844,10 @@ var useMakeSureContainerStaysInsideWindow = function useMakeSureContainerStaysIn
1767
1844
  Accepts a value and timeout and will debounce
1768
1845
 
1769
1846
  @param {S} value: value of element
1770
- @param {timeout} number: timer
1771
- @return {value: S}
1847
+ @param {timeout} number: timer
1848
+ @return {value: S}
1772
1849
 
1773
- @example:
1850
+ @example:
1774
1851
  const debouncedName = useDebounce('testing', 2000)
1775
1852
  */
1776
1853
  var useDebounce = function useDebounce(value, timeout) {
@@ -1810,6 +1887,7 @@ var useDebounce = function useDebounce(value, timeout) {
1810
1887
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
1811
1888
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
1812
1889
  * */
1890
+
1813
1891
  var useWheelStopPropagation = function useWheelStopPropagation() {
1814
1892
  var ref = React.useRef(null);
1815
1893
  React.useEffect(function () {
@@ -1849,11 +1927,7 @@ var useWheelStopPropagation = function useWheelStopPropagation() {
1849
1927
  * Copyright 2025 - Finnish Meteorological Institute (FMI)
1850
1928
  * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
1851
1929
  * */
1852
- /**
1853
- * This hook allows to stop wheel events from propagating to parent elements.
1854
- * Normally, when you scroll a child element, the scroll event will propagate to the parent element,
1855
- * as calling event.stopPropagation() on syncthetic events does not stop the propagation
1856
- */
1930
+
1857
1931
  var useScrollingInIsolation = function useScrollingInIsolation(options) {
1858
1932
  var scrollInIsolationRef = React.useRef(null);
1859
1933
  React.useEffect(function () {
@@ -1873,6 +1947,7 @@ var useScrollingInIsolation = function useScrollingInIsolation(options) {
1873
1947
  element.addEventListener('wheel', handleWheel, {
1874
1948
  passive: false
1875
1949
  });
1950
+
1876
1951
  // eslint-disable-next-line consistent-return
1877
1952
  return function () {
1878
1953
  element.removeEventListener('wheel', handleWheel);
@@ -1931,6 +2006,7 @@ var useDialogActions = function useDialogActions(awaitingPromiseRef, defaultOpti
1931
2006
  var _React$useState = React.useState(defaultOptions),
1932
2007
  confirmationState = _React$useState[0],
1933
2008
  setConfirmationState = _React$useState[1];
2009
+
1934
2010
  // eslint-disable-next-line @typescript-eslint/promise-function-async
1935
2011
  var openConfirmation = function openConfirmation(options) {
1936
2012
  setConfirmationState(options);
@@ -1943,6 +2019,7 @@ var useDialogActions = function useDialogActions(awaitingPromiseRef, defaultOpti
1943
2019
  };
1944
2020
  });
1945
2021
  };
2022
+
1946
2023
  // clears state with timeout delay so optional values provided by the prop 'content' of ConfirmationDialog can be read
1947
2024
  var clearState = function clearState() {
1948
2025
  return setTimeout(function () {
@@ -2013,9 +2090,9 @@ var ConfirmationServiceProvider = function ConfirmationServiceProvider(_ref) {
2013
2090
  confirmationState = _useDialogActions.confirmationState,
2014
2091
  handleSubmit = _useDialogActions.handleSubmit,
2015
2092
  handleClose = _useDialogActions.handleClose;
2016
- return jsxs(ConfirmationServiceContext.Provider, {
2093
+ return /*#__PURE__*/jsxs(ConfirmationServiceContext.Provider, {
2017
2094
  value: openConfirmation,
2018
- children: [children, jsx(ConfirmationDialog, Object.assign({
2095
+ children: [children, /*#__PURE__*/jsx(ConfirmationDialog, Object.assign({
2019
2096
  onClose: handleClose,
2020
2097
  onSubmit: handleSubmit,
2021
2098
  open: Boolean(confirmationState)
@@ -2023,6 +2100,24 @@ var ConfirmationServiceProvider = function ConfirmationServiceProvider(_ref) {
2023
2100
  });
2024
2101
  };
2025
2102
 
2103
+ /* *
2104
+ * Licensed under the Apache License, Version 2.0 (the "License");
2105
+ * you may not use this file except in compliance with the License.
2106
+ * You may obtain a copy of the License at
2107
+ *
2108
+ * http://www.apache.org/licenses/LICENSE-2.0
2109
+ *
2110
+ * Unless required by applicable law or agreed to in writing, software
2111
+ * distributed under the License is distributed on an "AS IS" BASIS,
2112
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2113
+ * See the License for the specific language governing permissions and
2114
+ * limitations under the License.
2115
+ *
2116
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2117
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
2118
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2119
+ * */
2120
+
2026
2121
  var AlertIcon = function AlertIcon(_ref) {
2027
2122
  var _ref$severity = _ref.severity,
2028
2123
  severity = _ref$severity === void 0 ? 'error' : _ref$severity,
@@ -2030,21 +2125,21 @@ var AlertIcon = function AlertIcon(_ref) {
2030
2125
  dataTestId = _ref$dataTestId === void 0 ? 'alert-icon' : _ref$dataTestId;
2031
2126
  switch (severity) {
2032
2127
  case 'info':
2033
- return jsx(Info, {
2128
+ return /*#__PURE__*/jsx(Info, {
2034
2129
  "data-testid": dataTestId,
2035
2130
  sx: {
2036
2131
  color: 'geowebColors.functional.notification'
2037
2132
  }
2038
2133
  });
2039
2134
  case 'success':
2040
- return jsx(Success, {
2135
+ return /*#__PURE__*/jsx(Success, {
2041
2136
  "data-testid": dataTestId,
2042
2137
  sx: {
2043
2138
  color: 'geowebColors.functional.success'
2044
2139
  }
2045
2140
  });
2046
2141
  case 'warning':
2047
- return jsx(Exclamation, {
2142
+ return /*#__PURE__*/jsx(Exclamation, {
2048
2143
  "data-testid": dataTestId,
2049
2144
  sx: {
2050
2145
  color: 'geowebColors.functional.warning'
@@ -2052,7 +2147,7 @@ var AlertIcon = function AlertIcon(_ref) {
2052
2147
  });
2053
2148
  case 'error':
2054
2149
  default:
2055
- return jsx(Exclamation, {
2150
+ return /*#__PURE__*/jsx(Exclamation, {
2056
2151
  "data-testid": dataTestId,
2057
2152
  sx: {
2058
2153
  color: 'geowebColors.functional.error'
@@ -2061,6 +2156,23 @@ var AlertIcon = function AlertIcon(_ref) {
2061
2156
  }
2062
2157
  };
2063
2158
 
2159
+ /* *
2160
+ * Licensed under the Apache License, Version 2.0 (the "License");
2161
+ * you may not use this file except in compliance with the License.
2162
+ * You may obtain a copy of the License at
2163
+ *
2164
+ * http://www.apache.org/licenses/LICENSE-2.0
2165
+ *
2166
+ * Unless required by applicable law or agreed to in writing, software
2167
+ * distributed under the License is distributed on an "AS IS" BASIS,
2168
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2169
+ * See the License for the specific language governing permissions and
2170
+ * limitations under the License.
2171
+ *
2172
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2173
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
2174
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2175
+ * */
2064
2176
  var AlertBanner = function AlertBanner(_ref) {
2065
2177
  var title = _ref.title,
2066
2178
  _ref$severity = _ref.severity,
@@ -2083,8 +2195,8 @@ var AlertBanner = function AlertBanner(_ref) {
2083
2195
  if (!isOpen) {
2084
2196
  return null;
2085
2197
  }
2086
- return jsxs(Alert, {
2087
- action: shouldClose ? jsx(Button, {
2198
+ return /*#__PURE__*/jsxs(Alert, {
2199
+ action: shouldClose ? /*#__PURE__*/jsx(Button, {
2088
2200
  onClick: function onClick() {
2089
2201
  return setIsOpen(false);
2090
2202
  },
@@ -2095,7 +2207,7 @@ var AlertBanner = function AlertBanner(_ref) {
2095
2207
  children: t('shared-close-caps')
2096
2208
  }) : undefined,
2097
2209
  "data-testid": dataTestId,
2098
- icon: jsx(AlertIcon, {
2210
+ icon: /*#__PURE__*/jsx(AlertIcon, {
2099
2211
  severity: severity
2100
2212
  }),
2101
2213
  severity: severity,
@@ -2127,7 +2239,7 @@ var AlertBanner = function AlertBanner(_ref) {
2127
2239
  padding: 0
2128
2240
  }
2129
2241
  },
2130
- children: [jsx(AlertTitle, {
2242
+ children: [/*#__PURE__*/jsx(AlertTitle, {
2131
2243
  sx: {
2132
2244
  fontSize: '14px',
2133
2245
  fontWeight: 'normal',
@@ -2137,7 +2249,7 @@ var AlertBanner = function AlertBanner(_ref) {
2137
2249
  lineHeight: isCompact ? '18px' : '24px'
2138
2250
  },
2139
2251
  children: title
2140
- }), info ? jsx(Box, {
2252
+ }), info ? /*#__PURE__*/jsx(Box, {
2141
2253
  sx: {
2142
2254
  fontSize: '16px',
2143
2255
  marginTop: 1,
@@ -2145,12 +2257,12 @@ var AlertBanner = function AlertBanner(_ref) {
2145
2257
  lineHeight: '22px'
2146
2258
  },
2147
2259
  children: info
2148
- }) : null, actionButtonProps ? jsx(Button, {
2260
+ }) : null, actionButtonProps ? /*#__PURE__*/jsx(Button, {
2149
2261
  onClick: function onClick(event) {
2150
2262
  setIsOpen(false);
2151
2263
  actionButtonProps.onClick(event);
2152
2264
  },
2153
- startIcon: jsx(ChevronRight, {}),
2265
+ startIcon: /*#__PURE__*/jsx(ChevronRight, {}),
2154
2266
  sx: {
2155
2267
  backgroundColor: 'transparent!important'
2156
2268
  },
@@ -2160,17 +2272,35 @@ var AlertBanner = function AlertBanner(_ref) {
2160
2272
  });
2161
2273
  };
2162
2274
 
2275
+ /* *
2276
+ * Licensed under the Apache License, Version 2.0 (the "License");
2277
+ * you may not use this file except in compliance with the License.
2278
+ * You may obtain a copy of the License at
2279
+ *
2280
+ * http://www.apache.org/licenses/LICENSE-2.0
2281
+ *
2282
+ * Unless required by applicable law or agreed to in writing, software
2283
+ * distributed under the License is distributed on an "AS IS" BASIS,
2284
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2285
+ * See the License for the specific language governing permissions and
2286
+ * limitations under the License.
2287
+ *
2288
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2289
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
2290
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2291
+ * */
2292
+
2163
2293
  var AppLayout = function AppLayout(_ref) {
2164
2294
  var header = _ref.header,
2165
2295
  children = _ref.children;
2166
- return jsxs(Box, {
2296
+ return /*#__PURE__*/jsxs(Box, {
2167
2297
  "data-testid": "appLayout",
2168
2298
  sx: {
2169
2299
  height: '100dvh',
2170
2300
  display: 'flex',
2171
2301
  flexDirection: 'column'
2172
2302
  },
2173
- children: [header, jsx(Box, {
2303
+ children: [header, /*#__PURE__*/jsx(Box, {
2174
2304
  component: "main",
2175
2305
  sx: {
2176
2306
  flex: 1,
@@ -2181,8 +2311,26 @@ var AppLayout = function AppLayout(_ref) {
2181
2311
  });
2182
2312
  };
2183
2313
 
2314
+ /* *
2315
+ * Licensed under the Apache License, Version 2.0 (the "License");
2316
+ * you may not use this file except in compliance with the License.
2317
+ * You may obtain a copy of the License at
2318
+ *
2319
+ * http://www.apache.org/licenses/LICENSE-2.0
2320
+ *
2321
+ * Unless required by applicable law or agreed to in writing, software
2322
+ * distributed under the License is distributed on an "AS IS" BASIS,
2323
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2324
+ * See the License for the specific language governing permissions and
2325
+ * limitations under the License.
2326
+ *
2327
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2328
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
2329
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2330
+ * */
2331
+
2184
2332
  var AppHeader = function AppHeader(_ref) {
2185
- var _sx, _theme$palette$geoweb;
2333
+ var _ref2, _theme$palette$geoweb;
2186
2334
  var menu = _ref.menu,
2187
2335
  userMenu = _ref.userMenu,
2188
2336
  workspaceTopBar = _ref.workspaceTopBar,
@@ -2202,10 +2350,10 @@ var AppHeader = function AppHeader(_ref) {
2202
2350
  }
2203
2351
  setIsDrawerOpen(false);
2204
2352
  };
2205
- return jsxs(Box, {
2353
+ return /*#__PURE__*/jsxs(Box, {
2206
2354
  component: "header",
2207
2355
  role: "heading",
2208
- sx: (_sx = {
2356
+ sx: (_ref2 = {
2209
2357
  height: 40,
2210
2358
  backgroundColor: theme.palette.geowebColors.brand.brand,
2211
2359
  color: theme.palette.common.white,
@@ -2213,9 +2361,9 @@ var AppHeader = function AppHeader(_ref) {
2213
2361
  zIndex: 1000,
2214
2362
  display: 'flex',
2215
2363
  padding: '0 16px'
2216
- }, _sx[theme.breakpoints.up('md')] = {
2364
+ }, _ref2[theme.breakpoints.up('md')] = {
2217
2365
  padding: '0 24px'
2218
- }, _sx[theme.breakpoints.up('sm')] = {
2366
+ }, _ref2[theme.breakpoints.up('sm')] = {
2219
2367
  '.workspace-topbar': {
2220
2368
  marginLeft: 3,
2221
2369
  maxWidth: 260
@@ -2227,28 +2375,28 @@ var AppHeader = function AppHeader(_ref) {
2227
2375
  maxWidth: 'initial',
2228
2376
  display: 'block'
2229
2377
  }
2230
- }, _sx),
2231
- children: [jsxs(Box, {
2378
+ }, _ref2),
2379
+ children: [/*#__PURE__*/jsxs(Box, {
2232
2380
  onClick: onClick,
2233
2381
  sx: {
2234
2382
  display: 'inherit',
2235
2383
  alignItems: 'center',
2236
2384
  cursor: onClick ? 'pointer' : 'auto'
2237
2385
  },
2238
- children: [(_theme$palette$geoweb = theme.palette.geowebColors.logo) != null && _theme$palette$geoweb.image ? jsx("img", {
2386
+ children: [(_theme$palette$geoweb = theme.palette.geowebColors.logo) != null && _theme$palette$geoweb.image ? /*#__PURE__*/jsx("img", {
2239
2387
  alt: "GeoWeb",
2240
2388
  src: theme.palette.geowebColors.logo.image,
2241
2389
  style: {
2242
2390
  height: '29px',
2243
2391
  width: '47px'
2244
2392
  }
2245
- }) : jsx(GeoWebLogo, {
2393
+ }) : /*#__PURE__*/jsx(GeoWebLogo, {
2246
2394
  style: {
2247
2395
  position: 'relative',
2248
2396
  top: '-1px',
2249
2397
  right: '-1px'
2250
2398
  }
2251
- }), jsx(Typography, {
2399
+ }), /*#__PURE__*/jsx(Typography, {
2252
2400
  sx: {
2253
2401
  display: 'none',
2254
2402
  fontSize: '20px',
@@ -2267,21 +2415,21 @@ var AppHeader = function AppHeader(_ref) {
2267
2415
  variant: "h1",
2268
2416
  children: title
2269
2417
  })]
2270
- }), menu ? jsxs(Box, {
2418
+ }), menu ? /*#__PURE__*/jsxs(Box, {
2271
2419
  className: "hamburger-btn",
2272
2420
  sx: {
2273
2421
  display: 'flex',
2274
2422
  alignItems: 'center',
2275
2423
  marginLeft: 1
2276
2424
  },
2277
- children: [jsx(CustomIconButton, {
2425
+ children: [/*#__PURE__*/jsx(CustomIconButton, {
2278
2426
  "data-testid": "menuButton",
2279
2427
  isSelected: isDrawerOpen,
2280
2428
  onClick: function onClick() {
2281
2429
  return onToggleDrawer(true);
2282
2430
  },
2283
- children: jsx(HamburgerMenu, {})
2284
- }), jsx(Drawer, {
2431
+ children: /*#__PURE__*/jsx(HamburgerMenu, {})
2432
+ }), /*#__PURE__*/jsx(Drawer, {
2285
2433
  anchor: "left",
2286
2434
  "data-testid": "app-drawer",
2287
2435
  onClick: function onClick() {
@@ -2297,7 +2445,7 @@ var AppHeader = function AppHeader(_ref) {
2297
2445
  top: '40px'
2298
2446
  }
2299
2447
  },
2300
- children: jsx(Box, {
2448
+ children: /*#__PURE__*/jsx(Box, {
2301
2449
  role: "presentation",
2302
2450
  sx: {
2303
2451
  width: '250px',
@@ -2306,7 +2454,7 @@ var AppHeader = function AppHeader(_ref) {
2306
2454
  children: menu
2307
2455
  })
2308
2456
  })]
2309
- }) : null, jsx(Box, {
2457
+ }) : null, /*#__PURE__*/jsx(Box, {
2310
2458
  className: "workspace-topbar",
2311
2459
  sx: {
2312
2460
  flexGrow: 1,
@@ -2316,7 +2464,7 @@ var AppHeader = function AppHeader(_ref) {
2316
2464
  maxWidth: 168
2317
2465
  },
2318
2466
  children: workspaceTopBar
2319
- }), jsx(Box, {
2467
+ }), /*#__PURE__*/jsx(Box, {
2320
2468
  sx: {
2321
2469
  display: 'flex',
2322
2470
  alignItems: 'center',
@@ -2409,11 +2557,11 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
2409
2557
  overflowY: 'scroll'
2410
2558
  };
2411
2559
  if (error) {
2412
- return jsx(Box, {
2560
+ return /*#__PURE__*/jsx(Box, {
2413
2561
  sx: displayOnTop ? displayOnTopStyles : normalStyles,
2414
- children: jsx(AlertBanner, {
2415
- info: jsxs("div", {
2416
- children: [jsx("br", {}), error.toString(), jsx("br", {}), errorInfo == null ? void 0 : errorInfo.componentStack, jsx("br", {}), jsx("br", {}), jsx(Link, {
2562
+ children: /*#__PURE__*/jsx(AlertBanner, {
2563
+ info: /*#__PURE__*/jsxs("div", {
2564
+ children: [/*#__PURE__*/jsx("br", {}), error.toString(), /*#__PURE__*/jsx("br", {}), errorInfo == null ? void 0 : errorInfo.componentStack, /*#__PURE__*/jsx("br", {}), /*#__PURE__*/jsx("br", {}), /*#__PURE__*/jsx(Link, {
2417
2565
  onClick: function onClick() {
2418
2566
  return window.location.reload();
2419
2567
  },
@@ -2437,6 +2585,23 @@ ErrorBoundary.defaultProps = {
2437
2585
  onError: function onError() {}
2438
2586
  };
2439
2587
 
2588
+ /* *
2589
+ * Licensed under the Apache License, Version 2.0 (the "License");
2590
+ * you may not use this file except in compliance with the License.
2591
+ * You may obtain a copy of the License at
2592
+ *
2593
+ * http://www.apache.org/licenses/LICENSE-2.0
2594
+ *
2595
+ * Unless required by applicable law or agreed to in writing, software
2596
+ * distributed under the License is distributed on an "AS IS" BASIS,
2597
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2598
+ * See the License for the specific language governing permissions and
2599
+ * limitations under the License.
2600
+ *
2601
+ * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2602
+ * Copyright 2022 - Finnish Meteorological Institute (FMI)
2603
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2604
+ * */
2440
2605
  var styles$5 = {
2441
2606
  small: {
2442
2607
  height: 16,
@@ -2452,7 +2617,7 @@ var Avatar = function Avatar(_ref) {
2452
2617
  _ref$author = _ref.author,
2453
2618
  author = _ref$author === void 0 ? false : _ref$author;
2454
2619
  var theme = useTheme();
2455
- return jsx(Avatar$1, {
2620
+ return /*#__PURE__*/jsx(Avatar$1, {
2456
2621
  "data-testid": "avatar",
2457
2622
  sx: Object.assign({}, styles$5[size], {
2458
2623
  bgcolor: author ? theme.palette.geowebColors.buttons.icon.disabled.color : undefined
@@ -2461,6 +2626,24 @@ var Avatar = function Avatar(_ref) {
2461
2626
  });
2462
2627
  };
2463
2628
 
2629
+ /* *
2630
+ * Licensed under the Apache License, Version 2.0 (the "License");
2631
+ * you may not use this file except in compliance with the License.
2632
+ * You may obtain a copy of the License at
2633
+ *
2634
+ * http://www.apache.org/licenses/LICENSE-2.0
2635
+ *
2636
+ * Unless required by applicable law or agreed to in writing, software
2637
+ * distributed under the License is distributed on an "AS IS" BASIS,
2638
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2639
+ * See the License for the specific language governing permissions and
2640
+ * limitations under the License.
2641
+ *
2642
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2643
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
2644
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2645
+ * */
2646
+
2464
2647
  var styles$4 = {
2465
2648
  container: {
2466
2649
  position: 'absolute',
@@ -2495,8 +2678,8 @@ var UserMenu = function UserMenu(_ref) {
2495
2678
  _ref$isAdmin = _ref.isAdmin,
2496
2679
  isAdmin = _ref$isAdmin === void 0 ? false : _ref$isAdmin;
2497
2680
  var toggleRef = useRef(null);
2498
- return jsxs(Fragment, {
2499
- children: [jsx(CustomIconButton, {
2681
+ return /*#__PURE__*/jsxs(Fragment, {
2682
+ children: [/*#__PURE__*/jsx(CustomIconButton, {
2500
2683
  "data-testid": "userButton",
2501
2684
  onClick: onToggle,
2502
2685
  ref: toggleRef,
@@ -2515,10 +2698,10 @@ var UserMenu = function UserMenu(_ref) {
2515
2698
  }
2516
2699
  })
2517
2700
  },
2518
- children: !isAdmin ? jsx(Avatar, {
2701
+ children: !isAdmin ? /*#__PURE__*/jsx(Avatar, {
2519
2702
  children: initials
2520
- }) : jsxs(Fragment, {
2521
- children: [jsx(Admin, {}), initials ? jsx("div", {
2703
+ }) : /*#__PURE__*/jsxs(Fragment, {
2704
+ children: [/*#__PURE__*/jsx(Admin, {}), initials ? /*#__PURE__*/jsx("div", {
2522
2705
  style: {
2523
2706
  position: 'absolute',
2524
2707
  fontSize: '14px',
@@ -2529,10 +2712,10 @@ var UserMenu = function UserMenu(_ref) {
2529
2712
  children: initials
2530
2713
  }) : null]
2531
2714
  })
2532
- }), isOpen ? jsx(Paper, {
2715
+ }), isOpen ? /*#__PURE__*/jsx(Paper, {
2533
2716
  "data-testid": "userMenu",
2534
2717
  sx: styles$4.container,
2535
- children: jsx(ClickAwayListener, {
2718
+ children: /*#__PURE__*/jsx(ClickAwayListener, {
2536
2719
  mouseEvent: "onMouseDown",
2537
2720
  onClickAway: function onClickAway(event) {
2538
2721
  var _toggleRef$current;
@@ -2541,7 +2724,7 @@ var UserMenu = function UserMenu(_ref) {
2541
2724
  }
2542
2725
  onClose();
2543
2726
  },
2544
- children: jsx(MenuList, {
2727
+ children: /*#__PURE__*/jsx(MenuList, {
2545
2728
  sx: styles$4.userMenu,
2546
2729
  variant: "menu",
2547
2730
  children: children
@@ -2551,6 +2734,23 @@ var UserMenu = function UserMenu(_ref) {
2551
2734
  });
2552
2735
  };
2553
2736
 
2737
+ /* *
2738
+ * Licensed under the Apache License, Version 2.0 (the "License");
2739
+ * you may not use this file except in compliance with the License.
2740
+ * You may obtain a copy of the License at
2741
+ *
2742
+ * http://www.apache.org/licenses/LICENSE-2.0
2743
+ *
2744
+ * Unless required by applicable law or agreed to in writing, software
2745
+ * distributed under the License is distributed on an "AS IS" BASIS,
2746
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2747
+ * See the License for the specific language governing permissions and
2748
+ * limitations under the License.
2749
+ *
2750
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2751
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
2752
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2753
+ * */
2554
2754
  var MenuItemTheme = function MenuItemTheme(_ref) {
2555
2755
  var enableSpecialThemes = _ref.enableSpecialThemes;
2556
2756
  var _useThemeContext = useThemeContext(),
@@ -2558,46 +2758,46 @@ var MenuItemTheme = function MenuItemTheme(_ref) {
2558
2758
  setThemeName = _useThemeContext.setThemeName;
2559
2759
  var _useTranslation = useTranslation(SHARED_NAMESPACE),
2560
2760
  t = _useTranslation.t;
2561
- return jsx(MenuItem, {
2761
+ return /*#__PURE__*/jsx(MenuItem, {
2562
2762
  divider: true,
2563
- children: jsxs(Grid, {
2763
+ children: /*#__PURE__*/jsxs(Grid, {
2564
2764
  container: true,
2565
- children: [jsx(Grid, {
2765
+ children: [/*#__PURE__*/jsx(Grid, {
2566
2766
  children: t('shared-choose-app-mode')
2567
- }), jsx(Grid, {
2568
- children: jsxs(RadioGroup, {
2767
+ }), /*#__PURE__*/jsx(Grid, {
2768
+ children: /*#__PURE__*/jsxs(RadioGroup, {
2569
2769
  onChange: function onChange(event, value) {
2570
2770
  if (value && setThemeName) {
2571
2771
  setThemeName(value);
2572
2772
  }
2573
2773
  },
2574
- children: [jsx(FormControlLabel, {
2575
- control: jsx(Radio, {
2774
+ children: [/*#__PURE__*/jsx(FormControlLabel, {
2775
+ control: /*#__PURE__*/jsx(Radio, {
2576
2776
  checked: (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.LIGHT_THEME
2577
2777
  }),
2578
2778
  label: t('shared-light'),
2579
2779
  value: ThemeTypes.LIGHT_THEME
2580
- }), jsx(FormControlLabel, {
2581
- control: jsx(Radio, {
2780
+ }), /*#__PURE__*/jsx(FormControlLabel, {
2781
+ control: /*#__PURE__*/jsx(Radio, {
2582
2782
  checked: (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.DARK_THEME
2583
2783
  }),
2584
2784
  label: t('shared-dark'),
2585
2785
  value: ThemeTypes.DARK_THEME
2586
- }), enableSpecialThemes ? jsxs(Fragment, {
2587
- children: [jsx(FormControlLabel, {
2588
- control: jsx(Radio, {
2786
+ }), enableSpecialThemes ? /*#__PURE__*/jsxs(Fragment, {
2787
+ children: [/*#__PURE__*/jsx(FormControlLabel, {
2788
+ control: /*#__PURE__*/jsx(Radio, {
2589
2789
  checked: (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.DEMO_THEME
2590
2790
  }),
2591
2791
  label: "Demo",
2592
2792
  value: ThemeTypes.DEMO_THEME
2593
- }), jsx(FormControlLabel, {
2594
- control: jsx(Radio, {
2793
+ }), /*#__PURE__*/jsx(FormControlLabel, {
2794
+ control: /*#__PURE__*/jsx(Radio, {
2595
2795
  checked: (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.XMAS_THEME
2596
2796
  }),
2597
2797
  label: "" + t('shared-xmas'),
2598
2798
  value: ThemeTypes.XMAS_THEME
2599
- }), jsx(FormControlLabel, {
2600
- control: jsx(Radio, {
2799
+ }), /*#__PURE__*/jsx(FormControlLabel, {
2800
+ control: /*#__PURE__*/jsx(Radio, {
2601
2801
  checked: (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.EUMETNET_THEME
2602
2802
  }),
2603
2803
  label: "EUMETNET",
@@ -2610,9 +2810,26 @@ var MenuItemTheme = function MenuItemTheme(_ref) {
2610
2810
  });
2611
2811
  };
2612
2812
 
2613
- // drag handles will be handled by DraggableResizable/Resizable
2813
+ /* *
2814
+ * Licensed under the Apache License, Version 2.0 (the "License");
2815
+ * you may not use this file except in compliance with the License.
2816
+ * You may obtain a copy of the License at
2817
+ *
2818
+ * http://www.apache.org/licenses/LICENSE-2.0
2819
+ *
2820
+ * Unless required by applicable law or agreed to in writing, software
2821
+ * distributed under the License is distributed on an "AS IS" BASIS,
2822
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2823
+ * See the License for the specific language governing permissions and
2824
+ * limitations under the License.
2825
+ *
2826
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2827
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
2828
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2829
+ * */
2830
+
2614
2831
  var ToolFooter = function ToolFooter() {
2615
- return jsx(Box, {
2832
+ return /*#__PURE__*/jsx(Box, {
2616
2833
  component: "footer",
2617
2834
  role: "contentinfo",
2618
2835
  sx: {
@@ -2625,6 +2842,24 @@ var ToolFooter = function ToolFooter() {
2625
2842
  });
2626
2843
  };
2627
2844
 
2845
+ /* *
2846
+ * Licensed under the Apache License, Version 2.0 (the "License");
2847
+ * you may not use this file except in compliance with the License.
2848
+ * You may obtain a copy of the License at
2849
+ *
2850
+ * http://www.apache.org/licenses/LICENSE-2.0
2851
+ *
2852
+ * Unless required by applicable law or agreed to in writing, software
2853
+ * distributed under the License is distributed on an "AS IS" BASIS,
2854
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2855
+ * See the License for the specific language governing permissions and
2856
+ * limitations under the License.
2857
+ *
2858
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
2859
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
2860
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
2861
+ * */
2862
+
2628
2863
  var headerStyle = {
2629
2864
  containerType: 'inline-size',
2630
2865
  containerName: 'tool-header',
@@ -2700,7 +2935,7 @@ var ToolHeader = function ToolHeader(_ref) {
2700
2935
  _ref$rightHeaderCompo = _ref.rightHeaderComponent,
2701
2936
  rightHeaderComponent = _ref$rightHeaderCompo === void 0 ? null : _ref$rightHeaderCompo,
2702
2937
  _ref$closeIcon = _ref.closeIcon,
2703
- closeIcon = _ref$closeIcon === void 0 ? jsx(Close, {
2938
+ closeIcon = _ref$closeIcon === void 0 ? /*#__PURE__*/jsx(Close, {
2704
2939
  "data-testid": "CloseIcon"
2705
2940
  }) : _ref$closeIcon;
2706
2941
  var styles = getStyle(size);
@@ -2709,7 +2944,7 @@ var ToolHeader = function ToolHeader(_ref) {
2709
2944
  var columnSizeLeft = title ? columnSizeIcon : 12 - columnSizeIcon;
2710
2945
  var _useTranslation = useTranslation(SHARED_NAMESPACE),
2711
2946
  t = _useTranslation.t;
2712
- return jsx(Box, {
2947
+ return /*#__PURE__*/jsx(Box, {
2713
2948
  "aria-label": "toolheader",
2714
2949
  className: className,
2715
2950
  component: "header",
@@ -2721,7 +2956,7 @@ var ToolHeader = function ToolHeader(_ref) {
2721
2956
  zIndex: 2,
2722
2957
  cursor: isDraggable ? 'move' : null
2723
2958
  }),
2724
- children: jsxs(Grid, {
2959
+ children: /*#__PURE__*/jsxs(Grid, {
2725
2960
  alignItems: "center",
2726
2961
  container: true,
2727
2962
  justifyContent: "space-between",
@@ -2729,14 +2964,14 @@ var ToolHeader = function ToolHeader(_ref) {
2729
2964
  padding: styles.padding,
2730
2965
  height: styles.height
2731
2966
  },
2732
- children: [jsx(Grid, {
2967
+ children: [/*#__PURE__*/jsx(Grid, {
2733
2968
  className: "header-left",
2734
2969
  size: columnSizeLeft,
2735
2970
  sx: {
2736
2971
  paddingRight: 1
2737
2972
  },
2738
2973
  children: leftHeaderComponent != null ? leftHeaderComponent : null
2739
- }), jsx(Grid, {
2974
+ }), /*#__PURE__*/jsx(Grid, {
2740
2975
  alignItems: "center",
2741
2976
  className: "header-title",
2742
2977
  container: true,
@@ -2745,7 +2980,7 @@ var ToolHeader = function ToolHeader(_ref) {
2745
2980
  sx: {
2746
2981
  minHeight: 12
2747
2982
  },
2748
- children: title ? jsx(Typography, {
2983
+ children: title ? /*#__PURE__*/jsx(Typography, {
2749
2984
  noWrap: true,
2750
2985
  role: "heading",
2751
2986
  sx: {
@@ -2758,18 +2993,18 @@ var ToolHeader = function ToolHeader(_ref) {
2758
2993
  variant: "h2",
2759
2994
  children: title
2760
2995
  }) : null
2761
- }), jsxs(Grid, {
2996
+ }), /*#__PURE__*/jsxs(Grid, {
2762
2997
  className: "header-right",
2763
2998
  container: true,
2764
2999
  justifyContent: "flex-end",
2765
3000
  size: columnSizeIcon,
2766
- children: [rightHeaderComponent != null ? rightHeaderComponent : null, onClose ? jsx(CustomTooltip, {
3001
+ children: [rightHeaderComponent != null ? rightHeaderComponent : null, onClose ? /*#__PURE__*/jsx(CustomTooltip, {
2767
3002
  placement: "bottom",
2768
3003
  sx: {
2769
3004
  pointerEvents: 'none'
2770
3005
  },
2771
3006
  title: t('shared-close'),
2772
- children: jsx(CustomIconButton, {
3007
+ children: /*#__PURE__*/jsx(CustomIconButton, {
2773
3008
  "data-testid": "closeBtn",
2774
3009
  onClick: onClose,
2775
3010
  onTouchEnd: onClose,
@@ -2824,12 +3059,12 @@ var ToolContainer = function ToolContainer(_ref) {
2824
3059
  dragHandleIcon = _ref.dragHandleIcon,
2825
3060
  closeIcon = _ref.closeIcon,
2826
3061
  props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
2827
- return jsxs(Paper, Object.assign({
3062
+ return /*#__PURE__*/jsxs(Paper, Object.assign({
2828
3063
  elevation: elevation,
2829
3064
  sx: styles$3.container
2830
3065
  }, props, {
2831
- children: [jsx(ErrorBoundary, {
2832
- children: jsx(ToolHeader, {
3066
+ children: [/*#__PURE__*/jsx(ErrorBoundary, {
3067
+ children: /*#__PURE__*/jsx(ToolHeader, {
2833
3068
  className: headerClassName,
2834
3069
  closeIcon: closeIcon,
2835
3070
  dragHandleIcon: dragHandleIcon,
@@ -2840,13 +3075,13 @@ var ToolContainer = function ToolContainer(_ref) {
2840
3075
  size: size,
2841
3076
  title: title
2842
3077
  })
2843
- }), jsx(Box, {
3078
+ }), /*#__PURE__*/jsx(Box, {
2844
3079
  style: {
2845
3080
  maxHeight: maxHeight
2846
3081
  },
2847
3082
  sx: styles$3.content,
2848
3083
  children: children
2849
- }), isResizable ? jsx(ToolFooter, {}) : null]
3084
+ }), isResizable ? /*#__PURE__*/jsx(ToolFooter, {}) : null]
2850
3085
  }));
2851
3086
  };
2852
3087
 
@@ -2873,6 +3108,7 @@ var getNewPositionSize = function getNewPositionSize(element, boundsNode, isRigh
2873
3108
  var elementStyle = getComputedStyle(element);
2874
3109
  var initialX = parseFloat(isRightAligned ? elementStyle.right : elementStyle.left);
2875
3110
  var initialY = parseFloat(elementStyle.top); // only use style.top since we don't support bottom alignment (yet?)
3111
+
2876
3112
  var elementBboxHeight = newSize !== undefined && typeof newSize.height === 'number' ? newSize.height : elementBbox.height;
2877
3113
  var elementBboxWidth = newSize !== undefined && typeof newSize.width === 'number' ? newSize.width : elementBbox.width;
2878
3114
  var isElementLarger = elementBboxHeight >= parentBbox.height;
@@ -2885,15 +3121,18 @@ var getNewPositionSize = function getNewPositionSize(element, boundsNode, isRigh
2885
3121
  if (isElementWider) {
2886
3122
  newX = isRightAligned ? initialX : -initialX;
2887
3123
  }
3124
+
2888
3125
  // vertical constrains
2889
3126
  if (isElementLarger) {
2890
3127
  newY = -initialY;
2891
3128
  }
3129
+
2892
3130
  // top aligned
2893
3131
  var newTop = newY + initialY + newHeight;
2894
3132
  if (newTop > parentBbox.height) {
2895
3133
  newY = parentBbox.height - newTop + position.y;
2896
3134
  }
3135
+
2897
3136
  // right aligned
2898
3137
  if (isRightAligned) {
2899
3138
  var newLeft = parentBbox.x + parentBbox.width - initialX + newX - newWidth;
@@ -2939,10 +3178,12 @@ var useHandleSizeFromOutsideComponent = function useHandleSizeFromOutsideCompone
2939
3178
  var _nodeRef$current;
2940
3179
  return bounds === 'parent' ? (_nodeRef$current = nodeRef.current) == null ? void 0 : _nodeRef$current.parentNode : document.querySelector(bounds);
2941
3180
  }, [bounds, nodeRef]);
3181
+
2942
3182
  // store the position as ref so we can access it in another ref
2943
3183
  var refPosition = React.useRef(position);
2944
3184
  refPosition.current = position;
2945
3185
  var lastSize = React.useRef(startSize);
3186
+
2946
3187
  // handle size from outside component
2947
3188
  React.useEffect(function () {
2948
3189
  var boundsNode = getBoundsNode();
@@ -2957,6 +3198,7 @@ var useHandleSizeFromOutsideComponent = function useHandleSizeFromOutsideCompone
2957
3198
  }
2958
3199
  }
2959
3200
  }, [startSize, isRightAligned, lastSize, getBoundsNode, nodeRef, updateDomDirectly, onChangeSize]);
3201
+
2960
3202
  // observe parent div dimensions
2961
3203
  var resizeObserverRef = React.useRef(new ResizeObserver(function (entry) {
2962
3204
  var boundsTarget = entry[0].target;
@@ -3039,6 +3281,8 @@ var calculateNewPosition = function calculateNewPosition(position, isRightAligne
3039
3281
  y: y
3040
3282
  };
3041
3283
  };
3284
+ // source of opening
3285
+
3042
3286
  var DraggableComponent = function DraggableComponent(_ref) {
3043
3287
  var title = _ref.title,
3044
3288
  _ref$bounds = _ref.bounds,
@@ -3169,8 +3413,8 @@ var DraggableComponent = function DraggableComponent(_ref) {
3169
3413
  setSize(size);
3170
3414
  }
3171
3415
  });
3172
- return isOpen ? jsxs(Fragment, {
3173
- children: [isDragging ? jsx(Box, {
3416
+ return isOpen ? /*#__PURE__*/jsxs(Fragment, {
3417
+ children: [isDragging ? /*#__PURE__*/jsx(Box, {
3174
3418
  "data-testid": "dragging-overlay",
3175
3419
  sx: {
3176
3420
  top: 0,
@@ -3180,7 +3424,7 @@ var DraggableComponent = function DraggableComponent(_ref) {
3180
3424
  position: 'absolute',
3181
3425
  zIndex: 999
3182
3426
  }
3183
- }) : null, jsx(DraggableComponent$1, {
3427
+ }) : null, /*#__PURE__*/jsx(DraggableComponent$1, {
3184
3428
  bounds: bounds,
3185
3429
  cancel: cancel,
3186
3430
  handle: "." + headerClassName,
@@ -3189,7 +3433,7 @@ var DraggableComponent = function DraggableComponent(_ref) {
3189
3433
  onStop: onStopDrag,
3190
3434
  position: position,
3191
3435
  setIsDragging: setIsDragging,
3192
- children: jsx(Box, {
3436
+ children: /*#__PURE__*/jsx(Box, {
3193
3437
  "aria-label": title,
3194
3438
  className: "toolContainerDraggable",
3195
3439
  ref: nodeRef,
@@ -3204,14 +3448,14 @@ var DraggableComponent = function DraggableComponent(_ref) {
3204
3448
  }
3205
3449
  }),
3206
3450
  tabIndex: -1,
3207
- children: jsx(ResizeComponent, Object.assign({}, props, {
3451
+ children: /*#__PURE__*/jsx(ResizeComponent, Object.assign({}, props, {
3208
3452
  nodeRef: nodeRef,
3209
3453
  onResize: onResize,
3210
3454
  onResizeStart: onStartResize,
3211
3455
  onResizeStop: onStopResize,
3212
3456
  setSize: setSize,
3213
3457
  size: size,
3214
- children: jsx(ToolContainer, {
3458
+ children: /*#__PURE__*/jsx(ToolContainer, {
3215
3459
  className: className,
3216
3460
  closeIcon: closeIcon,
3217
3461
  dragHandleIcon: dragHandleIcon,
@@ -3233,12 +3477,29 @@ var DraggableComponent = function DraggableComponent(_ref) {
3233
3477
  }) : null;
3234
3478
  };
3235
3479
 
3236
- var segmentStyle = {
3237
- margin: '0 2px',
3238
- verticalAlign: 'middle',
3239
- fontSize: 14,
3240
- fontWeight: 500,
3241
- letterSpacing: 0.25,
3480
+ /* *
3481
+ * Licensed under the Apache License, Version 2.0 (the "License");
3482
+ * you may not use this file except in compliance with the License.
3483
+ * You may obtain a copy of the License at
3484
+ *
3485
+ * http://www.apache.org/licenses/LICENSE-2.0
3486
+ *
3487
+ * Unless required by applicable law or agreed to in writing, software
3488
+ * distributed under the License is distributed on an "AS IS" BASIS,
3489
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3490
+ * See the License for the specific language governing permissions and
3491
+ * limitations under the License.
3492
+ *
3493
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
3494
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
3495
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
3496
+ * */
3497
+ var segmentStyle = {
3498
+ margin: '0 2px',
3499
+ verticalAlign: 'middle',
3500
+ fontSize: 14,
3501
+ fontWeight: 500,
3502
+ letterSpacing: 0.25,
3242
3503
  justifyContent: 'center'
3243
3504
  };
3244
3505
  var styles$2 = {
@@ -3263,7 +3524,7 @@ var ShortCutSegment = function ShortCutSegment(_ref) {
3263
3524
  type = _ref$type === void 0 ? 'text' : _ref$type,
3264
3525
  children = _ref.children;
3265
3526
  if (type === 'divider') {
3266
- return jsx(Typography, {
3527
+ return /*#__PURE__*/jsx(Typography, {
3267
3528
  component: "span",
3268
3529
  "data-testid": "segment-divider",
3269
3530
  sx: styles$2.divider,
@@ -3271,7 +3532,7 @@ var ShortCutSegment = function ShortCutSegment(_ref) {
3271
3532
  });
3272
3533
  }
3273
3534
  if (type === 'icon') {
3274
- return jsx(Typography, {
3535
+ return /*#__PURE__*/jsx(Typography, {
3275
3536
  component: "span",
3276
3537
  "data-testid": "segment-icon",
3277
3538
  sx: styles$2.icon,
@@ -3279,14 +3540,14 @@ var ShortCutSegment = function ShortCutSegment(_ref) {
3279
3540
  });
3280
3541
  }
3281
3542
  if (type === 'connect') {
3282
- return jsx(Typography, {
3543
+ return /*#__PURE__*/jsx(Typography, {
3283
3544
  component: "span",
3284
3545
  "data-testid": "segment-connect",
3285
3546
  sx: styles$2.connect,
3286
3547
  children: children
3287
3548
  });
3288
3549
  }
3289
- return jsx(Typography, {
3550
+ return /*#__PURE__*/jsx(Typography, {
3290
3551
  component: "span",
3291
3552
  "data-testid": "segment-text",
3292
3553
  sx: segmentStyle,
@@ -3294,6 +3555,24 @@ var ShortCutSegment = function ShortCutSegment(_ref) {
3294
3555
  });
3295
3556
  };
3296
3557
 
3558
+ /* *
3559
+ * Licensed under the Apache License, Version 2.0 (the "License");
3560
+ * you may not use this file except in compliance with the License.
3561
+ * You may obtain a copy of the License at
3562
+ *
3563
+ * http://www.apache.org/licenses/LICENSE-2.0
3564
+ *
3565
+ * Unless required by applicable law or agreed to in writing, software
3566
+ * distributed under the License is distributed on an "AS IS" BASIS,
3567
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3568
+ * See the License for the specific language governing permissions and
3569
+ * limitations under the License.
3570
+ *
3571
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
3572
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
3573
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
3574
+ * */
3575
+ /* eslint-disable i18next/no-literal-string */
3297
3576
  var ShortcutList = function ShortcutList(_ref) {
3298
3577
  var _ref$platform = _ref.platform,
3299
3578
  platform = _ref$platform === void 0 ? 'windows' : _ref$platform;
@@ -3301,394 +3580,400 @@ var ShortcutList = function ShortcutList(_ref) {
3301
3580
  t = _useTranslation.t;
3302
3581
  var shortcuts = [{
3303
3582
  titleKey: 'shared-choose-selected-time',
3304
- description: jsx(ShortCutSegment, {
3583
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3305
3584
  children: t('shared-shortcut-left-click')
3306
3585
  })
3307
3586
  }, {
3308
3587
  titleKey: 'shared-move-selected-time',
3309
- description: jsx(ShortCutSegment, {
3588
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3310
3589
  children: t('shared-shortcut-mouse-scroll-timeslider')
3311
3590
  })
3312
3591
  }, {
3313
3592
  titleKey: 'shared-move-one-step',
3314
- description: jsxs(Fragment, {
3315
- children: [jsx(ShortCutSegment, {
3593
+ description: /*#__PURE__*/jsxs(Fragment, {
3594
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3316
3595
  type: "icon",
3317
3596
  children: "Ctrl"
3318
- }), jsx(ShortCutSegment, {
3597
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3319
3598
  type: "connect",
3320
3599
  children: "+"
3321
- }), jsx(ShortCutSegment, {
3600
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3322
3601
  type: "icon",
3323
- children: jsx(ArrowLeft, {})
3324
- }), jsx(ShortCutSegment, {
3602
+ children: /*#__PURE__*/jsx(ArrowLeft, {})
3603
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3325
3604
  type: "divider",
3326
3605
  children: t('shared-shortcut-or')
3327
- }), jsx(ShortCutSegment, {
3606
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3328
3607
  type: "icon",
3329
- children: jsx(ArrowRight, {})
3608
+ children: /*#__PURE__*/jsx(ArrowRight, {})
3330
3609
  })]
3331
3610
  }),
3332
- descriptionMac: jsxs(Fragment, {
3333
- children: [jsx(ShortCutSegment, {
3611
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3612
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3334
3613
  type: "icon",
3335
3614
  children: "Ctrl"
3336
- }), jsx(ShortCutSegment, {
3615
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3337
3616
  type: "connect",
3338
3617
  children: "+"
3339
- }), jsx(ShortCutSegment, {
3618
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3340
3619
  type: "icon",
3341
3620
  children: "Shift"
3342
- }), jsx(ShortCutSegment, {
3621
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3343
3622
  type: "connect",
3344
3623
  children: "+"
3345
- }), jsx(ShortCutSegment, {
3624
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3346
3625
  type: "icon",
3347
- children: jsx(ArrowLeft, {})
3348
- }), jsx(ShortCutSegment, {
3626
+ children: /*#__PURE__*/jsx(ArrowLeft, {})
3627
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3349
3628
  type: "divider",
3350
3629
  children: t('shared-shortcut-or')
3351
- }), jsx(ShortCutSegment, {
3630
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3352
3631
  type: "icon",
3353
- children: jsx(ArrowRight, {})
3632
+ children: /*#__PURE__*/jsx(ArrowRight, {})
3354
3633
  })]
3355
3634
  })
3356
3635
  }, {
3357
3636
  titleKey: 'shared-toggle-timeslider',
3358
- description: jsx(ShortCutSegment, {
3637
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3359
3638
  type: "icon",
3360
3639
  children: "T"
3361
3640
  })
3362
3641
  }, {
3363
3642
  titleKey: 'shared-timeslider-scale',
3364
- description: jsx(ShortCutSegment, {
3643
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3365
3644
  children: t('shared-shortcut-hold-click')
3366
3645
  })
3367
3646
  }, {
3368
3647
  titleKey: 'shared-expand-timeslider-scale',
3369
- description: jsxs(Fragment, {
3370
- children: [jsx(ShortCutSegment, {
3648
+ description: /*#__PURE__*/jsxs(Fragment, {
3649
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3371
3650
  type: "icon",
3372
3651
  children: "Ctrl"
3373
- }), jsx(ShortCutSegment, {
3652
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3374
3653
  children: t('shared-shortcut-scroll')
3375
3654
  })]
3376
3655
  })
3377
3656
  }, {
3378
3657
  titleKey: 'shared-mouseover-selected-time',
3379
- description: jsx(ShortCutSegment, {
3658
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3380
3659
  children: t('shared-shortcut-hover')
3381
3660
  })
3382
3661
  }, {
3383
3662
  titleKey: 'shared-mouseover-on-off',
3384
- description: jsxs(Fragment, {
3385
- children: [jsx(ShortCutSegment, {
3663
+ description: /*#__PURE__*/jsxs(Fragment, {
3664
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3386
3665
  type: "icon",
3387
3666
  children: "Ctrl"
3388
- }), jsx(ShortCutSegment, {
3667
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3389
3668
  type: "connect",
3390
3669
  children: "+"
3391
- }), jsx(ShortCutSegment, {
3670
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3392
3671
  type: "icon",
3393
3672
  children: "Alt"
3394
- }), jsx(ShortCutSegment, {
3673
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3395
3674
  type: "connect",
3396
3675
  children: "+"
3397
- }), jsx(ShortCutSegment, {
3676
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3398
3677
  type: "icon",
3399
3678
  children: "h"
3400
3679
  })]
3401
3680
  }),
3402
- descriptionMac: jsxs(Fragment, {
3403
- children: [jsx(ShortCutSegment, {
3681
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3682
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3404
3683
  type: "icon",
3405
3684
  children: "Ctrl"
3406
- }), jsx(ShortCutSegment, {
3685
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3407
3686
  type: "connect",
3408
3687
  children: "+"
3409
- }), jsx(ShortCutSegment, {
3688
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3410
3689
  type: "icon",
3411
- children: jsx(KeyOption, {})
3412
- }), jsx(ShortCutSegment, {
3690
+ children: /*#__PURE__*/jsx(KeyOption, {})
3691
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3413
3692
  type: "connect",
3414
3693
  children: "+"
3415
- }), jsx(ShortCutSegment, {
3694
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3416
3695
  type: "icon",
3417
3696
  children: "h"
3418
3697
  })]
3419
3698
  })
3699
+ }, {
3700
+ titleKey: 'shared-toggle-syncviewer',
3701
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3702
+ type: "icon",
3703
+ children: "Y"
3704
+ })
3420
3705
  }, {
3421
3706
  titleKey: 'shared-change-timestep-or-speed',
3422
- description: jsxs(Fragment, {
3423
- children: [jsx(ShortCutSegment, {
3707
+ description: /*#__PURE__*/jsxs(Fragment, {
3708
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3424
3709
  type: "icon",
3425
3710
  children: "Ctrl"
3426
- }), jsx(ShortCutSegment, {
3711
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3427
3712
  type: "connect",
3428
3713
  children: "+"
3429
- }), jsx(ShortCutSegment, {
3714
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3430
3715
  type: "icon",
3431
- children: jsx(ArrowUp, {})
3432
- }), jsx(ShortCutSegment, {
3716
+ children: /*#__PURE__*/jsx(ArrowUp, {})
3717
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3433
3718
  type: "divider",
3434
3719
  children: t('shared-shortcut-or')
3435
- }), jsx(ShortCutSegment, {
3720
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3436
3721
  type: "icon",
3437
- children: jsx(ArrowDown, {})
3438
- }), jsxs(ShortCutSegment, {
3722
+ children: /*#__PURE__*/jsx(ArrowDown, {})
3723
+ }), /*#__PURE__*/jsxs(ShortCutSegment, {
3439
3724
  children: ["(", t('shared-shortcut-when-active'), ")"]
3440
3725
  })]
3441
3726
  }),
3442
- descriptionMac: jsxs(Fragment, {
3443
- children: [jsx(ShortCutSegment, {
3727
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3728
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3444
3729
  type: "icon",
3445
- children: jsx(KeyCommand, {})
3446
- }), jsx(ShortCutSegment, {
3730
+ children: /*#__PURE__*/jsx(KeyCommand, {})
3731
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3447
3732
  type: "connect",
3448
3733
  children: "+"
3449
- }), jsx(ShortCutSegment, {
3734
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3450
3735
  type: "icon",
3451
- children: jsx(ArrowUp, {})
3452
- }), jsx(ShortCutSegment, {
3736
+ children: /*#__PURE__*/jsx(ArrowUp, {})
3737
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3453
3738
  type: "divider",
3454
3739
  children: t('shared-shortcut-or')
3455
- }), jsx(ShortCutSegment, {
3740
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3456
3741
  type: "icon",
3457
- children: jsx(ArrowDown, {})
3458
- }), jsxs(ShortCutSegment, {
3742
+ children: /*#__PURE__*/jsx(ArrowDown, {})
3743
+ }), /*#__PURE__*/jsxs(ShortCutSegment, {
3459
3744
  children: ["(", t('shared-shortcut-when-active'), ")"]
3460
3745
  })]
3461
3746
  })
3462
3747
  }, {
3463
3748
  titleKey: 'shared-return-to-current-time',
3464
- description: jsx(ShortCutSegment, {
3749
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3465
3750
  type: "icon",
3466
3751
  children: t('shared-shortcut-home')
3467
3752
  }),
3468
- descriptionMac: jsxs(Fragment, {
3469
- children: [jsx(ShortCutSegment, {
3753
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3754
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3470
3755
  type: "icon",
3471
3756
  children: "fn"
3472
- }), jsx(ShortCutSegment, {
3757
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3473
3758
  type: "connect",
3474
3759
  children: "+"
3475
- }), jsx(ShortCutSegment, {
3760
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3476
3761
  type: "icon",
3477
- children: jsx(ArrowLeft, {})
3762
+ children: /*#__PURE__*/jsx(ArrowLeft, {})
3478
3763
  })]
3479
3764
  })
3480
3765
  }, {
3481
3766
  titleKey: 'shared-toggle-layerinformation',
3482
- description: jsx(ShortCutSegment, {
3767
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3483
3768
  type: "icon",
3484
3769
  children: "D"
3485
3770
  })
3486
3771
  }, {
3487
3772
  titleKey: 'shared-change-layer-values-scrolling',
3488
- description: jsxs(Fragment, {
3489
- children: [jsx(ShortCutSegment, {
3773
+ description: /*#__PURE__*/jsxs(Fragment, {
3774
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3490
3775
  type: "icon",
3491
3776
  children: "Ctrl"
3492
- }), jsxs(ShortCutSegment, {
3777
+ }), /*#__PURE__*/jsxs(ShortCutSegment, {
3493
3778
  children: [' ', t('shared-shortcut-mouse-scroll')]
3494
3779
  })]
3495
3780
  }),
3496
- descriptionMac: jsxs(Fragment, {
3497
- children: [jsx(ShortCutSegment, {
3781
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3782
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3498
3783
  type: "icon",
3499
- children: jsx(KeyCommand, {})
3500
- }), jsxs(ShortCutSegment, {
3784
+ children: /*#__PURE__*/jsx(KeyCommand, {})
3785
+ }), /*#__PURE__*/jsxs(ShortCutSegment, {
3501
3786
  children: [' ', t('shared-shortcut-mouse-scroll')]
3502
3787
  })]
3503
3788
  })
3504
3789
  }, {
3505
3790
  titleKey: 'shared-change-layermanager-small',
3506
- description: jsxs(Fragment, {
3507
- children: [jsx(ShortCutSegment, {
3791
+ description: /*#__PURE__*/jsxs(Fragment, {
3792
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3508
3793
  type: "icon",
3509
3794
  children: "Ctrl"
3510
- }), jsx(ShortCutSegment, {
3795
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3511
3796
  children: " + "
3512
- }), jsx(ShortCutSegment, {
3797
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3513
3798
  type: "icon",
3514
3799
  children: "Alt"
3515
- }), jsx(ShortCutSegment, {
3800
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3516
3801
  children: " + "
3517
- }), jsx(ShortCutSegment, {
3802
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3518
3803
  type: "icon",
3519
3804
  children: "s"
3520
3805
  })]
3521
3806
  }),
3522
- descriptionMac: jsxs(Fragment, {
3523
- children: [jsx(ShortCutSegment, {
3807
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3808
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3524
3809
  type: "icon",
3525
3810
  children: "Ctrl"
3526
- }), jsx(ShortCutSegment, {
3811
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3527
3812
  children: " + "
3528
- }), jsx(ShortCutSegment, {
3813
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3529
3814
  type: "icon",
3530
- children: jsx(KeyOption, {})
3531
- }), jsx(ShortCutSegment, {
3815
+ children: /*#__PURE__*/jsx(KeyOption, {})
3816
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3532
3817
  children: " + "
3533
- }), jsx(ShortCutSegment, {
3818
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3534
3819
  type: "icon",
3535
3820
  children: "s"
3536
3821
  })]
3537
3822
  })
3538
3823
  }, {
3539
3824
  titleKey: 'shared-change-layermanager-medium',
3540
- description: jsxs(Fragment, {
3541
- children: [jsx(ShortCutSegment, {
3825
+ description: /*#__PURE__*/jsxs(Fragment, {
3826
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3542
3827
  type: "icon",
3543
3828
  children: "Ctrl"
3544
- }), jsx(ShortCutSegment, {
3829
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3545
3830
  children: " + "
3546
- }), jsx(ShortCutSegment, {
3831
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3547
3832
  type: "icon",
3548
3833
  children: "Alt"
3549
- }), jsx(ShortCutSegment, {
3834
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3550
3835
  children: " + "
3551
- }), jsx(ShortCutSegment, {
3836
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3552
3837
  type: "icon",
3553
3838
  children: "m"
3554
3839
  })]
3555
3840
  }),
3556
- descriptionMac: jsxs(Fragment, {
3557
- children: [jsx(ShortCutSegment, {
3841
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3842
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3558
3843
  type: "icon",
3559
3844
  children: "Ctrl"
3560
- }), jsx(ShortCutSegment, {
3845
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3561
3846
  children: " + "
3562
- }), jsx(ShortCutSegment, {
3847
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3563
3848
  type: "icon",
3564
- children: jsx(KeyOption, {})
3565
- }), jsx(ShortCutSegment, {
3849
+ children: /*#__PURE__*/jsx(KeyOption, {})
3850
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3566
3851
  children: " + "
3567
- }), jsx(ShortCutSegment, {
3852
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3568
3853
  type: "icon",
3569
3854
  children: "m"
3570
3855
  })]
3571
3856
  })
3572
3857
  }, {
3573
3858
  titleKey: 'shared-change-layermanager-large',
3574
- description: jsxs(Fragment, {
3575
- children: [jsx(ShortCutSegment, {
3859
+ description: /*#__PURE__*/jsxs(Fragment, {
3860
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3576
3861
  type: "icon",
3577
3862
  children: "Ctrl"
3578
- }), jsx(ShortCutSegment, {
3863
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3579
3864
  children: " + "
3580
- }), jsx(ShortCutSegment, {
3865
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3581
3866
  type: "icon",
3582
3867
  children: "Alt"
3583
- }), jsx(ShortCutSegment, {
3868
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3584
3869
  children: " + "
3585
- }), jsx(ShortCutSegment, {
3870
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3586
3871
  type: "icon",
3587
3872
  children: "l"
3588
3873
  })]
3589
3874
  }),
3590
- descriptionMac: jsxs(Fragment, {
3591
- children: [jsx(ShortCutSegment, {
3875
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3876
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3592
3877
  type: "icon",
3593
3878
  children: "Ctrl"
3594
- }), jsx(ShortCutSegment, {
3879
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3595
3880
  children: " + "
3596
- }), jsx(ShortCutSegment, {
3881
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3597
3882
  type: "icon",
3598
- children: jsx(KeyOption, {})
3599
- }), jsx(ShortCutSegment, {
3883
+ children: /*#__PURE__*/jsx(KeyOption, {})
3884
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3600
3885
  children: " + "
3601
- }), jsx(ShortCutSegment, {
3886
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3602
3887
  type: "icon",
3603
3888
  children: "l"
3604
3889
  })]
3605
3890
  })
3606
3891
  }, {
3607
3892
  titleKey: 'shared-shortcut-toggle-workspace-time-scroll',
3608
- description: jsx(ShortCutSegment, {
3893
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3609
3894
  type: "icon",
3610
3895
  children: "S"
3611
3896
  }),
3612
- descriptionMac: jsx(ShortCutSegment, {
3897
+ descriptionMac: /*#__PURE__*/jsx(ShortCutSegment, {
3613
3898
  type: "icon",
3614
3899
  children: "S"
3615
3900
  })
3616
3901
  }, {
3617
3902
  titleKey: 'shared-shortcut-open-location-search',
3618
- description: jsx(ShortCutSegment, {
3903
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3619
3904
  type: "icon",
3620
3905
  children: "F"
3621
3906
  }),
3622
- descriptionMac: jsx(ShortCutSegment, {
3907
+ descriptionMac: /*#__PURE__*/jsx(ShortCutSegment, {
3623
3908
  type: "icon",
3624
3909
  children: "F"
3625
3910
  })
3626
3911
  }, {
3627
3912
  titleKey: 'shared-shortcut-zoom-to-location',
3628
- description: jsxs(Fragment, {
3629
- children: [jsx(ShortCutSegment, {
3913
+ description: /*#__PURE__*/jsxs(Fragment, {
3914
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3630
3915
  type: "icon",
3631
3916
  children: "Shift"
3632
- }), jsxs(ShortCutSegment, {
3917
+ }), /*#__PURE__*/jsxs(ShortCutSegment, {
3633
3918
  children: [" ", t('shared-shortcut-mouse-click')]
3634
3919
  })]
3635
3920
  }),
3636
- descriptionMac: jsxs(Fragment, {
3637
- children: [jsx(ShortCutSegment, {
3921
+ descriptionMac: /*#__PURE__*/jsxs(Fragment, {
3922
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3638
3923
  type: "icon",
3639
3924
  children: "Shift"
3640
- }), jsxs(ShortCutSegment, {
3925
+ }), /*#__PURE__*/jsxs(ShortCutSegment, {
3641
3926
  children: [" ", t('shared-shortcut-mouse-click')]
3642
3927
  })]
3643
3928
  })
3644
3929
  }, {
3645
3930
  titleKey: 'shared-shortcut-copy-view-preset-content-split-window',
3646
- description: jsxs(Fragment, {
3647
- children: [jsx(ShortCutSegment, {
3931
+ description: /*#__PURE__*/jsxs(Fragment, {
3932
+ children: [/*#__PURE__*/jsx(ShortCutSegment, {
3648
3933
  type: "icon",
3649
3934
  children: "Shift"
3650
- }), jsx(ShortCutSegment, {
3935
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3651
3936
  children: " + "
3652
- }), jsx(ShortCutSegment, {
3937
+ }), /*#__PURE__*/jsx(ShortCutSegment, {
3653
3938
  children: t('shared-shortcut-split-button')
3654
3939
  })]
3655
3940
  })
3656
3941
  }, {
3657
3942
  titleKey: 'shared-shortcut-toggle-location-info',
3658
- description: jsx(ShortCutSegment, {
3943
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3659
3944
  type: "icon",
3660
3945
  children: "I"
3661
3946
  }),
3662
- descriptionMac: jsx(ShortCutSegment, {
3947
+ descriptionMac: /*#__PURE__*/jsx(ShortCutSegment, {
3663
3948
  type: "icon",
3664
3949
  children: "I"
3665
3950
  })
3666
3951
  }, {
3667
3952
  titleKey: 'shared-shortcut-toggle-measure-tool',
3668
- description: jsx(ShortCutSegment, {
3953
+ description: /*#__PURE__*/jsx(ShortCutSegment, {
3669
3954
  type: "icon",
3670
3955
  children: "M"
3671
3956
  }),
3672
- descriptionMac: jsx(ShortCutSegment, {
3957
+ descriptionMac: /*#__PURE__*/jsx(ShortCutSegment, {
3673
3958
  type: "icon",
3674
3959
  children: "M"
3675
3960
  })
3676
3961
  }];
3677
- return jsx(List, {
3962
+ return /*#__PURE__*/jsx(List, {
3678
3963
  "data-testid": "list-" + platform,
3679
3964
  children: shortcuts.map(function (shortcut, index) {
3680
- return jsx(ListItem, {
3965
+ return /*#__PURE__*/jsx(ListItem, {
3681
3966
  divider: index !== shortcuts.length - 1,
3682
3967
  sx: {
3683
3968
  minHeight: 56
3684
3969
  },
3685
- children: jsxs(Grid, {
3970
+ children: /*#__PURE__*/jsxs(Grid, {
3686
3971
  alignItems: "center",
3687
3972
  container: true,
3688
3973
  direction: "row",
3689
3974
  justifyContent: "space-between",
3690
3975
  size: "grow",
3691
- children: [jsx(Grid, {
3976
+ children: [/*#__PURE__*/jsx(Grid, {
3692
3977
  sx: {
3693
3978
  fontSize: 12,
3694
3979
  fontWeight: 300,
@@ -3696,8 +3981,8 @@ var ShortcutList = function ShortcutList(_ref) {
3696
3981
  opacity: 0.67
3697
3982
  },
3698
3983
  children: t(shortcut.titleKey)
3699
- }), jsx(Grid, {
3700
- children: jsx(Box, {
3984
+ }), /*#__PURE__*/jsx(Grid, {
3985
+ children: /*#__PURE__*/jsx(Box, {
3701
3986
  sx: {
3702
3987
  alignItems: 'center'
3703
3988
  },
@@ -3710,11 +3995,28 @@ var ShortcutList = function ShortcutList(_ref) {
3710
3995
  });
3711
3996
  };
3712
3997
 
3998
+ /* *
3999
+ * Licensed under the Apache License, Version 2.0 (the "License");
4000
+ * you may not use this file except in compliance with the License.
4001
+ * You may obtain a copy of the License at
4002
+ *
4003
+ * http://www.apache.org/licenses/LICENSE-2.0
4004
+ *
4005
+ * Unless required by applicable law or agreed to in writing, software
4006
+ * distributed under the License is distributed on an "AS IS" BASIS,
4007
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4008
+ * See the License for the specific language governing permissions and
4009
+ * limitations under the License.
4010
+ *
4011
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4012
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
4013
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4014
+ * */
3713
4015
  var TabPanel = function TabPanel(_ref) {
3714
4016
  var children = _ref.children,
3715
4017
  value = _ref.value,
3716
4018
  index = _ref.index;
3717
- return jsx("div", {
4019
+ return /*#__PURE__*/jsx("div", {
3718
4020
  "aria-labelledby": "tab-" + index,
3719
4021
  hidden: value !== index,
3720
4022
  id: "tabpanel-" + index,
@@ -3738,33 +4040,50 @@ var CheatSheet = function CheatSheet() {
3738
4040
  var onChangeTab = function onChangeTab(_event, newValue) {
3739
4041
  setActiveTab(newValue);
3740
4042
  };
3741
- return jsxs(Box, {
4043
+ return /*#__PURE__*/jsxs(Box, {
3742
4044
  sx: styles$1.container,
3743
- children: [jsxs(Tabs, {
4045
+ children: [/*#__PURE__*/jsxs(Tabs, {
3744
4046
  "aria-label": "platform",
3745
4047
  onChange: onChangeTab,
3746
4048
  value: activeTab,
3747
- children: [jsx(Tab, {
4049
+ children: [/*#__PURE__*/jsx(Tab, {
3748
4050
  label: "Windows",
3749
4051
  sx: styles$1.tab
3750
- }), jsx(Tab, {
4052
+ }), /*#__PURE__*/jsx(Tab, {
3751
4053
  label: "Mac",
3752
4054
  sx: styles$1.tab
3753
4055
  })]
3754
- }), jsx(TabPanel, {
4056
+ }), /*#__PURE__*/jsx(TabPanel, {
3755
4057
  index: 0,
3756
4058
  value: activeTab,
3757
- children: jsx(ShortcutList, {})
3758
- }), jsx(TabPanel, {
4059
+ children: /*#__PURE__*/jsx(ShortcutList, {})
4060
+ }), /*#__PURE__*/jsx(TabPanel, {
3759
4061
  index: 1,
3760
4062
  value: activeTab,
3761
- children: jsx(ShortcutList, {
4063
+ children: /*#__PURE__*/jsx(ShortcutList, {
3762
4064
  platform: "mac"
3763
4065
  })
3764
4066
  })]
3765
4067
  });
3766
4068
  };
3767
4069
 
4070
+ /* *
4071
+ * Licensed under the Apache License, Version 2.0 (the "License");
4072
+ * you may not use this file except in compliance with the License.
4073
+ * You may obtain a copy of the License at
4074
+ *
4075
+ * http://www.apache.org/licenses/LICENSE-2.0
4076
+ *
4077
+ * Unless required by applicable law or agreed to in writing, software
4078
+ * distributed under the License is distributed on an "AS IS" BASIS,
4079
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4080
+ * See the License for the specific language governing permissions and
4081
+ * limitations under the License.
4082
+ *
4083
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4084
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
4085
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4086
+ * */
3768
4087
  var UserMenuItemCheatSheet = function UserMenuItemCheatSheet() {
3769
4088
  var _React$useState = React.useState(false),
3770
4089
  open = _React$useState[0],
@@ -3777,24 +4096,24 @@ var UserMenuItemCheatSheet = function UserMenuItemCheatSheet() {
3777
4096
  };
3778
4097
  var _useTranslation = useTranslation(SHARED_NAMESPACE),
3779
4098
  t = _useTranslation.t;
3780
- return jsxs(Fragment, {
3781
- children: [jsx(MenuItem, {
4099
+ return /*#__PURE__*/jsxs(Fragment, {
4100
+ children: [/*#__PURE__*/jsx(MenuItem, {
3782
4101
  "data-testid": "cheatsheet-btn",
3783
4102
  divider: true,
3784
4103
  onClick: onOpen,
3785
- children: jsx(Grid, {
4104
+ children: /*#__PURE__*/jsx(Grid, {
3786
4105
  container: true,
3787
- children: jsx(Grid, {
4106
+ children: /*#__PURE__*/jsx(Grid, {
3788
4107
  children: t('shared-cheat-sheet')
3789
4108
  })
3790
4109
  })
3791
- }), jsx(Backdrop, {
4110
+ }), /*#__PURE__*/jsx(Backdrop, {
3792
4111
  "data-testid": "cheatsheet-content",
3793
4112
  open: open,
3794
4113
  sx: {
3795
4114
  zIndex: 1
3796
4115
  },
3797
- children: jsx(DraggableComponent, {
4116
+ children: /*#__PURE__*/jsx(DraggableComponent, {
3798
4117
  bounds: "parent",
3799
4118
  isOpen: true,
3800
4119
  minHeight: 300,
@@ -3804,7 +4123,7 @@ var UserMenuItemCheatSheet = function UserMenuItemCheatSheet() {
3804
4123
  width: 700
3805
4124
  },
3806
4125
  title: t('shared-cheat-sheet'),
3807
- children: jsx(CheatSheet, {})
4126
+ children: /*#__PURE__*/jsx(CheatSheet, {})
3808
4127
  })
3809
4128
  })]
3810
4129
  });
@@ -3827,6 +4146,7 @@ var UserMenuItemCheatSheet = function UserMenuItemCheatSheet() {
3827
4146
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
3828
4147
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
3829
4148
  * */
4149
+
3830
4150
  var useUserMenu = function useUserMenu(open) {
3831
4151
  if (open === void 0) {
3832
4152
  open = false;
@@ -3864,6 +4184,7 @@ var useUserMenu = function useUserMenu(open) {
3864
4184
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
3865
4185
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
3866
4186
  * */
4187
+
3867
4188
  var getInitials = function getInitials(name) {
3868
4189
  if (!name) {
3869
4190
  return '';
@@ -3958,6 +4279,7 @@ var CustomSlider = function CustomSlider(_ref) {
3958
4279
  return element.classList.remove('selectedLabel');
3959
4280
  });
3960
4281
  }, [value, themeContext.namedTheme]);
4282
+
3961
4283
  // autofocus
3962
4284
  React.useEffect(function () {
3963
4285
  if (shouldAutoFocus && element.current) {
@@ -3967,7 +4289,7 @@ var CustomSlider = function CustomSlider(_ref) {
3967
4289
  // eslint-disable-next-line react-hooks/exhaustive-deps
3968
4290
  }, []);
3969
4291
  var mergedStyles = merge(extraStyles, sliderStyle);
3970
- return jsx(Slider, Object.assign({
4292
+ return /*#__PURE__*/jsx(Slider, Object.assign({
3971
4293
  orientation: orientation,
3972
4294
  ref: element,
3973
4295
  role: "slider",
@@ -3993,7 +4315,7 @@ var CustomToggleButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3993
4315
  _ref$value = _ref.value,
3994
4316
  value = _ref$value === void 0 ? 0 : _ref$value,
3995
4317
  props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
3996
- return jsx(ToggleButton, Object.assign({
4318
+ return /*#__PURE__*/jsx(ToggleButton, Object.assign({
3997
4319
  className: variant + " " + className,
3998
4320
  ref: ref,
3999
4321
  value: value
@@ -4065,11 +4387,11 @@ var TooltipSelect = function TooltipSelect(_ref) {
4065
4387
  var scrollInIsolationRef = useScrollingInIsolation({
4066
4388
  onWheel: onWheel
4067
4389
  });
4068
- return jsx(CustomTooltip, {
4390
+ return /*#__PURE__*/jsx(CustomTooltip, {
4069
4391
  open: tooltipOpen,
4070
4392
  placement: "top",
4071
4393
  title: tooltip,
4072
- children: jsx(StyledSelect, Object.assign({
4394
+ children: /*#__PURE__*/jsx(StyledSelect, Object.assign({
4073
4395
  additionalStyling: additionalStyling,
4074
4396
  disableUnderline: true,
4075
4397
  hasBackgroundColor: hasBackgroundColor,
@@ -4086,6 +4408,7 @@ var TooltipSelect = function TooltipSelect(_ref) {
4086
4408
  }, props))
4087
4409
  });
4088
4410
  };
4411
+
4089
4412
  // Style the select
4090
4413
  var BaseSelect = styled(Select, {
4091
4414
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -4103,7 +4426,7 @@ var StyledSelect = styled(/*#__PURE__*/React.forwardRef(function (_ref3, ref) {
4103
4426
  var className = _ref3.className,
4104
4427
  additionalStyling = _ref3.additionalStyling,
4105
4428
  props = _objectWithoutPropertiesLoose(_ref3, _excluded2);
4106
- return jsx(BaseSelect, Object.assign({}, props, {
4429
+ return /*#__PURE__*/jsx(BaseSelect, Object.assign({}, props, {
4107
4430
  MenuProps: {
4108
4431
  classes: {
4109
4432
  paper: className
@@ -4245,7 +4568,7 @@ var CustomAccordion = function CustomAccordion(_ref) {
4245
4568
  setExpanded = _React$useState[1];
4246
4569
  var theme = useTheme();
4247
4570
  var iconColor = theme.palette.geowebColors.buttons.icon["default"].color;
4248
- return jsxs(Accordion, Object.assign({}, props, {
4571
+ return /*#__PURE__*/jsxs(Accordion, Object.assign({}, props, {
4249
4572
  defaultExpanded: defaultExpanded,
4250
4573
  disableGutters: disableGutters,
4251
4574
  elevation: expanded ? expandedElevation : collapsedElevation,
@@ -4257,38 +4580,38 @@ var CustomAccordion = function CustomAccordion(_ref) {
4257
4580
  timeout: transitionDuration
4258
4581
  }
4259
4582
  },
4260
- children: [jsx(AccordionSummary, {
4583
+ children: [/*#__PURE__*/jsx(AccordionSummary, {
4261
4584
  "aria-label": expanded ? 'Drawer opened' : 'Drawer closed',
4262
4585
  component: "div",
4263
4586
  "data-testid": title && amountOfItems ? title + " " + amountOfItems : title,
4264
- expandIcon: CustomExpandIcon ? jsx(CustomExpandIcon, {
4587
+ expandIcon: CustomExpandIcon ? /*#__PURE__*/jsx(CustomExpandIcon, {
4265
4588
  style: {
4266
4589
  fill: "" + iconColor
4267
4590
  }
4268
- }) : jsx(ChevronDown, {
4591
+ }) : /*#__PURE__*/jsx(ChevronDown, {
4269
4592
  style: {
4270
4593
  fill: "" + iconColor
4271
4594
  }
4272
4595
  }),
4273
- children: jsxs(Box, {
4596
+ children: /*#__PURE__*/jsxs(Box, {
4274
4597
  sx: {
4275
4598
  display: 'flex',
4276
4599
  justifyContent: 'space-between',
4277
4600
  width: '100%'
4278
4601
  },
4279
- children: [jsxs(Box, {
4602
+ children: [/*#__PURE__*/jsxs(Box, {
4280
4603
  sx: {
4281
4604
  width: '100%',
4282
4605
  display: 'flex',
4283
4606
  justifyContent: 'space-between'
4284
4607
  },
4285
- children: [jsx(Box, {
4608
+ children: [/*#__PURE__*/jsx(Box, {
4286
4609
  sx: {
4287
4610
  display: 'flex',
4288
4611
  justifyContent: 'flex-start'
4289
4612
  },
4290
4613
  children: title
4291
- }), jsx(Box, {
4614
+ }), /*#__PURE__*/jsx(Box, {
4292
4615
  sx: {
4293
4616
  display: 'flex',
4294
4617
  justifyContent: 'flex-end',
@@ -4296,7 +4619,7 @@ var CustomAccordion = function CustomAccordion(_ref) {
4296
4619
  },
4297
4620
  children: title2
4298
4621
  })]
4299
- }), jsx(Box, {
4622
+ }), /*#__PURE__*/jsx(Box, {
4300
4623
  sx: {
4301
4624
  display: 'flex',
4302
4625
  justifyContent: 'flex-end',
@@ -4305,13 +4628,31 @@ var CustomAccordion = function CustomAccordion(_ref) {
4305
4628
  children: amountOfItems
4306
4629
  })]
4307
4630
  })
4308
- }), jsx(AccordionDetails, {
4631
+ }), /*#__PURE__*/jsx(AccordionDetails, {
4309
4632
  sx: detailsSx,
4310
4633
  children: children
4311
4634
  })]
4312
4635
  }));
4313
4636
  };
4314
4637
 
4638
+ /* *
4639
+ * Licensed under the Apache License, Version 2.0 (the "License");
4640
+ * you may not use this file except in compliance with the License.
4641
+ * You may obtain a copy of the License at
4642
+ *
4643
+ * http://www.apache.org/licenses/LICENSE-2.0
4644
+ *
4645
+ * Unless required by applicable law or agreed to in writing, software
4646
+ * distributed under the License is distributed on an "AS IS" BASIS,
4647
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4648
+ * See the License for the specific language governing permissions and
4649
+ * limitations under the License.
4650
+ *
4651
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4652
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
4653
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4654
+ * */
4655
+
4315
4656
  var highlightStyle = {
4316
4657
  background: '#ffeecc'
4317
4658
  };
@@ -4320,7 +4661,7 @@ var SearchHighlight = function SearchHighlight(_ref) {
4320
4661
  text = _ref$text === void 0 ? '' : _ref$text,
4321
4662
  search = _ref.search;
4322
4663
  if (search === '') {
4323
- return jsx("span", {
4664
+ return /*#__PURE__*/jsx("span", {
4324
4665
  children: text
4325
4666
  });
4326
4667
  }
@@ -4331,19 +4672,19 @@ var SearchHighlight = function SearchHighlight(_ref) {
4331
4672
  return escapeRegExp(word);
4332
4673
  }).join('|');
4333
4674
  var textParts = text.split(new RegExp("(" + searchRegex + ")", 'gi'));
4334
- return jsx(Fragment, {
4675
+ return /*#__PURE__*/jsx(Fragment, {
4335
4676
  children: textParts.map(function (part, index) {
4336
4677
  var key = part + "-" + index;
4337
4678
  if (searchWords.some(function (search) {
4338
4679
  return part.toLocaleLowerCase().includes(search);
4339
4680
  })) {
4340
- return jsx("mark", {
4681
+ return /*#__PURE__*/jsx("mark", {
4341
4682
  "data-testid": "mark",
4342
4683
  style: highlightStyle,
4343
4684
  children: part
4344
4685
  }, key);
4345
4686
  }
4346
- return jsx("span", {
4687
+ return /*#__PURE__*/jsx("span", {
4347
4688
  children: part
4348
4689
  }, key);
4349
4690
  })
@@ -4367,17 +4708,17 @@ var SwitchButton = function SwitchButton(_ref) {
4367
4708
  _ref$tooltip = _ref.tooltip,
4368
4709
  tooltip = _ref$tooltip === void 0 ? 'Switch mode' : _ref$tooltip,
4369
4710
  props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
4370
- return jsx(CustomTooltip, {
4711
+ return /*#__PURE__*/jsx(CustomTooltip, {
4371
4712
  className: "switch-button",
4372
4713
  title: tooltip,
4373
- children: jsxs("span", {
4714
+ children: /*#__PURE__*/jsxs("span", {
4374
4715
  role: "button",
4375
- children: [jsx(FormLabel, {
4716
+ children: [/*#__PURE__*/jsx(FormLabel, {
4376
4717
  sx: styles.label,
4377
4718
  children: inActiveLabel
4378
- }), jsx(Switch, Object.assign({
4719
+ }), /*#__PURE__*/jsx(Switch, Object.assign({
4379
4720
  "data-testid": "switchMode"
4380
- }, props)), jsx(FormLabel, {
4721
+ }, props)), /*#__PURE__*/jsx(FormLabel, {
4381
4722
  sx: styles.label,
4382
4723
  children: activeLabel
4383
4724
  })]
@@ -4385,6 +4726,24 @@ var SwitchButton = function SwitchButton(_ref) {
4385
4726
  });
4386
4727
  };
4387
4728
 
4729
+ /* *
4730
+ * Licensed under the Apache License, Version 2.0 (the "License");
4731
+ * you may not use this file except in compliance with the License.
4732
+ * You may obtain a copy of the License at
4733
+ *
4734
+ * http://www.apache.org/licenses/LICENSE-2.0
4735
+ *
4736
+ * Unless required by applicable law or agreed to in writing, software
4737
+ * distributed under the License is distributed on an "AS IS" BASIS,
4738
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4739
+ * See the License for the specific language governing permissions and
4740
+ * limitations under the License.
4741
+ *
4742
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4743
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
4744
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4745
+ * */
4746
+
4388
4747
  var isURL = function isURL(string) {
4389
4748
  return /^https?:\/\//.test(string);
4390
4749
  };
@@ -4392,11 +4751,11 @@ var ClearButton$1 = function ClearButton(_ref) {
4392
4751
  var onClick = _ref.onClick;
4393
4752
  var _useSharedTranslation = useSharedTranslation(),
4394
4753
  t = _useSharedTranslation.t;
4395
- return jsx(CustomIconButton, {
4754
+ return /*#__PURE__*/jsx(CustomIconButton, {
4396
4755
  onClick: onClick,
4397
4756
  sx: buttonStyle,
4398
4757
  tooltipTitle: t('shared-clear'),
4399
- children: jsx(Clear, {})
4758
+ children: /*#__PURE__*/jsx(Clear, {})
4400
4759
  });
4401
4760
  };
4402
4761
  var buttonStyle = {
@@ -4413,17 +4772,17 @@ var SearchFieldButton = function SearchFieldButton(_ref2) {
4413
4772
  var _useSharedTranslation2 = useSharedTranslation(),
4414
4773
  t = _useSharedTranslation2.t;
4415
4774
  if (isURL(localSearchString) && setPopupIsOpen) {
4416
- return jsxs(Fragment, {
4417
- children: [jsx("div", {
4775
+ return /*#__PURE__*/jsxs(Fragment, {
4776
+ children: [/*#__PURE__*/jsx("div", {
4418
4777
  style: {
4419
4778
  marginRight: '15px'
4420
4779
  },
4421
- children: jsx(ClearButton$1, {
4780
+ children: /*#__PURE__*/jsx(ClearButton$1, {
4422
4781
  onClick: function onClick() {
4423
4782
  return onClickClear();
4424
4783
  }
4425
4784
  })
4426
- }), jsx(Button, {
4785
+ }), /*#__PURE__*/jsx(Button, {
4427
4786
  onClick: function onClick() {
4428
4787
  return setPopupIsOpen(true);
4429
4788
  },
@@ -4433,19 +4792,37 @@ var SearchFieldButton = function SearchFieldButton(_ref2) {
4433
4792
  });
4434
4793
  }
4435
4794
  if (localSearchString) {
4436
- return jsx(ClearButton$1, {
4795
+ return /*#__PURE__*/jsx(ClearButton$1, {
4437
4796
  onClick: function onClick() {
4438
4797
  return onClickClear();
4439
4798
  }
4440
4799
  });
4441
4800
  }
4442
- return jsx(CustomIconButton, {
4801
+ return /*#__PURE__*/jsx(CustomIconButton, {
4443
4802
  sx: buttonStyle,
4444
4803
  tooltipTitle: t('shared-search'),
4445
- children: jsx(Search, {})
4804
+ children: /*#__PURE__*/jsx(Search, {})
4446
4805
  });
4447
4806
  };
4448
4807
 
4808
+ /* *
4809
+ * Licensed under the Apache License, Version 2.0 (the "License");
4810
+ * you may not use this file except in compliance with the License.
4811
+ * You may obtain a copy of the License at
4812
+ *
4813
+ * http://www.apache.org/licenses/LICENSE-2.0
4814
+ *
4815
+ * Unless required by applicable law or agreed to in writing, software
4816
+ * distributed under the License is distributed on an "AS IS" BASIS,
4817
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4818
+ * See the License for the specific language governing permissions and
4819
+ * limitations under the License.
4820
+ *
4821
+ * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4822
+ * Copyright 2021 - Finnish Meteorological Institute (FMI)
4823
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4824
+ * */
4825
+
4449
4826
  var stylesSmall = {
4450
4827
  '.MuiInputLabel-root': {
4451
4828
  lineHeight: '16px',
@@ -4482,6 +4859,7 @@ var SearchField$1 = function SearchField(_ref) {
4482
4859
  var _useTranslation = useTranslation(SHARED_NAMESPACE),
4483
4860
  t = _useTranslation.t;
4484
4861
  var translatedLabel = label != null ? label : onOpenServicePopup ? t('shared-search-services') : t('shared-search');
4862
+
4485
4863
  // eslint-disable-next-line react-hooks/exhaustive-deps
4486
4864
  var setSearchFilterDebounced = React.useCallback(debounce(setSearchFilter, 300), []);
4487
4865
  var handleChange = function handleChange(text) {
@@ -4512,6 +4890,7 @@ var SearchField$1 = function SearchField(_ref) {
4512
4890
  document.removeEventListener('keydown', keyDownHandler);
4513
4891
  };
4514
4892
  }, [urlIsValid, localSearchString, onOpenServicePopup]);
4893
+
4515
4894
  // mirror store unless typing a URL
4516
4895
  React.useEffect(function () {
4517
4896
  if (isURL(localSearchString)) {
@@ -4520,7 +4899,7 @@ var SearchField$1 = function SearchField(_ref) {
4520
4899
  setLocalSearchString(searchFilter);
4521
4900
  // eslint-disable-next-line react-hooks/exhaustive-deps
4522
4901
  }, [searchFilter]);
4523
- return jsx(TextField, {
4902
+ return /*#__PURE__*/jsx(TextField, {
4524
4903
  autoFocus: true,
4525
4904
  fullWidth: true,
4526
4905
  label: translatedLabel,
@@ -4529,9 +4908,9 @@ var SearchField$1 = function SearchField(_ref) {
4529
4908
  },
4530
4909
  slotProps: {
4531
4910
  input: {
4532
- endAdornment: jsx(InputAdornment, {
4911
+ endAdornment: /*#__PURE__*/jsx(InputAdornment, {
4533
4912
  position: "end",
4534
- children: jsx(SearchFieldButton, {
4913
+ children: /*#__PURE__*/jsx(SearchFieldButton, {
4535
4914
  localSearchString: localSearchString,
4536
4915
  onClickClear: function onClickClear() {
4537
4916
  setLocalSearchString('');
@@ -4552,6 +4931,24 @@ var SearchField$1 = function SearchField(_ref) {
4552
4931
  });
4553
4932
  };
4554
4933
 
4934
+ /* *
4935
+ * Licensed under the Apache License, Version 2.0 (the "License");
4936
+ * you may not use this file except in compliance with the License.
4937
+ * You may obtain a copy of the License at
4938
+ *
4939
+ * http://www.apache.org/licenses/LICENSE-2.0
4940
+ *
4941
+ * Unless required by applicable law or agreed to in writing, software
4942
+ * distributed under the License is distributed on an "AS IS" BASIS,
4943
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4944
+ * See the License for the specific language governing permissions and
4945
+ * limitations under the License.
4946
+ *
4947
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4948
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
4949
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4950
+ * */
4951
+
4555
4952
  var getLastUpdateTitle = function getLastUpdateTitle(time, t) {
4556
4953
  return t('shared-last-updated', {
4557
4954
  time: time
@@ -4569,14 +4966,14 @@ var LastUpdateTime = function LastUpdateTime(_ref) {
4569
4966
  iconButtonSx = _ref.iconButtonSx;
4570
4967
  var _useTranslation = useTranslation(SHARED_NAMESPACE),
4571
4968
  t = _useTranslation.t;
4572
- return jsxs(Box, {
4969
+ return /*#__PURE__*/jsxs(Box, {
4573
4970
  sx: {
4574
4971
  display: 'flex',
4575
4972
  alignItems: 'center',
4576
4973
  height: '100%',
4577
4974
  justifyContent: 'flex-end'
4578
4975
  },
4579
- children: [!hideLabel && jsx(Typography, {
4976
+ children: [!hideLabel && /*#__PURE__*/jsx(Typography, {
4580
4977
  "data-testid": dataTestId,
4581
4978
  sx: {
4582
4979
  color: 'geowebColors.captions.captionStatus.rgba',
@@ -4585,7 +4982,7 @@ var LastUpdateTime = function LastUpdateTime(_ref) {
4585
4982
  letterSpacing: '0.33px'
4586
4983
  },
4587
4984
  children: getLastUpdateTitle(lastUpdateTime, t)
4588
- }), showRefreshButton ? jsx(CustomIconButton, {
4985
+ }), showRefreshButton ? /*#__PURE__*/jsx(CustomIconButton, {
4589
4986
  "data-testid": "refresh-button",
4590
4987
  onClick: onPressRefresh,
4591
4988
  sx: [{
@@ -4597,7 +4994,7 @@ var LastUpdateTime = function LastUpdateTime(_ref) {
4597
4994
  }, iconButtonSx],
4598
4995
  tooltipTitle: t('shared-click-to-refresh'),
4599
4996
  variant: "tool",
4600
- children: jsx(Cached, {})
4997
+ children: /*#__PURE__*/jsx(Cached, {})
4601
4998
  }) : null]
4602
4999
  });
4603
5000
  };
@@ -4616,6 +5013,7 @@ var CanvasComponent = /*#__PURE__*/function (_Component) {
4616
5013
  _this.redrawTimer = null;
4617
5014
  _this.loopHasStarted = false;
4618
5015
  _this.mounted = false;
5016
+ _this._isFocussed = void 0;
4619
5017
  _this.updateCanvas = _this.updateCanvas.bind(_this);
4620
5018
  _this.handleMouseMoveEvent = _this.handleMouseMoveEvent.bind(_this);
4621
5019
  _this.handleMouseUpEvent = _this.handleMouseUpEvent.bind(_this);
@@ -4735,12 +5133,13 @@ var CanvasComponent = /*#__PURE__*/function (_Component) {
4735
5133
  onTouchEnd();
4736
5134
  };
4737
5135
  _proto.handleTouchMoveEvent = function handleTouchMoveEvent(event) {
4738
- var _event$touches, _touch$target, _target$offsetLeft;
5136
+ var _event$touches, _ref, _target$offsetLeft;
4739
5137
  var _this$props3 = this.props,
4740
5138
  onTouchMove = _this$props3.onTouchMove,
4741
5139
  onCanvasClick = _this$props3.onCanvasClick;
4742
5140
  var touch = (_event$touches = event.touches) == null ? void 0 : _event$touches[0];
4743
- var target = (_touch$target = touch == null ? void 0 : touch.target) != null ? _touch$target : null;
5141
+ var target = (_ref = touch == null ? void 0 : touch.target) != null ? _ref : null;
5142
+
4744
5143
  // Use ?? so 0 is allowed, and optional chaining for safety
4745
5144
  var x = touch ? touch.clientX - ((_target$offsetLeft = target == null ? void 0 : target.offsetLeft) != null ? _target$offsetLeft : 0) : undefined;
4746
5145
  var y = touch == null ? void 0 : touch.clientY;
@@ -4855,7 +5254,7 @@ var CanvasComponent = /*#__PURE__*/function (_Component) {
4855
5254
  var _this4 = this;
4856
5255
  this.updateCanvas();
4857
5256
  this._handleWindowResize();
4858
- return jsx("div", {
5257
+ return /*#__PURE__*/jsx("div", {
4859
5258
  onBlur: this.onBlur,
4860
5259
  onFocus: this.onFocus,
4861
5260
  ref: this.canvascontaineroutside,
@@ -4868,7 +5267,7 @@ var CanvasComponent = /*#__PURE__*/function (_Component) {
4868
5267
  overflow: 'hidden'
4869
5268
  },
4870
5269
  tabIndex: 0,
4871
- children: jsx("div", {
5270
+ children: /*#__PURE__*/jsx("div", {
4872
5271
  "data-testid": "canvas-container",
4873
5272
  ref: this.canvascontainer,
4874
5273
  style: {
@@ -4880,7 +5279,7 @@ var CanvasComponent = /*#__PURE__*/function (_Component) {
4880
5279
  display: 'block',
4881
5280
  border: 'none'
4882
5281
  },
4883
- children: jsx("div", {
5282
+ children: /*#__PURE__*/jsx("div", {
4884
5283
  "aria-label": "canvas",
4885
5284
  role: "presentation",
4886
5285
  style: {
@@ -4888,7 +5287,7 @@ var CanvasComponent = /*#__PURE__*/function (_Component) {
4888
5287
  width: 0,
4889
5288
  height: 0
4890
5289
  },
4891
- children: jsx("canvas", {
5290
+ children: /*#__PURE__*/jsx("canvas", {
4892
5291
  "data-testid": "canvas",
4893
5292
  ref: function ref(canvas) {
4894
5293
  _this4.canvas = canvas;
@@ -4930,6 +5329,24 @@ CanvasComponent.defaultProps = {
4930
5329
  }
4931
5330
  };
4932
5331
 
5332
+ /* *
5333
+ * Licensed under the Apache License, Version 2.0 (the "License");
5334
+ * you may not use this file except in compliance with the License.
5335
+ * You may obtain a copy of the License at
5336
+ *
5337
+ * http://www.apache.org/licenses/LICENSE-2.0
5338
+ *
5339
+ * Unless required by applicable law or agreed to in writing, software
5340
+ * distributed under the License is distributed on an "AS IS" BASIS,
5341
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5342
+ * See the License for the specific language governing permissions and
5343
+ * limitations under the License.
5344
+ *
5345
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5346
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
5347
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
5348
+ * */
5349
+
4933
5350
  var FilterChip = function FilterChip(_ref) {
4934
5351
  var label = _ref.label,
4935
5352
  id = _ref.id,
@@ -4952,7 +5369,7 @@ var FilterChip = function FilterChip(_ref) {
4952
5369
  var clickIconHandler = function clickIconHandler(event) {
4953
5370
  return onClickIcon == null ? void 0 : onClickIcon(chipRef.current, event);
4954
5371
  };
4955
- return jsx(Chip, {
5372
+ return /*#__PURE__*/jsx(Chip, {
4956
5373
  color: isSelected ? 'secondary' : 'default',
4957
5374
  deleteIcon: actionIcon,
4958
5375
  disabled: isDisabled,
@@ -4979,10 +5396,28 @@ var FilterChip = function FilterChip(_ref) {
4979
5396
  borderColor: 'transparent'
4980
5397
  }
4981
5398
  },
4982
- variant: isSelected ? 'filled' : 'outlined'
5399
+ variant: isSelected ? 'filled' : 'outlined' // Chip does not have a selected state so theme class cannot be used for styling
4983
5400
  });
4984
5401
  };
4985
5402
 
5403
+ /* *
5404
+ * Licensed under the Apache License, Version 2.0 (the "License");
5405
+ * you may not use this file except in compliance with the License.
5406
+ * You may obtain a copy of the License at
5407
+ *
5408
+ * http://www.apache.org/licenses/LICENSE-2.0
5409
+ *
5410
+ * Unless required by applicable law or agreed to in writing, software
5411
+ * distributed under the License is distributed on an "AS IS" BASIS,
5412
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5413
+ * See the License for the specific language governing permissions and
5414
+ * limitations under the License.
5415
+ *
5416
+ * Copyright 2025 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5417
+ * Copyright 2025 - Finnish Meteorological Institute (FMI)
5418
+ * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
5419
+ * */
5420
+
4986
5421
  var FilterToggleButton = function FilterToggleButton(_ref) {
4987
5422
  var _t, _t2;
4988
5423
  var isOpen = _ref.isOpen,
@@ -4991,9 +5426,9 @@ var FilterToggleButton = function FilterToggleButton(_ref) {
4991
5426
  var _useSharedTranslation = useSharedTranslation(),
4992
5427
  t = _useSharedTranslation.t;
4993
5428
  var tooltipTitle = isOpen ? (_t = t('shared-filter-hide-labels')) != null ? _t : '' : (_t2 = t('shared-filter-show-labels')) != null ? _t2 : '';
4994
- return jsx(Tooltip, {
5429
+ return /*#__PURE__*/jsx(Tooltip, {
4995
5430
  title: tooltipTitle,
4996
- children: jsxs(CustomIconButton, {
5431
+ children: /*#__PURE__*/jsxs(CustomIconButton, {
4997
5432
  "aria-pressed": isOpen,
4998
5433
  "data-testid": "workspace-label-filter-toggle",
4999
5434
  id: "labels-filter",
@@ -5007,7 +5442,7 @@ var FilterToggleButton = function FilterToggleButton(_ref) {
5007
5442
  alignItems: 'center'
5008
5443
  },
5009
5444
  variant: "tool",
5010
- children: [jsx(Filter$1, {}), activeLabelFilterCount > 0 && jsx(Typography, {
5445
+ children: [/*#__PURE__*/jsx(Filter$1, {}), activeLabelFilterCount > 0 && /*#__PURE__*/jsx(Typography, {
5011
5446
  component: "span",
5012
5447
  sx: {
5013
5448
  fontSize: '13px',
@@ -5019,6 +5454,24 @@ var FilterToggleButton = function FilterToggleButton(_ref) {
5019
5454
  });
5020
5455
  };
5021
5456
 
5457
+ /* *
5458
+ * Licensed under the Apache License, Version 2.0 (the "License");
5459
+ * you may not use this file except in compliance with the License.
5460
+ * You may obtain a copy of the License at
5461
+ *
5462
+ * http://www.apache.org/licenses/LICENSE-2.0
5463
+ *
5464
+ * Unless required by applicable law or agreed to in writing, software
5465
+ * distributed under the License is distributed on an "AS IS" BASIS,
5466
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5467
+ * See the License for the specific language governing permissions and
5468
+ * limitations under the License.
5469
+ *
5470
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5471
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
5472
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
5473
+ * */
5474
+
5022
5475
  var FilterList = function FilterList(_ref) {
5023
5476
  var _ref$filters = _ref.filters,
5024
5477
  filters = _ref$filters === void 0 ? [] : _ref$filters,
@@ -5035,7 +5488,7 @@ var FilterList = function FilterList(_ref) {
5035
5488
  activeLabelFilterCount = _ref$activeLabelFilte === void 0 ? 0 : _ref$activeLabelFilte;
5036
5489
  var _useSharedTranslation = useSharedTranslation(),
5037
5490
  t = _useSharedTranslation.t;
5038
- return jsxs(Stack, {
5491
+ return /*#__PURE__*/jsxs(Stack, {
5039
5492
  className: "filter-list",
5040
5493
  "data-testid": "filterList",
5041
5494
  direction: "row",
@@ -5045,11 +5498,11 @@ var FilterList = function FilterList(_ref) {
5045
5498
  rowGap: 1,
5046
5499
  alignItems: 'center'
5047
5500
  },
5048
- children: [showLabelFilterToggle && onToggleLabelFilter ? jsx(FilterToggleButton, {
5501
+ children: [showLabelFilterToggle && onToggleLabelFilter ? /*#__PURE__*/jsx(FilterToggleButton, {
5049
5502
  activeLabelFilterCount: activeLabelFilterCount,
5050
5503
  isOpen: isLabelFilterOpen,
5051
5504
  onToggle: onToggleLabelFilter
5052
- }) : null, jsx(FilterChip, {
5505
+ }) : null, /*#__PURE__*/jsx(FilterChip, {
5053
5506
  handleClick: function handleClick(key) {
5054
5507
  return onChipClick(key, !isAllSelected);
5055
5508
  },
@@ -5057,7 +5510,7 @@ var FilterList = function FilterList(_ref) {
5057
5510
  isSelected: isAllSelected,
5058
5511
  label: t('shared-filter-all')
5059
5512
  }), filters.map(function (filter) {
5060
- return jsx(FilterChip, {
5513
+ return /*#__PURE__*/jsx(FilterChip, {
5061
5514
  handleClick: function handleClick(key) {
5062
5515
  // If they are all isSelected ensure that if one is clicked that one will be the only one set to selected
5063
5516
  var selected = isAllSelected ? true : !filter.isSelected;
@@ -5072,24 +5525,42 @@ var FilterList = function FilterList(_ref) {
5072
5525
  });
5073
5526
  };
5074
5527
 
5528
+ /* *
5529
+ * Licensed under the Apache License, Version 2.0 (the "License");
5530
+ * you may not use this file except in compliance with the License.
5531
+ * You may obtain a copy of the License at
5532
+ *
5533
+ * http://www.apache.org/licenses/LICENSE-2.0
5534
+ *
5535
+ * Unless required by applicable law or agreed to in writing, software
5536
+ * distributed under the License is distributed on an "AS IS" BASIS,
5537
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5538
+ * See the License for the specific language governing permissions and
5539
+ * limitations under the License.
5540
+ *
5541
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5542
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
5543
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
5544
+ * */
5545
+
5075
5546
  var DEBOUNCE_TIMEOUT = 300;
5076
5547
  var SearchButton = function SearchButton(_ref) {
5077
5548
  var label = _ref.label;
5078
- return jsx(CustomIconButton, {
5549
+ return /*#__PURE__*/jsx(CustomIconButton, {
5079
5550
  edge: "end",
5080
5551
  size: "large",
5081
5552
  tooltipTitle: label,
5082
- children: jsx(Search, {})
5553
+ children: /*#__PURE__*/jsx(Search, {})
5083
5554
  });
5084
5555
  };
5085
5556
  var ClearButton = function ClearButton(_ref2) {
5086
5557
  var onClick = _ref2.onClick;
5087
- return jsx(CustomIconButton, {
5558
+ return /*#__PURE__*/jsx(CustomIconButton, {
5088
5559
  edge: "end",
5089
5560
  onClick: onClick,
5090
5561
  size: "large",
5091
5562
  tooltipTitle: "Clear",
5092
- children: jsx(Clear, {})
5563
+ children: /*#__PURE__*/jsx(Clear, {})
5093
5564
  });
5094
5565
  };
5095
5566
  var SearchField = function SearchField(_ref3) {
@@ -5102,9 +5573,10 @@ var SearchField = function SearchField(_ref3) {
5102
5573
  var _useSharedTranslation = useSharedTranslation(),
5103
5574
  t = _useSharedTranslation.t;
5104
5575
  var label = t('shared-filter-search');
5576
+
5105
5577
  // eslint-disable-next-line react-hooks/exhaustive-deps
5106
5578
  var handleValueChangeDebounced = React.useCallback(debounce$1(valueChanged, DEBOUNCE_TIMEOUT), []);
5107
- return jsx(TextField, {
5579
+ return /*#__PURE__*/jsx(TextField, {
5108
5580
  autoFocus: true,
5109
5581
  fullWidth: true,
5110
5582
  label: label,
@@ -5115,14 +5587,14 @@ var SearchField = function SearchField(_ref3) {
5115
5587
  size: "small",
5116
5588
  slotProps: {
5117
5589
  input: {
5118
- endAdornment: jsx(InputAdornment, {
5590
+ endAdornment: /*#__PURE__*/jsx(InputAdornment, {
5119
5591
  position: "end",
5120
- children: localValue ? jsx(ClearButton, {
5592
+ children: localValue ? /*#__PURE__*/jsx(ClearButton, {
5121
5593
  onClick: function onClick() {
5122
5594
  setLocalValue('');
5123
5595
  valueChanged('');
5124
5596
  }
5125
- }) : jsx(SearchButton, {
5597
+ }) : /*#__PURE__*/jsx(SearchButton, {
5126
5598
  label: label
5127
5599
  })
5128
5600
  })
@@ -5157,18 +5629,18 @@ var Filter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5157
5629
  _ref$showSearchField = _ref.showSearchField,
5158
5630
  showSearchField = _ref$showSearchField === void 0 ? true : _ref$showSearchField,
5159
5631
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
5160
- return jsx(Box, {
5632
+ return /*#__PURE__*/jsx(Box, {
5161
5633
  ref: ref,
5162
5634
  sx: Object.assign({
5163
5635
  marginBottom: '8px',
5164
5636
  width: '100%'
5165
5637
  }, Array.isArray(props.sx) ? Object.assign.apply(Object, [{}].concat(props.sx)) : props.sx),
5166
- children: jsxs(Stack, {
5638
+ children: /*#__PURE__*/jsxs(Stack, {
5167
5639
  spacing: 1,
5168
- children: [showSearchField ? jsx(SearchField, {
5640
+ children: [showSearchField ? /*#__PURE__*/jsx(SearchField, {
5169
5641
  value: searchQuery,
5170
5642
  valueChanged: onSearch
5171
- }) : null, jsx(FilterList, {
5643
+ }) : null, /*#__PURE__*/jsx(FilterList, {
5172
5644
  activeLabelFilterCount: activeLabelFilterCount,
5173
5645
  filters: filters,
5174
5646
  isAllSelected: isAllSelected,
@@ -5181,6 +5653,23 @@ var Filter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
5181
5653
  });
5182
5654
  });
5183
5655
 
5656
+ /* *
5657
+ * Licensed under the Apache License, Version 2.0 (the "License");
5658
+ * you may not use this file except in compliance with the License.
5659
+ * You may obtain a copy of the License at
5660
+ *
5661
+ * http://www.apache.org/licenses/LICENSE-2.0
5662
+ *
5663
+ * Unless required by applicable law or agreed to in writing, software
5664
+ * distributed under the License is distributed on an "AS IS" BASIS,
5665
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5666
+ * See the License for the specific language governing permissions and
5667
+ * limitations under the License.
5668
+ *
5669
+ * Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
5670
+ * Copyright 2024 - Finnish Meteorological Institute (FMI)
5671
+ * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
5672
+ * */
5184
5673
  var FilterOption = function FilterOption(_ref) {
5185
5674
  var optionId = _ref.optionId,
5186
5675
  checked = _ref.checked,
@@ -5195,10 +5684,10 @@ var FilterOption = function FilterOption(_ref) {
5195
5684
  var updateShowOnly = debounce(function (show) {
5196
5685
  return setShowOnly(show);
5197
5686
  }, 100);
5198
- return jsx(ListItem, {
5687
+ return /*#__PURE__*/jsx(ListItem, {
5199
5688
  dense: true,
5200
5689
  disablePadding: true,
5201
- secondaryAction: showOnly ? jsx(CustomIconButton, {
5690
+ secondaryAction: showOnly ? /*#__PURE__*/jsx(CustomIconButton, {
5202
5691
  "aria-label": "Only " + label,
5203
5692
  edge: "end",
5204
5693
  onClick: function onClick() {
@@ -5214,7 +5703,7 @@ var FilterOption = function FilterOption(_ref) {
5214
5703
  backgroundColor: 'transparent',
5215
5704
  width: 'auto'
5216
5705
  },
5217
- children: jsx(Typography, {
5706
+ children: /*#__PURE__*/jsx(Typography, {
5218
5707
  sx: {
5219
5708
  color: 'geowebColors.buttons.primary.default.fill',
5220
5709
  fontSize: '14px',
@@ -5230,7 +5719,7 @@ var FilterOption = function FilterOption(_ref) {
5230
5719
  marginLeft: '-12px',
5231
5720
  fontSize: '12px'
5232
5721
  },
5233
- children: jsxs(ListItemButton, {
5722
+ children: /*#__PURE__*/jsxs(ListItemButton, {
5234
5723
  dense: true,
5235
5724
  disableGutters: true,
5236
5725
  onClick: function onClick() {
@@ -5246,11 +5735,11 @@ var FilterOption = function FilterOption(_ref) {
5246
5735
  sx: {
5247
5736
  padding: 0
5248
5737
  },
5249
- children: [jsx(ListItemIcon, {
5738
+ children: [/*#__PURE__*/jsx(ListItemIcon, {
5250
5739
  sx: {
5251
5740
  width: '42px'
5252
5741
  },
5253
- children: jsx(Checkbox, {
5742
+ children: /*#__PURE__*/jsx(Checkbox, {
5254
5743
  checked: checked,
5255
5744
  disableRipple: true,
5256
5745
  name: optionId,
@@ -5262,9 +5751,9 @@ var FilterOption = function FilterOption(_ref) {
5262
5751
  },
5263
5752
  tabIndex: -1
5264
5753
  })
5265
- }), jsx(ListItemText, {
5754
+ }), /*#__PURE__*/jsx(ListItemText, {
5266
5755
  id: optionId,
5267
- primary: jsx(Box, {
5756
+ primary: /*#__PURE__*/jsx(Box, {
5268
5757
  sx: labelStyle,
5269
5758
  children: label
5270
5759
  })
@@ -5281,7 +5770,7 @@ var StorybookDocsWrapper = function StorybookDocsWrapper(_ref) {
5281
5770
  _ref$sx = _ref.sx,
5282
5771
  sx = _ref$sx === void 0 ? [] : _ref$sx,
5283
5772
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
5284
- return jsx(Box, Object.assign({
5773
+ return /*#__PURE__*/jsx(Box, Object.assign({
5285
5774
  sx: [].concat(isDark ? [{
5286
5775
  backgroundColor: 'geowebColors.background.surfaceBrowser'
5287
5776
  }] : [], Array.isArray(sx) ? sx : [sx])
@@ -5307,7 +5796,9 @@ var StorybookDocsWrapper = function StorybookDocsWrapper(_ref) {
5307
5796
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
5308
5797
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
5309
5798
  * */
5799
+
5310
5800
  var DEFAULT_ERROR_MESSAGE = 'An error has occurred';
5801
+
5311
5802
  // Guard function for detecting an AxiosError (typically the kind of error returned by the backend)
5312
5803
  var isAxiosError = function isAxiosError(error) {
5313
5804
  return error.isAxiosError !== undefined;
@@ -5332,11 +5823,13 @@ var isAuthError = function isAuthError(error) {
5332
5823
  return isAuthStatusCode(cause);
5333
5824
  }
5334
5825
  if (cause && typeof cause === 'object') {
5335
- var status = cause.status;
5826
+ var _ref = cause,
5827
+ status = _ref.status;
5336
5828
  if (typeof status === 'number' && isAuthStatusCode(status)) {
5337
5829
  return true;
5338
5830
  }
5339
- var statusCode = cause.statusCode;
5831
+ var _ref2 = cause,
5832
+ statusCode = _ref2.statusCode;
5340
5833
  if (typeof statusCode === 'number' && isAuthStatusCode(statusCode)) {
5341
5834
  return true;
5342
5835
  }
@@ -5425,7 +5918,7 @@ var DATE_FORMAT_NAME_OF_DAY = 'eee dd/MM/yyyy HH:mm';
5425
5918
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
5426
5919
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
5427
5920
  * */
5428
- // eslint-disable-next-line no-restricted-imports
5921
+
5429
5922
  var getDateFnsLocale = function getDateFnsLocale(locale) {
5430
5923
  if (locale === 'fi') {
5431
5924
  return fi$1;
@@ -5438,6 +5931,7 @@ var getDateFnsLocale = function getDateFnsLocale(locale) {
5438
5931
  }
5439
5932
  return enGB;
5440
5933
  };
5934
+
5441
5935
  /**
5442
5936
  * Parsing date strings with geoweb dateUtils:
5443
5937
  *
@@ -5480,6 +5974,7 @@ var getDateFnsLocale = function getDateFnsLocale(locale) {
5480
5974
  * dateToString(new Date('2022-10-10T15:30:00Z'), 'HH:ss dd MMM yyyy')
5481
5975
  *
5482
5976
  */
5977
+
5483
5978
  /**
5484
5979
  * Parse an ISO string to a date
5485
5980
  *
@@ -5513,6 +6008,7 @@ var isValidIsoDateString = function isValidIsoDateString(input) {
5513
6008
  }
5514
6009
  return isoStringToDate(input) !== undefined;
5515
6010
  };
6011
+
5516
6012
  /**
5517
6013
  * Parse a string to a date
5518
6014
  *
@@ -5553,6 +6049,7 @@ var dateToIsoString = function dateToIsoString(input) {
5553
6049
  }
5554
6050
  return input.toISOString();
5555
6051
  };
6052
+
5556
6053
  /**
5557
6054
  * Use this if you initialise a date without a timezone to set it to utc correctly
5558
6055
  * eg.
@@ -5576,6 +6073,7 @@ var setUTCDate = function setUTCDate(inDate) {
5576
6073
  utcDate.setUTCHours(inDate.getHours(), inDate.getMinutes(), inDate.getSeconds(), inDate.getMilliseconds());
5577
6074
  return utcDate;
5578
6075
  };
6076
+
5579
6077
  /**
5580
6078
  * Format a date to a string
5581
6079
  *
@@ -5605,6 +6103,7 @@ var dateToString = function dateToString(inDate, strFormat, utc, locale) {
5605
6103
  });
5606
6104
  return formattedDate;
5607
6105
  };
6106
+
5608
6107
  /**
5609
6108
  * Find out if a date is between two other dates.
5610
6109
  *
@@ -5630,6 +6129,7 @@ var isBetween = function isBetween(date, from, to, inclusivity) {
5630
6129
  var isAfterEqual = inclusivity[1] === ']';
5631
6130
  return (isBeforeEqual ? isEqual$1(from, date) || isBefore(from, date) : isBefore(from, date)) && (isAfterEqual ? isEqual$1(to, date) || isAfter(to, date) : isAfter(to, date));
5632
6131
  };
6132
+
5633
6133
  /**
5634
6134
  * Creates a new Date object with the specified date and time, or the current date and time if no arguments are provided.
5635
6135
  *
@@ -5650,6 +6150,7 @@ var isBetween = function isBetween(date, from, to, inclusivity) {
5650
6150
  * createDate('2022-12-13T00:00:00.000Z');
5651
6151
  * // => 2022-12-13T00:00:00.000Z
5652
6152
  */
6153
+
5653
6154
  var createDate = function createDate(yearOrIsoString, month, day, hours, minutes, seconds, milliseconds) {
5654
6155
  if (hours === void 0) {
5655
6156
  hours = 0;
@@ -5671,6 +6172,7 @@ var createDate = function createDate(yearOrIsoString, month, day, hours, minutes
5671
6172
  }
5672
6173
  return new Date(yearOrIsoString, month, day, hours, minutes, seconds, milliseconds);
5673
6174
  };
6175
+
5674
6176
  /**
5675
6177
  *
5676
6178
  * @param date
@@ -5680,6 +6182,7 @@ var createDate = function createDate(yearOrIsoString, month, day, hours, minutes
5680
6182
  var add = function add(date, duration) {
5681
6183
  return add$1(date, duration);
5682
6184
  };
6185
+
5683
6186
  /**
5684
6187
  *
5685
6188
  * @param date
@@ -5689,6 +6192,7 @@ var add = function add(date, duration) {
5689
6192
  var sub = function sub(date, duration) {
5690
6193
  return sub$1(date, duration);
5691
6194
  };
6195
+
5692
6196
  /**
5693
6197
  * Finds the number of years between to dates
5694
6198
  *
@@ -5696,9 +6200,11 @@ var sub = function sub(date, duration) {
5696
6200
  * @param dateRight - the earlier date
5697
6201
  * @returns {number} the number of minutes
5698
6202
  */
6203
+
5699
6204
  var differenceInYears = function differenceInYears(dateLeft, dateRight) {
5700
6205
  return differenceInYears$1(dateLeft, dateRight);
5701
6206
  };
6207
+
5702
6208
  /**
5703
6209
  * Finds the number of months between to dates
5704
6210
  *
@@ -5706,9 +6212,11 @@ var differenceInYears = function differenceInYears(dateLeft, dateRight) {
5706
6212
  * @param dateRight - the earlier date
5707
6213
  * @returns {number} the number of minutes
5708
6214
  */
6215
+
5709
6216
  var differenceInMonths = function differenceInMonths(dateLeft, dateRight) {
5710
6217
  return differenceInMonths$1(dateLeft, dateRight);
5711
6218
  };
6219
+
5712
6220
  /**
5713
6221
  * Finds the number of days between to dates
5714
6222
  *
@@ -5716,9 +6224,11 @@ var differenceInMonths = function differenceInMonths(dateLeft, dateRight) {
5716
6224
  * @param dateRight - the earlier date
5717
6225
  * @returns {number} the number of minutes
5718
6226
  */
6227
+
5719
6228
  var differenceInDays = function differenceInDays(dateLeft, dateRight) {
5720
6229
  return differenceInDays$1(dateLeft, dateRight);
5721
6230
  };
6231
+
5722
6232
  /**
5723
6233
  * Finds the number of minuts between to dates
5724
6234
  *
@@ -5729,6 +6239,7 @@ var differenceInDays = function differenceInDays(dateLeft, dateRight) {
5729
6239
  var differenceInMinutes = function differenceInMinutes(dateLeft, dateRight) {
5730
6240
  return differenceInMinutes$1(dateLeft, dateRight);
5731
6241
  };
6242
+
5732
6243
  /**
5733
6244
  * Finds the number of hours between to dates
5734
6245
  *
@@ -5741,6 +6252,7 @@ var differenceInHours = function differenceInHours(dateLeft, dateRight, rounding
5741
6252
  roundingMethod: roundingMethod
5742
6253
  }) : differenceInHours$1(dateLeft, dateRight);
5743
6254
  };
6255
+
5744
6256
  /**
5745
6257
  * Finds the number of seconds between to dates
5746
6258
  *
@@ -5751,6 +6263,7 @@ var differenceInHours = function differenceInHours(dateLeft, dateRight, rounding
5751
6263
  var differenceInSeconds = function differenceInSeconds(dateLeft, dateRight) {
5752
6264
  return differenceInSeconds$1(dateLeft, dateRight);
5753
6265
  };
6266
+
5754
6267
  /**
5755
6268
  *
5756
6269
  * @param date - the date to be rounded
@@ -5760,6 +6273,7 @@ var differenceInSeconds = function differenceInSeconds(dateLeft, dateRight) {
5760
6273
  var roundToNearestMinutes = function roundToNearestMinutes(date, options) {
5761
6274
  return roundToNearestMinutes$1(date, options);
5762
6275
  };
6276
+
5763
6277
  /**
5764
6278
  *
5765
6279
  * @param date - the date that should be before the other one to return true
@@ -5771,6 +6285,7 @@ var isBefore = function isBefore(date, dateToCompare) {
5771
6285
  var before = isBefore$1(date, dateToCompare);
5772
6286
  return before;
5773
6287
  };
6288
+
5774
6289
  /**
5775
6290
  *
5776
6291
  * @param date - the date that should be after the other one to return true
@@ -5781,6 +6296,7 @@ var isBefore = function isBefore(date, dateToCompare) {
5781
6296
  var isAfter = function isAfter(date, dateToCompare) {
5782
6297
  return isAfter$1(date, dateToCompare);
5783
6298
  };
6299
+
5784
6300
  /**
5785
6301
  * Gracefully parsing string to a date, setting tz to UTC even if it's missing or input is invalid
5786
6302
  * Note: use getUtcFromString() to convert a string to a date with stricter returns
@@ -5798,6 +6314,7 @@ var utc = function utc(dateStr) {
5798
6314
  }
5799
6315
  return (_isoStringToDate2 = isoStringToDate(dateStr)) != null ? _isoStringToDate2 : createDate();
5800
6316
  };
6317
+
5801
6318
  /**
5802
6319
  * Parsing string to a date. Stricter check, will return undefined when dateString is invalid.
5803
6320
  * @param dateStr - string containing date
@@ -5820,6 +6337,7 @@ var getOffsetStr = function getOffsetStr(dateStr) {
5820
6337
  var groups = offsetMatcher.exec(dateStr);
5821
6338
  return groups ? groups[1] : null;
5822
6339
  };
6340
+
5823
6341
  /**
5824
6342
  * Check if a date object is valid
5825
6343
  * @param {Date | number} date - date to be checked
@@ -5828,6 +6346,7 @@ var getOffsetStr = function getOffsetStr(dateStr) {
5828
6346
  var isValid = function isValid(date) {
5829
6347
  return isValid$1(date);
5830
6348
  };
6349
+
5831
6350
  /**
5832
6351
  * Get the seconds timestamp of the given date
5833
6352
  * @param {Date} date - the given date
@@ -5836,6 +6355,7 @@ var isValid = function isValid(date) {
5836
6355
  var unix = function unix(date) {
5837
6356
  return getUnixTime(date);
5838
6357
  };
6358
+
5839
6359
  /**
5840
6360
  * Get the seconds timestamp based on the given iso string.
5841
6361
  * @param {string} date - the given date as iso string
@@ -5844,6 +6364,7 @@ var unix = function unix(date) {
5844
6364
  var unixFromISOString = function unixFromISOString(date) {
5845
6365
  return date ? parseISO(date).getTime() / 1000 : NaN;
5846
6366
  };
6367
+
5847
6368
  /**
5848
6369
  * Return the Date object for a given timestamp
5849
6370
  * @param {number} unixTime - timestamp
@@ -5873,6 +6394,7 @@ var parseCustomDateString = function parseCustomDateString(dateStr) {
5873
6394
  }
5874
6395
  return new Date(dateStr);
5875
6396
  };
6397
+
5876
6398
  /**
5877
6399
  * Returns Date in UTC
5878
6400
  * @returns {Date} - Date in UTC
@@ -5880,6 +6402,7 @@ var parseCustomDateString = function parseCustomDateString(dateStr) {
5880
6402
  var getNowUtc = function getNowUtc() {
5881
6403
  return createDate();
5882
6404
  };
6405
+
5883
6406
  /**
5884
6407
  * Returns current time as string
5885
6408
  * @param {string} strFormat - [default: "yyyy-MM-dd'T'HH:mm:ss'Z'"] format of string
@@ -5896,6 +6419,7 @@ var getCurrentTimeAsString = function getCurrentTimeAsString(strFormat, utc) {
5896
6419
  }
5897
6420
  return dateToString(getNowUtc(), strFormat, utc);
5898
6421
  };
6422
+
5899
6423
  /**
5900
6424
  * Set date values to a given date (by default it is assumed you are passing the new values in UTC).
5901
6425
  * Note that months start at 0!
@@ -5935,6 +6459,7 @@ var set = function set(date, values, useLocalTimeZone) {
5935
6459
  }
5936
6460
  return newDate;
5937
6461
  };
6462
+
5938
6463
  /**
5939
6464
  * Get hours of a passed date in UTC (or local timezone if passed false)
5940
6465
  * @param date - the date of which to extract hours
@@ -5950,6 +6475,7 @@ var getHours = function getHours(date, utc) {
5950
6475
  }
5951
6476
  return getHours$1(date);
5952
6477
  };
6478
+
5953
6479
  /**
5954
6480
  * Return the start of hour for the given date. The result will be in UTC.
5955
6481
  * @param date - the date of which to retrieve the start of the hour
@@ -5964,6 +6490,7 @@ var startOfHourUTC = function startOfHourUTC(date) {
5964
6490
  milliseconds: 0
5965
6491
  });
5966
6492
  };
6493
+
5967
6494
  /**
5968
6495
  * Return the start of a day for the given date. The result will be in UTC.
5969
6496
  * @param date - the date of which to retrieve the start of day
@@ -5979,6 +6506,7 @@ var startOfDayUTC = function startOfDayUTC(date) {
5979
6506
  milliseconds: 0
5980
6507
  });
5981
6508
  };
6509
+
5982
6510
  /**
5983
6511
  * Return the start of a week for the given date. The result will be in UTC.
5984
6512
  * @param date - the date of which to retrieve the start of the week
@@ -5996,6 +6524,7 @@ var startOfWeekUTC = function startOfWeekUTC(date) {
5996
6524
  milliseconds: 0
5997
6525
  });
5998
6526
  };
6527
+
5999
6528
  /**
6000
6529
  * Return the start of a month for the given date. The result will be in UTC.
6001
6530
  * @param date - the date of which to retrieve the start of the month
@@ -6010,6 +6539,7 @@ var startOfMonthUTC = function startOfMonthUTC(date) {
6010
6539
  milliseconds: 0
6011
6540
  });
6012
6541
  };
6542
+
6013
6543
  /**
6014
6544
  * Return the start of a year for the given date. The result will be in UTC.
6015
6545
  * @param date - the date of which to retrieve the start of the year
@@ -6027,6 +6557,7 @@ var startOfYearUTC = function startOfYearUTC(date) {
6027
6557
  milliseconds: 0
6028
6558
  });
6029
6559
  };
6560
+
6030
6561
  // TODO - IF TODAY time is going to be used, we need to edit this to handle the time.
6031
6562
  // - now.getTimezoneOffset(); by subtracting the timezone offset, this can be used to convert the time to similar to UTC, because startOfDay retuns values in local time with offset
6032
6563
  /**
@@ -6048,6 +6579,7 @@ var convertNOWFormatToUTC = function convertNOWFormatToUTC(timeValue) {
6048
6579
  }
6049
6580
  throw new Error('Invalid endTime format');
6050
6581
  };
6582
+
6051
6583
  /**
6052
6584
  * Parse custom time format of NOW+-hours and minutes || TODAY+-hours and minutes into UTC. The result will be in UTC.
6053
6585
  * @param timeValue - string value
@@ -6067,6 +6599,7 @@ var convertNOWandTODAYFormatsToUTC = function convertNOWandTODAYFormatsToUTC(tim
6067
6599
  }
6068
6600
  throw new Error('Invalid endTime format');
6069
6601
  };
6602
+
6070
6603
  /**
6071
6604
  * @name setSeconds
6072
6605
  * @category Second Helpers
@@ -6186,6 +6719,7 @@ var index = /*#__PURE__*/Object.freeze({
6186
6719
  * Copyright 2024 - Finnish Meteorological Institute (FMI)
6187
6720
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
6188
6721
  * */
6722
+
6189
6723
  var PROJECTION = {
6190
6724
  EPSG_3035: {
6191
6725
  name: 'ETRS89-extended / LAEA Europe',
@@ -6232,7 +6766,7 @@ var PROJECTION = {
6232
6766
  value: 'EPSG:4326'
6233
6767
  },
6234
6768
  EPSG_5041: {
6235
- name: 'Europe Polar Stereographic (EPSG:5041)',
6769
+ name: 'Europe Polar Stereographic',
6236
6770
  value: 'EPSG:5041'
6237
6771
  },
6238
6772
  EPSG_7399: {
@@ -6247,14 +6781,6 @@ var PROJECTION = {
6247
6781
  name: 'The Netherlands (28992)',
6248
6782
  value: 'EPSG:28992'
6249
6783
  },
6250
- EPSG_32661: {
6251
- name: 'Europe Polar Stereographic',
6252
- value: 'EPSG:32661'
6253
- },
6254
- EPSG_54030: {
6255
- name: 'Europe Robinson',
6256
- value: 'EPSG:54030'
6257
- },
6258
6784
  EPSG_900913: {
6259
6785
  name: 'Google Maps Global Mercator',
6260
6786
  value: 'EPSG:900913'
@@ -6296,6 +6822,7 @@ var PROJECTION = {
6296
6822
  */
6297
6823
  var RenderCounter = /*#__PURE__*/function () {
6298
6824
  function RenderCounter() {
6825
+ this.numRenders = void 0;
6299
6826
  this.numRenders = new Map();
6300
6827
  }
6301
6828
  var _proto = RenderCounter.prototype;
@@ -6307,6 +6834,7 @@ var RenderCounter = /*#__PURE__*/function () {
6307
6834
  };
6308
6835
  _proto.count = function count(id) {
6309
6836
  this.numRenders.set(id, this.get(id) + 1);
6837
+
6310
6838
  // Enable next line (for debugging) to track the number of renders per component in the developer console
6311
6839
  // console.log('numRenders', id, this.get(id));
6312
6840
  };
@@ -6335,15 +6863,16 @@ var renderCounter = new RenderCounter();
6335
6863
  * Copyright 2024 - Finnish Meteorological Institute (FMI)
6336
6864
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
6337
6865
  * */
6338
- var SessionStorageKey;
6339
- (function (SessionStorageKey) {
6866
+
6867
+ var SessionStorageKey = /*#__PURE__*/function (SessionStorageKey) {
6340
6868
  SessionStorageKey["CONFIG"] = "config";
6341
6869
  SessionStorageKey["OAUTH_STATE"] = "oauth_state";
6342
6870
  SessionStorageKey["OAUTH_CODE_VERIFIER"] = "code_verifier";
6343
6871
  SessionStorageKey["OAUTH_CODE_CHALLENGE"] = "code_challenge";
6344
6872
  SessionStorageKey["HAS_AUTHENTICATED"] = "has_authenticated";
6345
6873
  SessionStorageKey["CALLBACK_URL"] = "callback_url";
6346
- })(SessionStorageKey || (SessionStorageKey = {}));
6874
+ return SessionStorageKey;
6875
+ }({});
6347
6876
  var sessionStorageProvider = {
6348
6877
  setConfig: function setConfig(value) {
6349
6878
  return sessionStorage.setItem(SessionStorageKey.CONFIG, JSON.stringify(value));
@@ -6413,10 +6942,22 @@ var sessionStorageProvider = {
6413
6942
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
6414
6943
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
6415
6944
  * */
6945
+
6946
+ // Supported interfaces are EDR
6947
+
6416
6948
  // eslint-disable-next-line no-redeclare
6417
6949
  var SystemScope = {
6418
6950
  user: 'user',
6419
- system: 'system'
6951
+ system: 'system',
6952
+ plugin: 'plugin'
6420
6953
  };
6421
6954
 
6955
+ // This is a copy of PlotPreset in libs/timeseries/src/lib/components/TimeSeries/types.ts
6956
+
6957
+ // This is a copy of Plot in libs/timeseries/src/lib/components/TimeSeries/types.ts
6958
+
6959
+ // This is a copy of Parameter in libs/timeseries/src/lib/components/TimeSeries/types.ts
6960
+
6961
+ // This is a near copy of EDRInstance in libs/timeseries/src/lib/components/TimeSeries/types.ts
6962
+
6422
6963
  export { AlertBanner, AlertIcon, AppHeader, AppLayout, Avatar, CanvasComponent, ConfirmationButtons, ConfirmationDialog, ConfirmationServiceProvider, CustomAccordion, CustomDialog, CustomDialogHeader, CustomIconButton, CustomSlider, CustomToggleButton, CustomTooltip, DEBOUNCE_TIMEOUT, DEFAULT_ERROR_MESSAGE, DEFAULT_FILTER_HEIGHT, DraggableComponent$1 as Draggable, ErrorBoundary, Filter, FilterChip, FilterOption, LastUpdateTime, PROJECTION, ResizeComponent as Resizable, SHARED_NAMESPACE, SearchField$1 as SearchField, SearchFieldButton, SearchHighlight, SessionStorageKey, StatusTag, StorybookDocsWrapper, StyledSelect, SwitchButton, SystemScope, ToggleMenu, ToolContainer, DraggableComponent as ToolContainerDraggable, ToolFooter, ToolHeader, TooltipSelect, UserMenu, UserMenuItemCheatSheet, MenuItemTheme as UserMenuItemTheme, adjustPosition, calculateDialogSizeAndPosition, calculateStartSize, index as dateUtils, defaultDelay, getAxiosErrorMessage, getAxiosWarningMessage, getErrorMessage, getInitials, getLastUpdateTitle, getPosition, getWarningMessage, isAuthError, isAxiosAuthError, isAxiosError, loadAllTranslations, pollingIntervalTimeout, renderCounter, safelyInitI18nForTestsAndStories, sessionStorageProvider, sharedTranslations, showPrompt, sliderHeaderStyle, tooltipContainerStyles, useConfirmationDialog, useControlledTooltip, useDebounce, useDialogActions, useIsMounted, useMakeSureContainerStaysInsideWindow, usePoller, usePreventBrowserClose, usePrevious, useResizeObserver, useScrollingInIsolation, useUserMenu, useWheelStopPropagation };