@opengeoweb/store 12.6.0 → 12.8.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 +77 -279
- package/package.json +9 -8
- package/src/store/drawingTool/selectors.d.ts +30 -30
- package/src/store/generic/index.d.ts +1 -0
- package/src/store/generic/selectors.d.ts +61 -30
- package/src/store/generic/syncGroups/reducer.d.ts +2 -0
- 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/mapListenerAnimationUtils.d.ts +0 -10
- 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/src/store/ui/types.d.ts +2 -0
- /package/{index.esm.d.ts → index.d.ts} +0 -0
|
@@ -4,7 +4,7 @@ export declare const selectDrawToolById: (state: DrawtoolModuleStore, id: string
|
|
|
4
4
|
drawToolId: string;
|
|
5
5
|
geoJSONLayerId: string;
|
|
6
6
|
activeDrawModeId: string;
|
|
7
|
-
drawModes: import("
|
|
7
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
8
8
|
shouldAllowMultipleShapes: boolean;
|
|
9
9
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
10
10
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const getActiveDrawToolId: ((state: DrawtoolModuleStore) => strin
|
|
|
30
30
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
31
31
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
32
32
|
};
|
|
33
|
-
export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId: string, drawModeId: string) => import("
|
|
33
|
+
export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId: string, drawModeId: string) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
|
|
34
34
|
clearCache: () => void;
|
|
35
35
|
resultsCount: () => number;
|
|
36
36
|
resetResultsCount: () => void;
|
|
@@ -39,30 +39,30 @@ export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId:
|
|
|
39
39
|
drawToolId: string;
|
|
40
40
|
geoJSONLayerId: string;
|
|
41
41
|
activeDrawModeId: string;
|
|
42
|
-
drawModes: import("
|
|
42
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
43
43
|
shouldAllowMultipleShapes: boolean;
|
|
44
44
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
45
45
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
46
|
-
}, resultFuncArgs_1: string) => import("
|
|
46
|
+
}, resultFuncArgs_1: string) => import("@opengeoweb/webmap-react").DrawMode | undefined;
|
|
47
47
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
48
48
|
drawToolId: string;
|
|
49
49
|
geoJSONLayerId: string;
|
|
50
50
|
activeDrawModeId: string;
|
|
51
|
-
drawModes: import("
|
|
51
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
52
52
|
shouldAllowMultipleShapes: boolean;
|
|
53
53
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
54
54
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
55
|
-
}, resultFuncArgs_1: string) => import("
|
|
55
|
+
}, resultFuncArgs_1: string) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
|
|
56
56
|
clearCache: () => void;
|
|
57
57
|
resultsCount: () => number;
|
|
58
58
|
resetResultsCount: () => void;
|
|
59
59
|
};
|
|
60
|
-
lastResult: () => import("
|
|
60
|
+
lastResult: () => import("@opengeoweb/webmap-react").DrawMode | undefined;
|
|
61
61
|
dependencies: [(state: DrawtoolModuleStore, id: string) => {
|
|
62
62
|
drawToolId: string;
|
|
63
63
|
geoJSONLayerId: string;
|
|
64
64
|
activeDrawModeId: string;
|
|
65
|
-
drawModes: import("
|
|
65
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
66
66
|
shouldAllowMultipleShapes: boolean;
|
|
67
67
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
68
68
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -84,7 +84,7 @@ export declare const getActiveDrawModeId: ((state: DrawtoolModuleStore, id: stri
|
|
|
84
84
|
drawToolId: string;
|
|
85
85
|
geoJSONLayerId: string;
|
|
86
86
|
activeDrawModeId: string;
|
|
87
|
-
drawModes: import("
|
|
87
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
88
88
|
shouldAllowMultipleShapes: boolean;
|
|
89
89
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
90
90
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const getActiveDrawModeId: ((state: DrawtoolModuleStore, id: stri
|
|
|
93
93
|
drawToolId: string;
|
|
94
94
|
geoJSONLayerId: string;
|
|
95
95
|
activeDrawModeId: string;
|
|
96
|
-
drawModes: import("
|
|
96
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
97
97
|
shouldAllowMultipleShapes: boolean;
|
|
98
98
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
99
99
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const getActiveDrawModeId: ((state: DrawtoolModuleStore, id: stri
|
|
|
107
107
|
drawToolId: string;
|
|
108
108
|
geoJSONLayerId: string;
|
|
109
109
|
activeDrawModeId: string;
|
|
110
|
-
drawModes: import("
|
|
110
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
111
111
|
shouldAllowMultipleShapes: boolean;
|
|
112
112
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
113
113
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const getDrawToolGeoJSONLayerId: ((state: DrawtoolModuleStore, id
|
|
|
129
129
|
drawToolId: string;
|
|
130
130
|
geoJSONLayerId: string;
|
|
131
131
|
activeDrawModeId: string;
|
|
132
|
-
drawModes: import("
|
|
132
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
133
133
|
shouldAllowMultipleShapes: boolean;
|
|
134
134
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
135
135
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -138,7 +138,7 @@ export declare const getDrawToolGeoJSONLayerId: ((state: DrawtoolModuleStore, id
|
|
|
138
138
|
drawToolId: string;
|
|
139
139
|
geoJSONLayerId: string;
|
|
140
140
|
activeDrawModeId: string;
|
|
141
|
-
drawModes: import("
|
|
141
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
142
142
|
shouldAllowMultipleShapes: boolean;
|
|
143
143
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
144
144
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -152,7 +152,7 @@ export declare const getDrawToolGeoJSONLayerId: ((state: DrawtoolModuleStore, id
|
|
|
152
152
|
drawToolId: string;
|
|
153
153
|
geoJSONLayerId: string;
|
|
154
154
|
activeDrawModeId: string;
|
|
155
|
-
drawModes: import("
|
|
155
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
156
156
|
shouldAllowMultipleShapes: boolean;
|
|
157
157
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
158
158
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -174,7 +174,7 @@ export declare const getGeoJSONIntersectionLayerId: ((state: DrawtoolModuleStore
|
|
|
174
174
|
drawToolId: string;
|
|
175
175
|
geoJSONLayerId: string;
|
|
176
176
|
activeDrawModeId: string;
|
|
177
|
-
drawModes: import("
|
|
177
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
178
178
|
shouldAllowMultipleShapes: boolean;
|
|
179
179
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
180
180
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -183,7 +183,7 @@ export declare const getGeoJSONIntersectionLayerId: ((state: DrawtoolModuleStore
|
|
|
183
183
|
drawToolId: string;
|
|
184
184
|
geoJSONLayerId: string;
|
|
185
185
|
activeDrawModeId: string;
|
|
186
|
-
drawModes: import("
|
|
186
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
187
187
|
shouldAllowMultipleShapes: boolean;
|
|
188
188
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
189
189
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -197,7 +197,7 @@ export declare const getGeoJSONIntersectionLayerId: ((state: DrawtoolModuleStore
|
|
|
197
197
|
drawToolId: string;
|
|
198
198
|
geoJSONLayerId: string;
|
|
199
199
|
activeDrawModeId: string;
|
|
200
|
-
drawModes: import("
|
|
200
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
201
201
|
shouldAllowMultipleShapes: boolean;
|
|
202
202
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
203
203
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -219,7 +219,7 @@ export declare const getGeoJSONIntersectionBoundsLayerId: ((state: DrawtoolModul
|
|
|
219
219
|
drawToolId: string;
|
|
220
220
|
geoJSONLayerId: string;
|
|
221
221
|
activeDrawModeId: string;
|
|
222
|
-
drawModes: import("
|
|
222
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
223
223
|
shouldAllowMultipleShapes: boolean;
|
|
224
224
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
225
225
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -228,7 +228,7 @@ export declare const getGeoJSONIntersectionBoundsLayerId: ((state: DrawtoolModul
|
|
|
228
228
|
drawToolId: string;
|
|
229
229
|
geoJSONLayerId: string;
|
|
230
230
|
activeDrawModeId: string;
|
|
231
|
-
drawModes: import("
|
|
231
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
232
232
|
shouldAllowMultipleShapes: boolean;
|
|
233
233
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
234
234
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -242,7 +242,7 @@ export declare const getGeoJSONIntersectionBoundsLayerId: ((state: DrawtoolModul
|
|
|
242
242
|
drawToolId: string;
|
|
243
243
|
geoJSONLayerId: string;
|
|
244
244
|
activeDrawModeId: string;
|
|
245
|
-
drawModes: import("
|
|
245
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
246
246
|
shouldAllowMultipleShapes: boolean;
|
|
247
247
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
248
248
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -264,7 +264,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
|
|
|
264
264
|
drawToolId: string;
|
|
265
265
|
geoJSONLayerId: string;
|
|
266
266
|
activeDrawModeId: string;
|
|
267
|
-
drawModes: import("
|
|
267
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
268
268
|
shouldAllowMultipleShapes: boolean;
|
|
269
269
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
270
270
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -273,7 +273,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
|
|
|
273
273
|
drawToolId: string;
|
|
274
274
|
geoJSONLayerId: string;
|
|
275
275
|
activeDrawModeId: string;
|
|
276
|
-
drawModes: import("
|
|
276
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
277
277
|
shouldAllowMultipleShapes: boolean;
|
|
278
278
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
279
279
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -287,7 +287,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
|
|
|
287
287
|
drawToolId: string;
|
|
288
288
|
geoJSONLayerId: string;
|
|
289
289
|
activeDrawModeId: string;
|
|
290
|
-
drawModes: import("
|
|
290
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
291
291
|
shouldAllowMultipleShapes: boolean;
|
|
292
292
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
293
293
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -300,7 +300,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
|
|
|
300
300
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
301
301
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
302
302
|
};
|
|
303
|
-
export declare const getActiveDrawMode: ((state: DrawtoolModuleStore, id: string) => import("
|
|
303
|
+
export declare const getActiveDrawMode: ((state: DrawtoolModuleStore, id: string) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
|
|
304
304
|
clearCache: () => void;
|
|
305
305
|
resultsCount: () => number;
|
|
306
306
|
resetResultsCount: () => void;
|
|
@@ -309,30 +309,30 @@ export declare const getActiveDrawMode: ((state: DrawtoolModuleStore, id: string
|
|
|
309
309
|
drawToolId: string;
|
|
310
310
|
geoJSONLayerId: string;
|
|
311
311
|
activeDrawModeId: string;
|
|
312
|
-
drawModes: import("
|
|
312
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
313
313
|
shouldAllowMultipleShapes: boolean;
|
|
314
314
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
315
315
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
316
|
-
}) => import("
|
|
316
|
+
}) => import("@opengeoweb/webmap-react").DrawMode | undefined;
|
|
317
317
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
318
318
|
drawToolId: string;
|
|
319
319
|
geoJSONLayerId: string;
|
|
320
320
|
activeDrawModeId: string;
|
|
321
|
-
drawModes: import("
|
|
321
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
322
322
|
shouldAllowMultipleShapes: boolean;
|
|
323
323
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
324
324
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
325
|
-
}) => import("
|
|
325
|
+
}) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
|
|
326
326
|
clearCache: () => void;
|
|
327
327
|
resultsCount: () => number;
|
|
328
328
|
resetResultsCount: () => void;
|
|
329
329
|
};
|
|
330
|
-
lastResult: () => import("
|
|
330
|
+
lastResult: () => import("@opengeoweb/webmap-react").DrawMode | undefined;
|
|
331
331
|
dependencies: [(state: DrawtoolModuleStore, id: string) => {
|
|
332
332
|
drawToolId: string;
|
|
333
333
|
geoJSONLayerId: string;
|
|
334
334
|
activeDrawModeId: string;
|
|
335
|
-
drawModes: import("
|
|
335
|
+
drawModes: import("@opengeoweb/webmap-react").DrawMode[];
|
|
336
336
|
shouldAllowMultipleShapes: boolean;
|
|
337
337
|
geoJSONIntersectionLayerId?: string | undefined;
|
|
338
338
|
geoJSONIntersectionBoundsLayerId?: string | undefined;
|
|
@@ -4,6 +4,7 @@ export declare const genericActions: {
|
|
|
4
4
|
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetBboxPayload, string>;
|
|
5
5
|
setLinkedMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SetLinkedMap, "synchronizationGroupsReducer/setLinkedMap">;
|
|
6
6
|
updateLinkedMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").UpdateLinkedMap, "synchronizationGroupsReducer/updateLinkedMap">;
|
|
7
|
+
removeLinkedMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "synchronizationGroupsReducer/removeLinkedMap">;
|
|
7
8
|
addSharedData: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").AddSharedData, "synchronizationGroupsReducer/addSharedData">;
|
|
8
9
|
deleteSharedData: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").DeleteSharedData, "synchronizationGroupsReducer/deleteSharedData">;
|
|
9
10
|
syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./syncGroups/types").SyncGroupsAddSourcePayload, "synchronizationGroupsReducer/syncGroupAddSource">;
|
|
@@ -1,26 +1,6 @@
|
|
|
1
1
|
import type { CoreAppStore } from '../types';
|
|
2
2
|
import type { LinkedState, PotentialData, SynchronizationGroupState, SynchronizationSource } from './syncGroups/types';
|
|
3
|
-
export declare const getSynchronizationGroupStore: (
|
|
4
|
-
clearCache: () => void;
|
|
5
|
-
resultsCount: () => number;
|
|
6
|
-
resetResultsCount: () => void;
|
|
7
|
-
} & {
|
|
8
|
-
resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState;
|
|
9
|
-
memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState) & {
|
|
10
|
-
clearCache: () => void;
|
|
11
|
-
resultsCount: () => number;
|
|
12
|
-
resetResultsCount: () => void;
|
|
13
|
-
};
|
|
14
|
-
lastResult: () => SynchronizationGroupState;
|
|
15
|
-
dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
|
|
16
|
-
recomputations: () => number;
|
|
17
|
-
resetRecomputations: () => void;
|
|
18
|
-
dependencyRecomputations: () => number;
|
|
19
|
-
resetDependencyRecomputations: () => void;
|
|
20
|
-
} & {
|
|
21
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
22
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
23
|
-
};
|
|
3
|
+
export declare const getSynchronizationGroupStore: (store: CoreAppStore) => SynchronizationGroupState;
|
|
24
4
|
export declare const getTime: ((state: SynchronizationGroupState, id: string) => string | null) & {
|
|
25
5
|
clearCache: () => void;
|
|
26
6
|
resultsCount: () => number;
|
|
@@ -83,7 +63,6 @@ export declare const getLinkedMaps: ((state: any, panelId?: string | undefined)
|
|
|
83
63
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
84
64
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
85
65
|
};
|
|
86
|
-
export declare const getLinkedFeatureProviders: (linkedState: LinkedState, mapId: string) => string[];
|
|
87
66
|
export declare const selectSharedData: ((state: any, panelId: string) => PotentialData) & {
|
|
88
67
|
clearCache: () => void;
|
|
89
68
|
resultsCount: () => number;
|
|
@@ -187,7 +166,9 @@ export declare const selectMapViewsForPanelId: ((state: LinkedState, panelId: st
|
|
|
187
166
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
188
167
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
189
168
|
};
|
|
190
|
-
export declare const selectLinkedFeatures: ((state: any,
|
|
169
|
+
export declare const selectLinkedFeatures: ((state: any, props: {
|
|
170
|
+
mapId: string;
|
|
171
|
+
}) => {
|
|
191
172
|
id: string;
|
|
192
173
|
originalId?: string | undefined;
|
|
193
174
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
@@ -196,12 +177,12 @@ export declare const selectLinkedFeatures: ((state: any, mapId: string) => {
|
|
|
196
177
|
resultsCount: () => number;
|
|
197
178
|
resetResultsCount: () => void;
|
|
198
179
|
} & {
|
|
199
|
-
resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string[]) => {
|
|
180
|
+
resultFunc: (resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
200
181
|
id: string;
|
|
201
182
|
originalId?: string | undefined;
|
|
202
183
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
203
184
|
}[];
|
|
204
|
-
memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string[]) => {
|
|
185
|
+
memoizedResultFunc: ((resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
205
186
|
id: string;
|
|
206
187
|
originalId?: string | undefined;
|
|
207
188
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
@@ -215,7 +196,31 @@ export declare const selectLinkedFeatures: ((state: any, mapId: string) => {
|
|
|
215
196
|
originalId?: string | undefined;
|
|
216
197
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
217
198
|
}[];
|
|
218
|
-
dependencies: [(linkedState: any) => LinkedState, (
|
|
199
|
+
dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
|
|
200
|
+
mapId: string;
|
|
201
|
+
}) => string[]) & {
|
|
202
|
+
clearCache: () => void;
|
|
203
|
+
resultsCount: () => number;
|
|
204
|
+
resetResultsCount: () => void;
|
|
205
|
+
} & {
|
|
206
|
+
resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[];
|
|
207
|
+
memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[]) & {
|
|
208
|
+
clearCache: () => void;
|
|
209
|
+
resultsCount: () => number;
|
|
210
|
+
resetResultsCount: () => void;
|
|
211
|
+
};
|
|
212
|
+
lastResult: () => string[];
|
|
213
|
+
dependencies: [(linkedState: LinkedState) => LinkedState, (linkedState: LinkedState, props: {
|
|
214
|
+
mapId: string;
|
|
215
|
+
}) => string];
|
|
216
|
+
recomputations: () => number;
|
|
217
|
+
resetRecomputations: () => void;
|
|
218
|
+
dependencyRecomputations: () => number;
|
|
219
|
+
resetDependencyRecomputations: () => void;
|
|
220
|
+
} & {
|
|
221
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
222
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
223
|
+
}];
|
|
219
224
|
recomputations: () => number;
|
|
220
225
|
resetRecomputations: () => void;
|
|
221
226
|
dependencyRecomputations: () => number;
|
|
@@ -224,7 +229,9 @@ export declare const selectLinkedFeatures: ((state: any, mapId: string) => {
|
|
|
224
229
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
225
230
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
226
231
|
};
|
|
227
|
-
export declare const selectLinkedFormFeatures: ((state: any,
|
|
232
|
+
export declare const selectLinkedFormFeatures: ((state: any, props: {
|
|
233
|
+
mapId: string;
|
|
234
|
+
}) => {
|
|
228
235
|
id: string;
|
|
229
236
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
230
237
|
}[]) & {
|
|
@@ -232,11 +239,11 @@ export declare const selectLinkedFormFeatures: ((state: any, mapId: string) => {
|
|
|
232
239
|
resultsCount: () => number;
|
|
233
240
|
resetResultsCount: () => void;
|
|
234
241
|
} & {
|
|
235
|
-
resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string[]) => {
|
|
242
|
+
resultFunc: (resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
236
243
|
id: string;
|
|
237
244
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
238
245
|
}[];
|
|
239
|
-
memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string[]) => {
|
|
246
|
+
memoizedResultFunc: ((resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
240
247
|
id: string;
|
|
241
248
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
242
249
|
}[]) & {
|
|
@@ -248,7 +255,31 @@ export declare const selectLinkedFormFeatures: ((state: any, mapId: string) => {
|
|
|
248
255
|
id: string;
|
|
249
256
|
geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
250
257
|
}[];
|
|
251
|
-
dependencies: [(linkedState: any) => LinkedState, (
|
|
258
|
+
dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
|
|
259
|
+
mapId: string;
|
|
260
|
+
}) => string[]) & {
|
|
261
|
+
clearCache: () => void;
|
|
262
|
+
resultsCount: () => number;
|
|
263
|
+
resetResultsCount: () => void;
|
|
264
|
+
} & {
|
|
265
|
+
resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[];
|
|
266
|
+
memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[]) & {
|
|
267
|
+
clearCache: () => void;
|
|
268
|
+
resultsCount: () => number;
|
|
269
|
+
resetResultsCount: () => void;
|
|
270
|
+
};
|
|
271
|
+
lastResult: () => string[];
|
|
272
|
+
dependencies: [(linkedState: LinkedState) => LinkedState, (linkedState: LinkedState, props: {
|
|
273
|
+
mapId: string;
|
|
274
|
+
}) => string];
|
|
275
|
+
recomputations: () => number;
|
|
276
|
+
resetRecomputations: () => void;
|
|
277
|
+
dependencyRecomputations: () => number;
|
|
278
|
+
resetDependencyRecomputations: () => void;
|
|
279
|
+
} & {
|
|
280
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
281
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
282
|
+
}];
|
|
252
283
|
recomputations: () => number;
|
|
253
284
|
resetRecomputations: () => void;
|
|
254
285
|
dependencyRecomputations: () => number;
|
|
@@ -15,6 +15,7 @@ export declare const slice: import("@reduxjs/toolkit").Slice<SynchronizationGrou
|
|
|
15
15
|
* @param {string[]} action.mapIds the new linked maps
|
|
16
16
|
*/
|
|
17
17
|
updateLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<UpdateLinkedMap>) => void;
|
|
18
|
+
removeLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<string>) => void;
|
|
18
19
|
addSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<AddSharedData>) => void;
|
|
19
20
|
deleteSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<DeleteSharedData>) => void;
|
|
20
21
|
syncGroupAddSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
|
|
@@ -43,6 +44,7 @@ export declare const syncGroupsReducer: import("redux").Reducer<SynchronizationG
|
|
|
43
44
|
* @param {string[]} action.mapIds the new linked maps
|
|
44
45
|
*/
|
|
45
46
|
updateLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<UpdateLinkedMap>) => void;
|
|
47
|
+
removeLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<string>) => void;
|
|
46
48
|
addSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<AddSharedData>) => void;
|
|
47
49
|
deleteSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<DeleteSharedData>) => void;
|
|
48
50
|
syncGroupAddSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
|
|
@@ -10,27 +10,7 @@ export declare const syncGroupStore: (store: CoreAppStore) => SynchronizationGro
|
|
|
10
10
|
* @param {object} store store: object - Store object
|
|
11
11
|
* @returns {object} returnType: SynchronizationGroupState
|
|
12
12
|
*/
|
|
13
|
-
export declare const getSynchronizationGroupState: (
|
|
14
|
-
clearCache: () => void;
|
|
15
|
-
resultsCount: () => number;
|
|
16
|
-
resetResultsCount: () => void;
|
|
17
|
-
} & {
|
|
18
|
-
resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState;
|
|
19
|
-
memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState) & {
|
|
20
|
-
clearCache: () => void;
|
|
21
|
-
resultsCount: () => number;
|
|
22
|
-
resetResultsCount: () => void;
|
|
23
|
-
};
|
|
24
|
-
lastResult: () => SynchronizationGroupState;
|
|
25
|
-
dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
|
|
26
|
-
recomputations: () => number;
|
|
27
|
-
resetRecomputations: () => void;
|
|
28
|
-
dependencyRecomputations: () => number;
|
|
29
|
-
resetDependencyRecomputations: () => void;
|
|
30
|
-
} & {
|
|
31
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
32
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
33
|
-
};
|
|
13
|
+
export declare const getSynchronizationGroupState: (store: CoreAppStore) => SynchronizationGroupState;
|
|
34
14
|
export declare const getSynchronizationGroup: ((state: any, id: any) => SynchronizationGroup) & {
|
|
35
15
|
clearCache: () => void;
|
|
36
16
|
resultsCount: () => number;
|
|
@@ -210,27 +190,7 @@ export declare const syncGroupGetViewState: ((state: CoreAppStore) => import("./
|
|
|
210
190
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
211
191
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
212
192
|
};
|
|
213
|
-
export declare const isTimeScrollingEnabled: (
|
|
214
|
-
clearCache: () => void;
|
|
215
|
-
resultsCount: () => number;
|
|
216
|
-
resetResultsCount: () => void;
|
|
217
|
-
} & {
|
|
218
|
-
resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => boolean;
|
|
219
|
-
memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => boolean) & {
|
|
220
|
-
clearCache: () => void;
|
|
221
|
-
resultsCount: () => number;
|
|
222
|
-
resetResultsCount: () => void;
|
|
223
|
-
};
|
|
224
|
-
lastResult: () => boolean;
|
|
225
|
-
dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
|
|
226
|
-
recomputations: () => number;
|
|
227
|
-
resetRecomputations: () => void;
|
|
228
|
-
dependencyRecomputations: () => number;
|
|
229
|
-
resetDependencyRecomputations: () => void;
|
|
230
|
-
} & {
|
|
231
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
232
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
233
|
-
};
|
|
193
|
+
export declare const isTimeScrollingEnabled: (store: CoreAppStore) => boolean;
|
|
234
194
|
export declare const getSyncedMapIdsForTimeslider: ((state: CoreAppStore) => string[]) & {
|
|
235
195
|
clearCache: () => void;
|
|
236
196
|
resultsCount: () => number;
|
|
@@ -10,8 +10,8 @@ export declare const mapUtils: {
|
|
|
10
10
|
produceDraftStateSetWebMapDimension: (draft: mapTypes.WebMapState, mapId: string, dimensionFromAction: mapTypes.Dimension, overwriteCurrentValue: boolean) => void;
|
|
11
11
|
findMapIdFromLayerId: (mapState?: mapTypes.WebMapState | undefined, layerId?: string | undefined) => string | null;
|
|
12
12
|
produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: mapTypes.WebMapState, layerId: string, dimension: mapTypes.Dimension) => void;
|
|
13
|
-
getTimeStepFromDataInterval: (timeInterval: import("
|
|
14
|
-
getSpeedFactor: (speedDelay: number) => import("
|
|
13
|
+
getTimeStepFromDataInterval: (timeInterval: import("@opengeoweb/webmap").TimeInterval) => number;
|
|
14
|
+
getSpeedFactor: (speedDelay: number) => import("@opengeoweb/timeslider").SpeedFactorType;
|
|
15
15
|
getAnimationDuration: (animationEndTime: string | undefined, animationStartTime: string | undefined) => number;
|
|
16
16
|
generateAnimationList: (unixAnimationStart: number, unixAnimationEnd: number, timeValues: string | undefined) => mapTypes.WebMapAnimationList;
|
|
17
17
|
parseTimeDimToISO8601Interval: (timeInterval: string | undefined) => mapTypes.ISO8601Interval[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SetTimeSyncPayload } from '../../generic/synchronizationActions/types';
|
|
2
1
|
/**
|
|
3
2
|
* Returns the next step for given timerId.
|
|
4
3
|
* @param timerId The timer id
|
|
@@ -27,12 +26,3 @@ export declare const setStep: (timerId: string, timerStep: number) => void;
|
|
|
27
26
|
* @returns
|
|
28
27
|
*/
|
|
29
28
|
export declare const getCurrentStep: (timerId: string) => number;
|
|
30
|
-
export declare const MAX_NUMBER_STEPS_FORWARD_TO_PREFETCH = 2;
|
|
31
|
-
/**
|
|
32
|
-
* This prefetches all images connected to the same sync group as provided timerId
|
|
33
|
-
* @param timerId The timerId
|
|
34
|
-
* @param animationListValues List of animation steps in isostring to animate
|
|
35
|
-
* @param targets List of targets to check
|
|
36
|
-
* @returns True if all maps are ready to go forward, false if the map has no data to display yet.
|
|
37
|
-
*/
|
|
38
|
-
export declare const prefetchAnimationTargetsForMetronome: (timerId: string, animationListValues: string[], targets: SetTimeSyncPayload[]) => boolean;
|
|
@@ -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">;
|