@opengeoweb/core 14.4.0 → 14.5.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 (154) hide show
  1. package/index.esm.js +5049 -5012
  2. package/package.json +10 -10
  3. package/src/lib/GeoWebDemo.stories.d.ts +1 -1
  4. package/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +4 -4
  5. package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.stories.d.ts +1 -1
  6. package/src/lib/components/EDR/EDRLayerMultiParam.stories.d.ts +2 -2
  7. package/src/lib/components/EDR/EDRLayerSymbols.stories.d.ts +2 -2
  8. package/src/lib/components/EDR/EDRReduxStoreLayer.stories.d.ts +2 -2
  9. package/src/lib/components/GeoTIFF/GeoTIFFLayer.stories.d.ts +14 -0
  10. package/src/lib/components/LanguageSelect/LanguageSelect.d.ts +1 -1
  11. package/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +2 -2
  12. package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +2 -2
  13. package/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +3 -3
  14. package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.d.ts +2 -2
  15. package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.d.ts +1 -1
  16. package/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +3 -3
  17. package/src/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +2 -2
  18. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTime.d.ts +2 -1
  19. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTimeConnect.d.ts +2 -1
  20. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +1 -1
  21. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.d.ts +1 -1
  22. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.d.ts +3 -3
  23. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +1 -1
  24. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +4 -4
  25. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +1 -1
  26. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectName.d.ts +2 -2
  27. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectValue.d.ts +4 -3
  28. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/dimensionSelectHooks.d.ts +1 -1
  29. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +2 -1
  30. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +1 -1
  31. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -2
  32. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +2 -2
  33. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.d.ts +1 -1
  34. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +1 -1
  35. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +1 -1
  36. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingData.d.ts +1 -1
  37. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingDataConnect.d.ts +1 -1
  38. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +1 -1
  39. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +1 -1
  40. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderEDRLayers.d.ts +2 -2
  41. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayerName.d.ts +6 -0
  42. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +3 -3
  43. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +1 -1
  44. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +2 -2
  45. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +1 -1
  46. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckbox.d.ts +1 -1
  47. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckboxConnect.d.ts +1 -1
  48. package/src/lib/components/LayerManager/LayerManager.custom.stories.d.ts +1 -1
  49. package/src/lib/components/LayerManager/LayerManager.d.ts +4 -5
  50. package/src/lib/components/LayerManager/LayerManagerConnect.d.ts +3 -2
  51. package/src/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +1 -1
  52. package/src/lib/components/LayerManager/LayerManagerHeaderOptions.d.ts +1 -1
  53. package/src/lib/components/LayerManager/LayerManagerHeaderOptionsConnect.d.ts +2 -2
  54. package/src/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +1 -1
  55. package/src/lib/components/LayerManager/LayerManagerUtils.d.ts +2 -2
  56. package/src/lib/components/LayerManager/LayerSelect/LayerSelectButton.d.ts +1 -1
  57. package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.d.ts +2 -2
  58. package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.stories.d.ts +1 -1
  59. package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelectConnect.d.ts +1 -1
  60. package/src/lib/components/LayerManager/useFetchServices.d.ts +1 -1
  61. package/src/lib/components/LegendConnect/LegendConnect.d.ts +2 -2
  62. package/src/lib/components/LegendConnect/LegendConnect.stories.d.ts +1 -1
  63. package/src/lib/components/LegendConnect/LegendMapButtonConnect.d.ts +2 -2
  64. package/src/lib/components/LocationSearch/LocationSearch.d.ts +1 -1
  65. package/src/lib/components/LocationSearch/LocationSearchConnect.stories.d.ts +2 -2
  66. package/src/lib/components/LocationSearch/MyMapLocation.d.ts +1 -1
  67. package/src/lib/components/LocationSearch/SearchControlButtonConnect.d.ts +2 -2
  68. package/src/lib/components/LocationSearch/index.d.ts +1 -1
  69. package/src/lib/components/LocationSearch/utils.d.ts +2 -2
  70. package/src/lib/components/MapDrawToolRedux/OpenLayersFeatureLayerConnect.d.ts +3 -3
  71. package/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoButtonConnect.d.ts +2 -2
  72. package/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoConnect.d.ts +1 -1
  73. package/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoDialog.d.ts +2 -2
  74. package/src/lib/components/MapOptions/FeatureInfo/utils.d.ts +2 -2
  75. package/src/lib/components/MapOptions/MapOptionsButtonConnect.d.ts +1 -1
  76. package/src/lib/components/MapOptions/MeasureTool/MeasureToolButton.d.ts +1 -1
  77. package/src/lib/components/MapViewConnect/MapViewConnect.DoubleMap.stories.d.ts +1 -1
  78. package/src/lib/components/MapViewConnect/MapViewConnect.Errors.stories.d.ts +1 -1
  79. package/src/lib/components/MapViewConnect/MapViewConnect.Features.stories.d.ts +1 -1
  80. package/src/lib/components/MapViewConnect/MapViewConnect.InitialBBoxAndWithout.stories.d.ts +1 -1
  81. package/src/lib/components/MapViewConnect/MapViewConnect.LayerActions.stories.d.ts +1 -1
  82. package/src/lib/components/MapViewConnect/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +3 -2
  83. package/src/lib/components/MapViewConnect/MapViewConnect.MapPin.stories.d.ts +1 -1
  84. package/src/lib/components/MapViewConnect/MapViewConnect.MultiMapLayerManager.stories.d.ts +1 -1
  85. package/src/lib/components/MapViewConnect/MapViewConnect.SelectorTest.stories.d.ts +2 -2
  86. package/src/lib/components/MapViewConnect/MapViewConnect.SetBaseLayers.stories.d.ts +1 -1
  87. package/src/lib/components/MapViewConnect/MapViewConnect.ToggleControls.stories.d.ts +1 -1
  88. package/src/lib/components/MapViewConnect/OlMapViewConnect.d.ts +4 -4
  89. package/src/lib/components/MapViewConnect/olMapUtils.d.ts +4 -4
  90. package/src/lib/components/MapViewConnect/useGetOpenLayersView.d.ts +3 -3
  91. package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectButtonConnect.d.ts +2 -2
  92. package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectDialogConnect.d.ts +2 -2
  93. package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectSliderConnect.d.ts +1 -1
  94. package/src/lib/components/MultiMapDimensionSelectConnect/EnsembleDimensionExample.stories.d.ts +1 -1
  95. package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectConnect.stories.d.ts +1 -1
  96. package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectMapButtonsConnect.d.ts +2 -2
  97. package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelect.stories.d.ts +1 -1
  98. package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelectConnect.d.ts +1 -1
  99. package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapSingleDimensionSelectConnect.d.ts +1 -1
  100. package/src/lib/components/MultiMapViewConnect/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +2 -2
  101. package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.d.ts +3 -3
  102. package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.stories.d.ts +1 -1
  103. package/src/lib/components/MultiMapViewConnect/MultiMapView10x10.stories.d.ts +1 -1
  104. package/src/lib/components/MultiMapViewConnect/MultiMapView2x2.stories.d.ts +1 -1
  105. package/src/lib/components/MultiMapViewConnect/MultiMapView4x3.stories.d.ts +1 -1
  106. package/src/lib/components/MultiMapViewConnect/MultiMapViewConnect.d.ts +1 -1
  107. package/src/lib/components/Providers/Providers.d.ts +2 -2
  108. package/src/lib/components/RouterWrapper/RouterWrapperConnect.d.ts +1 -1
  109. package/src/lib/components/SelectedFeaturesDialog/SelectedFeature.d.ts +1 -1
  110. package/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialog.d.ts +2 -2
  111. package/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect.d.ts +1 -1
  112. package/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect.stories.d.ts +1 -1
  113. package/src/lib/components/SelectedFeaturesDialog/storyUtils.d.ts +1 -1
  114. package/src/lib/components/SyncGroups/SyncGroupList.d.ts +2 -2
  115. package/src/lib/components/SyncGroups/SyncGroupListItem.d.ts +2 -2
  116. package/src/lib/components/SyncGroups/SyncGroupViewer.d.ts +2 -2
  117. package/src/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +1 -1
  118. package/src/lib/components/SyncGroups/SyncGroups.FourMapsSynced.stories.d.ts +1 -1
  119. package/src/lib/components/SyncGroups/SyncGroups.SyncMany.stories.d.ts +1 -1
  120. package/src/lib/components/SyncGroups/SyncGroups.SyncMaps.stories.d.ts +1 -1
  121. package/src/lib/components/SyncGroups/SyncGroups.TwoMapsSynced.stories.d.ts +1 -1
  122. package/src/lib/components/TimeSliderConnect/AutoUpdate.stories.d.ts +1 -1
  123. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.d.ts +1 -1
  124. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.spec.d.ts +1 -1
  125. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +1 -1
  126. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/NowButtonConnect.d.ts +1 -1
  127. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuButtonConnect.d.ts +1 -1
  128. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuConnect.d.ts +1 -1
  129. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +1 -1
  130. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/SpeedButtonConnect.d.ts +1 -1
  131. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeSpanButtonConnect.d.ts +1 -1
  132. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeStepButtonConnect.d.ts +1 -1
  133. package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect.d.ts +1 -1
  134. package/src/lib/components/TimeSliderConnect/TimeSliderConnect.d.ts +1 -1
  135. package/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +1 -1
  136. package/src/lib/components/TimeSliderConnect/TimeSliderLegendConnect.d.ts +1 -1
  137. package/src/lib/components/TimeSliderConnect/timesliderUtils.d.ts +2 -2
  138. package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTree.d.ts +2 -2
  139. package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +2 -1
  140. package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeHeader.d.ts +1 -1
  141. package/src/lib/components/WMSLoader/WMSLoader.d.ts +2 -2
  142. package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +1 -1
  143. package/src/lib/components/WMSLoader/WMSLoaderConnect.d.ts +2 -2
  144. package/src/lib/components/WMSLoader/WMSServerList/WMSServerList.d.ts +2 -2
  145. package/src/lib/components/WMTS/WMTSReduxStoreLayer.stories.d.ts +6 -0
  146. package/src/lib/store/store.d.ts +3 -3
  147. package/src/lib/utils/defaultTestSettings.d.ts +1 -1
  148. package/src/lib/utils/i18n.d.ts +1 -1
  149. package/src/lib/utils/jsonPresetFilter.d.ts +3 -2
  150. package/src/lib/utils/location-api/api.d.ts +1 -1
  151. package/src/lib/utils/location-api/hooks.d.ts +2 -2
  152. package/src/lib/utils/storyUtils.d.ts +1 -1
  153. package/src/lib/utils/testUtils.d.ts +1 -1
  154. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderFeatureLayers.d.ts +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "14.4.0",
