@opengeoweb/core 19.0.0 → 19.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/README.md +68 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.esm.js +11827 -0
  4. package/dist/src/index.d.ts +4 -0
  5. package/dist/src/lib/components/ClockConnect/ClockConnect.d.ts +4 -0
  6. package/dist/src/lib/components/ClockConnect/OptionsMenu.d.ts +10 -0
  7. package/dist/src/lib/components/ClockConnect/index.d.ts +1 -0
  8. package/dist/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +62 -0
  9. package/dist/src/lib/components/ComponentsLookUp/index.d.ts +1 -0
  10. package/dist/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.d.ts +51 -0
  11. package/dist/src/lib/components/ConfigurableMapConnect/index.d.ts +1 -0
  12. package/dist/src/lib/components/LanguageSelect/LanguageSelect.d.ts +14 -0
  13. package/dist/src/lib/components/LanguageSelect/index.d.ts +1 -0
  14. package/dist/src/lib/components/LayerInfoConnect/LayerInfoButtonConnect.d.ts +13 -0
  15. package/dist/src/lib/components/LayerInfoConnect/LayerInfoDialogConnect.d.ts +8 -0
  16. package/dist/src/lib/components/LayerInfoConnect/index.d.ts +2 -0
  17. package/dist/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +12 -0
  18. package/dist/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +12 -0
  19. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSLayerTree/WMSLayerTree.d.ts +9 -0
  20. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSLayerTree/WMSLayerTreeConnect.d.ts +25 -0
  21. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSLayerTree/WMSLayerTreeHeader.d.ts +7 -0
  22. package/dist/src/lib/components/LayerManager/AddLayersPopup/WMSServerList/WMSServerList.d.ts +9 -0
  23. package/dist/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +13 -0
  24. package/dist/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.d.ts +11 -0
  25. package/dist/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.d.ts +22 -0
  26. package/dist/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +13 -0
  27. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +19 -0
  28. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTime.d.ts +10 -0
  29. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTimeConnect.d.ts +9 -0
  30. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +14 -0
  31. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.d.ts +16 -0
  32. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.d.ts +9 -0
  33. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +18 -0
  34. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +28 -0
  35. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +8 -0
  36. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectName.d.ts +13 -0
  37. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectValue.d.ts +26 -0
  38. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/dimensionSelectHooks.d.ts +15 -0
  39. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +11 -0
  40. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +19 -0
  41. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +67 -0
  42. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +11 -0
  43. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerService/LayerService.d.ts +8 -0
  44. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.d.ts +18 -0
  45. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadingIndicatorProgressBar.d.ts +9 -0
  46. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +16 -0
  47. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +9 -0
  48. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingData.d.ts +16 -0
  49. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingDataConnect.d.ts +5 -0
  50. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +9 -0
  51. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +16 -0
  52. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderEDRLayers.d.ts +18 -0
  53. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayerName.d.ts +6 -0
  54. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +14 -0
  55. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +9 -0
  56. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +14 -0
  57. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +10 -0
  58. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckbox.d.ts +8 -0
  59. package/dist/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckboxConnect.d.ts +6 -0
  60. package/dist/src/lib/components/LayerManager/LayerManager.d.ts +32 -0
  61. package/dist/src/lib/components/LayerManager/LayerManagerConnect.d.ts +29 -0
  62. package/dist/src/lib/components/LayerManager/LayerManagerHeaderOptions.d.ts +50 -0
  63. package/dist/src/lib/components/LayerManager/LayerManagerHeaderOptionsConnect.d.ts +12 -0
  64. package/dist/src/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +9 -0
  65. package/dist/src/lib/components/LayerManager/LayerManagerUtils.d.ts +329 -0
  66. package/dist/src/lib/components/LayerManager/LayerSelect/LayerSelectButton.d.ts +8 -0
  67. package/dist/src/lib/components/LayerManager/OverlayersRow/OverlayersSelect.d.ts +15 -0
  68. package/dist/src/lib/components/LayerManager/OverlayersRow/OverlayersSelectConnect.d.ts +6 -0
  69. package/dist/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.d.ts +14 -0
  70. package/dist/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelectConnect.d.ts +6 -0
  71. package/dist/src/lib/components/LayerManager/index.d.ts +9 -0
  72. package/dist/src/lib/components/LayerManager/useFetchServices.d.ts +4 -0
  73. package/dist/src/lib/components/LegendConnect/LegendConnect.d.ts +21 -0
  74. package/dist/src/lib/components/LegendConnect/LegendMapButtonConnect.d.ts +9 -0
  75. package/dist/src/lib/components/LegendConnect/index.d.ts +2 -0
  76. package/dist/src/lib/components/LocationSearch/LocationSearch.d.ts +10 -0
  77. package/dist/src/lib/components/LocationSearch/LocationSearchConnect.d.ts +5 -0
  78. package/dist/src/lib/components/LocationSearch/MyMapLocation.d.ts +9 -0
  79. package/dist/src/lib/components/LocationSearch/SearchControlButtonConnect.d.ts +8 -0
  80. package/dist/src/lib/components/LocationSearch/index.d.ts +5 -0
  81. package/dist/src/lib/components/LocationSearch/types.d.ts +23 -0
  82. package/dist/src/lib/components/LocationSearch/utils.d.ts +8 -0
  83. package/dist/src/lib/components/MapDrawToolRedux/OpenLayersFeatureLayerConnect.d.ts +21 -0
  84. package/dist/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoButtonConnect.d.ts +8 -0
  85. package/dist/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoConnect.d.ts +8 -0
  86. package/dist/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoDialog.d.ts +16 -0
  87. package/dist/src/lib/components/MapOptions/FeatureInfo/index.d.ts +3 -0
  88. package/dist/src/lib/components/MapOptions/FeatureInfo/utils.d.ts +19 -0
  89. package/dist/src/lib/components/MapOptions/MapOptionsButtonConnect.d.ts +8 -0
  90. package/dist/src/lib/components/MapOptions/MeasureTool/MeasureToolButton.d.ts +7 -0
  91. package/dist/src/lib/components/MapOptions/MeasureTool/index.d.ts +2 -0
  92. package/dist/src/lib/components/MapOptions/index.d.ts +4 -0
  93. package/dist/src/lib/components/MapViewConnect/OlMapViewConnect.d.ts +40 -0
  94. package/dist/src/lib/components/MapViewConnect/OlMapViewLayerConnect.d.ts +8 -0
  95. package/dist/src/lib/components/MapViewConnect/index.d.ts +3 -0
  96. package/dist/src/lib/components/MapViewConnect/olMapFeatureSyncUtils.d.ts +14 -0
  97. package/dist/src/lib/components/MapViewConnect/olMapUtils.d.ts +22 -0
  98. package/dist/src/lib/components/MapViewConnect/useGetOpenLayersView.d.ts +9 -0
  99. package/dist/src/lib/components/MapViewConnect/useMapViewLoadingIndicator.d.ts +1 -0
  100. package/dist/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectButtonConnect.d.ts +9 -0
  101. package/dist/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectDialogConnect.d.ts +14 -0
  102. package/dist/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectSliderConnect.d.ts +10 -0
  103. package/dist/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectMapButtonsConnect.d.ts +8 -0
  104. package/dist/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelectConnect.d.ts +9 -0
  105. package/dist/src/lib/components/MultiMapDimensionSelectConnect/MultiMapSingleDimensionSelectConnect.d.ts +8 -0
  106. package/dist/src/lib/components/MultiMapDimensionSelectConnect/index.d.ts +2 -0
  107. package/dist/src/lib/components/MultiMapViewConnect/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +12 -0
  108. package/dist/src/lib/components/MultiMapViewConnect/HarmoniePresets/index.d.ts +1 -0
  109. package/dist/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.d.ts +18 -0
  110. package/dist/src/lib/components/MultiMapViewConnect/ModelRunInterval/index.d.ts +1 -0
  111. package/dist/src/lib/components/MultiMapViewConnect/MultiMapViewConnect.d.ts +29 -0
  112. package/dist/src/lib/components/MultiMapViewConnect/storyUtils/mapPresets.d.ts +177 -0
  113. package/dist/src/lib/components/Providers/Providers.d.ts +39 -0
  114. package/dist/src/lib/components/RouterWrapper/NavigateSetter.d.ts +1 -0
  115. package/dist/src/lib/components/RouterWrapper/RouterWrapperConnect.d.ts +6 -0
  116. package/dist/src/lib/components/RouterWrapper/index.d.ts +1 -0
  117. package/dist/src/lib/components/SelectedFeaturesDialog/SelectedFeature.d.ts +8 -0
  118. package/dist/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialog.d.ts +14 -0
  119. package/dist/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect.d.ts +2 -0
  120. package/dist/src/lib/components/SelectedFeaturesDialog/storyUtils.d.ts +3 -0
  121. package/dist/src/lib/components/SyncGroups/DraggableThings.d.ts +13 -0
  122. package/dist/src/lib/components/SyncGroups/SimpleTimeSlider.d.ts +8 -0
  123. package/dist/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +19 -0
  124. package/dist/src/lib/components/SyncGroups/SyncGroupList.d.ts +12 -0
  125. package/dist/src/lib/components/SyncGroups/SyncGroupListItem.d.ts +10 -0
  126. package/dist/src/lib/components/SyncGroups/SyncGroupViewer.d.ts +18 -0
  127. package/dist/src/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +2 -0
  128. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.d.ts +5 -0
  129. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +21 -0
  130. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/BackwardForwardStepButtonConnect.d.ts +6 -0
  131. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/NowButtonConnect.d.ts +8 -0
  132. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuButtonConnect.d.ts +15 -0
  133. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +17 -0
  134. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/SpeedButtonConnect.d.ts +6 -0
  135. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeSpanButtonConnect.d.ts +5 -0
  136. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeStepButtonConnect.d.ts +6 -0
  137. package/dist/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect.d.ts +8 -0
  138. package/dist/src/lib/components/TimeSliderConnect/TimeSliderConnect.d.ts +11 -0
  139. package/dist/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +37 -0
  140. package/dist/src/lib/components/TimeSliderConnect/TimeSliderLegendConnect.d.ts +14 -0
  141. package/dist/src/lib/components/TimeSliderConnect/index.d.ts +1 -0
  142. package/dist/src/lib/components/TimeSliderConnect/timesliderUtils.d.ts +11 -0
  143. package/dist/src/lib/index.d.ts +23 -0
  144. package/dist/src/lib/store/index.d.ts +1 -0
  145. package/dist/src/lib/store/store.d.ts +6 -0
  146. package/dist/src/lib/utils/defaultConfigurations.d.ts +4 -0
  147. package/dist/src/lib/utils/defaultTestSettings.d.ts +29 -0
  148. package/dist/src/lib/utils/i18n.d.ts +7 -0
  149. package/dist/src/lib/utils/jsonPresetFilter.d.ts +30 -0
  150. package/dist/src/lib/utils/location-api/api.d.ts +3 -0
  151. package/dist/src/lib/utils/location-api/fakeApi.d.ts +113 -0
  152. package/dist/src/lib/utils/location-api/hooks.d.ts +4 -0
  153. package/dist/src/lib/utils/sanitizeHTML.d.ts +3 -0
  154. package/dist/src/lib/utils/storyUtils.d.ts +32 -0
  155. package/dist/src/lib/utils/testDimensionData.d.ts +39 -0
  156. package/dist/src/lib/utils/testLayers.d.ts +70 -0
  157. package/dist/src/lib/utils/testUtils.d.ts +3 -0
  158. package/dist/src/lib/utils/verticalLevels.d.ts +4 -0
  159. package/package.json +3 -2
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface SpeedButtonConnectProps {
3
+ mapId: string;
4
+ }
5
+ export declare const SpeedButtonConnect: ({ mapId, }: SpeedButtonConnectProps) => React.ReactElement;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface TimeSpanButtonConnectProps {
3
+ mapId: string;
4
+ }
5
+ export declare const TimeSpanButtonConnect: ({ mapId, }: TimeSpanButtonConnectProps) => React.ReactElement;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface ConnectedTimeStepProps {
3
+ mapId: string;
4
+ }
5
+ export declare const TimeStepButtonConnect: React.FC<ConnectedTimeStepProps>;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface TimeSliderButtonsConnectProps {
3
+ sourceId: string;
4
+ mapId: string;
5
+ mapIsActive?: boolean;
6
+ }
7
+ export declare const TimeSliderButtonsConnect: React.NamedExoticComponent<TimeSliderButtonsConnectProps>;
8
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export declare const useUpdateTimestep: (mapId: string) => void;
3
+ export declare const useUpdateTimeSpan: (mapId: string, myOnSetTimeSliderSpan: (newSpan: number, newCenterTime: number) => void) => void;
4
+ interface TimeSliderConnectProps {
5
+ sourceId: string;
6
+ mapId: string;
7
+ isAlwaysVisible?: boolean;
8
+ mapWindowRef?: React.RefObject<HTMLElement | null>;
9
+ }
10
+ export declare const TimeSliderConnect: React.FC<TimeSliderConnectProps>;
11
+ export {};
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import { mapActions } from '@opengeoweb/store';
3
+ interface TimeSliderCurrentTimeBoxConnectComponentProps {
4
+ mapId: string;
5
+ timeStep?: number;
6
+ centerTime?: number;
7
+ secondsPerPx?: number;
8
+ span?: number;
9
+ linkedMapAnimationInfo?: {
10
+ id: string;
11
+ isAnimating: boolean;
12
+ };
13
+ isAutoUpdating?: boolean;
14
+ setCenterTime?: typeof mapActions.setTimeSliderCenterTime;
15
+ unfilteredSelectedTime: number;
16
+ setUnfilteredSelectedTime: (unfilteredSelectedTime: number) => void;
17
+ onCalendarSelect: (newTime: number) => void;
18
+ }
19
+ export declare const TimeSliderCurrentTimeBoxConnect: import("react-redux").ConnectedComponent<React.FC<TimeSliderCurrentTimeBoxConnectComponentProps>, {
20
+ mapId: string;
21
+ unfilteredSelectedTime: number;
22
+ setUnfilteredSelectedTime: (unfilteredSelectedTime: number) => void;
23
+ onCalendarSelect: (newTime: number) => void;
24
+ timeStep?: number | undefined;
25
+ centerTime?: number | undefined;
26
+ secondsPerPx?: number | undefined;
27
+ span?: number | undefined;
28
+ linkedMapAnimationInfo?: {
29
+ id: string;
30
+ isAnimating: boolean;
31
+ } | undefined;
32
+ isAutoUpdating?: boolean | undefined;
33
+ setCenterTime?: typeof mapActions.setTimeSliderCenterTime | undefined;
34
+ context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
35
+ store?: import("redux").Store | undefined;
36
+ }>;
37
+ export {};
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface TimeSliderLegendConnectProps {
3
+ mapId: string;
4
+ onSetTimeSliderSpan?: (newSpan: number, newCenterTime: number) => void;
5
+ unfilteredSelectedTime: number;
6
+ setUnfilteredSelectedTime: (unfilteredSelectedTime: number) => void;
7
+ mapWindowRef?: React.RefObject<HTMLElement | null>;
8
+ adjustSelectedTimeOnWheel?: ({ event, deltaY, }: {
9
+ event: WheelEvent | KeyboardEvent;
10
+ deltaY: number;
11
+ }) => void;
12
+ }
13
+ export declare const TimeSliderLegendConnect: React.FC<TimeSliderLegendConnectProps>;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './TimeSliderConnect';
@@ -0,0 +1,11 @@
1
+ import type { mapTypes } from '@opengeoweb/store';
2
+ import type { TimeBounds } from '@opengeoweb/time-slider';
3
+ /**
4
+ * Returns time bounds from the given dimension. If no time dimension given, current time is returned as default
5
+ */
6
+ export declare const getTimeBounds: (dimensions: mapTypes.Dimension[]) => TimeBounds;
7
+ export declare const calculateNewAnimationEndTime: (newTimeInMilliseconds: number, dataStartTimeInMilliseconds: number, dataEndTimeInMilliseconds: number, animationDuration: number) => number;
8
+ export declare const calculateNewAnimationTimeBounds: (newTime: number, animationStartTime: string, animationEndTime: string, dataStartTime: number, dataEndTime: number) => {
9
+ newAnimationStartTime: number;
10
+ newAnimationEndTime: number;
11
+ };
@@ -0,0 +1,23 @@
1
+ import { LayerManagerConnect, LayerManagerHeaderOptions, LayerManagerDescriptionRow, LayerManagerLayerContainerRow, LayerManagerBaseLayerRow, LayerManagerMapButtonConnect, LayerManager, LoadingIndicatorProgressBar, useFetchServices } from './components/LayerManager';
2
+ import { MultiDimensionSelectMapButtonsConnect, MultiMapDimensionSelectConnect } from './components/MultiMapDimensionSelectConnect';
3
+ export * from './components/ComponentsLookUp';
4
+ export * from './components/ConfigurableMapConnect';
5
+ export { SyncGroupViewerConnect } from './components/SyncGroups/SyncGroupViewerConnect';
6
+ export * from './components/MultiMapViewConnect/MultiMapViewConnect';
7
+ export * from './components/MultiMapViewConnect/HarmoniePresets';
8
+ export * from './components/MapViewConnect';
9
+ export { LegendConnect, LegendMapButtonConnect, } from './components/LegendConnect';
10
+ export { LayerManagerConnect, LayerManagerHeaderOptions, LayerManagerDescriptionRow, LayerManagerBaseLayerRow, LayerManagerLayerContainerRow, LayerManagerMapButtonConnect, LayerManager, LoadingIndicatorProgressBar, useFetchServices, };
11
+ export { MultiDimensionSelectMapButtonsConnect, MultiMapDimensionSelectConnect, };
12
+ export * as testLayers from './utils/testLayers';
13
+ export * from './utils/jsonPresetFilter';
14
+ export * as defaultConfigurations from './utils/defaultConfigurations';
15
+ export * from './components/Providers/Providers';
16
+ export * from './components/RouterWrapper';
17
+ export * from './components/LocationSearch';
18
+ export * from './components/TimeSliderConnect';
19
+ export * from './components/LayerInfoConnect';
20
+ export * from './components/LanguageSelect';
21
+ export * from './components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect';
22
+ export { useLocationDetail, useLocationList } from './utils/location-api/hooks';
23
+ export * as storyUtils from './utils/storyUtils';
@@ -0,0 +1 @@
1
+ export * from './store';
@@ -0,0 +1,6 @@
1
+ import type { Middleware, Store } from '@reduxjs/toolkit';
2
+ import type { SnackbarModuleStore } from '@opengeoweb/snackbar';
3
+ import type { ReducerMap, WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
4
+ export declare const coreReducerMap: ReducerMap;
5
+ export declare const coreMiddlewares: Middleware[];
6
+ export declare const createMockStore: (mockState?: WebMapStateModuleState | SynchronizationGroupModuleState | UIModuleState | SnackbarModuleStore) => Store;
@@ -0,0 +1,4 @@
1
+ import type { layerTypes, serviceTypes } from '@opengeoweb/store';
2
+ export declare const availableDefaultBaseLayers: layerTypes.Layer[];
3
+ export declare const preloadedDefaultBaseServices: serviceTypes.InitialService[];
4
+ export declare const preloadedDefaultMapServices: serviceTypes.InitialService[];
@@ -0,0 +1,29 @@
1
+ import type { layerTypes, serviceTypes } from '@opengeoweb/store';
2
+ import { LayerType, WMLayer } from '@opengeoweb/webmap';
3
+ export declare const multiDimensionLayer: {
4
+ service: string;
5
+ id: string;
6
+ name: string;
7
+ title: string;
8
+ layerType: LayerType;
9
+ enabled: boolean;
10
+ dimensions: ({
11
+ name: string;
12
+ units: string;
13
+ currentValue: string;
14
+ values: string;
15
+ } | {
16
+ name: string;
17
+ units: string;
18
+ currentValue: string;
19
+ values?: undefined;
20
+ })[];
21
+ }, WmdefaultReduxLayerRadarKNMI: WMLayer, defaultReduxLayerRadarKNMI: import("@opengeoweb/webmap").LayerOptions, defaultReduxLayerRadarColor: import("@opengeoweb/webmap").LayerOptions, multiDimensionLayer3: import("@opengeoweb/webmap").LayerFoundation, defaultReduxLayerRadarKNMIWithStyles: import("@opengeoweb/webmap").LayerFoundation & {
22
+ styles: import("@opengeoweb/webmap").Style[];
23
+ };
24
+ export declare const flDimensionLayer: layerTypes.Layer;
25
+ export declare const layerWithSingleDimensionValue: WMLayer;
26
+ export declare const WmMultiDimensionLayer: WMLayer;
27
+ export declare const multiDimensionLayer2: layerTypes.Layer;
28
+ export declare const WmMultiDimensionLayer3: WMLayer;
29
+ export declare const defaultTestServices: serviceTypes.InitialService[];
@@ -0,0 +1,7 @@
1
+ import i18n from 'i18next';
2
+ import type { UseTranslationResponse } from 'react-i18next';
3
+ export declare const CORE_NAMESPACE = "core";
4
+ export declare const initCoreReactI18n: () => void;
5
+ export declare const translateInTestsAndStories: (key: string, params?: Record<string, string | number> | undefined) => string;
6
+ export declare const useCoreTranslation: () => UseTranslationResponse<typeof CORE_NAMESPACE, typeof i18n>;
7
+ export { i18n };
@@ -0,0 +1,30 @@
1
+ import type { SoundingsCollection, TimeSeriesService } from '@opengeoweb/shared';
2
+ import type { layerTypes, MapPreset, serviceTypes } from '@opengeoweb/store';
3
+ import { filterLayers } from '@opengeoweb/store';
4
+ interface FilteredMapPresets extends filterLayers.FilteredLayerList {
5
+ services?: serviceTypes.InitialService[];
6
+ baseServices?: serviceTypes.InitialService[];
7
+ timeSeriesServices?: TimeSeriesService[];
8
+ soundingsCollections?: SoundingsCollection[];
9
+ defaultMapSettings?: MapPreset;
10
+ }
11
+ export interface InitialAppPresetProps {
12
+ presetType?: string;
13
+ presetId?: string;
14
+ presetName?: string;
15
+ services?: serviceTypes.InitialService[];
16
+ timeSeriesServices?: TimeSeriesService[];
17
+ soundingsCollections?: SoundingsCollection[];
18
+ baseServices?: serviceTypes.InitialService[];
19
+ layers?: layerTypes.Layer[];
20
+ baseLayers?: layerTypes.Layer[];
21
+ defaultMapSettings?: MapPreset;
22
+ prefetchAllTimesteps?: boolean;
23
+ }
24
+ export interface InitialAppPreset {
25
+ preset: InitialAppPresetProps;
26
+ }
27
+ export declare const filterServices: (presetArray: serviceTypes.InitialService[]) => serviceTypes.InitialService[];
28
+ export declare const filterTimeSeriesServices: (presetArray: TimeSeriesService[]) => TimeSeriesService[];
29
+ export declare const filterMapPresets: (initialAppPreset: InitialAppPreset | null) => FilteredMapPresets;
30
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { LocationListResult, LocationDetail } from '../../components/LocationSearch/types';
2
+ export declare const getLocationList: (search: string) => Promise<LocationListResult[]>;
3
+ export declare const getLocationDetail: (id: string, source: string) => Promise<LocationDetail>;
@@ -0,0 +1,113 @@
1
+ export declare const fakeLocationList: ({
2
+ id: string;
3
+ name: string;
4
+ source: string;
5
+ group: string;
6
+ } | {
7
+ id: string;
8
+ name: string;
9
+ source: string;
10
+ group?: undefined;
11
+ })[];
12
+ export declare const fakeLocationDetailList: ({
13
+ id: string;
14
+ name: string;
15
+ source: string;
16
+ group: string;
17
+ lat: number;
18
+ lon: number;
19
+ geometry: null;
20
+ bbox?: undefined;
21
+ } | {
22
+ id: string;
23
+ name: string;
24
+ source: string;
25
+ group: string;
26
+ lat: number;
27
+ lon: number;
28
+ bbox: number[];
29
+ geometry?: undefined;
30
+ } | {
31
+ id: string;
32
+ name: string;
33
+ source: string;
34
+ lon: number;
35
+ lat: number;
36
+ group?: undefined;
37
+ geometry?: undefined;
38
+ bbox?: undefined;
39
+ } | {
40
+ lat: number;
41
+ lon: number;
42
+ source: string;
43
+ id: string;
44
+ name: string;
45
+ geometry: {
46
+ type: string;
47
+ geometry: {
48
+ type: string;
49
+ coordinates: number[];
50
+ };
51
+ properties?: undefined;
52
+ };
53
+ group?: undefined;
54
+ bbox?: undefined;
55
+ } | {
56
+ id: string;
57
+ name: string;
58
+ source: string;
59
+ lat: number;
60
+ lon: number;
61
+ geometry: {
62
+ type: string;
63
+ properties: {};
64
+ geometry: {
65
+ type: string;
66
+ coordinates: number[][];
67
+ };
68
+ };
69
+ group?: undefined;
70
+ bbox?: undefined;
71
+ } | {
72
+ id: string;
73
+ name: string;
74
+ source: string;
75
+ lat: number;
76
+ lon: number;
77
+ geometry: {
78
+ type: string;
79
+ geometry: {
80
+ type: string;
81
+ coordinates: number[][][];
82
+ };
83
+ properties: {};
84
+ };
85
+ group?: undefined;
86
+ bbox?: undefined;
87
+ } | {
88
+ id: string;
89
+ name: string;
90
+ source: string;
91
+ lat: number;
92
+ lon: number;
93
+ geometry: {
94
+ type: string;
95
+ geometry: {
96
+ type: string;
97
+ coordinates: number[][][][];
98
+ };
99
+ properties: {};
100
+ };
101
+ group?: undefined;
102
+ bbox?: undefined;
103
+ } | {
104
+ id: string;
105
+ name: string;
106
+ source: string;
107
+ lat: number;
108
+ lon: number;
109
+ bbox: number[];
110
+ group?: undefined;
111
+ geometry?: undefined;
112
+ })[];
113
+ export declare const locationApiEndpoints: import("msw").HttpHandler[];
@@ -0,0 +1,4 @@
1
+ import type { UseQueryResult } from '@tanstack/react-query';
2
+ import type { LocationDetail, LocationListResult } from '../../components/LocationSearch/types';
3
+ export declare const useLocationList: (search: string) => UseQueryResult<LocationListResult[]>;
4
+ export declare const useLocationDetail: (location: LocationDetail | LocationListResult | null) => UseQueryResult<LocationDetail>;
@@ -0,0 +1,3 @@
1
+ export declare const sanitizeHTML: (htmlToBeSanitized: string) => {
2
+ __html: string;
3
+ };
@@ -0,0 +1,32 @@
1
+ import type { layerTypes, mapTypes } from '@opengeoweb/store';
2
+ export declare const initialBbox: {
3
+ srs: string;
4
+ bbox: {
5
+ left: number;
6
+ bottom: number;
7
+ right: number;
8
+ top: number;
9
+ };
10
+ };
11
+ interface UseDefaultMapSettingsProps {
12
+ mapId?: string;
13
+ layers?: layerTypes.Layer[];
14
+ baseLayers?: layerTypes.Layer[];
15
+ bbox?: mapTypes.Bbox;
16
+ srs?: string;
17
+ shouldAutoUpdate?: boolean;
18
+ }
19
+ export declare const useDefaultMapSettings: (props?: UseDefaultMapSettingsProps) => void;
20
+ interface ExampleLayer {
21
+ title: string;
22
+ layers: layerTypes.Layer[];
23
+ }
24
+ interface ActionCardProps {
25
+ onClickBtn?: (action: ExampleLayer) => void;
26
+ name: string;
27
+ description: string;
28
+ exampleLayers?: ExampleLayer[];
29
+ children?: React.ReactNode;
30
+ }
31
+ export declare const ActionCard: React.FC<ActionCardProps>;
32
+ export {};
@@ -0,0 +1,39 @@
1
+ export declare const elevationDimMapSingleLayer: {
2
+ dimensionName: string;
3
+ layerId: string;
4
+ layerName: string;
5
+ unit: string;
6
+ marks: {
7
+ value: number;
8
+ label: string;
9
+ }[];
10
+ synced: boolean;
11
+ validSelection: boolean;
12
+ currentValue: string;
13
+ }[];
14
+ export declare const elevationDimMapTwoLayers: {
15
+ dimensionName: string;
16
+ layerId: string;
17
+ layerName: string;
18
+ unit: string;
19
+ marks: {
20
+ value: number;
21
+ label: string;
22
+ }[];
23
+ synced: boolean;
24
+ validSelection: boolean;
25
+ currentValue: string;
26
+ }[];
27
+ export declare const elevationInvalidValue: {
28
+ dimensionName: string;
29
+ layerId: string;
30
+ layerName: string;
31
+ unit: string;
32
+ marks: {
33
+ value: number;
34
+ label: string;
35
+ }[];
36
+ synced: boolean;
37
+ validSelection: boolean;
38
+ currentValue: string;
39
+ }[];
@@ -0,0 +1,70 @@
1
+ import { LayerType } from '@opengeoweb/webmap';
2
+ export declare const baseLayer: {
3
+ name: string;
4
+ title: string;
5
+ type: string;
6
+ layerType: LayerType;
7
+ enabled: boolean;
8
+ id: string;
9
+ };
10
+ export declare const baseLayerGrey: {
11
+ id: string;
12
+ name: string;
13
+ type: string;
14
+ layerType: LayerType;
15
+ };
16
+ export declare const baseLayerOpenStreetMapNL: {
17
+ id: string;
18
+ name: string;
19
+ type: string;
20
+ layerType: LayerType;
21
+ enabled: boolean;
22
+ };
23
+ export declare const baseLayerArcGisCanvas: {
24
+ id: string;
25
+ name: string;
26
+ type: string;
27
+ layerType: LayerType;
28
+ enabled: boolean;
29
+ };
30
+ export declare const baseLayerWorldMap: {
31
+ id: string;
32
+ name: string;
33
+ type: string;
34
+ layerType: LayerType;
35
+ enabled: boolean;
36
+ };
37
+ export declare const baseLayerArcGisSat: {
38
+ name: string;
39
+ title: string;
40
+ type: string;
41
+ layerType: LayerType;
42
+ enabled: boolean;
43
+ id: string;
44
+ };
45
+ export declare const overLayer: {
46
+ service: string;
47
+ name: string;
48
+ format: string;
49
+ layerType: LayerType;
50
+ enabled: boolean;
51
+ id: string;
52
+ };
53
+ export declare const overLayer2: {
54
+ service: string;
55
+ name: string;
56
+ format: string;
57
+ layerType: LayerType;
58
+ enabled: boolean;
59
+ id: string;
60
+ };
61
+ export declare const radarLayer: {
62
+ service: string;
63
+ name: string;
64
+ format: string;
65
+ enabled: boolean;
66
+ style: string;
67
+ id: string;
68
+ layerType: LayerType;
69
+ };
70
+ export declare const simplePolygonGeoJSON: GeoJSON.FeatureCollection;
@@ -0,0 +1,3 @@
1
+ import type { WebMapStateModuleState, layerTypes } from '@opengeoweb/store';
2
+ export declare const mockStateMapWithDimensions: (layer: layerTypes.Layer, mapId: string) => WebMapStateModuleState;
3
+ export declare const mockStateMapWithDimensionsWithoutLayers: (mapId: string) => WebMapStateModuleState;
@@ -0,0 +1,4 @@
1
+ export declare const defaultVerticalLevels: {
2
+ value: number;
3
+ label: string;
4
+ }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "19.0.0",
3
+ "version": "19.1.1",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -46,7 +46,7 @@
46
46
  "@types/geojson": "^7946.0.14",
47
47
  "@turf/turf": "^7.2.0",
48
48
  "proj4": "^2.15.0",
49
- "react-router": "^7.15.0"
49
+ "react-router": "^7.15.1"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": "19",
@@ -58,6 +58,7 @@
58
58
  },
59
59
  "files": [
60
60
  "dist",
61
+ "!dist/package.json",
61
62
  "README.md",
62
63
  "package.json"
63
64
  ]