@opengeoweb/store 5.2.1 → 6.0.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.
- package/index.js +35277 -2
- package/package.json +14 -2
- package/src/index.d.ts +1 -1
- package/src/store/app/config.d.ts +4 -0
- package/src/store/app/index.d.ts +2 -0
- package/src/store/app/reducer.d.ts +15 -0
- package/src/store/app/reducer.spec.d.ts +1 -0
- package/src/store/app/types.d.ts +6 -0
- package/src/store/coreModuleConfig.d.ts +1 -0
- package/src/store/generic/actions.d.ts +28 -0
- package/src/store/generic/config.d.ts +5 -0
- package/src/store/generic/index.d.ts +16 -0
- package/src/store/generic/sagas.d.ts +14 -0
- package/src/store/generic/sagas.spec.d.ts +1 -0
- package/src/store/generic/selectors.d.ts +22 -0
- package/src/store/generic/selectors.spec.d.ts +1 -0
- package/src/store/generic/synchronizationActions/actions.d.ts +11 -0
- package/src/store/generic/synchronizationActions/types.d.ts +34 -0
- package/src/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +2 -0
- package/src/store/generic/synchronizationGroups/constants.d.ts +4 -0
- package/src/store/generic/synchronizationGroups/index.d.ts +6 -0
- package/src/store/generic/synchronizationGroups/reducer.d.ts +26 -0
- package/src/store/generic/synchronizationGroups/reducer.spec.d.ts +1 -0
- package/src/store/generic/synchronizationGroups/sagas.d.ts +8 -0
- package/src/store/generic/synchronizationGroups/sagas.spec.d.ts +1 -0
- package/src/store/generic/synchronizationGroups/selector.d.ts +19 -0
- package/src/store/generic/synchronizationGroups/selectors.d.ts +76 -0
- package/src/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -0
- package/src/store/generic/synchronizationGroups/types.d.ts +98 -0
- package/src/store/generic/synchronizationGroups/utils.d.ts +76 -0
- package/src/store/generic/synchronizationGroups/utils.spec.d.ts +1 -0
- package/src/store/generic/types.d.ts +22 -0
- package/src/store/generic/utils.d.ts +9 -0
- package/src/store/generic/utils.spec.d.ts +1 -0
- package/src/store/index.d.ts +12 -0
- package/src/store/layerSelect/config.d.ts +5 -0
- package/src/store/layerSelect/index.d.ts +4 -0
- package/src/store/layerSelect/localStorage.d.ts +3 -0
- package/src/store/layerSelect/localStorage.spec.d.ts +1 -0
- package/src/store/layerSelect/reducer.d.ts +21 -0
- package/src/store/layerSelect/reducer.spec.d.ts +1 -0
- package/src/store/layerSelect/sagas.d.ts +10 -0
- package/src/store/layerSelect/sagas.spec.d.ts +1 -0
- package/src/store/layerSelect/selectors.d.ts +157 -0
- package/src/store/layerSelect/selectors.spec.d.ts +1 -0
- package/src/store/layerSelect/types.d.ts +95 -0
- package/src/store/layerSelect/utils.d.ts +6 -0
- package/src/store/layerSelect/utils.spec.d.ts +1 -0
- package/src/store/mapStore/config.d.ts +4 -0
- package/src/store/mapStore/index.d.ts +76 -0
- package/src/store/mapStore/layers/index.d.ts +5 -0
- package/src/store/mapStore/layers/reducer.d.ts +56 -0
- package/src/store/mapStore/layers/reducer.spec.d.ts +1 -0
- package/src/store/mapStore/layers/selectors.d.ts +443 -0
- package/src/store/mapStore/layers/selectors.spec.d.ts +1 -0
- package/src/store/mapStore/layers/types.d.ts +149 -0
- package/src/store/mapStore/layers/utils.d.ts +18 -0
- package/src/store/mapStore/layers/utils.spec.d.ts +1 -0
- package/src/store/mapStore/map/actions.d.ts +8 -0
- package/src/store/mapStore/map/constants.d.ts +6 -0
- package/src/store/mapStore/map/defaultLayers.d.ts +15 -0
- package/src/store/mapStore/map/enums.d.ts +23 -0
- package/src/store/mapStore/map/filterLayers.d.ts +10 -0
- package/src/store/mapStore/map/filterLayers.spec.d.ts +1 -0
- package/src/store/mapStore/map/index.d.ts +36 -0
- package/src/store/mapStore/map/reducer.d.ts +98 -0
- package/src/store/mapStore/map/reducer.spec.d.ts +1 -0
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -0
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +1 -0
- package/src/store/mapStore/map/sagas.d.ts +24 -0
- package/src/store/mapStore/map/sagas.spec.d.ts +1 -0
- package/src/store/mapStore/map/selectors.d.ts +1002 -0
- package/src/store/mapStore/map/selectors.spec.d.ts +1 -0
- package/src/store/mapStore/map/types.d.ts +242 -0
- package/src/store/mapStore/map/utils.d.ts +94 -0
- package/src/store/mapStore/map/utils.spec.d.ts +1 -0
- package/src/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/src/store/mapStore/service/index.d.ts +3 -0
- package/src/store/mapStore/service/reducer.d.ts +11 -0
- package/src/store/mapStore/service/reducer.spec.d.ts +1 -0
- package/src/store/mapStore/service/sagas.d.ts +7 -0
- package/src/store/mapStore/service/sagas.spec.d.ts +1 -0
- package/src/store/mapStore/service/selectors.d.ts +121 -0
- package/src/store/mapStore/service/selectors.spec.d.ts +1 -0
- package/src/store/mapStore/service/types.d.ts +49 -0
- package/src/store/mapStore/storeTestSettings.d.ts +6 -0
- package/src/store/mapStore/storeTestUtils.d.ts +10 -0
- package/src/store/mapStore/types.d.ts +11 -0
- package/src/store/router/config.d.ts +4 -0
- package/src/store/router/index.d.ts +3 -0
- package/src/store/router/reducer.d.ts +9 -0
- package/src/store/router/reducer.spec.d.ts +1 -0
- package/src/store/router/sagas.d.ts +5 -0
- package/src/store/router/sagas.spec.d.ts +1 -0
- package/src/store/router/types.d.ts +8 -0
- package/src/store/router/utils.d.ts +3 -0
- package/src/store/snackbar/config.d.ts +4 -0
- package/src/store/snackbar/index.d.ts +4 -0
- package/src/store/snackbar/reducer.d.ts +11 -0
- package/src/store/snackbar/reducer.spec.d.ts +1 -0
- package/src/store/snackbar/sagas.d.ts +5 -0
- package/src/store/snackbar/sagas.spec.d.ts +1 -0
- package/src/store/snackbar/selectors.d.ts +10 -0
- package/src/store/snackbar/selectors.spec.d.ts +1 -0
- package/src/store/snackbar/types.d.ts +15 -0
- package/src/store/types.d.ts +5 -0
- package/src/store/ui/config.d.ts +4 -0
- package/src/store/ui/index.d.ts +3 -0
- package/src/store/ui/reducer.d.ts +35 -0
- package/src/store/ui/reducer.spec.d.ts +1 -0
- package/src/store/ui/sagas.d.ts +5 -0
- package/src/store/ui/sagas.test.d.ts +1 -0
- package/src/store/ui/selectors.d.ts +144 -0
- package/src/store/ui/selectors.spec.d.ts +1 -0
- package/src/store/ui/types.d.ts +78 -0
- package/src/store/utils.d.ts +8 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { layerTypes } from '../layers';
|
|
2
|
+
export declare const filterLayers: (layers?: layerTypes.Layer[], layerParser?: (layer: layerTypes.Layer) => layerTypes.Layer) => FilteredLayerList;
|
|
3
|
+
export declare const createEmtpyFilteredList: (existingList: []) => FilteredLayerList;
|
|
4
|
+
export declare type FilteredLayerList = {
|
|
5
|
+
mapLayers: layerTypes.Layer[];
|
|
6
|
+
baseLayers: layerTypes.Layer[];
|
|
7
|
+
overLayers?: layerTypes.Layer[];
|
|
8
|
+
};
|
|
9
|
+
export declare const parseBoolean: (value: string | boolean) => boolean;
|
|
10
|
+
export declare const parseLayer: (layer: layerTypes.Layer) => layerTypes.Layer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as mapTypes from './types';
|
|
2
|
+
import * as utils from './utils';
|
|
3
|
+
export declare const mapUtils: {
|
|
4
|
+
replaceLayerIdsToEnsureUniqueLayerIdsInStore: (layerIds: import("./replaceLayerIdsToEnsureUniqueLayerIdsInStore").LayersAndAutoLayerIds) => import("./replaceLayerIdsToEnsureUniqueLayerIdsInStore").LayersAndAutoLayerIds;
|
|
5
|
+
moveArrayElements(array: string[], oldIndex: number, newIndex: number): string[];
|
|
6
|
+
dateFormat: "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
7
|
+
createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, isEndTimeOverriding, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, autoUpdateLayerId, autoTimeStepLayerId, timeSliderSpan, timeStep, animationDelay, timeSliderWidth, timeSliderCenterTime, timeSliderSecondsPerPx, isTimestepAuto, isTimeSpanAuto, isTimeSliderHoverOn, isTimeSliderVisible, displayMapPin, disableMapPin, shouldShowZoomControls, }: utils.CreateMapProps) => mapTypes.WebMap;
|
|
8
|
+
checkValidLayersPayload: (layers: import("../types").Layer[], mapId: string) => boolean;
|
|
9
|
+
getDraftMapById: (mapId: string, draft: mapTypes.WebMapState) => mapTypes.WebMap;
|
|
10
|
+
produceDraftStateSetWebMapDimension: (draft: mapTypes.WebMapState, mapId: string, dimensionFromAction: mapTypes.Dimension, overwriteCurrentValue: boolean) => void;
|
|
11
|
+
findMapIdFromLayerId: (draft?: mapTypes.WebMapState | undefined, layerId?: string | undefined) => string;
|
|
12
|
+
produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: mapTypes.WebMapState, layerId: string, dimension: mapTypes.Dimension) => void;
|
|
13
|
+
getTimeStepFromDataInterval: (timeInterval: import("dist/libs/webmap/src").TimeInterval) => number;
|
|
14
|
+
getActiveLayerTimeStep: (timeDimension: mapTypes.Dimension | undefined) => number | undefined;
|
|
15
|
+
getSpeedFactor: (speedDelay: number) => mapTypes.SpeedFactorType;
|
|
16
|
+
getSpeedDelay: (speedFactor: mapTypes.SpeedFactorType) => number;
|
|
17
|
+
roundWithTimeStep: (unixTime: number, timeStep: number, type?: string | undefined) => number;
|
|
18
|
+
secondsPerPxToScale: Map<number, import("./enums").Scale>;
|
|
19
|
+
scaleToSecondsPerPx: {
|
|
20
|
+
0: number;
|
|
21
|
+
1: number;
|
|
22
|
+
2: number;
|
|
23
|
+
3: number;
|
|
24
|
+
4: number;
|
|
25
|
+
5: number;
|
|
26
|
+
6: number;
|
|
27
|
+
7: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export { mapTypes };
|
|
31
|
+
export { mapActions, reducer as webmapReducer } from './reducer';
|
|
32
|
+
export * as mapSelectors from './selectors';
|
|
33
|
+
export * as mapEnums from './enums';
|
|
34
|
+
export * as mapConstants from './constants';
|
|
35
|
+
export * as defaultLayers from './defaultLayers';
|
|
36
|
+
export * as filterLayers from './filterLayers';
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { WebMapState, SetAutoLayerIdPayload, SetBboxPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderSpanPayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderWidthPayload, SetTimeSliderCenterTimePayload, SetEndTimeOverriding, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSpanAutoPayload, ToggleTimeSliderHoverPayload, MapPinLocationPayload, DisableMapPinPayload, SetTimeSliderSecondsPerPxPayload, UpdateAllMapDimensionsPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize } from './types';
|
|
3
|
+
import { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload, SetTimeSliderUnfilteredSelectedTimePayload } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* Checks if the layer id is already taken in one of the maps.
|
|
6
|
+
* @param state The WebMapState
|
|
7
|
+
* @param layerIdToCheck The layerId to check
|
|
8
|
+
* @returns true if the layerId is already taken somewhere else.
|
|
9
|
+
*/
|
|
10
|
+
export declare const checkIfMapLayerIdIsAlreadyTaken: (state: WebMapState, layerId: string) => boolean;
|
|
11
|
+
export declare const initialState: WebMapState;
|
|
12
|
+
export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
|
|
13
|
+
registerMap: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
14
|
+
mapId: string;
|
|
15
|
+
}>) => void;
|
|
16
|
+
unregisterMap: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
17
|
+
mapId: string;
|
|
18
|
+
}>) => void;
|
|
19
|
+
setBbox: (draft: Draft<WebMapState>, action: PayloadAction<SetBboxPayload>) => void;
|
|
20
|
+
mapUpdateAllMapDimensions: (draft: Draft<WebMapState>, action: PayloadAction<UpdateAllMapDimensionsPayload>) => void;
|
|
21
|
+
mapStartAnimation: (draft: Draft<WebMapState>, action: PayloadAction<SetMapAnimationStartPayload>) => void;
|
|
22
|
+
mapStopAnimation: (draft: Draft<WebMapState>, action: PayloadAction<SetMapAnimationStopPayload>) => void;
|
|
23
|
+
setTimeSliderSpan: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderSpanPayload>) => void;
|
|
24
|
+
setTimeStep: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeStepPayload>) => void;
|
|
25
|
+
setAnimationStartTime: (draft: Draft<WebMapState>, action: PayloadAction<SetAnimationStartTimePayload>) => void;
|
|
26
|
+
setAnimationEndTime: (draft: Draft<WebMapState>, action: PayloadAction<SetAnimationEndTimePayload>) => void;
|
|
27
|
+
setAnimationDelay: (draft: Draft<WebMapState>, action: PayloadAction<SetAnimationDelayPayload>) => void;
|
|
28
|
+
layerMoveLayer: (draft: Draft<WebMapState>, action: PayloadAction<MoveLayerPayload>) => void;
|
|
29
|
+
setAutoLayerId: (draft: Draft<WebMapState>, action: PayloadAction<SetAutoLayerIdPayload>) => void;
|
|
30
|
+
setAutoTimestepLayerId: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
31
|
+
mapId: string;
|
|
32
|
+
autoTimestepLayerId: string | undefined;
|
|
33
|
+
}>) => void;
|
|
34
|
+
setAutoUpdateLayerId: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
35
|
+
mapId: string;
|
|
36
|
+
autoUpdateLayerId: string | undefined;
|
|
37
|
+
}>) => void;
|
|
38
|
+
setTimeSliderWidth: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderWidthPayload>) => void;
|
|
39
|
+
setTimeSliderCenterTime: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderCenterTimePayload>) => void;
|
|
40
|
+
setTimeSliderUnfilteredSelectedTime: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderUnfilteredSelectedTimePayload>) => void;
|
|
41
|
+
setTimeSliderSecondsPerPx: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderSecondsPerPxPayload>) => void;
|
|
42
|
+
toggleAutoUpdate: (draft: Draft<WebMapState>, action: PayloadAction<ToggleAutoUpdatePayload>) => void;
|
|
43
|
+
setEndTimeOverriding: (draft: Draft<WebMapState>, action: PayloadAction<SetEndTimeOverriding>) => void;
|
|
44
|
+
toggleTimestepAuto: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimestepAutoPayload>) => void;
|
|
45
|
+
toggleTimeSpanAuto: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimeSpanAutoPayload>) => void;
|
|
46
|
+
toggleTimeSliderHover: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimeSliderHoverPayload>) => void;
|
|
47
|
+
toggleTimeSliderIsVisible: (draft: Draft<WebMapState>, action: PayloadAction<ToggleTimeSliderIsVisiblePayload>) => void;
|
|
48
|
+
toggleZoomControls: (draft: Draft<WebMapState>, action: PayloadAction<ToggleZoomControlsPayload>) => void;
|
|
49
|
+
setMapPinLocation: (draft: Draft<WebMapState>, action: PayloadAction<MapPinLocationPayload>) => void;
|
|
50
|
+
setDisableMapPin: (draft: Draft<WebMapState>, action: PayloadAction<DisableMapPinPayload>) => void;
|
|
51
|
+
toggleMapPinIsVisible: (draft: Draft<WebMapState>, action: PayloadAction<ToggleMapPinIsVisiblePayload>) => void;
|
|
52
|
+
setDockedLayerManagerSize: (draft: Draft<WebMapState>, action: PayloadAction<SetDockedLayerManagerSize>) => void;
|
|
53
|
+
}, "mapReducer">;
|
|
54
|
+
export declare const mapActions: {
|
|
55
|
+
setMapPreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetMapPresetPayload, string>;
|
|
56
|
+
mapChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetMapDimensionPayload, string>;
|
|
57
|
+
registerMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
58
|
+
mapId: string;
|
|
59
|
+
}, "mapReducer/registerMap">;
|
|
60
|
+
unregisterMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
61
|
+
mapId: string;
|
|
62
|
+
}, "mapReducer/unregisterMap">;
|
|
63
|
+
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetBboxPayload, "mapReducer/setBbox">;
|
|
64
|
+
mapUpdateAllMapDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateAllMapDimensionsPayload, "mapReducer/mapUpdateAllMapDimensions">;
|
|
65
|
+
mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetMapAnimationStartPayload, "mapReducer/mapStartAnimation">;
|
|
66
|
+
mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetMapAnimationStopPayload, "mapReducer/mapStopAnimation">;
|
|
67
|
+
setTimeSliderSpan: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderSpanPayload, "mapReducer/setTimeSliderSpan">;
|
|
68
|
+
setTimeStep: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeStepPayload, "mapReducer/setTimeStep">;
|
|
69
|
+
setAnimationStartTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAnimationStartTimePayload, "mapReducer/setAnimationStartTime">;
|
|
70
|
+
setAnimationEndTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAnimationEndTimePayload, "mapReducer/setAnimationEndTime">;
|
|
71
|
+
setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAnimationDelayPayload, "mapReducer/setAnimationDelay">;
|
|
72
|
+
layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<MoveLayerPayload, "mapReducer/layerMoveLayer">;
|
|
73
|
+
setAutoLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetAutoLayerIdPayload, "mapReducer/setAutoLayerId">;
|
|
74
|
+
setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
75
|
+
mapId: string;
|
|
76
|
+
autoTimestepLayerId: string | undefined;
|
|
77
|
+
}, "mapReducer/setAutoTimestepLayerId">;
|
|
78
|
+
setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
79
|
+
mapId: string;
|
|
80
|
+
autoUpdateLayerId: string | undefined;
|
|
81
|
+
}, "mapReducer/setAutoUpdateLayerId">;
|
|
82
|
+
setTimeSliderWidth: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderWidthPayload, "mapReducer/setTimeSliderWidth">;
|
|
83
|
+
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
|
|
84
|
+
setTimeSliderUnfilteredSelectedTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderUnfilteredSelectedTimePayload, "mapReducer/setTimeSliderUnfilteredSelectedTime">;
|
|
85
|
+
setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderSecondsPerPxPayload, "mapReducer/setTimeSliderSecondsPerPx">;
|
|
86
|
+
toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate">;
|
|
87
|
+
setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetEndTimeOverriding, "mapReducer/setEndTimeOverriding">;
|
|
88
|
+
toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimestepAutoPayload, "mapReducer/toggleTimestepAuto">;
|
|
89
|
+
toggleTimeSpanAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSpanAutoPayload, "mapReducer/toggleTimeSpanAuto">;
|
|
90
|
+
toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSliderHoverPayload, "mapReducer/toggleTimeSliderHover">;
|
|
91
|
+
toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleTimeSliderIsVisiblePayload, "mapReducer/toggleTimeSliderIsVisible">;
|
|
92
|
+
toggleZoomControls: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleZoomControlsPayload, "mapReducer/toggleZoomControls">;
|
|
93
|
+
setMapPinLocation: import("@reduxjs/toolkit").ActionCreatorWithPayload<MapPinLocationPayload, "mapReducer/setMapPinLocation">;
|
|
94
|
+
setDisableMapPin: import("@reduxjs/toolkit").ActionCreatorWithPayload<DisableMapPinPayload, "mapReducer/setDisableMapPin">;
|
|
95
|
+
toggleMapPinIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleMapPinIsVisiblePayload, "mapReducer/toggleMapPinIsVisible">;
|
|
96
|
+
setDockedLayerManagerSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetDockedLayerManagerSize, "mapReducer/setDockedLayerManagerSize">;
|
|
97
|
+
};
|
|
98
|
+
export declare const reducer: import("redux").Reducer<WebMapState, import("redux").AnyAction>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { layerTypes } from '../layers';
|
|
2
|
+
export interface LayersAndAutoLayerIds {
|
|
3
|
+
layers: layerTypes.Layer[];
|
|
4
|
+
autoTimeStepLayerId?: string;
|
|
5
|
+
autoUpdateLayerId?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const replaceLayerIdsToEnsureUniqueLayerIdsInStore: (layerIds: LayersAndAutoLayerIds) => LayersAndAutoLayerIds;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SagaIterator } from 'redux-saga';
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import { AnimationList } from '@opengeoweb/webmap';
|
|
4
|
+
import { mapActions } from '.';
|
|
5
|
+
import { layerActions } from '../layers';
|
|
6
|
+
import { Layer } from '../layers/types';
|
|
7
|
+
export declare const generateTimeList: (start: Moment, end: Moment, interval: number) => {
|
|
8
|
+
name: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const getAnimationEndTime: (animationEndTime: string) => string;
|
|
12
|
+
export declare const isAnimationEndTimeValid: (animationEndTime: string) => boolean;
|
|
13
|
+
export declare function updateMapDraw(mapId: string, draw: string | AnimationList[] | undefined, initialAnimationStep?: number): void;
|
|
14
|
+
export declare function startAnimationSaga({ payload, }: ReturnType<typeof mapActions.mapStartAnimation>): Generator;
|
|
15
|
+
export declare function stopAnimationSaga({ payload, }: ReturnType<typeof mapActions.mapStopAnimation>): Generator;
|
|
16
|
+
export declare function deleteLayerSaga({ payload, }: ReturnType<typeof layerActions.layerDelete>): SagaIterator;
|
|
17
|
+
export declare function updateAnimation(mapId: string, maxValue: string): SagaIterator;
|
|
18
|
+
export declare function setLayerDimensionsSaga({ payload, }: ReturnType<typeof layerActions.onUpdateLayerInformation>): SagaIterator;
|
|
19
|
+
export declare function toggleAutoUpdateSaga({ payload, }: ReturnType<typeof mapActions.toggleAutoUpdate>): SagaIterator;
|
|
20
|
+
export declare function handleBaseLayersSaga(mapId: string, baseLayers: Layer[]): SagaIterator;
|
|
21
|
+
export declare function setMapPresetSaga({ payload, }: ReturnType<typeof mapActions.setMapPreset>): SagaIterator;
|
|
22
|
+
export declare function unregisterMapSaga({ payload, }: ReturnType<typeof mapActions.unregisterMap>): Generator;
|
|
23
|
+
export declare function rootSaga(): SagaIterator;
|
|
24
|
+
export default rootSaga;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|