@opengeoweb/core 2.8.0 → 2.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.
- package/index.esm.js +5537 -6976
- package/index.umd.js +21136 -22477
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +1 -1
- package/lib/components/ConfigurableMap/ConfigurableMapConnect.d.ts +3 -4
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +2 -2
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +1 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerManager.d.ts +2 -0
- package/lib/components/LayerManager/LayerManager.stories.d.ts +9 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +3 -3
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListRow.d.ts +5 -4
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +1 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +3 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +1 -3
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +3 -2
- package/lib/components/Legend/LegendConnect.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +1 -0
- package/lib/components/MapView/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +2 -2
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +1 -0
- package/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.d.ts +2 -1
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +2 -2
- package/lib/components/Providers/Providers.d.ts +1 -1
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +0 -1
- package/lib/components/SyncGroups/selector.d.ts +0 -1
- package/lib/components/TimeSlider/TimeSlider.d.ts +2 -0
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButtonConnect.d.ts +1 -1
- package/lib/index.d.ts +59 -10
- package/lib/store/generic/actions.d.ts +3 -4
- package/lib/store/generic/index.d.ts +14 -0
- package/lib/store/generic/sagas.d.ts +10 -9
- package/lib/store/generic/selectors.d.ts +0 -1
- package/lib/store/generic/synchronizationActions/actions.d.ts +6 -5
- package/lib/store/generic/synchronizationActions/types.d.ts +10 -23
- package/lib/store/generic/synchronizationGroups/constants.d.ts +0 -8
- package/lib/store/generic/synchronizationGroups/index.d.ts +1 -2
- package/lib/store/generic/synchronizationGroups/reducer.d.ts +25 -3
- package/lib/store/generic/synchronizationGroups/sagas.d.ts +3 -3
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +0 -2
- package/lib/store/generic/synchronizationGroups/types.d.ts +8 -38
- package/lib/store/generic/synchronizationGroups/utils.d.ts +0 -5
- package/lib/store/generic/types.d.ts +3 -12
- package/lib/store/index.d.ts +4 -0
- package/lib/store/layerSelect/index.d.ts +2 -0
- package/lib/store/layerSelect/reducer.d.ts +12 -2
- package/lib/store/layerSelect/sagas.d.ts +3 -3
- package/lib/store/layerSelect/selectors.d.ts +0 -6
- package/lib/store/layerSelect/types.d.ts +7 -35
- package/lib/store/mapStore/index.d.ts +3 -0
- package/lib/store/mapStore/layers/index.d.ts +2 -0
- package/lib/store/mapStore/layers/reducer.d.ts +42 -4
- package/lib/store/mapStore/layers/selectors.d.ts +0 -17
- package/lib/store/mapStore/layers/types.d.ts +24 -72
- package/lib/store/mapStore/map/actions.d.ts +6 -170
- package/lib/store/mapStore/map/index.d.ts +2 -0
- package/lib/store/mapStore/map/reducer.d.ts +79 -4
- package/lib/store/mapStore/map/sagas.d.ts +13 -8
- package/lib/store/mapStore/map/selectors.d.ts +102 -39
- package/lib/store/mapStore/map/types.d.ts +35 -121
- package/lib/store/mapStore/map/utils.d.ts +3 -3
- package/lib/store/mapStore/service/index.d.ts +2 -0
- package/lib/store/mapStore/service/reducer.d.ts +9 -4
- package/lib/store/mapStore/service/selectors.d.ts +0 -7
- package/lib/store/mapStore/service/types.d.ts +2 -12
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/index.d.ts +2 -0
- package/lib/store/ui/reducer.d.ts +19 -2
- package/lib/store/ui/selectors.d.ts +3 -8
- package/lib/store/ui/types.d.ts +3 -28
- package/lib/storybookUtils/defaultStorySettings.d.ts +2 -1
- package/lib/{store.d.ts → storybookUtils/store.d.ts} +0 -0
- package/lib/types/types.d.ts +1 -2
- package/lib/utils/jsonPresetFilter.d.ts +5 -0
- package/package.json +7 -9
- package/lib/components/TimeSlider/TimeSliderButtons/ResetButton/ResetButton.d.ts +0 -9
- package/lib/components/TimeSlider/TimeSliderButtons/ResetButton/ResetButton.spec.d.ts +0 -1
- package/lib/components/TimeSlider/TimeSliderButtons/ResetButton/ResetButtonConnect.d.ts +0 -15
- package/lib/components/TimeSlider/TimeSliderButtons/ResetButton/ResetButtonConnect.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/actions.d.ts +0 -15
- package/lib/store/advancedLayerStore/config.d.ts +0 -4
- package/lib/store/advancedLayerStore/constants.d.ts +0 -2
- package/lib/store/advancedLayerStore/reducer.d.ts +0 -14
- package/lib/store/advancedLayerStore/reducer.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/selectors.d.ts +0 -21
- package/lib/store/advancedLayerStore/selectors.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/types.d.ts +0 -30
- package/lib/store/generic/constants.d.ts +0 -2
- package/lib/store/generic/synchronizationActions/constants.d.ts +0 -3
- package/lib/store/generic/synchronizationGroups/actions.d.ts +0 -80
- package/lib/store/layerSelect/actions.d.ts +0 -26
- package/lib/store/layerSelect/constants.d.ts +0 -7
- package/lib/store/mapStore/actions.d.ts +0 -3
- package/lib/store/mapStore/constants.d.ts +0 -3
- package/lib/store/mapStore/layers/actions.d.ts +0 -134
- package/lib/store/mapStore/layers/constants.d.ts +0 -17
- package/lib/store/mapStore/map/constants.d.ts +0 -26
- package/lib/store/mapStore/selectors.d.ts +0 -3
- package/lib/store/mapStore/service/actions.d.ts +0 -15
- package/lib/store/mapStore/service/constants.d.ts +0 -2
- package/lib/store/ui/actions.d.ts +0 -43
- package/lib/store/ui/constants.d.ts +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Action } from '
|
|
1
|
+
import { Action } from '@reduxjs/toolkit';
|
|
2
2
|
import { Style } from '@opengeoweb/webmap';
|
|
3
3
|
import { FeatureCollection } from 'geojson';
|
|
4
|
-
import { Dimension, UpdateAllMapDimensionsPayload } from '../map/types';
|
|
5
|
-
import { WEBMAP_LAYER_CHANGE_OPACITY, WEBMAP_LAYER_CHANGE_NAME, WEBMAP_LAYER_CHANGE_STYLE, WEBMAP_LAYER_CHANGE_DIMENSION, WEBMAP_LAYER_CHANGE_ENABLED, WEBMAP_LAYER_DELETE, WEBMAP_ADD_LAYER, WEBMAP_SET_LAYERS, WEBMAP_SET_BASELAYERS, WEBMAP_ADD_BASELAYER, WEBMAP_BASELAYER_DELETE, WEBMAP_LAYER_ERROR, WEBMAP_ADD_AVAILABLE_BASELAYER, WEBMAP_ADD_AVAILABLE_BASELAYERS, WEBMAP_LAYER_SET_DIMENSIONS, WEBMAP_UPDATE_LAYER_INFO, WEBMAP_LAYER_CHANGE_GEOJSON } from './constants';
|
|
4
|
+
import type { Dimension, UpdateAllMapDimensionsPayload } from '../map/types';
|
|
6
5
|
import type { SetLayersForServicePayload } from '../types';
|
|
6
|
+
import type { SyncGroupActionOrigin } from '../../generic/synchronizationGroups/types';
|
|
7
7
|
export interface WMJSDimension {
|
|
8
8
|
getFirstValue(): string;
|
|
9
9
|
getLastValue(): string;
|
|
@@ -64,6 +64,13 @@ export interface LayerState {
|
|
|
64
64
|
allIds: string[];
|
|
65
65
|
availableBaseLayers: AvailableBaseLayersType;
|
|
66
66
|
}
|
|
67
|
+
export declare enum LayerActionOrigin {
|
|
68
|
+
layerManager = "layerManager",
|
|
69
|
+
wmsLoader = "WMSLayerTreeConnect",
|
|
70
|
+
ReactMapViewParseLayer = "ReactMapViewParseLayer",
|
|
71
|
+
setLayerDimensionSaga = "setLayerDimensionSaga",
|
|
72
|
+
toggleAutoUpdateSaga = "toggleAutoUpdateSaga"
|
|
73
|
+
}
|
|
67
74
|
export interface LayerPayload {
|
|
68
75
|
layerId: string;
|
|
69
76
|
origin?: string;
|
|
@@ -73,67 +80,40 @@ export interface SetLayersPayload {
|
|
|
73
80
|
layers: ReduxLayer[];
|
|
74
81
|
origin?: string;
|
|
75
82
|
}
|
|
76
|
-
export interface SetLayers extends Action {
|
|
77
|
-
type: typeof WEBMAP_SET_LAYERS;
|
|
78
|
-
payload: SetLayersPayload;
|
|
79
|
-
}
|
|
80
83
|
export interface SetBaseLayersPayload {
|
|
81
84
|
mapId: string;
|
|
82
85
|
layers: ReduxLayer[];
|
|
83
|
-
origin?:
|
|
84
|
-
}
|
|
85
|
-
export interface SetBaseLayers extends Action {
|
|
86
|
-
type: typeof WEBMAP_SET_BASELAYERS;
|
|
87
|
-
payload: SetBaseLayersPayload;
|
|
86
|
+
origin?: LayerActionOrigin | SyncGroupActionOrigin.layerActions;
|
|
88
87
|
}
|
|
89
88
|
export interface SetLayerDimensionsPayload extends LayerPayload {
|
|
90
89
|
origin: string;
|
|
91
90
|
dimensions: Dimension[];
|
|
92
91
|
}
|
|
93
|
-
export interface SetLayerDimensions extends Action {
|
|
94
|
-
type: typeof WEBMAP_LAYER_SET_DIMENSIONS;
|
|
95
|
-
payload: SetLayerDimensionsPayload;
|
|
96
|
-
}
|
|
97
92
|
export interface SetLayerOpacityPayload extends LayerPayload {
|
|
98
93
|
opacity: number;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
type: typeof WEBMAP_LAYER_CHANGE_OPACITY;
|
|
102
|
-
payload: SetLayerOpacityPayload;
|
|
94
|
+
mapId?: string;
|
|
95
|
+
origin?: LayerActionOrigin;
|
|
103
96
|
}
|
|
104
97
|
export interface SetLayerNamePayload extends LayerPayload {
|
|
105
98
|
name: string;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
type: typeof WEBMAP_LAYER_CHANGE_NAME;
|
|
109
|
-
payload: SetLayerNamePayload;
|
|
99
|
+
mapId?: string;
|
|
100
|
+
origin?: LayerActionOrigin;
|
|
110
101
|
}
|
|
111
102
|
export interface SetLayerEnabledPayload extends LayerPayload {
|
|
112
103
|
enabled: boolean;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
type: typeof WEBMAP_LAYER_CHANGE_ENABLED;
|
|
116
|
-
payload: SetLayerEnabledPayload;
|
|
104
|
+
mapId?: string;
|
|
105
|
+
origin?: LayerActionOrigin;
|
|
117
106
|
}
|
|
118
107
|
export interface SetLayerDimensionPayload extends LayerPayload {
|
|
119
|
-
origin: string;
|
|
120
108
|
dimension: Dimension;
|
|
121
109
|
service?: string;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
type: typeof WEBMAP_LAYER_CHANGE_DIMENSION;
|
|
125
|
-
payload: SetLayerDimensionPayload;
|
|
110
|
+
origin?: LayerActionOrigin;
|
|
111
|
+
mapId?: string;
|
|
126
112
|
}
|
|
127
113
|
export interface SetLayerStylePayload extends LayerPayload {
|
|
128
114
|
style: string;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
type: typeof WEBMAP_LAYER_CHANGE_STYLE;
|
|
132
|
-
payload: SetLayerStylePayload;
|
|
133
|
-
}
|
|
134
|
-
export interface SetLayerGeojson extends Action {
|
|
135
|
-
type: typeof WEBMAP_LAYER_CHANGE_GEOJSON;
|
|
136
|
-
payload: SetLayerGeojsonPayload;
|
|
115
|
+
mapId?: string;
|
|
116
|
+
origin?: LayerActionOrigin | SyncGroupActionOrigin.layerActions;
|
|
137
117
|
}
|
|
138
118
|
export interface SetLayerGeojsonPayload extends LayerPayload {
|
|
139
119
|
geojson: FeatureCollection;
|
|
@@ -141,14 +121,7 @@ export interface SetLayerGeojsonPayload extends LayerPayload {
|
|
|
141
121
|
export interface DeleteLayerPayload extends LayerPayload {
|
|
142
122
|
mapId: string;
|
|
143
123
|
layerIndex: number;
|
|
144
|
-
|
|
145
|
-
export interface DeleteLayer extends Action {
|
|
146
|
-
type: typeof WEBMAP_LAYER_DELETE;
|
|
147
|
-
payload: DeleteLayerPayload;
|
|
148
|
-
}
|
|
149
|
-
export interface DeleteBaseLayer extends Action {
|
|
150
|
-
type: typeof WEBMAP_BASELAYER_DELETE;
|
|
151
|
-
payload: DeleteLayerPayload;
|
|
124
|
+
origin?: LayerActionOrigin | SyncGroupActionOrigin.delete;
|
|
152
125
|
}
|
|
153
126
|
export interface AddLayerPayload {
|
|
154
127
|
mapId: string;
|
|
@@ -156,32 +129,16 @@ export interface AddLayerPayload {
|
|
|
156
129
|
layer: Layer;
|
|
157
130
|
origin: string;
|
|
158
131
|
}
|
|
159
|
-
export interface AddLayer extends Action {
|
|
160
|
-
type: typeof WEBMAP_ADD_LAYER;
|
|
161
|
-
payload: AddLayerPayload;
|
|
162
|
-
}
|
|
163
|
-
export interface AddBaseLayer extends Action {
|
|
164
|
-
type: typeof WEBMAP_ADD_BASELAYER;
|
|
165
|
-
payload: AddBaseLayerPayload;
|
|
166
|
-
}
|
|
167
132
|
export interface AddBaseLayerPayload {
|
|
168
133
|
mapId: string;
|
|
169
134
|
layerId: string;
|
|
170
135
|
layer: Layer;
|
|
171
136
|
origin?: string;
|
|
172
137
|
}
|
|
173
|
-
export interface AddAvailableBaseLayer extends Action {
|
|
174
|
-
type: typeof WEBMAP_ADD_AVAILABLE_BASELAYER;
|
|
175
|
-
payload: AddAvailableBaseLayerPayload;
|
|
176
|
-
}
|
|
177
138
|
export interface AddAvailableBaseLayerPayload {
|
|
178
139
|
layer: Layer;
|
|
179
140
|
origin?: string;
|
|
180
141
|
}
|
|
181
|
-
export interface AddAvailableBaseLayers extends Action {
|
|
182
|
-
type: typeof WEBMAP_ADD_AVAILABLE_BASELAYERS;
|
|
183
|
-
payload: AddAvailableBaseLayersPayload;
|
|
184
|
-
}
|
|
185
142
|
export interface AddAvailableBaseLayersPayload {
|
|
186
143
|
layers: ReduxLayer[];
|
|
187
144
|
origin?: string;
|
|
@@ -189,19 +146,14 @@ export interface AddAvailableBaseLayersPayload {
|
|
|
189
146
|
export interface ErrorLayerPayload extends LayerPayload {
|
|
190
147
|
error: Error;
|
|
191
148
|
}
|
|
192
|
-
export interface ErrorLayer extends Action {
|
|
193
|
-
type: typeof WEBMAP_LAYER_ERROR;
|
|
194
|
-
payload: ErrorLayerPayload;
|
|
195
|
-
}
|
|
196
149
|
export interface UpdateLayerInfoPayload {
|
|
197
|
-
origin
|
|
150
|
+
origin: string;
|
|
198
151
|
mapDimensions?: UpdateAllMapDimensionsPayload;
|
|
199
152
|
layerStyle?: SetLayerStylePayload;
|
|
200
153
|
layerDimensions?: SetLayerDimensionsPayload;
|
|
201
154
|
serviceLayers?: SetLayersForServicePayload;
|
|
202
155
|
}
|
|
203
156
|
export interface UpdateLayerInfo extends Action {
|
|
204
|
-
type:
|
|
157
|
+
type: `layerReducer/onUpdateLayerInformation`;
|
|
205
158
|
payload: UpdateLayerInfoPayload;
|
|
206
159
|
}
|
|
207
|
-
export declare type LayerActions = SetLayerDimensions | SetLayerOpacity | SetLayerEnabled | SetLayerDimension | SetLayerStyle | SetLayerName | SetLayerGeojson | DeleteLayer | DeleteBaseLayer | AddLayer | SetLayers | SetBaseLayers | AddBaseLayer | ErrorLayer | AddAvailableBaseLayer | AddAvailableBaseLayers | UpdateLayerInfo;
|
|
@@ -1,172 +1,8 @@
|
|
|
1
|
-
import { SetMapPresetPayload } from '
|
|
2
|
-
import { MapActions, SetBboxPayload, MoveLayerPayload, SetMapDimensionPayload, UpdateAllMapDimensionsPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetActiveLayerIdPayload, MoveLayer, SetActiveLayerId, ToggleAutoUpdatePayload, ToggleAutoUpdate, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationDelayPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, ToggleTimestepAutoPayload, ToggleTimestepAuto, ToggleTimeSliderHoverPayload, ToggleTimeSliderHover, SetTimeSliderCenterTimePayload, SetTimeSliderSecondsPerPxPayload, SetTimeSliderDataScaleToSecondsPerPxPayload, MapPinLocationPayload, DisableMapPinPayload, SetSelectedFeaturePayload, SetActiveMapPresetPayload } from './types';
|
|
1
|
+
import { SetMapDimensionPayload, SetMapPresetPayload } from './types';
|
|
3
2
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* @param {string} mapId the mapId to register in the store
|
|
3
|
+
* These actions causes circular dependency if they are defined in the reducer.ts file.
|
|
4
|
+
* Therefor they are instead added to this file
|
|
5
|
+
* https://redux-toolkit.js.org/usage/usage-guide#exporting-and-using-slices
|
|
8
6
|
*/
|
|
9
|
-
export declare const
|
|
10
|
-
|
|
11
|
-
* Deletes the map from the store (from both allIds and byId)
|
|
12
|
-
*
|
|
13
|
-
* Example: unregisterMap('mapId1')
|
|
14
|
-
* @param {string} mapId the mapId to delete from the store
|
|
15
|
-
*/
|
|
16
|
-
export declare const unregisterMap: (mapId: string) => MapActions;
|
|
17
|
-
/**
|
|
18
|
-
* Set the bbox for a map.
|
|
19
|
-
* If srs passed in as well, this is also set
|
|
20
|
-
*
|
|
21
|
-
* Example: setBbox({mapId: 'mapid_1', bbox: someBboxObject, srs: initialSrs });
|
|
22
|
-
* @param {object} payload Object containing the mapId: string, bbox: Bbox and srs?: string properties
|
|
23
|
-
*/
|
|
24
|
-
export declare const setBbox: (payload: SetBboxPayload) => MapActions;
|
|
25
|
-
/**
|
|
26
|
-
* Set the dimension for the map. Can be used to change the time. All layers in the map will follow (if linking is set) accordingly.
|
|
27
|
-
*
|
|
28
|
-
* Example: mapChangeDimension({mapId:'map_id1', dimension: someDimensionObject})
|
|
29
|
-
* @param {object} payload Object with mapId: string and a dimension: Dimension (containing name and currentValue).
|
|
30
|
-
*/
|
|
31
|
-
export declare const mapChangeDimension: (payload: SetMapDimensionPayload) => MapActions;
|
|
32
|
-
/**
|
|
33
|
-
* Sets all dimensions for the map
|
|
34
|
-
*
|
|
35
|
-
* Example: mapUpdateAllMapDimensions({mapId:'map_id1', dimensions: dimensionObjectsArray})
|
|
36
|
-
* @param {object} payload Object with mapId: string and dimensions: Dimension[] (containing name and currentValue).
|
|
37
|
-
*/
|
|
38
|
-
export declare const mapUpdateAllMapDimensions: (payload: UpdateAllMapDimensionsPayload) => MapActions;
|
|
39
|
-
/**
|
|
40
|
-
* Starts the animation for a map.
|
|
41
|
-
*
|
|
42
|
-
* Example: mapStartAnimation({mapId:'mapId1', start: 'someISOTime', end: 'someISOTime', interval: 15})
|
|
43
|
-
* @param {object} payload Object with mapId: string, start: string, end: string and interval: number (in minutes), timeList?: TimeListType[]
|
|
44
|
-
*/
|
|
45
|
-
export declare const mapStartAnimation: (payload: SetMapAnimationStartPayload) => MapActions;
|
|
46
|
-
/**
|
|
47
|
-
* Stops the animation for a map.
|
|
48
|
-
*
|
|
49
|
-
* Example: mapStopAnimation({ mapId: 'mapId1' })
|
|
50
|
-
* @param {object} payload object with mapId: string
|
|
51
|
-
*/
|
|
52
|
-
export declare const mapStopAnimation: (payload: SetMapAnimationStopPayload) => MapActions;
|
|
53
|
-
/**
|
|
54
|
-
* Moves the layer (for example when sorting the stacking of the layers)
|
|
55
|
-
*
|
|
56
|
-
* Example: layerMoveLayer({ mapId: 'mapId1', oldIndex: 1, newIndex: 2 })
|
|
57
|
-
* @param {object} payload object with mapId: string, oldIndex: number, newIndex: number
|
|
58
|
-
*/
|
|
59
|
-
export declare const layerMoveLayer: (payload: MoveLayerPayload) => MoveLayer;
|
|
60
|
-
/**
|
|
61
|
-
*Sets the active layer id for a map
|
|
62
|
-
*
|
|
63
|
-
* Example: setActiveLayerId({ mapId: 'mapId1', layerId: 'layerId1' })
|
|
64
|
-
* @param {object} payload object with mapId: string, layerId: string
|
|
65
|
-
*/
|
|
66
|
-
export declare const setActiveLayerId: (payload: SetActiveLayerIdPayload) => SetActiveLayerId;
|
|
67
|
-
/**
|
|
68
|
-
* Toggles auto update for map
|
|
69
|
-
*
|
|
70
|
-
* Example: toggleAutoUpdate({ mapId: 'mapId1', shouldAutoUpdate: false })
|
|
71
|
-
* @param {object} payload object with mapId: string, shouldAutoUpdate: boolean
|
|
72
|
-
*/
|
|
73
|
-
export declare const toggleAutoUpdate: (payload: ToggleAutoUpdatePayload) => ToggleAutoUpdate;
|
|
74
|
-
/**
|
|
75
|
-
*Sets the scale of a time slider with id for a map
|
|
76
|
-
*
|
|
77
|
-
* Example: setTimeSliderScale({ mapId: 'mapId1' })
|
|
78
|
-
* @param {object} payload object with mapId: string, timeSliderScale: number
|
|
79
|
-
*/
|
|
80
|
-
export declare const setTimeSliderScale: (payload: SetTimeSliderScalePayload) => MapActions;
|
|
81
|
-
/**
|
|
82
|
-
*Sets the time step with id for a map
|
|
83
|
-
*
|
|
84
|
-
* Example: setTimeStep({ mapId: 'mapId1'})
|
|
85
|
-
* @param {object} payload object with mapId: string, timeStep: number
|
|
86
|
-
*/
|
|
87
|
-
export declare const setTimeStep: (payload: SetTimeStepPayload) => MapActions;
|
|
88
|
-
/**
|
|
89
|
-
*Sets the scale of a time slider with id for a map
|
|
90
|
-
*
|
|
91
|
-
* Example: setAnimationDelay({ mapId: 'mapId1', animationDelay: 100 })
|
|
92
|
-
* @param {object} payload object with mapId: string, animationDelay: number
|
|
93
|
-
*/
|
|
94
|
-
export declare const setAnimationDelay: (payload: SetAnimationDelayPayload) => MapActions;
|
|
95
|
-
/**
|
|
96
|
-
*Sets the animation start time with id for a map
|
|
97
|
-
*
|
|
98
|
-
* Example: setAnimationStartTime({ mapId: 'mapId1'})
|
|
99
|
-
* @param {object} payload object with mapId: string, animationStartTime: string
|
|
100
|
-
*/
|
|
101
|
-
export declare const setAnimationStartTime: (payload: SetAnimationStartTimePayload) => MapActions;
|
|
102
|
-
/**
|
|
103
|
-
*Sets the animation end time with id for a map
|
|
104
|
-
*
|
|
105
|
-
* Example: setAnimationEndTime({ mapId: 'mapId1'})
|
|
106
|
-
* @param {object} payload object with mapId: string, animationEndTime: string
|
|
107
|
-
*/
|
|
108
|
-
export declare const setAnimationEndTime: (payload: SetAnimationEndTimePayload) => MapActions;
|
|
109
|
-
/**
|
|
110
|
-
* Toggles timestep auto for map
|
|
111
|
-
*
|
|
112
|
-
* Example: toggleTimestepAuto({ mapId: 'mapId1', timestepAuto: false })
|
|
113
|
-
* @param {object} payload object with mapId: string, timestepAuto: boolean
|
|
114
|
-
*/
|
|
115
|
-
export declare const toggleTimestepAuto: (payload: ToggleTimestepAutoPayload) => ToggleTimestepAuto;
|
|
116
|
-
/**
|
|
117
|
-
* Toggles time slider hover for map
|
|
118
|
-
*
|
|
119
|
-
* Example: toggleTimeSliderHover({ mapId: 'mapId1', isTimeSliderHoverOn: true })
|
|
120
|
-
* @param {object} payload object with mapId: string, isTimeSliderHoverOn: boolean
|
|
121
|
-
*/
|
|
122
|
-
export declare const toggleTimeSliderHover: (payload: ToggleTimeSliderHoverPayload) => ToggleTimeSliderHover;
|
|
123
|
-
/**
|
|
124
|
-
*Sets the time slider center time with id for a map
|
|
125
|
-
*
|
|
126
|
-
* Example: setTimeSliderCenterTime({ mapId: 'mapId1'})
|
|
127
|
-
* @param {object} payload object with mapId: string, timeSliderCenterTime: number
|
|
128
|
-
*/
|
|
129
|
-
export declare const setTimeSliderCenterTime: (payload: SetTimeSliderCenterTimePayload) => MapActions;
|
|
130
|
-
/**
|
|
131
|
-
*Sets the time slider seconds per pixel with id for a map
|
|
132
|
-
*
|
|
133
|
-
* Example: setTimeSliderSecondsPerPx({ mapId: 'mapId1'})
|
|
134
|
-
* @param {object} payload object with mapId: string, timeSliderSecondsPerPx: number
|
|
135
|
-
*/
|
|
136
|
-
export declare const setTimeSliderSecondsPerPx: (payload: SetTimeSliderSecondsPerPxPayload) => MapActions;
|
|
137
|
-
/**
|
|
138
|
-
*Sets the time slider data scale per pixel with id for a map
|
|
139
|
-
*
|
|
140
|
-
* Example: setTimeSliderDataScaleToPerPx({ mapId: 'mapId1'})
|
|
141
|
-
* @param {object} payload object with mapId: string, timeSliderDataScaleSecondsToPerPx: number
|
|
142
|
-
*/
|
|
143
|
-
export declare const setTimeSliderDataScaleToSecondsPerPx: (payload: SetTimeSliderDataScaleToSecondsPerPxPayload) => MapActions;
|
|
144
|
-
/**
|
|
145
|
-
* Sets current curser location for a map to display the point marker
|
|
146
|
-
*
|
|
147
|
-
* Example: setMapPinLocation({ mapId: 'mapId1', mapPinLocation: {lon: 1.2, lat: 3.4} })
|
|
148
|
-
* @param {object} payload object with mapId: string, mapPinLocation: MapLocation
|
|
149
|
-
*/
|
|
150
|
-
export declare const setMapPinLocation: (payload: MapPinLocationPayload) => MapActions;
|
|
151
|
-
/**
|
|
152
|
-
* Sets the diable map pin boolean
|
|
153
|
-
*
|
|
154
|
-
* Example: setMapPinLocation({ mapId: 'mapId1', diableMapPin: true })
|
|
155
|
-
* @param {object} payload object with mapId: string, diableMapPin: boolean
|
|
156
|
-
*/
|
|
157
|
-
export declare const setDisableMapPin: (payload: DisableMapPinPayload) => MapActions;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the selected geojson feature index, for example the selected polygon index in the FeatureCollection
|
|
160
|
-
*
|
|
161
|
-
* Example: setSelectedFeature({ mapId: 'mapId1', selectedFeatureIndex: 1 })
|
|
162
|
-
* @param {object} payload object with mapId: string, selectedFeatureIndex: number
|
|
163
|
-
*/
|
|
164
|
-
export declare const setSelectedFeature: (payload: SetSelectedFeaturePayload) => MapActions;
|
|
165
|
-
export declare const setMapPreset: (payload: SetMapPresetPayload) => MapActions;
|
|
166
|
-
/**
|
|
167
|
-
* Sets the active mappreset id
|
|
168
|
-
*
|
|
169
|
-
* Example: setActiveMapPresetId({ mapId: 'mapId1', presetId: 'preset1 })
|
|
170
|
-
* @param {object} payload object with mapId: string, presetId: string
|
|
171
|
-
*/
|
|
172
|
-
export declare const setActiveMapPresetId: (payload: SetActiveMapPresetPayload) => MapActions;
|
|
7
|
+
export declare const mapChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetMapDimensionPayload, string>;
|
|
8
|
+
export declare const setMapPreset: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetMapPresetPayload, string>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { GenericSyncActions } from '../../generic/synchronizationActions/types';
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { WebMapState, SetActiveLayerIdPayload, SetBboxPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetSelectedFeaturePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderCenterTimePayload, SetTimeSliderDataScaleToSecondsPerPxPayload, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSliderHoverPayload, MapPinLocationPayload, DisableMapPinPayload, SetActiveMapPresetPayload, SetTimeSliderSecondsPerPxPayload, UpdateAllMapDimensionsPayload, SetIsMapPresetLoadingPayload, SetIsMapPresetHasChangesPayload, SetMapPresetErrorPayload, ToggleTimeSliderIsVisiblePayload, SetAnimationIntervalPayload } from './types';
|
|
4
3
|
/**
|
|
5
4
|
* Checks if the layer id is already taken in one of the maps.
|
|
6
5
|
* @param state The WebMapState
|
|
@@ -9,4 +8,80 @@ import { GenericSyncActions } from '../../generic/synchronizationActions/types';
|
|
|
9
8
|
*/
|
|
10
9
|
export declare const checkIfMapLayerIdIsAlreadyTaken: (state: WebMapState, layerId: string) => boolean;
|
|
11
10
|
export declare const initialState: WebMapState;
|
|
12
|
-
export declare const
|
|
11
|
+
export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
|
|
12
|
+
registerMap: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: {
|
|
13
|
+
payload: {
|
|
14
|
+
mapId: string;
|
|
15
|
+
};
|
|
16
|
+
type: string;
|
|
17
|
+
}) => void;
|
|
18
|
+
unregisterMap: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: {
|
|
19
|
+
payload: {
|
|
20
|
+
mapId: string;
|
|
21
|
+
};
|
|
22
|
+
type: string;
|
|
23
|
+
}) => void;
|
|
24
|
+
setBbox: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetBboxPayload>) => void;
|
|
25
|
+
mapUpdateAllMapDimensions: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<UpdateAllMapDimensionsPayload>) => void;
|
|
26
|
+
mapStartAnimation: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetMapAnimationStartPayload>) => void;
|
|
27
|
+
mapStopAnimation: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetMapAnimationStopPayload>) => void;
|
|
28
|
+
setTimeSliderScale: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderScalePayload>) => void;
|
|
29
|
+
setTimeStep: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeStepPayload>) => void;
|
|
30
|
+
setAnimationStartTime: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetAnimationStartTimePayload>) => void;
|
|
31
|
+
setAnimationEndTime: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetAnimationEndTimePayload>) => void;
|
|
32
|
+
setSelectedFeature: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetSelectedFeaturePayload>) => void;
|
|
33
|
+
setAnimationDelay: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetAnimationDelayPayload>) => void;
|
|
34
|
+
setAnimationInterval: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetAnimationIntervalPayload>) => void;
|
|
35
|
+
layerMoveLayer: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<MoveLayerPayload>) => void;
|
|
36
|
+
setActiveLayerId: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetActiveLayerIdPayload>) => void;
|
|
37
|
+
setTimeSliderCenterTime: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderCenterTimePayload>) => void;
|
|
38
|
+
setTimeSliderSecondsPerPx: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderSecondsPerPxPayload>) => void;
|
|
39
|
+
setTimeSliderDataScaleToSecondsPerPx: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetTimeSliderDataScaleToSecondsPerPxPayload>) => void;
|
|
40
|
+
toggleAutoUpdate: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleAutoUpdatePayload>) => void;
|
|
41
|
+
toggleTimestepAuto: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleTimestepAutoPayload>) => void;
|
|
42
|
+
toggleTimeSliderHover: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleTimeSliderHoverPayload>) => void;
|
|
43
|
+
toggleTimeSliderIsVisible: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<ToggleTimeSliderIsVisiblePayload>) => void;
|
|
44
|
+
setMapPinLocation: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<MapPinLocationPayload>) => void;
|
|
45
|
+
setDisableMapPin: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<DisableMapPinPayload>) => void;
|
|
46
|
+
setActiveMapPresetId: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetActiveMapPresetPayload>) => void;
|
|
47
|
+
setIsMapPresetLoading: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetIsMapPresetLoadingPayload>) => void;
|
|
48
|
+
setHasMapPresetChanges: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetIsMapPresetHasChangesPayload>) => void;
|
|
49
|
+
setMapPresetError: (draft: import("immer/dist/internal").WritableDraft<WebMapState>, action: PayloadAction<SetMapPresetErrorPayload>) => void;
|
|
50
|
+
}, "mapReducer">;
|
|
51
|
+
export declare const mapActions: {
|
|
52
|
+
setMapPreset: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./types").SetMapPresetPayload, string>;
|
|
53
|
+
mapChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./types").SetMapDimensionPayload, string>;
|
|
54
|
+
registerMap: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
|
|
55
|
+
mapId: string;
|
|
56
|
+
}, string>;
|
|
57
|
+
unregisterMap: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
|
|
58
|
+
mapId: string;
|
|
59
|
+
}, string>;
|
|
60
|
+
setBbox: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetBboxPayload, string>;
|
|
61
|
+
mapUpdateAllMapDimensions: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<UpdateAllMapDimensionsPayload, string>;
|
|
62
|
+
mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetMapAnimationStartPayload, string>;
|
|
63
|
+
mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetMapAnimationStopPayload, string>;
|
|
64
|
+
setTimeSliderScale: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetTimeSliderScalePayload, string>;
|
|
65
|
+
setTimeStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetTimeStepPayload, string>;
|
|
66
|
+
setAnimationStartTime: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetAnimationStartTimePayload, string>;
|
|
67
|
+
setAnimationEndTime: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetAnimationEndTimePayload, string>;
|
|
68
|
+
setSelectedFeature: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetSelectedFeaturePayload, string>;
|
|
69
|
+
setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetAnimationDelayPayload, string>;
|
|
70
|
+
setAnimationInterval: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetAnimationIntervalPayload, string>;
|
|
71
|
+
layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<MoveLayerPayload, string>;
|
|
72
|
+
setActiveLayerId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetActiveLayerIdPayload, string>;
|
|
73
|
+
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetTimeSliderCenterTimePayload, string>;
|
|
74
|
+
setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetTimeSliderSecondsPerPxPayload, string>;
|
|
75
|
+
setTimeSliderDataScaleToSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetTimeSliderDataScaleToSecondsPerPxPayload, string>;
|
|
76
|
+
toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<ToggleAutoUpdatePayload, string>;
|
|
77
|
+
toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<ToggleTimestepAutoPayload, string>;
|
|
78
|
+
toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<ToggleTimeSliderHoverPayload, string>;
|
|
79
|
+
toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<ToggleTimeSliderIsVisiblePayload, string>;
|
|
80
|
+
setMapPinLocation: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<MapPinLocationPayload, string>;
|
|
81
|
+
setDisableMapPin: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<DisableMapPinPayload, string>;
|
|
82
|
+
setActiveMapPresetId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetActiveMapPresetPayload, string>;
|
|
83
|
+
setIsMapPresetLoading: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetIsMapPresetLoadingPayload, string>;
|
|
84
|
+
setHasMapPresetChanges: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetIsMapPresetHasChangesPayload, string>;
|
|
85
|
+
setMapPresetError: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetMapPresetErrorPayload, string>;
|
|
86
|
+
};
|
|
87
|
+
export declare const reducer: import("@reduxjs/toolkit").Reducer<WebMapState, import("@reduxjs/toolkit").AnyAction>;
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { SagaIterator } from 'redux-saga';
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { mapActions } from '.';
|
|
4
|
+
import { layerActions } from '../layers';
|
|
5
|
+
import { Layer } from '../layers/types';
|
|
6
|
+
import { genericActions } from '../../generic';
|
|
5
7
|
export declare const generateTimeList: (start: Moment, end: Moment, interval: number) => {
|
|
6
8
|
name: string;
|
|
7
9
|
value: string;
|
|
8
10
|
}[];
|
|
9
11
|
export declare function updateMapDraw(mapId: string, draw: unknown): void;
|
|
10
|
-
export declare function startAnimationSaga({ payload, }:
|
|
11
|
-
export declare function stopAnimationSaga({ payload, }:
|
|
12
|
-
export declare function deleteLayerSaga({ payload }:
|
|
12
|
+
export declare function startAnimationSaga({ payload, }: ReturnType<typeof mapActions.mapStartAnimation>): Generator;
|
|
13
|
+
export declare function stopAnimationSaga({ payload, }: ReturnType<typeof mapActions.mapStopAnimation>): Generator;
|
|
14
|
+
export declare function deleteLayerSaga({ payload, }: ReturnType<typeof layerActions.layerDelete>): SagaIterator;
|
|
13
15
|
export declare function updateAnimation(mapId: string, maxValue: string): SagaIterator;
|
|
14
|
-
export declare function setLayerDimensionsSaga({ payload, }:
|
|
15
|
-
export declare function toggleAutoUpdateSaga({ payload, }:
|
|
16
|
+
export declare function setLayerDimensionsSaga({ payload, }: ReturnType<typeof layerActions.onUpdateLayerInformation>): SagaIterator;
|
|
17
|
+
export declare function toggleAutoUpdateSaga({ payload, }: ReturnType<typeof mapActions.toggleAutoUpdate>): SagaIterator;
|
|
16
18
|
export declare function handleBaseLayersSaga(mapId: string, baseLayers: Layer[]): SagaIterator;
|
|
17
|
-
export declare function setMapPresetSaga({ payload }:
|
|
19
|
+
export declare function setMapPresetSaga({ payload, }: ReturnType<typeof mapActions.setMapPreset>): SagaIterator;
|
|
20
|
+
export declare type SupportedMapPresetChangeActions = ReturnType<typeof layerActions.setBaseLayers> | ReturnType<typeof layerActions.layerDelete> | ReturnType<typeof layerActions.addLayer> | ReturnType<typeof layerActions.layerChangeEnabled> | ReturnType<typeof layerActions.layerChangeName> | ReturnType<typeof layerActions.layerChangeStyle> | ReturnType<typeof layerActions.layerChangeOpacity> | ReturnType<typeof layerActions.layerChangeDimension> | ReturnType<typeof mapActions.layerMoveLayer> | ReturnType<typeof mapActions.setActiveLayerId> | ReturnType<typeof mapActions.toggleAutoUpdate> | ReturnType<typeof mapActions.mapStartAnimation> | ReturnType<typeof mapActions.mapStopAnimation> | ReturnType<typeof mapActions.toggleTimeSliderIsVisible> | ReturnType<typeof genericActions.setBbox>;
|
|
21
|
+
export declare const mapPresetChangeActions: (string | import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./types").SetMapAnimationStopPayload, string>)[];
|
|
22
|
+
export declare function checkMapPresetForChangesSaga(action: SupportedMapPresetChangeActions): SagaIterator;
|
|
18
23
|
export declare function rootSaga(): SagaIterator;
|
|
19
24
|
export default rootSaga;
|