3
+ "version": "14.5.0",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,22 +8,22 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/shared": "14.4.0",
11
+ "@opengeoweb/shared": "14.5.0",
12
12
  "react-redux": "^9.2.0",
13
- "@opengeoweb/store": "14.4.0",
14
- "@opengeoweb/time-slider": "14.4.0",
13
+ "@opengeoweb/store": "14.5.0",
14
+ "@opengeoweb/time-slider": "14.5.0",
15
15
  "@reduxjs/toolkit": "^2.6.1",
16
- "@opengeoweb/webmap-react": "14.4.0",
17
- "@opengeoweb/webmap": "14.4.0",
18
- "@opengeoweb/theme": "14.4.0",
16
+ "@opengeoweb/webmap-react": "14.5.0",
17
+ "@opengeoweb/webmap": "14.5.0",
18
+ "@opengeoweb/theme": "14.5.0",
19
19
  "axios": "^1.7.7",
20
- "@opengeoweb/layer-select": "14.4.0",
20
+ "@opengeoweb/layer-select": "14.5.0",
21
21
  "lodash": "^4.17.21",
22
22
  "ol": "^10.4.0",
23
23
  "react-sortablejs": "^6.1.4",
24
24
  "sortablejs": "^1.15.1",
25
25
  "@mui/system": "^7.3.2",
