@opengeoweb/core 4.10.0 → 4.12.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 (63) hide show
  1. package/index.esm.js +262 -175
  2. package/index.umd.js +283 -188
  3. package/lib/components/CanvasComponent/CanvasComponentDynamic.stories.d.ts +4 -0
  4. package/lib/components/CanvasComponent/CanvasComponentStatic.stories.d.ts +4 -0
  5. package/lib/components/LanguageSelect/DemoLanguages.stories.d.ts +4 -0
  6. package/lib/components/LanguageSelect/Languages.stories.d.ts +5 -0
  7. package/lib/components/LayerManager/LayerManager.stories.d.ts +4 -0
  8. package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +4 -0
  9. package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +4 -0
  10. package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +4 -0
  11. package/lib/components/Legend/Legend.stories.d.ts +4 -0
  12. package/lib/components/Legend/LegendConnect.stories.d.ts +4 -0
  13. package/lib/components/MapView/MapView.Error.stories.d.ts +5 -0
  14. package/lib/components/MapView/MapView.MapPin.stories.d.ts +5 -0
  15. package/lib/components/MapView/MapView.Passive.stories.d.ts +5 -0
  16. package/lib/components/MapView/MapView.RadarAnimation.stories.d.ts +5 -0
  17. package/lib/components/MapView/MapView.RadarData.stories.d.ts +5 -0
  18. package/lib/components/MapView/MapView.SetProjectionBBox.stories.d.ts +5 -0
  19. package/lib/components/MapView/MapView.SetProjectionBBoxLocalState.stories.d.ts +5 -0
  20. package/lib/components/MapView/MapView.ShowLayerInfo.stories.d.ts +5 -0
  21. package/lib/components/MapView/MapViewConnect.DoubleMap.stories.d.ts +5 -0
  22. package/lib/components/MapView/MapViewConnect.Errors.stories.d.ts +5 -0
  23. package/lib/components/MapView/MapViewConnect.FeatureLayers.stories.d.ts +5 -0
  24. package/lib/components/MapView/MapViewConnect.InitialBBoxAndWithout.stories.d.ts +5 -0
  25. package/lib/components/MapView/MapViewConnect.LayerActions.stories.d.ts +5 -0
  26. package/lib/components/MapView/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +5 -0
  27. package/lib/components/MapView/MapViewConnect.MapModuleOverDefaultMap.stories.d.ts +5 -0
  28. package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +5 -0
  29. package/lib/components/MapView/MapViewConnect.SelectorTest.stories.d.ts +6 -0
  30. package/lib/components/MapView/MapViewConnect.SetBaseLayers.stories.d.ts +5 -0
  31. package/lib/components/MapView/MapViewConnect.ToggleControls.stories.d.ts +5 -0
  32. package/lib/components/MapWarning/MapWarningProperties.d.ts +1 -1
  33. package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.stories.d.ts +4 -0
  34. package/lib/components/MultiMapDimensionSelect/EnsembleDimensionExample.stories.d.ts +4 -0
  35. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConnect.stories.d.ts +4 -0
  36. package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelect.stories.d.ts +4 -0
  37. package/lib/components/SyncGroups/SyncGroups.SyncMany.stories.d.ts +4 -0
  38. package/lib/components/SyncGroups/SyncGroups.SyncMaps.stories.d.ts +4 -0
  39. package/lib/components/TimeSlider/TimeSliderButtons/AnimationLengthButton/AnimationLengthButton.d.ts +1 -0
  40. package/lib/components/TimeSlider/TimeSliderButtons/BackwardForwardStepButton/BackwardForwardStepButtonConnect.d.ts +1 -0
  41. package/lib/components/TimeSlider/TimeSliderButtons/OptionsMenuButton/OptionsMenuButton.stories.d.ts +1 -0
  42. package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButtonConnect.d.ts +1 -0
  43. package/lib/components/TimeSlider/TimeSliderButtons/TimeScaleButton/TimeScaleButton.d.ts +1 -0
  44. package/lib/components/TimeSlider/TimeSliderButtons/TimeScaleButton/TimeScaleButtonConnect.d.ts +1 -0
  45. package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderMenu/TimeSliderMenu.stories.d.ts +1 -0
  46. package/lib/components/TimeSlider/TimeSliderButtons/TimeStepButton/TimeStepButton.stories.d.ts +1 -0
  47. package/lib/components/TimeSlider/TimeSliderClock/TimeSliderClock.stories.d.ts +1 -0
  48. package/lib/index.d.ts +1 -0
  49. package/lib/store/mapStore/map/reducer.d.ts +3 -1
  50. package/lib/store/mapStore/map/selectors.d.ts +20 -0
  51. package/lib/store/mapStore/map/types.d.ts +6 -0
  52. package/lib/store/mapStore/map/utils.d.ts +2 -1
  53. package/lib/utils/defaultTestSettings.d.ts +2 -1
  54. package/package.json +7 -7
  55. package/lib/components/CanvasComponent/CanvasComponentStories.stories.d.ts +0 -6
  56. package/lib/components/LanguageSelect/LanguageSelectStories.stories.d.ts +0 -6
  57. package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +0 -6
  58. package/lib/components/LayerManager/LayerSelect/LayerSelectStories.stories.d.ts +0 -6
  59. package/lib/components/Legend/LegendStories.stories.d.ts +0 -6
  60. package/lib/components/MapView/MapView.stories.d.ts +0 -14
  61. package/lib/components/MapView/MapViewConnect.stories.d.ts +0 -17
  62. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelect.stories.d.ts +0 -8
  63. package/lib/components/SyncGroups/SyncGroups.stories.d.ts +0 -6
