@opengeoweb/store 12.7.0 → 12.9.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.esm.js +37 -38
- package/package.json +9 -8
- package/src/store/drawingTool/selectors.d.ts +30 -30
- package/src/store/generic/selectors.d.ts +57 -26
- package/src/store/generic/syncGroups/selectors.d.ts +2 -42
- package/src/store/map/map/index.d.ts +2 -2
- package/src/store/map/map/reducer.d.ts +5 -0
- package/src/store/map/map/selectors.d.ts +86 -1724
- package/src/store/ui/selectors.d.ts +2 -42
- /package/{index.esm.d.ts → index.d.ts} +0 -0
|
@@ -2,6 +2,7 @@ import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { MapPinLocationPayload, SetBboxPayload, SetStepBackWardOrForward, UpdateAllMapDimensionsPayload } from '@opengeoweb/webmap-react';
|
|
3
3
|
import type { WebMapState, SetAutoLayerIdPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderSpanPayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderWidthPayload, SetTimeSliderCenterTimePayload, SetEndTimeOverriding, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSpanAutoPayload, ToggleTimeSliderHoverPayload, DisableMapPinPayload, SetTimeSliderSecondsPerPxPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize, ToggleAnimationLengthAutoPayload, SetDefaultMapSettingsPayload } from './types';
|
|
4
4
|
import { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload } from '../types';
|
|
5
|
+
import { MapActionOrigin } from './enums';
|
|
5
6
|
/**
|
|
6
7
|
* Checks if the layer id is already taken in one of the maps.
|
|
7
8
|
* @param state The WebMapState
|
|
@@ -32,10 +33,12 @@ export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
|
|
|
32
33
|
setAutoTimestepLayerId: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
33
34
|
mapId: string;
|
|
34
35
|
autoTimestepLayerId: string | undefined;
|
|
36
|
+
origin?: MapActionOrigin;
|
|
35
37
|
}>) => void;
|
|
36
38
|
setAutoUpdateLayerId: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
37
39
|
mapId: string;
|
|
38
40
|
autoUpdateLayerId: string | undefined;
|
|
41
|
+
origin?: MapActionOrigin;
|
|
39
42
|
}>) => void;
|
|
40
43
|
setTimeSliderWidth: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderWidthPayload>) => void;
|
|
41
44
|
setTimeSliderCenterTime: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderCenterTimePayload>) => void;
|
|
@@ -82,10 +85,12 @@ export declare const mapActions: {
|
|
|
82
85
|
setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
83
86
|
mapId: string;
|
|
84
87
|
autoTimestepLayerId: string | undefined;
|
|
88
|
+
origin?: MapActionOrigin | undefined;
|
|
85
89
|
}, "mapReducer/setAutoTimestepLayerId">;
|
|
86
90
|
setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
87
91
|
mapId: string;
|
|
88
92
|
autoUpdateLayerId: string | undefined;
|
|
93
|
+
origin?: MapActionOrigin | undefined;
|
|
89
94
|
}, "mapReducer/setAutoUpdateLayerId">;
|
|
90
95
|
setTimeSliderWidth: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderWidthPayload, "mapReducer/setTimeSliderWidth">;
|
|
91
96
|
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
|