@opengeoweb/core 4.18.0 → 4.19.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 (33) hide show
  1. package/index.esm.js +777 -542
  2. package/index.umd.js +733 -499
  3. package/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +2 -0
  4. package/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.d.ts +2 -0
  5. package/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.d.ts +2 -0
  6. package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +2 -0
  7. package/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +2 -0
  8. package/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +8 -2
  9. package/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +2 -0
  10. package/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +3 -1
  11. package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +2 -0
  12. package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +2 -0
  13. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +2 -0
  14. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +2 -0
  15. package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +1 -0
  16. package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +1 -0
  17. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +1 -0
  18. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +1 -0
  19. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +2 -0
  20. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +2 -0
  21. package/lib/components/LayerManager/LayerManager.d.ts +2 -0
  22. package/lib/components/LayerManager/LayerManagerUtils.d.ts +60 -0
  23. package/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.d.ts +2 -0
  24. package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +8 -2
  25. package/lib/index.d.ts +10 -2
  26. package/lib/store/generic/index.d.ts +2 -0
  27. package/lib/store/generic/synchronizationGroups/index.d.ts +1 -0
  28. package/lib/store/generic/synchronizationGroups/selectors.d.ts +1 -0
  29. package/lib/store/generic/synchronizationGroups/types.d.ts +5 -1
  30. package/lib/store/mapStore/map/reducer.d.ts +22 -0
  31. package/lib/store/mapStore/map/sagas.d.ts +2 -1
  32. package/lib/store/router/utils.d.ts +1 -1
  33. package/package.json +11 -10
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { LayerManagerCustomSettings } from '../LayerManagerUtils';
2
3
  import { Layer } from '../../../store/mapStore/types';
3
4
  import { Service } from '../../WMSLoader/services';