@@ -1,2 +1,6 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const DynamicCanvas: React.FC;
@@ -1,2 +1,6 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const StaticCanvas: React.FC;
@@ -1,4 +1,8 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const DemoLanguages: {
3
7
  (): React.ReactElement;
4
8
  parameters: {
@@ -1,3 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
1
6
  export declare const Languages: {
2
7
  (): JSX.Element;
3
8
  parameters: {
@@ -1,4 +1,8 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const LayerManagerLightTheme: {
3
7
  (): React.ReactElement;
4
8
  parameters: {
@@ -1,4 +1,8 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const LayerManagerConnectLightTheme: {
3
7
  (): React.ReactElement;
4
8
  parameters: {
@@ -1,4 +1,8 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const LayerSelectDemoLightTheme: {
3
7
  (): React.ReactElement;
4
8
  storyName: string;
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const MapWithLayerSelectDemoLightTheme: React.FC;
3
7
  export declare const MapWithLayerSelectDemoDarkTheme: React.FC;
@@ -1,4 +1,8 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const SimpleLegend: () => React.ReactElement;
3
7
  export declare const SimpleLegendWithMultiDimensions: () => React.ReactElement;
4
8
  export declare const SimpleLegendWithoutDimensionsOrGraphic: () => React.ReactElement;
@@ -1,2 +1,6 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const LegendConnectStoryWithMultiMaps: () => React.ReactElement;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const MapError: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const SetMapPin: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const PassiveMap: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const RadarAnimation: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const MapViewRadar: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const SetProjectionBBox: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const SetProjectionBBoxLocalState: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./types").MapViewProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const MapWithShowLayerInfoEnabled: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,2 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const DoubleMap: React.FC;
@@ -1,2 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const MapError: () => React.ReactElement;
@@ -1,2 +1,7 @@
1
1
  import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const FeatureLayers: () => React.ReactElement;
@@ -1,2 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const MapWithAndWithoutInitialBBOX: React.FC;
@@ -1,2 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const LayerActions: () => React.ReactElement;
@@ -1,6 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { layerActions } from '../../store';
3
3
  import { Layer } from '../../store/mapStore/types';
4
+ declare const _default: {
5
+ title: string;
6
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
7
+ };
8
+ export default _default;
4
9
  export interface LayerChangeOpacityInputProps {
5
10
  mapId: string;
6
11
  layerChangeOpacity?: typeof layerActions.layerChangeOpacity;
@@ -1,2 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const MapModuleOverDefaultMap: () => React.ReactElement;
@@ -1,4 +1,9 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const SetMapPinAction: {
3
8
  (): React.ReactElement;
4
9
  storyName: string;
@@ -1,2 +1,8 @@
1
1
  import * as React from 'react';
2
+ import { MapViewConnectProps } from './MapViewConnect';
3
+ declare const _default: {
4
+ title: string;
5
+ component: React.FC<MapViewConnectProps>;
6
+ };
7
+ export default _default;
2
8
  export declare const SelectorTests: () => React.ReactElement;
@@ -1,2 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const SetBaseLayersAction: React.FC;
@@ -1,2 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ };
6
+ export default _default;
2
7
  export declare const MapToggleControls: React.FC;
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  interface WarningListProps {
3
3
  selectedFeatureProperties: {
4
4
  identifier?: string;
5
- areaDesc?: string;
6
5
  severity?: string;
7
6
  certainty?: string;
8
7
  onset?: string;
@@ -13,6 +12,7 @@ interface WarningListProps {
13
12
  parentSize?: number;
14
13
  }
15
14
  interface Language {
15
+ areaDesc: string;
16
16
  language: string;
17
17
  event: string;
18
18
  senderName: string;
@@ -1,4 +1,8 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const DimensionSelectElevationLight: {
3
7
  (): React.ReactElement;
4
8
  storyName: string;
@@ -1,2 +1,6 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const MultiDimensionDemo: React.FC;
@@ -1,3 +1,7 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const ElevationDimensionDemoWithLightTheme: React.FC;
3
7
  export declare const ElevationDimensionDemoWithDarkTheme: React.FC;
@@ -1,2 +1,6 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const MultiDimensionSelectStoryWithMultiMaps: () => React.ReactElement;
@@ -1,2 +1,6 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const SyncMany: () => React.ReactElement;
@@ -1,2 +1,6 @@
1
1
  import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
2
6
  export declare const SyncMaps: () => React.ReactElement;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AnimationLength } from '../../../../store/mapStore/types';
2
3
  export declare const title = "Animation";
3
4
  interface AnimationLengthButtonProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface BackwardForwardStepButtonConnectProps {
2
3
  mapId: string;
3
4
  isForwardStep?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface SpeedButtonConnectProps {
2
3
  mapId: string;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Layer, Scale } from '../../../../store/mapStore/types';
2
3
  interface TimeScaleButtonProps {
3
4
  layers?: Layer[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface TimeScaleButtonConnectProps {
2
3
  mapId: string;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
package/lib/index.d.ts CHANGED
@@ -45,6 +45,7 @@ export declare const mapActions: {
45
45
  setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderSecondsPerPxPayload, string>;
46
46
  setTimeSliderDataScaleToSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderDataScaleToSecondsPerPxPayload, string>;
47
47
  toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleAutoUpdatePayload, string>;
48
+ setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetEndTimeOverriding, string>;
48
49
  toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimestepAutoPayload, string>;
49
50
  toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimeSliderHoverPayload, string>;
50
51
  toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimeSliderIsVisiblePayload, string>;
@@ -1,5 +1,5 @@
1
1
  import { PayloadAction } from '@reduxjs/toolkit';
2
- import { WebMapState, SetActiveLayerIdPayload, SetBboxPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderCenterTimePayload, SetTimeSliderDataScaleToSecondsPerPxPayload, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSliderHoverPayload, MapPinLocationPayload, DisableMapPinPayload, SetTimeSliderSecondsPerPxPayload, UpdateAllMapDimensionsPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize } from './types';
2
+ import { WebMapState, SetActiveLayerIdPayload, SetBboxPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderCenterTimePayload, SetTimeSliderDataScaleToSecondsPerPxPayload, SetEndTimeOverriding, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSliderHoverPayload, MapPinLocationPayload, DisableMapPinPayload, SetTimeSliderSecondsPerPxPayload, UpdateAllMapDimensionsPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize } from './types';
3
3
  import { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload, SetTimeSliderUnfilteredSelectedTimePayload } from '../types';
4
4
  /**
5
5
  * Checks if the layer id is already taken in one of the maps.
@@ -38,6 +38,7 @@ export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
38
38
  setTimeSliderSecondsPerPx: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderSecondsPerPxPayload>) => void;
39
39
  setTimeSliderDataScaleToSecondsPerPx: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderDataScaleToSecondsPerPxPayload>) => void;
40
40
  toggleAutoUpdate: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleAutoUpdatePayload>) => void;
41
+ setEndTimeOverriding: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetEndTimeOverriding>) => void;
41
42
  toggleTimestepAuto: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleTimestepAutoPayload>) => void;
42
43
  toggleTimeSliderHover: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleTimeSliderHoverPayload>) => void;
43
44
  toggleTimeSliderIsVisible: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleTimeSliderIsVisiblePayload>) => void;
@@ -72,6 +73,7 @@ export declare const mapActions: {
72
73
  setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderSecondsPerPxPayload, string>;
73
74
  setTimeSliderDataScaleToSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderDataScaleToSecondsPerPxPayload, string>;
74
75
  toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleAutoUpdatePayload, string>;
76
+ setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetEndTimeOverriding, string>;
75
77
  toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimestepAutoPayload, string>;
76
78
  toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSliderHoverPayload, string>;
77
79
  toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSliderIsVisiblePayload, string>;
@@ -384,6 +384,26 @@ export declare const isAutoUpdating: ((state: {
384
384
  }> & {
385
385
  clearCache: () => void;
386
386
  };
387
+ /**
388
+ * Gets if endTime and duration of animationPayload are overriding maxValue and minValue of leading layer
389
+ *
390
+ * Example: isEndTimeOverriding = isEndTimeOverriding(store, 'mapid_1')
391
+ * @param {object} store store: object - store object
392
+ * @param {string} mapId mapId: string - Id of the map
393
+ * @returns {boolean} returnType: boolean
394
+ */
395
+ export declare const isEndTimeOverriding: ((state: {
396
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
397
+ ui?: UIStoreType | undefined;
398
+ webmap?: WebMapState | undefined;
399
+ services?: import("../types").ServiceState | undefined;
400
+ layers?: import("../types").LayerState | undefined;
401
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
402
+ }, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap) => boolean & {
403
+ clearCache: () => void;
404
+ }> & {
405
+ clearCache: () => void;
406
+ };
387
407
  /**
388
408
  * Gets activeLayerId for map
389
409
  *
@@ -17,6 +17,7 @@ export interface WebMap {
17
17
  animationStartTime?: string;
18
18
  animationEndTime?: string;
19
19
  isAutoUpdating: boolean;
20
+ isEndTimeOverriding: boolean;
20
21
  srs: string;
21
22
  bbox: Bbox;
22
23
  mapLayers: string[];
@@ -84,6 +85,7 @@ export interface AnimationPayloadType {
84
85
  interval?: number;
85
86
  speed?: SpeedFactorType;
86
87
  endTime?: string;
88
+ shouldEndtimeOverride?: boolean;
87
89
  }
88
90
  export declare enum MapActionOrigin {
89
91
  map = "map"
@@ -158,6 +160,10 @@ export interface ToggleAutoUpdatePayload {
158
160
  shouldAutoUpdate: boolean;
159
161
  origin?: MapActionOrigin;
160
162
  }
163
+ export interface SetEndTimeOverriding {
164
+ mapId: string;
165
+ shouldEndtimeOverride: boolean;
166
+ }
161
167
  export interface SetTimeSliderScalePayload {
162
168
  mapId: string;
163
169
  timeSliderScale: Scale;
@@ -8,6 +8,7 @@ interface CreateMapProps {
8
8
  animationStartTime?: string;
9
9
  animationEndTime?: string;
10
10
  isAutoUpdating?: boolean;
11
+ isEndTimeOverriding?: boolean;
11
12
  srs?: string;
12
13
  bbox?: Bbox;
13
14
  mapLayers?: string[];
@@ -29,7 +30,7 @@ interface CreateMapProps {
29
30
  disableMapPin?: boolean;
30
31
  shouldShowZoomControls?: boolean;
31
32
  }
32
- export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, isTimeSliderVisible, displayMapPin, disableMapPin, shouldShowZoomControls, }: CreateMapProps) => WebMap;
33
+ export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, isEndTimeOverriding, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, isTimeSliderVisible, displayMapPin, disableMapPin, shouldShowZoomControls, }: CreateMapProps) => WebMap;
33
34
  export declare const checkValidLayersPayload: (layers: Layer[], mapId: string) => boolean;
34
35
  /**
35
36
  * This will get the map from the map draftstate.
@@ -1,4 +1,4 @@
1
- import { LayerOptions, Style, WMLayer } from '@opengeoweb/webmap';
1
+ import { CoordinateReferenceSystem, LayerOptions, Style, WMLayer } from '@opengeoweb/webmap';
2
2
  import { Service } from '../components/WMSLoader/services';
3
3
  import { ActiveLayerObject } from '../store/layerSelect/types';
4
4
  import { Layer, LayerType, Services } from '../store/mapStore/types';
@@ -43,6 +43,7 @@ export declare const defaultReduxLayerRadarKNMI: {
43
43
  export declare const WmdefaultReduxLayerRadarKNMI: WMLayer;
44
44
  export declare const makeGeoservicesRadarLayer: () => WMLayer;
45
45
  export declare const styleListForRADNL25PCPCMLayer: Style[];
46
+ export declare const crsListForRADNL25PCPCMLayer: CoordinateReferenceSystem[];
46
47
  export declare const styleListForRADNLOPERR25PCPRRL3KNMILayer: Style[];
47
48
  export declare const defaultReduxServices: Services;
48
49
  export declare const defaultReduxActiveLayers: ActiveLayerObject[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "4.10.0",
3
+ "version": "4.12.0",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -12,15 +12,15 @@
12
12
  "typings": "./index.d.ts",
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
- "react": "^17.0.2",
16
- "@opengeoweb/shared": "4.10.0",
15
+ "react": "^18.2.0",
16
+ "@opengeoweb/shared": "4.12.0",
17
17
  "@mui/material": "^5.10.8",
18
- "@opengeoweb/theme": "4.10.0",
18
+ "@opengeoweb/theme": "4.12.0",
19
19
  "react-draggable": "^4.4.5",
20
20
  "re-resizable": "^6.9.0",
21
21
  "@redux-eggs/core": "^2.2.0",
22
22
  "react-redux": "^8.0.4",
23
- "@opengeoweb/form-fields": "4.10.0",
23
+ "@opengeoweb/form-fields": "4.12.0",
24
24
  "react-hook-form": "^7.41.5",
25
25
  "moment": "^2.29.0",
26
26
  "moment-timezone": "^0.5.31",
@@ -28,10 +28,10 @@
28
28
  "lodash": "^4.17.20",
29
29
  "axios": "^0.25.0",
30
30
  "date-fns": "^2.29.3",
31
- "@opengeoweb/webmap": "4.10.0",
31
+ "@opengeoweb/webmap": "4.12.0",
32
32
  "throttle-debounce": "^3.0.1",
33
33
  "proj4": "^2.6.2",
34
- "@opengeoweb/api": "4.10.0",
34
+ "@opengeoweb/api": "4.12.0",
35
35
  "react-intl": "^5.17.5",
36
36
  "react-sortablejs": "^6.1.4",
37
37
  "sortablejs": "^1.15.0",
@@ -1,6 +0,0 @@
1
- export * from './CanvasComponentDynamic.stories';
2
- export * from './CanvasComponentStatic.stories';
3
- declare const _default: {
4
- title: string;
5
- };
6
- export default _default;
@@ -1,6 +0,0 @@
1
- export * from './DemoLanguages.stories';
2
- export * from './Languages.stories';
3
- declare const _default: {
4
- title: string;
5
- };
6
- export default _default;
@@ -1,6 +0,0 @@
1
- export * from './LayerManager.stories';
2
- export * from './LayerManagerConnect.stories';
3
- declare const _default: {
4
- title: string;
5
- };
6
- export default _default;
@@ -1,6 +0,0 @@
1
- export * from './LayerSelect.stories';
2
- export * from './LayerSelectConnect.stories';
3
- declare const _default: {
4
- title: string;
5
- };
6
- export default _default;
@@ -1,6 +0,0 @@
1
- export * from './Legend.stories';
2
- export * from './LegendConnect.stories';
3
- declare const _default: {
4
- title: string;
5
- };
6
- export default _default;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- export * from './MapView.Error.stories';
3
- export * from './MapView.MapPin.stories';
4
- export * from './MapView.Passive.stories';
5
- export * from './MapView.RadarAnimation.stories';
6
- export * from './MapView.RadarData.stories';
7
- export * from './MapView.SetProjectionBBox.stories';
8
- export * from './MapView.SetProjectionBBoxLocalState.stories';
9
- export * from './MapView.ShowLayerInfo.stories';
10
- declare const _default: {
11
- title: string;
12
- component: import("react").FC<import("./types").MapViewProps>;
13
- };
14
- export default _default;