26
- "@opengeoweb/snackbar": "14.4.0",
26
+ "@opengeoweb/snackbar": "14.5.0",
27
27
  "react-router-dom": "^6.21.0",
28
28
  "react-draggable": "^4.4.6",
29
29
  "i18next": "^25.0.1",
@@ -32,7 +32,7 @@
32
32
  "@mui/material": "^7.0.1",
33
33
  "@sentry/react": "^8.34.0",
34
34
  "@tanstack/react-query": "^5.85.5",
35
- "@opengeoweb/api": "14.4.0",
35
+ "@opengeoweb/api": "14.5.0",
36
36
  "@types/geojson": "^7946.0.14",
37
37
  "@turf/turf": "^7.2.0",
38
38
  "proj4": "^2.15.0"
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { mapTypes } from '@opengeoweb/store';
3
- import { PlotPreset, TimeSeriesService } from '@opengeoweb/shared';
4
- import { InitialHarmTempAndPrecipProps } from '../MultiMapViewConnect/HarmoniePresets';
5
- import { ModelRunIntervalProps } from '../MultiMapViewConnect/ModelRunInterval';
2
+ import type { PlotPreset, TimeSeriesService } from '@opengeoweb/shared';
3
+ import type { mapTypes } from '@opengeoweb/store';
4
+ import type { InitialHarmTempAndPrecipProps } from '../MultiMapViewConnect/HarmoniePresets';
5
+ import type { ModelRunIntervalProps } from '../MultiMapViewConnect/ModelRunInterval';
6
6
  export interface InitialMultiMapProps {
7
7
  mapPreset: mapTypes.MapPreset[];
8
8
  syncGroupsIds: string[];
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
+ import React from 'react';
3
3
  import { ConfigurableMapConnect } from './ConfigurableMapConnect';
4
4
  declare const meta: Meta<typeof ConfigurableMapConnect>;
5
5
  export default meta;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
3
1
  import type { Meta } from '@storybook/react-webpack5';
2
+ import React from 'react';
3
+ import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
4
4
  declare const meta: Meta<typeof TimeAwareEDRLocationLayer>;
5
5
  export default meta;
6
6
  export declare const EDRLayerMultiParam: {
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
3
1
  import type { Meta } from '@storybook/react-webpack5';
2
+ import React from 'react';
3
+ import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
4
4
  declare const meta: Meta<typeof TimeAwareEDRLocationLayer>;
5
5
  export default meta;
6
6
  export declare const EDRLayerSymbols: {
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
3
1
  import type { Meta } from '@storybook/react-webpack5';
2
+ import React from 'react';
3
+ import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
4
4
  declare const meta: Meta<typeof TimeAwareEDRLocationLayer>;
5
5
  export default meta;
6
6
  export declare const EDRReduxLayer: {
@@ -0,0 +1,14 @@
1
+ import type { Meta } from '@storybook/react-webpack5';
2
+ import { TimeAwareGeoTIFFLayer } from '@opengeoweb/webmap-react';
3
+ declare const meta: Meta<typeof TimeAwareGeoTIFFLayer>;
4
+ export default meta;
5
+ export declare const GeoTIFFLayerStory: {
6
+ (): React.ReactElement;
7
+ parameters: {
8
+ msw: {
9
+ handlers: {
10
+ locations: import("msw").HttpHandler[];
11
+ };
12
+ };
13
+ };
14
+ };
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export declare const languages: {
3
3
  language: string;
4
4
  code: string;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
+ import type { serviceTypes } from '@opengeoweb/store';
2
3
  import { LayerType } from '@opengeoweb/webmap';
3
- import { serviceTypes } from '@opengeoweb/store';
4
4
  interface AddLayerButtonProps {
5
5
  onRenderTree?: (service: serviceTypes.InitialService) => React.ReactNode;
6
6
  preloadedServices?: serviceTypes.InitialService[];
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
+ import type { serviceTypes } from '@opengeoweb/store';
2
3
  import { LayerType } from '@opengeoweb/webmap';
3
- import { serviceTypes } from '@opengeoweb/store';
4
4
  interface AddLayerPopupProps {
5
5
  onRenderTree?: (service: serviceTypes.InitialService) => React.ReactNode;
6
6
  preloadedServices?: serviceTypes.InitialService[];
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
1
  import { Grid } from '@mui/material';
3
- import { layerTypes, serviceTypes } from '@opengeoweb/store';
4
- import { LayerManagerCustomSettings } from '../LayerManagerUtils';
2
+ import React from 'react';
3
+ import type { layerTypes, serviceTypes } from '@opengeoweb/store';
4
+ import type { LayerManagerCustomSettings } from '../LayerManagerUtils';
5
5
  interface BaseLayerRowProps extends React.ComponentProps<typeof Grid> {
6
6
  mapId: string;
7
7
  preloadedAvailableBaseLayers?: layerTypes.Layer[];
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { layerTypes } from '@opengeoweb/store';
1
+ import React from 'react';
2
+ import type { layerTypes } from '@opengeoweb/store';
3
3
  interface BaseLayersProps {
4
4
  selectedBaseLayers: layerTypes.Layer[];
5
5
  availableBaseLayers: layerTypes.Layer[];
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { layerTypes } from '@opengeoweb/store';
3
3
  export declare const constructLayerId: (baseLayer: layerTypes.Layer, selectedBaseLayers: layerTypes.Layer[]) => string;
4
4
  export declare const constructListAvailableBaseLayers: (selectedBaseLayers: layerTypes.Layer[], preloadedAvailableBaseLayers: layerTypes.Layer[], mapId: string) => layerTypes.Layer[];
@@ -1,7 +1,7 @@
1
1
  import { Grid } from '@mui/material';
2
- import * as React from 'react';
3
- import { uiTypes } from '@opengeoweb/store';
4
- import { LayerManagerCustomSettings } from '../LayerManagerUtils';
2
+ import React from 'react';
3
+ import type { uiTypes } from '@opengeoweb/store';
4
+ import type { LayerManagerCustomSettings } from '../LayerManagerUtils';
5
5
  interface DescriptionRowProps extends React.ComponentProps<typeof Grid> {
6
6
  source?: uiTypes.Source;
7
7
  settings?: LayerManagerCustomSettings['header'];
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
1
  import { Grid } from '@mui/material';
3
- import { LayerManagerCustomSettings } from '../LayerManagerUtils';
2
+ import React from 'react';
3
+ import type { LayerManagerCustomSettings } from '../LayerManagerUtils';
4
4
  interface LayerContainerRowProps extends React.ComponentProps<typeof Grid> {
5
5
  mapId: string;
6
6
  settings?: LayerManagerCustomSettings['content'];
@@ -1,4 +1,5 @@
1
- import React, { FC } from 'react';
1
+ import type { FC } from 'react';
2
+ import React from 'react';
2
3
  export declare const AcceptanceTime: FC<{
3
4
  isEnabled?: boolean;
4
5
  acceptanceTimeInMinutes: number | undefined;
@@ -1,4 +1,5 @@
1
- import React, { FC } from 'react';
1
+ import type { FC } from 'react';
2
+ import React from 'react';
2
3
  export declare const AcceptanceTimeConnect: FC<{
3
4
  layerId: string | undefined;
4
5
  icon?: React.ElementType;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export declare enum AutoOptions {
3
3
  BOTH = "Auto both",
4
4
  NONE = "Auto none",
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface ActivateLayerProps {
3
3
  layerId: string;
4
4
  mapId: string;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { DimensionSelectProps } from '../DimensionSelect/DimensionSelectConnect';
3
- import { LayerManagerCustomSettings } from '../../../LayerManagerUtils';
1
+ import React from 'react';
2
+ import type { LayerManagerCustomSettings } from '../../../LayerManagerUtils';
3
+ import type { DimensionSelectProps } from '../DimensionSelect/DimensionSelectConnect';
4
4
  type Content = NonNullable<LayerManagerCustomSettings['content']>;
5
5
  type Dimensions = NonNullable<Content['dimensions']>;
6
6
  type DimensionsSettingsProps = Omit<Dimensions, 'nameMappings'>;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface DeleteLayerProps {
3
3
  layerId: string;
4
4
  mapId: string;
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- import { mapTypes, layerTypes } from '@opengeoweb/store';
3
- import { ElementType, FC } from 'react';
4
- import { TFunction } from 'i18next';
1
+ import type { TFunction } from 'i18next';
2
+ import type { ElementType, FC } from 'react';
3
+ import React from 'react';
4
+ import type { mapTypes, layerTypes } from '@opengeoweb/store';
5
5
  import type { DimensionNameMappings, DimensionValueMappings } from '../../../LayerManagerUtils';
6
6
  export interface SingleValueComponentProps extends mapTypes.Dimension {
7
7
  position: 'dimension' | 'value';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export interface DimensionSelectProps {
3
3
  layerId: string;
4
4
  mapId: string;
@@ -1,5 +1,5 @@
1
- import { ElementType, FC } from 'react';
2
- import { DimensionNameMappings } from '../../../LayerManagerUtils';
1
+ import type { ElementType, FC } from 'react';
2
+ import type { DimensionNameMappings } from '../../../LayerManagerUtils';
3
3
  declare const DimensionSelectName: FC<{
4
4
  dimensionNames: string[];
5
5
  selectedDimensionName: string;
@@ -1,6 +1,7 @@
1
- import { ElementType, FC } from 'react';
2
- import { layerTypes, mapTypes } from '@opengeoweb/store';
3
- import { DimensionValueMappings } from '../../../LayerManagerUtils';
1
+ import type { ElementType, FC } from 'react';
2
+ import type { mapTypes } from '@opengeoweb/store';
3
+ import { layerTypes } from '@opengeoweb/store';
4
+ import type { DimensionValueMappings } from '../../../LayerManagerUtils';
4
5
  export declare enum LatestOptions {
5
6
  LATEST_0 = "Latest",
6
7
  LATEST_1 = "Latest -1",
@@ -1,4 +1,4 @@
1
- import { layerTypes, mapTypes } from '@opengeoweb/store';
1
+ import type { layerTypes, mapTypes } from '@opengeoweb/store';
2
2
  interface LayerChangeDimensionParams {
3
3
  dimension: mapTypes.Dimension;
4
4
  origin: layerTypes.LayerActionOrigin | undefined;
@@ -1,4 +1,5 @@
1
- import React, { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
2
3
  interface DragHandleProps {
3
4
  isDisabled?: boolean;
4
5
  hideTooltip?: boolean;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface EnableLayerProps {
3
3
  layerId: string;
4
4
  mapId: string;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- import { mapTypes, layerTypes } from '@opengeoweb/store';
3
- import type { serviceTypes } from '@opengeoweb/store';
2
+ import type { serviceTypes, mapTypes, layerTypes } from '@opengeoweb/store';
4
3
  interface LayerRowUnstyledProps {
5
4
  layerId?: string;
6
5
  layer?: layerTypes.Layer;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { LayerManagerCustomSettings } from '../../LayerManagerUtils';
1
+ import React from 'react';
2
+ import type { LayerManagerCustomSettings } from '../../LayerManagerUtils';
3
3
  interface LayerRowConnectProps {
4
4
  layerId: string;
5
5
  mapId: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export declare const MAX_DURATION_IN_SECONDS = 60;
3
3
  export declare const MIN_DURATION_IN_SECONDS = 0.1;
4
4
  export declare const DECIMALS_IN_LABEL = 1;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface LayerManagerButtonProps {
3
3
  mapId: string;
4
4
  layerId?: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface LayerManagerButtonProps {
3
3
  mapId: string;
4
4
  layerId?: string;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import type { FC } from 'react';
2
2
  export declare const GREEN: {
3
3
  backgroundColor: string;
4
4
  borderColor: string;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import type { FC } from 'react';
2
2
  export declare const MissingDataConnect: FC<{
3
3
  mapId: string;
4
4
  layerId?: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface OpacitySelectProps {
3
3
  currentOpacity: number;
4
4
  onLayerChangeOpacity: (opacity: number) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface OpacitySelectConnectProps {
3
3
  layerId: string;
4
4
  mapId: string;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { EDRFeatureLayerOptions, LayerProps } from '@opengeoweb/webmap';
1
+ import React from 'react';
2
+ import type { EDRFeatureLayerOptions, LayerProps } from '@opengeoweb/webmap';
3
3
  export interface RenderEDRLayersProps {
4
4
  onChangeLayerOptions: (options: EDRFeatureLayerOptions) => void;
5
5
  selectedParams: string[];
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface RenderLayerNameProps {
3
+ layerName: string;
4
+ }
5
+ declare const RenderLayerName: React.FC<RenderLayerNameProps>;
6
+ export default RenderLayerName;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { LayerProps } from '@opengeoweb/webmap';
3
- import { i18n, TFunction } from 'i18next';
1
+ import type { i18n, TFunction } from 'i18next';
2
+ import React from 'react';
3
+ import type { LayerProps } from '@opengeoweb/webmap';
4
4
  export declare const showNoLayers: (t: TFunction<"core", i18n>) => React.ReactElement;
5
5
  export interface RenderLayersProps {
6
6
  onChangeLayerName: (name: string) => void;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface RenderLayersProps {
3
3
  layerId: string;
4
4
  mapId: string;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { Style } from '@opengeoweb/webmap';
1
+ import React from 'react';
2
+ import type { Style } from '@opengeoweb/webmap';
3
3
  export interface RenderStylesProps {
4
4
  layerStyles: Style[];
5
5
  currentLayerStyle: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface RenderStylesProps {
3
3
  layerId: string;
4
4
  mapId: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface SelectableFeaturesProps {
3
3
  layerId: string;
4
4
  isSelectable: boolean;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface SelectableFeaturesCheckboxConnectProps {
3
3
  layerId: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  };
@@ -1,8 +1,7 @@
1
- import * as React from 'react';
2
- import { Position, DraggableSize, HeaderSize } from '@opengeoweb/shared';
3
- import { layerTypes } from '@opengeoweb/store';
4
- import type { serviceTypes, uiTypes } from '@opengeoweb/store';
5
- import { LayerManagerCustomSettings } from './LayerManagerUtils';
1
+ import React from 'react';
2
+ import type { Position, DraggableSize, HeaderSize } from '@opengeoweb/shared';
3
+ import type { layerTypes, serviceTypes, uiTypes } from '@opengeoweb/store';
4
+ import type { LayerManagerCustomSettings } from './LayerManagerUtils';
6
5
  interface LayerManagerProps {
7
6
  mapId: string;
8
7
  preloadedAvailableBaseLayers?: layerTypes.Layer[];
@@ -1,5 +1,6 @@
1
- import * as React from 'react';
2
- import { layerTypes, uiTypes, serviceTypes } from '@opengeoweb/store';
1
+ import React from 'react';
2
+ import type { layerTypes, serviceTypes } from '@opengeoweb/store';
3
+ import { uiTypes } from '@opengeoweb/store';
3
4
  export declare const getDialogType: (mapId: string, isMultiMap: boolean, isDocked: boolean) => string;
4
5
  interface LayerManagerConnectProps {
5
6
  mapId?: string;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
1
  import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
+ import React from 'react';
3
3
  import { LayerManagerConnect } from '.';
4
4
  declare const meta: Meta<typeof LayerManagerConnect>;
5
5
  export default meta;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export interface Size {
3
3
  width: number;
4
4
  height: number;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { Size, ToolbarButtonSettings } from './LayerManagerHeaderOptions';
1
+ import React from 'react';
2
+ import type { Size, ToolbarButtonSettings } from './LayerManagerHeaderOptions';
3
3
  interface HeaderOptionsProps {
4
4
  isDockedLayerManager: boolean;
5
5
  mapId: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import { uiTypes } from '@opengeoweb/store';
3
3
  interface LayerManagerMapButtonConnectProps {
4
4
  mapId: string;
@@ -1,6 +1,6 @@
1
- import { mapTypes } from '@opengeoweb/store';
1
+ import type { mapTypes } from '@opengeoweb/store';
2
2
  import type { DimensionTooltipGenerator, SingleValueComponentProps } from './LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect';
3
- import { Size, ToolbarButtonSettings } from './LayerManagerHeaderOptions';
3
+ import type { Size, ToolbarButtonSettings } from './LayerManagerHeaderOptions';
4
4
  export declare const columnClasses: {
5
5
  column1: string;
6
6
  column2: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  interface LayerSelectButtonProps {
3
3
  tooltipTitle?: string;
4
4
  icon?: React.ReactNode;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { Bbox } from '@opengeoweb/webmap';
1
+ import React from 'react';
2
+ import type { Bbox } from '@opengeoweb/webmap';
3
3
  export interface ProjectionDetails {
4
4
  name: string;
5
5
  value: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  tags: string[];
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  export interface ProjectionSelectConnectProps {
3
3
  mapId: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { serviceTypes } from '@opengeoweb/store';
1
+ import type { serviceTypes } from '@opengeoweb/store';
2
2
  export declare const getServicesToLoad: (services: serviceTypes.NoIdService[]) => Promise<serviceTypes.InitialService[]>;
3
3
  export declare const useFetchServices: (dialogType: string, preloadedServices?: serviceTypes.InitialService[] | undefined, shouldDisableFetch?: boolean) => void;
4
4
  export declare const mergePresetsAndUserAddedServices: (presets: serviceTypes.InitialService[], userAddedServices: serviceTypes.UserAddedServices) => serviceTypes.NoIdService[];
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { uiTypes } from '@opengeoweb/store';
1
+ import React from 'react';
2
+ import type { uiTypes } from '@opengeoweb/store';
3
3
  interface LegendConnectProps {
4
4
  showMapId?: boolean;
5
5
  source?: uiTypes.Source;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  tags: string[];
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { uiTypes } from '@opengeoweb/store';
1
+ import React from 'react';
2
+ import type { uiTypes } from '@opengeoweb/store';
3
3
  interface LegendMapButtonProps {
4
4
  mapId: string;
5
5
  source?: uiTypes.Source;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { LocationDetail } from './types';
2
+ import type { LocationDetail } from './types';
3
3
  export interface LocationSearchProps {
4
4
  isOpen: boolean;
5
5
  mapId?: string;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { StoryObj } from '@storybook/react/*';
1
+ import type { StoryObj } from '@storybook/react/*';
2
+ import React from 'react';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  component: () => React.ReactElement;