4
5
  interface BaseLayerRowProps {
@@ -6,6 +7,7 @@ interface BaseLayerRowProps {
6
7
  preloadedAvailableBaseLayers?: Layer[];
7
8
  preloadedServices?: Service[];
8
9
  tooltip?: string;
10
+ settings?: LayerManagerCustomSettings['footer'];
9
11
  }
10
12
  declare const BaseLayerRow: React.FC<BaseLayerRowProps>;
11
13
  export default BaseLayerRow;
@@ -4,6 +4,8 @@ interface BaseLayersProps {
4
4
  selectedBaseLayers: Layer[];
5
5
  availableBaseLayers: Layer[];
6
6
  onChangeBaseLayers: (name: string) => void;
7
+ icon?: React.ElementType;
8
+ tooltipPrefix?: string;
7
9
  }
8
10
  declare const BaseLayers: React.FC<BaseLayersProps>;
9
11
  export default BaseLayers;
@@ -6,6 +6,8 @@ export declare const areAvailableBaseLayersSame: (availableBaseLayerList: Layer[
6
6
  interface BaseLayersConnectProps {
7
7
  mapId: string;
8
8
  preloadedAvailableBaseLayers: Layer[];
9
+ tooltipPrefix?: string;
10
+ icon?: React.ElementType;
9
11
  }
10
12
  declare const BaseLayersConnect: React.FC<BaseLayersConnectProps>;
11
13
  /**
@@ -1,9 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { Source } from '../../../store/ui/types';
3
+ import { LayerManagerCustomSettings } from '../LayerManagerUtils';
3
4
  interface DescriptionRowProps {
4
5
  mapId: string;
5
6
  mapPresetsModule?: React.ReactElement;
6
7
  source?: Source;
8
+ settings?: LayerManagerCustomSettings['header'];
7
9
  }
8
10
  declare const DescriptionRow: React.FC<DescriptionRowProps>;
9
11
  export default DescriptionRow;
@@ -1,6 +1,8 @@
1
1
  import * as React from 'react';
2
+ import { LayerManagerCustomSettings } from '../LayerManagerUtils';
2
3
  interface LayerContainerRowProps {
3
4
  mapId: string;
5
+ settings?: LayerManagerCustomSettings['content'];
4
6
  }
5
7
  declare const LayerContainerRow: React.FC<LayerContainerRowProps>;
6
8
  /**
@@ -1,8 +1,14 @@
1
1
  import * as React from 'react';
2
+ export declare enum AutoOptions {
3
+ BOTH = "Auto both",
4
+ NONE = "Auto none",
5
+ TIMESTEP = "Auto-timestep",
6
+ UPDATE = "Auto-update"
7
+ }
2
8
  interface ActivateLayerProps {
3
- onChange: (isActive: boolean) => void;
4
- isActive: boolean;
9
+ onChange: (autoOption: AutoOptions) => void;
5
10
  isEnabled: boolean;
11
+ current: AutoOptions;
6
12
  }
7
13
  declare const ActivateLayer: React.FC<ActivateLayerProps>;
8
14
  export default ActivateLayer;
@@ -3,6 +3,8 @@ interface DeleteLayerProps {
3
3
  layerId: string;
4
4
  mapId: string;
5
5
  layerIndex: number;
6
+ tooltipTitle?: string;
7
+ icon?: React.ReactNode;
6
8
  }
7
9
  declare const DeleteLayerConnect: React.FC<DeleteLayerProps>;
8
10
  /**
@@ -1,9 +1,11 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  interface DragHandleProps {
3
3
  isDisabled?: boolean;
4
4
  index?: number;
5
5
  hideTooltip?: boolean;
6
6
  isSorting?: boolean;
7
+ icon?: ReactNode;
8
+ tooltipTitle?: string;
7
9
  }
8
10
  export declare const TOOLTIP_TITLE = "Drag";
9
11
  declare const DragHandle: React.FC<DragHandleProps>;
@@ -4,6 +4,8 @@ interface EnableLayerProps {
4
4
  mapId: string;
5
5
  isEnabled?: boolean;
6
6
  layerName?: string;
7
+ icon?: React.ReactNode;
8
+ tooltipTitle?: string;
7
9
  }
8
10
  declare const EnableLayerConnect: React.FC<EnableLayerProps>;
9
11
  /**
@@ -1,9 +1,11 @@
1
1
  import * as React from 'react';
2
+ import { LayerManagerCustomSettings } from '../../LayerManagerUtils';
2
3
  interface LayerRowConnectProps {
3
4
  layerId: string;
4
5
  mapId: string;
5
6
  dragHandle: React.ReactElement;
6
7
  layerIndex: number;
8
+ settings?: LayerManagerCustomSettings['content'];
7
9
  }
8
10
  declare const LayerRowConnect: React.FC<LayerRowConnectProps>;
9
11
  export default LayerRowConnect;
@@ -6,6 +6,8 @@ interface LayerManagerButtonProps {
6
6
  mapId: string;
7
7
  layerId: string;
8
8
  }) => void;
9
+ tooltipTitle?: string;
10
+ icon?: React.ReactNode;
9
11
  }
10
12
  declare const LayerManagerMenuButton: React.FC<LayerManagerButtonProps>;
11
13
  export default LayerManagerMenuButton;
@@ -2,6 +2,8 @@ import * as React from 'react';
2
2
  interface LayerManagerButtonProps {
3
3
  mapId: string;
4
4
  layerId?: string;
5
+ tooltipTitle?: string;
6
+ icon?: React.ReactNode;
5
7
  }
6
8
  declare const LayerManagerMenuButtonConnect: React.FC<LayerManagerButtonProps>;
7
9
  export default LayerManagerMenuButtonConnect;
@@ -3,6 +3,7 @@ interface OpacitySelectProps {
3
3
  currentOpacity: number;
4
4
  onLayerChangeOpacity: (opacity: number) => void;
5
5
  isEnabled?: boolean;
6
+ tooltipPrefix?: string;
6
7
  }
7
8
  declare const OpacitySelect: React.FC<OpacitySelectProps>;
8
9
  export default OpacitySelect;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  interface OpacitySelectConnectProps {
3
3
  layerId: string;
4
4
  mapId: string;
5
+ tooltipPrefix?: string;
5
6
  }
6
7
  declare const OpacitySelectConnect: React.FC<OpacitySelectConnectProps>;
7
8
  /**
@@ -5,6 +5,7 @@ export interface RenderLayersProps {
5
5
  layerName: string;
6
6
  layers: ServiceLayer[];
7
7
  isEnabled?: boolean;
8
+ tooltipPrefix?: string;
8
9
  }
9
10
  declare const RenderLayers: React.FC<RenderLayersProps>;
10
11
  export default RenderLayers;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  interface RenderLayersProps {
3
3
  layerId: string;
4
4
  mapId: string;
5
+ tooltipPrefix?: string;
5
6
  }
6
7
  declare const RenderLayersConnect: React.FC<RenderLayersProps>;
7
8
  export default RenderLayersConnect;
@@ -5,6 +5,8 @@ export interface RenderStylesProps {
5
5
  currentLayerStyle: string;
6
6
  onChangeLayerStyle: (style: string) => void;
7
7
  isEnabled?: boolean;
8
+ icon?: React.ElementType;
9
+ tooltipPrefix?: string;
8
10
  }
9
11
  declare const RenderStyles: React.FC<RenderStylesProps>;
10
12
  export default RenderStyles;
@@ -2,6 +2,8 @@ import * as React from 'react';
2
2
  interface RenderStylesProps {
3
3
  layerId: string;
4
4
  mapId: string;
5
+ icon?: React.ElementType;
6
+ tooltipPrefix?: string;
5
7
  }
6
8
  declare const RenderStylesConnect: React.FC<RenderStylesProps>;
7
9
  export default RenderStylesConnect;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import { Layer } from '../../store/mapStore/types';
3
3
  import { Source } from '../../store/ui/types';
4
4
  import { Service } from '../WMSLoader/services';
5
+ import { LayerManagerCustomSettings } from './LayerManagerUtils';
5
6
  import { Size } from './LayerManagerHeaderOptions';
6
7
  export declare type Position = {
7
8
  top: number;
@@ -27,6 +28,7 @@ interface LayerManagerProps {
27
28
  size?: Size;
28
29
  startPosition?: Position;
29
30
  setFocused?: (focused: boolean) => void;
31
+ settings?: LayerManagerCustomSettings;
30
32
  }
31
33
  export declare const calculateStartSize: (minSize: Size, prefSize: Size, startPosition: Position) => Size;
32
34
  declare const LayerManager: React.FC<LayerManagerProps>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DockedLayerManagerSize } from '../../store/mapStore/types';
2
3
  import { Size } from './LayerManagerHeaderOptions';
3
4
  export declare const columnClasses: {
@@ -152,3 +153,62 @@ export declare const layerManagerStyle: {
152
153
  };
153
154
  };
154
155
  export declare const returnCorrectSize: (sizeResult: DockedLayerManagerSize | undefined) => Size;
156
+ export interface LayerManagerCustomSettings {
157
+ header?: {
158
+ addLayer?: {
159
+ tooltipTitle?: string;
160
+ icon?: React.ReactNode;
161
+ };
162
+ layerName?: {
163
+ title: string;
164
+ };
165
+ layerStyle?: {
166
+ title: string;
167
+ };
168
+ opacity?: {
169
+ title: string;
170
+ };
171
+ dimensions?: {
172
+ title: string;
173
+ };
174
+ };
175
+ content?: {
176
+ dragHandle?: {
177
+ tooltipTitle?: string;
178
+ icon?: React.ReactNode;
179
+ };
180
+ enableLayer?: {
181
+ enabledIcon?: React.ReactNode;
182
+ disabledIcon?: React.ReactNode;
183
+ enabledTooltipTitle?: string;
184
+ disabledTooltipTitle?: string;
185
+ };
186
+ renderLayer?: {
187
+ tooltipPrefix?: string;
188
+ };
189
+ layerStyle?: {
190
+ tooltipPrefix?: string;
191
+ icon?: React.ElementType;
192
+ };
193
+ opacity?: {
194
+ tooltipPrefix?: string;
195
+ };
196
+ deleteLayer?: {
197
+ tooltipTitle?: string;
198
+ icon?: React.ReactNode;
199
+ };
200
+ menu?: {
201
+ tooltipTitle?: string;
202
+ icon?: React.ReactNode;
203
+ };
204
+ };
205
+ footer?: {
206
+ baseLayerRow?: {
207
+ title?: string;
208
+ };
209
+ baseLayerDropdown?: {
210
+ tooltipPrefix?: string;
211
+ icon?: React.ElementType;
212
+ };
213
+ };
214
+ }
@@ -3,6 +3,8 @@ import { Source } from '../../../store/ui/types';
3
3
  interface LayerSelectButtonConnectProps {
4
4
  mapId: string;
5
5
  source?: Source;
6
+ tooltipTitle?: string;
7
+ icon?: React.ReactNode;
6
8
  }
7
9
  declare const LayerSelectButtonConnect: React.FC<LayerSelectButtonConnectProps>;
8
10
  export default LayerSelectButtonConnect;
@@ -11,7 +11,10 @@ export interface PlayButtonConnectProps {
11
11
  mapStartAnimation?: typeof mapActions.mapStartAnimation;
12
12
  mapStopAnimation?: typeof mapActions.mapStopAnimation;
13
13
  timeStep?: number;
14
- linkedMapAnimationInfo?: any;
14
+ linkedMapAnimationInfo?: {
15
+ isAnimating: boolean;
16
+ id: string;
17
+ };
15
18
  }
16
19
  declare const connectRedux: import("react-redux").InferableComponentEnhancerWithProps<{
17
20
  animationStartTime: string | undefined;
@@ -35,7 +38,10 @@ declare const PlayButtonConnect: import("react-redux").ConnectedComponent<({ map
35
38
  mapStartAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStartPayload, string> | undefined;
36
39
  mapStopAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStopPayload, string> | undefined;
37
40
  timeStep?: number | undefined;
38
- linkedMapAnimationInfo?: any;
41
+ linkedMapAnimationInfo?: {
42
+ isAnimating: boolean;
43
+ id: string;
44
+ } | undefined;
39
45
  context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
40
46
  store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
41
47
  }>;
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { mapSelectors, uiActions, uiSelectors, layerActions, genericActions, snackbarActions, routerActions, appActions, layerSelectors, genericSelectors } from './store';
1
+ import { mapSelectors, uiActions, uiSelectors, layerActions, genericActions, snackbarActions, routerActions, appActions, layerSelectors, genericSelectors, syncGroupsSelectors } from './store';
2
2
  import * as mapTypes from './store/mapStore/types';
3
3
  import * as layerTypes from './store/mapStore/layers/types';
4
4
  import * as mapUtils from './store/mapStore/map/utils';
@@ -41,6 +41,14 @@ export declare const mapActions: {
41
41
  setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAnimationDelayPayload, string>;
42
42
  layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.MoveLayerPayload, string>;
43
43
  setAutoLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAutoLayerIdPayload, string>;
44
+ setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
45
+ mapId: string;
46
+ autoTimestepLayerId: string | undefined;
47
+ }, string>;
48
+ setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
49
+ mapId: string;
50
+ autoUpdateLayerId: string | undefined;
51
+ }, string>;
44
52
  setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderCenterTimePayload, string>;
45
53
  setTimeSliderUnfilteredSelectedTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderUnfilteredSelectedTimePayload, string>;
46
54
  setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderSecondsPerPxPayload, string>;
@@ -75,7 +83,7 @@ export declare const mapActions: {
75
83
  onUpdateLayerInformation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.UpdateLayerInfoPayload, string>;
76
84
  setSelectedFeature: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetSelectedFeaturePayload, string>;
77
85
  };
78
- export { mapSelectors, mapTypes, mapUtils, layerTypes, layerReducer, layerActions, uiActions, uiSelectors, uiTypes, genericActions as syncGroupActions, snackbarActions, appActions, layerSelectors, routerActions, genericSelectors, };
86
+ export { mapSelectors, mapTypes, mapUtils, layerTypes, layerReducer, layerActions, uiActions, uiSelectors, uiTypes, genericActions as syncGroupActions, snackbarActions, appActions, layerSelectors, routerActions, genericSelectors, syncGroupsSelectors, };
79
87
  export { synchronizationGroupConfig as synchronizationGroupModuleConfig };
80
88
  export * from './components/ComponentsLookUp';
81
89
  export * from './components/ConfigurableMap';
@@ -1,3 +1,4 @@
1
+ import { syncGroupsSelectors } from './synchronizationGroups';
1
2
  export declare const genericActions: {
2
3
  setTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimePayload, string>;
3
4
  setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetBboxPayload, string>;
@@ -12,3 +13,4 @@ export declare const genericActions: {
12
13
  syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupSetViewStatePayload, string>;
13
14
  };
14
15
  export * as genericSelectors from './selectors';
16
+ export { syncGroupsSelectors };
@@ -2,3 +2,4 @@ import { actions, initialState } from './reducer';
2
2
  import * as constants from './constants';
3
3
  import * as types from './types';
4
4
  export { actions, constants, types, initialState };
5
+ export * as syncGroupsSelectors from './selectors';
@@ -26,6 +26,7 @@ export declare const getSynchronizationGroup: (state: AppStore, id: string) => S
26
26
  export declare const getSynchronizationGroupSource: (state: AppStore, id: string) => SynchronizationSource;
27
27
  export declare const getTargets: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => GenericSyncActionPayload[];
28
28
  export declare const getTargetGroups: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => string[];
29
+ export declare const getAllTargetGroupsForSource: (state: AppStore, sourceId: string) => string[];
29
30
  export declare const syncGroupGetViewState: ((state: {
30
31
  syncronizationGroupStore?: SynchronizationGroupState | undefined;
31
32
  ui?: import("../../ui/types").UIStoreType | undefined;
@@ -12,6 +12,7 @@ export interface SynchronizationGroup {
12
12
  allIds: string[];
13
13
  };
14
14
  }
15
+ declare type Origin = 'user' | 'system';
15
16
  export declare type SynchronizationSourcePayLoadByType = Record<string, GenericActionPayload>;
16
17
  export interface SynchronizationSource {
17
18
  types: SyncType[];
@@ -46,11 +47,12 @@ export interface SyncGroupAddTargetPayload {
46
47
  groupId: string;
47
48
  targetId: string;
48
49
  linked?: boolean;
49
- origin?: 'user' | 'system';
50
+ origin?: Origin;
50
51
  }
51
52
  export interface SyncGroupRemoveTargetPayload {
52
53
  groupId: string;
53
54
  targetId: string;
55
+ origin?: Origin;
54
56
  }
55
57
  export interface SyncGroupLinkTargetPayload {
56
58
  linked: boolean;
@@ -61,6 +63,7 @@ export interface SyncGroupAddGroupPayload {
61
63
  groupId: string;
62
64
  title: string;
63
65
  type: SyncType;
66
+ origin?: Origin;
64
67
  }
65
68
  export interface SyncGroupRemoveGroupPayload {
66
69
  groupId: string;
@@ -76,3 +79,4 @@ export declare enum SyncGroupActionOrigin {
76
79
  add = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_ADDACTION",
77
80
  activateLayerId = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_ACTIVELAYERIDACTION"
78
81
  }
82
+ export {};
@@ -33,6 +33,20 @@ export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
33
33
  setAnimationDelay: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetAnimationDelayPayload>) => void;
34
34
  layerMoveLayer: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<MoveLayerPayload>) => void;
35
35
  setAutoLayerId: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetAutoLayerIdPayload>) => void;
36
+ setAutoTimestepLayerId: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: {
37
+ payload: {
38
+ mapId: string;
39
+ autoTimestepLayerId: string | undefined;
40
+ };
41
+ type: string;
42
+ }) => void;
43
+ setAutoUpdateLayerId: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: {
44
+ payload: {
45
+ mapId: string;
46
+ autoUpdateLayerId: string | undefined;
47
+ };
48
+ type: string;
49
+ }) => void;
36
50
  setTimeSliderCenterTime: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderCenterTimePayload>) => void;
37
51
  setTimeSliderUnfilteredSelectedTime: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderUnfilteredSelectedTimePayload>) => void;
38
52
  setTimeSliderSecondsPerPx: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderSecondsPerPxPayload>) => void;
@@ -68,6 +82,14 @@ export declare const mapActions: {
68
82
  setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAnimationDelayPayload, string>;
69
83
  layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<MoveLayerPayload, string>;
70
84
  setAutoLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAutoLayerIdPayload, string>;
85
+ setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
86
+ mapId: string;
87
+ autoTimestepLayerId: string | undefined;
88
+ }, string>;
89
+ setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
90
+ mapId: string;
91
+ autoUpdateLayerId: string | undefined;
92
+ }, string>;
71
93
  setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderCenterTimePayload, string>;
72
94
  setTimeSliderUnfilteredSelectedTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderUnfilteredSelectedTimePayload, string>;
73
95
  setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderSecondsPerPxPayload, string>;
@@ -1,5 +1,6 @@
1
1
  import { SagaIterator } from 'redux-saga';
2
2
  import { Moment } from 'moment';
3
+ import { AnimationList } from '@opengeoweb/webmap';
3
4
  import { mapActions } from '.';
4
5
  import { layerActions } from '../layers';
5
6
  import { Layer } from '../layers/types';
@@ -9,7 +10,7 @@ export declare const generateTimeList: (start: Moment, end: Moment, interval: nu
9
10
  }[];
10
11
  export declare const getAnimationEndTime: (animationEndTime: string) => string;
11
12
  export declare const isAnimationEndTimeValid: (animationEndTime: string) => boolean;
12
- export declare function updateMapDraw(mapId: string, draw: any): void;
13
+ export declare function updateMapDraw(mapId: string, draw: string | AnimationList[] | undefined): void;
13
14
  export declare function startAnimationSaga({ payload, }: ReturnType<typeof mapActions.mapStartAnimation>): Generator;
14
15
  export declare function stopAnimationSaga({ payload, }: ReturnType<typeof mapActions.mapStopAnimation>): Generator;
15
16
  export declare function deleteLayerSaga({ payload, }: ReturnType<typeof layerActions.layerDelete>): SagaIterator;
@@ -1,3 +1,3 @@
1
1
  export declare const historyDict: {
2
- navigate: never;
2
+ navigate: any;
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "4.18.0",
3
+ "version": "4.19.1",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,9 +13,10 @@
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
15
  "react": "^18.2.0",
16
- "@opengeoweb/shared": "4.18.0",
17
- "@mui/material": "^5.10.8",
18
- "@opengeoweb/theme": "4.18.0",
16
+ "@opengeoweb/shared": "4.19.1",
17
+ "@mui/material": "^5.12.0",
18
+ "@opengeoweb/theme": "4.19.1",
19
+ "@mui/x-date-pickers": "^6.2.1",
19
20
  "react-draggable": "^4.4.5",
20
21
  "re-resizable": "^6.9.0",
21
22
  "@redux-eggs/core": "^2.2.0",
@@ -24,24 +25,24 @@
24
25
  "axios": "^0.25.0",
25
26
  "date-fns": "^2.29.3",
26
27
  "moment": "^2.29.0",
27
- "@opengeoweb/webmap": "4.18.0",
28
+ "@opengeoweb/webmap": "4.19.1",
28
29
  "throttle-debounce": "^3.0.1",
29
30
  "proj4": "^2.6.2",
30
- "@opengeoweb/api": "4.18.0",
31
+ "@opengeoweb/api": "4.19.1",
31
32
  "react-intl": "^5.17.5",
32
33
  "react-sortablejs": "^6.1.4",
33
34
  "sortablejs": "^1.15.0",
34
35
  "immer": "^9.0.15",
36
+ "@reduxjs/toolkit": "^1.8.3",
35
37
  "react-window": "^1.8.7",
36
- "@opengeoweb/form-fields": "4.18.0",
38
+ "@opengeoweb/form-fields": "4.19.1",
37
39
  "react-hook-form": "^7.41.5",
38
40
  "moment-timezone": "^0.5.31",
39
- "@mui/x-date-pickers": "^5.0.4",
40
- "@reduxjs/toolkit": "^1.8.3",
41
+ "react-resize-detector": "^9.1.0",
41
42
  "lodash.clonedeep": "^4.5.0",
42
43
  "@turf/turf": "^5.1.6",
43
44
  "react-router-dom": "^6.4.2",
44
- "@mui/system": "^5.10.8",
45
+ "@mui/system": "^5.12.0",
45
46
  "redux-saga": "^1.2.1",
46
47
  "@redux-eggs/redux-toolkit": "^2.2.0",
47
48
  "@redux-eggs/saga-extension": "^2.2.0"