@opengeoweb/store 10.0.0 → 10.2.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 +4045 -4137
- package/package.json +1 -3
- package/src/store/coreModuleConfig.d.ts +7 -3
- package/src/store/drawingTool/config.d.ts +7 -0
- package/src/store/{drawingtool → drawingTool}/index.d.ts +1 -1
- package/src/store/{drawingtool → drawingTool}/listener.d.ts +1 -1
- package/src/store/{drawingtool → drawingTool}/reducer.d.ts +1 -2
- package/src/store/generic/config.d.ts +7 -5
- package/src/store/generic/loadingIndicator/types.d.ts +1 -1
- package/src/store/generic/synchronizationGroups/types.d.ts +2 -2
- package/src/store/generic/synchronizationGroups/utils.d.ts +1 -1
- package/src/store/generic/types.d.ts +2 -2
- package/src/store/index.d.ts +8 -10
- package/src/store/map/config.d.ts +8 -0
- package/src/store/map/index.d.ts +6 -0
- package/src/store/{mapStore/layers → map/layer}/selectors.d.ts +12 -0
- package/src/store/{mapStore → map}/map/filterLayers.d.ts +1 -1
- package/src/store/{mapStore → map}/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +1 -1
- package/src/store/{mapStore → map}/map/selectors.d.ts +49 -49
- package/src/store/{mapStore → map}/map/types.d.ts +3 -0
- package/src/store/{mapStore → map}/map/utils.d.ts +1 -1
- package/src/store/{mapStore → map}/service/reducer.d.ts +1 -1
- package/src/store/{mapStore → map}/service/selectors.d.ts +4 -4
- package/src/store/{mapStore → map}/storeTestUtils.d.ts +1 -1
- package/src/store/{mapStore → map}/types.d.ts +2 -2
- package/src/store/router/config.d.ts +6 -5
- package/src/store/types.d.ts +2 -2
- package/src/store/ui/config.d.ts +5 -5
- package/src/store/utils/testUtils.d.ts +3 -0
- package/src/store/drawingtool/config.d.ts +0 -6
- package/src/store/mapStore/config.d.ts +0 -6
- package/src/store/mapStore/index.d.ts +0 -97
- package/src/store/mapStore/map/mapUiListener.d.ts +0 -2
- package/src/store/mapStore/map/mapUiListener.spec.d.ts +0 -1
- package/src/store/testUtils/Providers.d.ts +0 -13
- /package/src/store/{drawingtool → drawingTool}/listener.spec.d.ts +0 -0
- /package/src/store/{drawingtool → drawingTool}/reducer.spec.d.ts +0 -0
- /package/src/store/{drawingtool → drawingTool}/selectors.d.ts +0 -0
- /package/src/store/{drawingtool → drawingTool}/selectors.spec.d.ts +0 -0
- /package/src/store/{drawingtool → drawingTool}/testUtils.d.ts +0 -0
- /package/src/store/{drawingtool → drawingTool}/utils.d.ts +0 -0
- /package/src/store/{drawingtool → drawingTool}/utils.spec.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/index.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/listeners.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/listeners.spec.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/reducer.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/reducer.spec.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/selectors.spec.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/types.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/utils.d.ts +0 -0
- /package/src/store/{mapStore/layers → map/layer}/utils.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/actions.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/constants.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/enums.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/filterLayers.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/index.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/listener.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/listener.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/mapListenerAnimationUtils.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/mapListenerAnimationUtils.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/metronomeListener.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/reducer.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/reducer.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/selectors.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/map/utils.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/index.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/listener.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/listener.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/localStorage.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/localStorage.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/reducer.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/selectors.spec.d.ts +0 -0
- /package/src/store/{mapStore → map}/service/types.d.ts +0 -0
- /package/src/store/{mapStore → map}/storeTestSettings.d.ts +0 -0
|
@@ -10,7 +10,7 @@ import type { uiTypes } from '../../ui';
|
|
|
10
10
|
* @param {string} mapId Id of the map
|
|
11
11
|
* @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
|
|
12
12
|
*/
|
|
13
|
-
export declare const getMapById: ((state:
|
|
13
|
+
export declare const getMapById: ((state: CoreAppStore, mapId: string) => WebMap | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined, args_1: string) => WebMap | undefined, {
|
|
14
14
|
clearCache: () => void;
|
|
15
15
|
}> & {
|
|
16
16
|
clearCache: () => void;
|
|
@@ -63,7 +63,7 @@ export declare const getFirstMapId: ((state: CoreAppStore) => string) & import("
|
|
|
63
63
|
* @param {string} mapId mapId: string - Id of the map
|
|
64
64
|
* @returns {boolean} returnType:boolean - true if map is present
|
|
65
65
|
*/
|
|
66
|
-
export declare const getIsMapPresent: ((state:
|
|
66
|
+
export declare const getIsMapPresent: ((state: CoreAppStore, mapId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
67
67
|
clearCache: () => void;
|
|
68
68
|
}> & {
|
|
69
69
|
clearCache: () => void;
|
|
@@ -76,7 +76,7 @@ export declare const getIsMapPresent: ((state: any, mapId: any) => boolean) & im
|
|
|
76
76
|
* @param {string} mapId mapId: string - Id of the map
|
|
77
77
|
* @returns {array} returnType: array - array containing all layerIds
|
|
78
78
|
*/
|
|
79
|
-
export declare const getLayerIds: ((state:
|
|
79
|
+
export declare const getLayerIds: ((state: CoreAppStore, mapId: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
80
80
|
clearCache: () => void;
|
|
81
81
|
}> & {
|
|
82
82
|
clearCache: () => void;
|
|
@@ -89,7 +89,7 @@ export declare const getLayerIds: ((state: any, mapId: any) => string[]) & impor
|
|
|
89
89
|
* @param {string} mapId mapId: string - Id of the map
|
|
90
90
|
* @returns {array} returnType: array - array containing all layer states for the map
|
|
91
91
|
*/
|
|
92
|
-
export declare const getMapLayers: ((state:
|
|
92
|
+
export declare const getMapLayers: ((state: CoreAppStore, mapId: string) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
93
93
|
clearCache: () => void;
|
|
94
94
|
}> & {
|
|
95
95
|
clearCache: () => void;
|
|
@@ -104,7 +104,7 @@ export declare const getMapLayers: ((state: any, mapId: any) => ReduxLayer[]) &
|
|
|
104
104
|
* @param {string} mapId mapId: string - Id of the map
|
|
105
105
|
* @returns {array} returnType: array - array containing all layer states for the map
|
|
106
106
|
*/
|
|
107
|
-
export declare const getMapLayersWithoutDimensionCurrentValue: ((state:
|
|
107
|
+
export declare const getMapLayersWithoutDimensionCurrentValue: ((state: CoreAppStore, mapId: string) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
108
108
|
clearCache: () => void;
|
|
109
109
|
}> & {
|
|
110
110
|
clearCache: () => void;
|
|
@@ -117,7 +117,7 @@ export declare const getMapLayersWithoutDimensionCurrentValue: ((state: any, map
|
|
|
117
117
|
* @param {string} mapId mapId: string - Id of the map
|
|
118
118
|
* @returns {array} returnType: array - array containing an array of baselayers ids
|
|
119
119
|
*/
|
|
120
|
-
export declare const getMapBaseLayersIds: ((state:
|
|
120
|
+
export declare const getMapBaseLayersIds: ((state: CoreAppStore, mapId: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
121
121
|
clearCache: () => void;
|
|
122
122
|
}> & {
|
|
123
123
|
clearCache: () => void;
|
|
@@ -130,7 +130,7 @@ export declare const getMapBaseLayersIds: ((state: any, mapId: any) => string[])
|
|
|
130
130
|
* @param {string} mapId mapId: string - Id of the map
|
|
131
131
|
* @returns {array} returnType: array - array containing all baselayers for the map
|
|
132
132
|
*/
|
|
133
|
-
export declare const getMapBaseLayers: ((state:
|
|
133
|
+
export declare const getMapBaseLayers: ((state: CoreAppStore, mapId: string) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
134
134
|
clearCache: () => void;
|
|
135
135
|
}> & {
|
|
136
136
|
clearCache: () => void;
|
|
@@ -143,12 +143,12 @@ export declare const getMapBaseLayers: ((state: any, mapId: any) => ReduxLayer[]
|
|
|
143
143
|
* @param {string} mapId mapId: string - Id of the map
|
|
144
144
|
* @returns {array} returnType: array - array containing an array of overLayers ids
|
|
145
145
|
*/
|
|
146
|
-
export declare const getMapOverLayersIds: ((state:
|
|
146
|
+
export declare const getMapOverLayersIds: ((state: CoreAppStore, mapId: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
|
|
147
147
|
clearCache: () => void;
|
|
148
148
|
}> & {
|
|
149
149
|
clearCache: () => void;
|
|
150
150
|
};
|
|
151
|
-
export declare const getMapFeatureLayers: ((state:
|
|
151
|
+
export declare const getMapFeatureLayers: ((state: CoreAppStore, mapId: string) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: ReduxLayer[]) => ReduxLayer[], {
|
|
152
152
|
clearCache: () => void;
|
|
153
153
|
}> & {
|
|
154
154
|
clearCache: () => void;
|
|
@@ -161,7 +161,7 @@ export declare const getMapFeatureLayers: ((state: any, mapId: any) => ReduxLaye
|
|
|
161
161
|
* @param {string} mapId mapId: string - Id of the map
|
|
162
162
|
* @returns {array} returnType: array - array containing all overLayers for the map
|
|
163
163
|
*/
|
|
164
|
-
export declare const getMapOverLayers: ((state:
|
|
164
|
+
export declare const getMapOverLayers: ((state: CoreAppStore, mapId: string) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
165
165
|
clearCache: () => void;
|
|
166
166
|
}> & {
|
|
167
167
|
clearCache: () => void;
|
|
@@ -174,7 +174,7 @@ export declare const getMapOverLayers: ((state: any, mapId: any) => ReduxLayer[]
|
|
|
174
174
|
* @param {string} mapId mapId: string - Id of the map
|
|
175
175
|
* @returns {array} returnType: array - array containing map dimensions
|
|
176
176
|
*/
|
|
177
|
-
export declare const getMapDimensions: ((state:
|
|
177
|
+
export declare const getMapDimensions: ((state: CoreAppStore, mapId: string) => Dimension[] | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Dimension[] | undefined, {
|
|
178
178
|
clearCache: () => void;
|
|
179
179
|
}> & {
|
|
180
180
|
clearCache: () => void;
|
|
@@ -205,7 +205,7 @@ export declare const getSelectedTime: ((state: CoreAppStore, mapId: string) => n
|
|
|
205
205
|
}> & {
|
|
206
206
|
clearCache: () => void;
|
|
207
207
|
};
|
|
208
|
-
export declare const getDataLimitsFromLayers: ((state:
|
|
208
|
+
export declare const getDataLimitsFromLayers: ((state: CoreAppStore, mapId: string) => number[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => number[], {
|
|
209
209
|
clearCache: () => void;
|
|
210
210
|
}> & {
|
|
211
211
|
clearCache: () => void;
|
|
@@ -218,7 +218,7 @@ export declare const getDataLimitsFromLayers: ((state: any, mapId: any) => numbe
|
|
|
218
218
|
* @param {string} mapId mapId: string - Id of the map
|
|
219
219
|
* @returns {string} returnType: string - string containing srs
|
|
220
220
|
*/
|
|
221
|
-
export declare const getSrs: ((state:
|
|
221
|
+
export declare const getSrs: ((state: CoreAppStore, mapId: string) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
|
|
222
222
|
clearCache: () => void;
|
|
223
223
|
}> & {
|
|
224
224
|
clearCache: () => void;
|
|
@@ -231,7 +231,7 @@ export declare const getSrs: ((state: any, mapId: any) => string) & import("rese
|
|
|
231
231
|
* @param {string} mapId mapId: string - Id of the map
|
|
232
232
|
* @returns {object} returnType: object - boundingbox object {left: number, bottom: number, right:number, top: number}
|
|
233
233
|
*/
|
|
234
|
-
export declare const getBbox: ((state:
|
|
234
|
+
export declare const getBbox: ((state: CoreAppStore, mapId: string) => Bbox) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Bbox, {
|
|
235
235
|
clearCache: () => void;
|
|
236
236
|
}> & {
|
|
237
237
|
clearCache: () => void;
|
|
@@ -244,7 +244,7 @@ export declare const getBbox: ((state: any, mapId: any) => Bbox) & import("resel
|
|
|
244
244
|
* @param {string} mapId mapId: string - Id of the map
|
|
245
245
|
* @returns {boolean} returnType: boolean
|
|
246
246
|
*/
|
|
247
|
-
export declare const isAnimating: ((state:
|
|
247
|
+
export declare const isAnimating: ((state: CoreAppStore, mapId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
248
248
|
clearCache: () => void;
|
|
249
249
|
}> & {
|
|
250
250
|
clearCache: () => void;
|
|
@@ -279,7 +279,7 @@ export declare const linkedMapAnimationInfo: ((state: CoreAppStore, mapId: strin
|
|
|
279
279
|
* @param {string} mapId mapId: string - Id of the map
|
|
280
280
|
* @returns {string} returnType: string
|
|
281
281
|
*/
|
|
282
|
-
export declare const getAnimationStartTime: ((state:
|
|
282
|
+
export declare const getAnimationStartTime: ((state: CoreAppStore, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
283
283
|
clearCache: () => void;
|
|
284
284
|
}> & {
|
|
285
285
|
clearCache: () => void;
|
|
@@ -292,7 +292,7 @@ export declare const getAnimationStartTime: ((state: any, mapId: any) => string
|
|
|
292
292
|
* @param {string} mapId mapId: string - Id of the map
|
|
293
293
|
* @returns {string} returnType: string
|
|
294
294
|
*/
|
|
295
|
-
export declare const getAnimationEndTime: ((state:
|
|
295
|
+
export declare const getAnimationEndTime: ((state: CoreAppStore, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
296
296
|
clearCache: () => void;
|
|
297
297
|
}> & {
|
|
298
298
|
clearCache: () => void;
|
|
@@ -305,7 +305,7 @@ export declare const getAnimationEndTime: ((state: any, mapId: any) => string |
|
|
|
305
305
|
* @param {string} mapId mapId: string - Id of the map
|
|
306
306
|
* @returns {boolean} returnType: boolean
|
|
307
307
|
*/
|
|
308
|
-
export declare const isAutoUpdating: ((state:
|
|
308
|
+
export declare const isAutoUpdating: ((state: CoreAppStore, mapId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
309
309
|
clearCache: () => void;
|
|
310
310
|
}> & {
|
|
311
311
|
clearCache: () => void;
|
|
@@ -318,7 +318,7 @@ export declare const isAutoUpdating: ((state: any, mapId: any) => boolean) & imp
|
|
|
318
318
|
* @param {string} mapId mapId: string - Id of the map
|
|
319
319
|
* @returns {boolean} returnType: boolean
|
|
320
320
|
*/
|
|
321
|
-
export declare const shouldEndtimeOverride: ((state:
|
|
321
|
+
export declare const shouldEndtimeOverride: ((state: CoreAppStore, mapId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
322
322
|
clearCache: () => void;
|
|
323
323
|
}> & {
|
|
324
324
|
clearCache: () => void;
|
|
@@ -330,7 +330,7 @@ export declare const shouldEndtimeOverride: ((state: any, mapId: any) => boolean
|
|
|
330
330
|
* @param {object} store store: object - store object
|
|
331
331
|
* @param {string} mapId mapId: string - Id of the map
|
|
332
332
|
*/
|
|
333
|
-
export declare const getActiveLayerId: ((state:
|
|
333
|
+
export declare const getActiveLayerId: ((state: CoreAppStore, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
334
334
|
clearCache: () => void;
|
|
335
335
|
}> & {
|
|
336
336
|
clearCache: () => void;
|
|
@@ -342,7 +342,7 @@ export declare const getActiveLayerId: ((state: any, mapId: any) => string | und
|
|
|
342
342
|
* @param {object} store store: object - store object
|
|
343
343
|
* @param {string} mapId mapId: string - Id of the map
|
|
344
344
|
*/
|
|
345
|
-
export declare const getAutoUpdateLayerId: ((state:
|
|
345
|
+
export declare const getAutoUpdateLayerId: ((state: CoreAppStore, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
346
346
|
clearCache: () => void;
|
|
347
347
|
}> & {
|
|
348
348
|
clearCache: () => void;
|
|
@@ -354,7 +354,7 @@ export declare const getAutoUpdateLayerId: ((state: any, mapId: any) => string |
|
|
|
354
354
|
* @param {object} store store: object - store object
|
|
355
355
|
* @param {string} mapId mapId: string - Id of the map
|
|
356
356
|
*/
|
|
357
|
-
export declare const getAutoTimeStepLayerId: ((state:
|
|
357
|
+
export declare const getAutoTimeStepLayerId: ((state: CoreAppStore, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
358
358
|
clearCache: () => void;
|
|
359
359
|
}> & {
|
|
360
360
|
clearCache: () => void;
|
|
@@ -367,7 +367,7 @@ export declare const getAutoTimeStepLayerId: ((state: any, mapId: any) => string
|
|
|
367
367
|
* @param {string} mapId mapId: string - Id of the map
|
|
368
368
|
* @returns {Span} returnType: Span - span as an enum
|
|
369
369
|
*/
|
|
370
|
-
export declare const getMapTimeSliderSpan: ((state:
|
|
370
|
+
export declare const getMapTimeSliderSpan: ((state: CoreAppStore, mapId: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
371
371
|
clearCache: () => void;
|
|
372
372
|
}> & {
|
|
373
373
|
clearCache: () => void;
|
|
@@ -380,12 +380,12 @@ export declare const getMapTimeSliderSpan: ((state: any, mapId: any) => number |
|
|
|
380
380
|
* @param {string} mapId mapId: string - Id of the map
|
|
381
381
|
* @returns {number} returnType: number - time step as a number
|
|
382
382
|
*/
|
|
383
|
-
export declare const getMapTimeStep: ((state:
|
|
383
|
+
export declare const getMapTimeStep: ((state: CoreAppStore, mapId: string) => number) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number, {
|
|
384
384
|
clearCache: () => void;
|
|
385
385
|
}> & {
|
|
386
386
|
clearCache: () => void;
|
|
387
387
|
};
|
|
388
|
-
export declare const getMapTimeStepWithoutDefault: ((state:
|
|
388
|
+
export declare const getMapTimeStepWithoutDefault: ((state: CoreAppStore, mapId: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
389
389
|
clearCache: () => void;
|
|
390
390
|
}> & {
|
|
391
391
|
clearCache: () => void;
|
|
@@ -398,7 +398,7 @@ export declare const getMapTimeStepWithoutDefault: ((state: any, mapId: any) =>
|
|
|
398
398
|
* @param {string} mapId mapId: string - Id of the map
|
|
399
399
|
* @returns {number} returnType: number - speed as a number
|
|
400
400
|
*/
|
|
401
|
-
export declare const getMapAnimationDelay: ((state:
|
|
401
|
+
export declare const getMapAnimationDelay: ((state: CoreAppStore, mapId: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
402
402
|
clearCache: () => void;
|
|
403
403
|
}> & {
|
|
404
404
|
clearCache: () => void;
|
|
@@ -411,7 +411,7 @@ export declare const getMapAnimationDelay: ((state: any, mapId: any) => number |
|
|
|
411
411
|
* @param {string} mapId mapId: string - Id of the map
|
|
412
412
|
* @returns {number} returnType: number - center time as a unix timestamp
|
|
413
413
|
*/
|
|
414
|
-
export declare const getMapTimeSliderWidth: ((state:
|
|
414
|
+
export declare const getMapTimeSliderWidth: ((state: CoreAppStore, mapId: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
415
415
|
clearCache: () => void;
|
|
416
416
|
}> & {
|
|
417
417
|
clearCache: () => void;
|
|
@@ -424,7 +424,7 @@ export declare const getMapTimeSliderWidth: ((state: any, mapId: any) => number
|
|
|
424
424
|
* @param {string} mapId mapId: string - Id of the map
|
|
425
425
|
* @returns {number} returnType: number - center time as a unix timestamp
|
|
426
426
|
*/
|
|
427
|
-
export declare const getMapTimeSliderCenterTime: ((state:
|
|
427
|
+
export declare const getMapTimeSliderCenterTime: ((state: CoreAppStore, mapId: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
428
428
|
clearCache: () => void;
|
|
429
429
|
}> & {
|
|
430
430
|
clearCache: () => void;
|
|
@@ -437,7 +437,7 @@ export declare const getMapTimeSliderCenterTime: ((state: any, mapId: any) => nu
|
|
|
437
437
|
* @param {string} mapId mapId: string - Id of the map
|
|
438
438
|
* @returns {number} returnType: number - the number of seconds per pixel
|
|
439
439
|
*/
|
|
440
|
-
export declare const getMapTimeSliderSecondsPerPx: ((state:
|
|
440
|
+
export declare const getMapTimeSliderSecondsPerPx: ((state: CoreAppStore, mapId: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
|
|
441
441
|
clearCache: () => void;
|
|
442
442
|
}> & {
|
|
443
443
|
clearCache: () => void;
|
|
@@ -450,7 +450,7 @@ export declare const getMapTimeSliderSecondsPerPx: ((state: any, mapId: any) =>
|
|
|
450
450
|
* @param {string} mapId mapId: string - Id of the map
|
|
451
451
|
* @returns {boolean} returnType: boolean
|
|
452
452
|
*/
|
|
453
|
-
export declare const isTimestepAuto: ((state:
|
|
453
|
+
export declare const isTimestepAuto: ((state: CoreAppStore, mapId: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
454
454
|
clearCache: () => void;
|
|
455
455
|
}> & {
|
|
456
456
|
clearCache: () => void;
|
|
@@ -461,7 +461,7 @@ export declare const isTimestepAuto: ((state: any, mapId: any) => boolean | unde
|
|
|
461
461
|
* @param {string} mapId mapId: string - Id of the map
|
|
462
462
|
* @returns {boolean} returnType: boolean
|
|
463
463
|
*/
|
|
464
|
-
export declare const isAnimationLengthAuto: ((state:
|
|
464
|
+
export declare const isAnimationLengthAuto: ((state: CoreAppStore, mapId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
|
|
465
465
|
clearCache: () => void;
|
|
466
466
|
}> & {
|
|
467
467
|
clearCache: () => void;
|
|
@@ -474,7 +474,7 @@ export declare const isAnimationLengthAuto: ((state: any, mapId: any) => boolean
|
|
|
474
474
|
* @param {string} mapId mapId: string - Id of the map
|
|
475
475
|
* @returns {boolean} returnType: boolean
|
|
476
476
|
*/
|
|
477
|
-
export declare const isTimeSpanAuto: ((state:
|
|
477
|
+
export declare const isTimeSpanAuto: ((state: CoreAppStore, mapId: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
478
478
|
clearCache: () => void;
|
|
479
479
|
}> & {
|
|
480
480
|
clearCache: () => void;
|
|
@@ -487,7 +487,7 @@ export declare const isTimeSpanAuto: ((state: any, mapId: any) => boolean | unde
|
|
|
487
487
|
* @param {string} mapId mapId: string - Id of the map
|
|
488
488
|
* @returns {boolean} returnType: boolean
|
|
489
489
|
*/
|
|
490
|
-
export declare const isTimeSliderHoverOn: ((state:
|
|
490
|
+
export declare const isTimeSliderHoverOn: ((state: CoreAppStore, mapId: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
491
491
|
clearCache: () => void;
|
|
492
492
|
}> & {
|
|
493
493
|
clearCache: () => void;
|
|
@@ -500,7 +500,7 @@ export declare const isTimeSliderHoverOn: ((state: any, mapId: any) => boolean |
|
|
|
500
500
|
* @param {string} mapId mapId: string - Id of the map
|
|
501
501
|
* @returns {boolean} returnType: boolean
|
|
502
502
|
*/
|
|
503
|
-
export declare const isZoomControlsVisible: ((state:
|
|
503
|
+
export declare const isZoomControlsVisible: ((state: CoreAppStore, mapId: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
504
504
|
clearCache: () => void;
|
|
505
505
|
}> & {
|
|
506
506
|
clearCache: () => void;
|
|
@@ -513,7 +513,7 @@ export declare const isZoomControlsVisible: ((state: any, mapId: any) => boolean
|
|
|
513
513
|
* @param {string} mapId mapId: string - Id of the map
|
|
514
514
|
* @returns {boolean} returnType: boolean
|
|
515
515
|
*/
|
|
516
|
-
export declare const isTimeSliderVisible: ((state:
|
|
516
|
+
export declare const isTimeSliderVisible: ((state: CoreAppStore, mapId: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
517
517
|
clearCache: () => void;
|
|
518
518
|
}> & {
|
|
519
519
|
clearCache: () => void;
|
|
@@ -527,7 +527,7 @@ export declare const isTimeSliderVisible: ((state: any, mapId: any) => boolean |
|
|
|
527
527
|
* @param {string} mapId layerId: string - Id of the layer
|
|
528
528
|
* @returns {boolean} returnType: boolean
|
|
529
529
|
*/
|
|
530
|
-
export declare const getIsLayerActiveLayer: ((state:
|
|
530
|
+
export declare const getIsLayerActiveLayer: ((state: CoreAppStore, _mapId: string, layerId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string | undefined, args_1: string) => boolean, {
|
|
531
531
|
clearCache: () => void;
|
|
532
532
|
}> & {
|
|
533
533
|
clearCache: () => void;
|
|
@@ -554,7 +554,7 @@ export declare const getMapIdFromLayerId: ((state: CoreAppStore, layerId?: strin
|
|
|
554
554
|
* @param {string} layerId layerId: string - Id of the layer
|
|
555
555
|
* @returns {string} returnType: string - the layerId, or null if not found
|
|
556
556
|
*/
|
|
557
|
-
export declare const getLayerIdByLayerName: ((state:
|
|
557
|
+
export declare const getLayerIdByLayerName: ((state: CoreAppStore, _mapId: string, layerName: string) => string) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string) => string, {
|
|
558
558
|
clearCache: () => void;
|
|
559
559
|
}> & {
|
|
560
560
|
clearCache: () => void;
|
|
@@ -568,7 +568,7 @@ export declare const getLayerIdByLayerName: ((state: any, _mapId: any, layerName
|
|
|
568
568
|
* @param {string} layerId layerId: string - Id of the layer
|
|
569
569
|
* @returns {number} returnType: index number or -1 if not found
|
|
570
570
|
*/
|
|
571
|
-
export declare const getLayerIndexByLayerId: ((state:
|
|
571
|
+
export declare const getLayerIndexByLayerId: ((state: CoreAppStore, _mapId: string, layerId?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string | undefined) => number, {
|
|
572
572
|
clearCache: () => void;
|
|
573
573
|
}> & {
|
|
574
574
|
clearCache: () => void;
|
|
@@ -582,7 +582,7 @@ export declare const getLayerIndexByLayerId: ((state: any, _mapId: any, layerId?
|
|
|
582
582
|
* @param {number} layerIndex layerId: number - Index of the layer in the map
|
|
583
583
|
* @returns {object} returnType: layer, or null if not found
|
|
584
584
|
*/
|
|
585
|
-
export declare const getLayerByLayerIndex: ((state:
|
|
585
|
+
export declare const getLayerByLayerIndex: ((state: CoreAppStore, _mapId: string, layerIndex: number) => Layer) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: number) => Layer, {
|
|
586
586
|
clearCache: () => void;
|
|
587
587
|
}> & {
|
|
588
588
|
clearCache: () => void;
|
|
@@ -607,7 +607,7 @@ export declare const getAllUniqueDimensions: ((state: CoreAppStore) => string[])
|
|
|
607
607
|
* @param {string} mapId mapId: string - Id of the map
|
|
608
608
|
* @returns {object} returnType: latitude and longitude of pin
|
|
609
609
|
*/
|
|
610
|
-
export declare const getPinLocation: ((state:
|
|
610
|
+
export declare const getPinLocation: ((state: CoreAppStore, mapId: string) => import("dist/libs/webmap-react/src").MapLocation | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("dist/libs/webmap-react/src").MapLocation | undefined, {
|
|
611
611
|
clearCache: () => void;
|
|
612
612
|
}> & {
|
|
613
613
|
clearCache: () => void;
|
|
@@ -620,7 +620,7 @@ export declare const getPinLocation: ((state: any, mapId: any) => import("dist/l
|
|
|
620
620
|
* @param {string} mapId mapId: string - Id of the map
|
|
621
621
|
* @returns {boolean} returnType: boolean
|
|
622
622
|
*/
|
|
623
|
-
export declare const getDisableMapPin: ((state:
|
|
623
|
+
export declare const getDisableMapPin: ((state: CoreAppStore, mapId: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
624
624
|
clearCache: () => void;
|
|
625
625
|
}> & {
|
|
626
626
|
clearCache: () => void;
|
|
@@ -633,7 +633,7 @@ export declare const getDisableMapPin: ((state: any, mapId: any) => boolean | un
|
|
|
633
633
|
* @param {string} mapId mapId: string - Id of the map
|
|
634
634
|
* @returns {boolean} returnType: boolean
|
|
635
635
|
*/
|
|
636
|
-
export declare const getDisplayMapPin: ((state:
|
|
636
|
+
export declare const getDisplayMapPin: ((state: CoreAppStore, mapId: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
|
|
637
637
|
clearCache: () => void;
|
|
638
638
|
}> & {
|
|
639
639
|
clearCache: () => void;
|
|
@@ -646,7 +646,7 @@ export declare const getDisplayMapPin: ((state: any, mapId: any) => boolean | un
|
|
|
646
646
|
* @param {string} mapId mapId: string - Id of the map
|
|
647
647
|
* @returns {boolean} returnType: id or undefined
|
|
648
648
|
*/
|
|
649
|
-
export declare const getLegendId: ((state:
|
|
649
|
+
export declare const getLegendId: ((state: CoreAppStore, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
|
|
650
650
|
clearCache: () => void;
|
|
651
651
|
}> & {
|
|
652
652
|
clearCache: () => void;
|
|
@@ -659,7 +659,7 @@ export declare const getLegendId: ((state: any, mapId: any) => string | undefine
|
|
|
659
659
|
* @param {string} mapId mapId: string - Id of the map
|
|
660
660
|
* @returns {MapPreset} returnType: MapPreset
|
|
661
661
|
*/
|
|
662
|
-
export declare const getMapPreset: ((state:
|
|
662
|
+
export declare const getMapPreset: ((state: CoreAppStore & uiTypes.UIModuleState, mapId: string) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: ReduxLayer[], args_2: ReduxLayer[], args_3: Bbox, args_4: string, args_5: string | undefined, args_6: string | undefined, args_7: string | undefined, args_8: boolean, args_9: boolean, args_10: boolean | undefined, args_11: boolean | undefined, args_12: boolean | undefined, args_13: number, args_14: number | undefined, args_15: string | undefined, args_16: string | undefined, args_17: number | undefined, args_18: boolean | undefined, args_19: boolean | undefined, args_20: string | undefined, args_21: uiTypes.UIStoreType) => MapPreset, {
|
|
663
663
|
clearCache: () => void;
|
|
664
664
|
}> & {
|
|
665
665
|
clearCache: () => void;
|
|
@@ -672,7 +672,7 @@ export declare const getMapPreset: ((state: any, mapId: any) => MapPreset) & imp
|
|
|
672
672
|
* @param {string} mapId mapId: string - Id of the map
|
|
673
673
|
* @returns {string[]} returnType: string[] - array of enabled layerIds
|
|
674
674
|
*/
|
|
675
|
-
export declare const getMapLayerIdsEnabled: ((state:
|
|
675
|
+
export declare const getMapLayerIdsEnabled: ((state: CoreAppStore, mapId: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => string[], {
|
|
676
676
|
clearCache: () => void;
|
|
677
677
|
}> & {
|
|
678
678
|
clearCache: () => void;
|
|
@@ -686,7 +686,7 @@ export declare const getMapLayerIdsEnabled: ((state: any, mapId: any) => string[
|
|
|
686
686
|
* @param {string} dimensionName dimensionName: string - name of the dimension
|
|
687
687
|
* @returns {Boolean} returnType: boolean
|
|
688
688
|
*/
|
|
689
|
-
export declare const getIsEnabledLayersForMapDimension: ((state:
|
|
689
|
+
export declare const getIsEnabledLayersForMapDimension: ((state: CoreAppStore, _mapId: string, dimensionName: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: string[]) => boolean, {
|
|
690
690
|
clearCache: () => void;
|
|
691
691
|
}> & {
|
|
692
692
|
clearCache: () => void;
|
|
@@ -699,7 +699,7 @@ export declare const getIsEnabledLayersForMapDimension: ((state: any, _mapId: an
|
|
|
699
699
|
* @param {string} mapId mapId: string - Id of the map
|
|
700
700
|
* @returns {DockedLayerManagerSize} returnType: string
|
|
701
701
|
*/
|
|
702
|
-
export declare const getDockedLayerManagerSize: ((state:
|
|
702
|
+
export declare const getDockedLayerManagerSize: ((state: CoreAppStore, mapId: string) => import("./types").DockedLayerManagerSize | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("./types").DockedLayerManagerSize | undefined, {
|
|
703
703
|
clearCache: () => void;
|
|
704
704
|
}> & {
|
|
705
705
|
clearCache: () => void;
|
|
@@ -710,7 +710,7 @@ export declare const getDockedLayerManagerSize: ((state: any, mapId: any) => imp
|
|
|
710
710
|
* @param {string} mapId mapId: string - Id of the map
|
|
711
711
|
* @returns {animationList} returnType: WebMapAnimationList, list of timesteps to animate for this map.
|
|
712
712
|
*/
|
|
713
|
-
export declare const getAnimationList: ((state:
|
|
713
|
+
export declare const getAnimationList: ((state: CoreAppStore, mapId: string) => WebMapAnimationList) & import("reselect").OutputSelectorFields<(args_0: Record<string, ReduxLayer> | null, args_1: WebMap | undefined, args_2: string | undefined, args_3: string | undefined, args_4: number) => WebMapAnimationList, {
|
|
714
714
|
clearCache: () => void;
|
|
715
715
|
}> & {
|
|
716
716
|
clearCache: () => void;
|
|
@@ -720,7 +720,7 @@ export declare const getAnimationList: ((state: any, mapId: any) => WebMapAnimat
|
|
|
720
720
|
* @param {string} mapId mapId: string - Id of the map
|
|
721
721
|
* @returns {object} Returns min and max value of time dimension of autoTimeStep-layer. If no autoTimeStep-layer it returns default start/end time from store.
|
|
722
722
|
*/
|
|
723
|
-
export declare const getAnimationRange: ((state:
|
|
723
|
+
export declare const getAnimationRange: ((state: CoreAppStore, mapId: string) => {
|
|
724
724
|
animationStartTime: string | undefined;
|
|
725
725
|
animationEndTime: string | undefined;
|
|
726
726
|
}) & import("reselect").OutputSelectorFields<(args_0: Record<string, ReduxLayer> | null, args_1: string | undefined, args_2: string | undefined, args_3: string | undefined, args_4: boolean) => {
|
|
@@ -106,6 +106,8 @@ export interface MapPreset {
|
|
|
106
106
|
shouldShowDockedLayerManager?: boolean;
|
|
107
107
|
dockedLayerManagerSize?: DockedLayerManagerSize;
|
|
108
108
|
selectedMapIds?: string[];
|
|
109
|
+
timeSliderSpan?: number;
|
|
110
|
+
toggleTimeSpanAuto?: boolean;
|
|
109
111
|
}
|
|
110
112
|
export interface MapPresetInitialProps {
|
|
111
113
|
mapPreset: MapPreset;
|
|
@@ -153,6 +155,7 @@ export interface SetEndTimeOverriding {
|
|
|
153
155
|
export interface SetTimeSliderSpanPayload {
|
|
154
156
|
mapId: string;
|
|
155
157
|
timeSliderSpan: number;
|
|
158
|
+
origin?: MapActionOrigin;
|
|
156
159
|
}
|
|
157
160
|
export interface SetTimeStepPayload {
|
|
158
161
|
mapId: string;
|
|
@@ -2,7 +2,7 @@ import { TimeInterval } from '@opengeoweb/webmap';
|
|
|
2
2
|
import { SpeedFactorType } from '@opengeoweb/timeslider';
|
|
3
3
|
import { Bbox, Dimension } from './types';
|
|
4
4
|
import type { WebMapState, WebMap, ISO8601Interval, WebMapAnimationList } from '../types';
|
|
5
|
-
import type { Layer } from '../
|
|
5
|
+
import type { Layer } from '../layer/types';
|
|
6
6
|
export declare const dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
|
7
7
|
export interface CreateMapProps {
|
|
8
8
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
2
|
import { FetchInitialServicesPayload, MapStoreRemoveServicePayload, ServiceState, SetLayersForServicePayload } from './types';
|
|
3
|
-
import { layerActions } from '../
|
|
3
|
+
import { layerActions } from '../layer/reducer';
|
|
4
4
|
export declare const initialState: ServiceState;
|
|
5
5
|
export declare const reducer: import("redux").Reducer<ServiceState>;
|
|
6
6
|
export declare const serviceActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Style } from '@opengeoweb/webmap';
|
|
1
|
+
import { LayerProps, Style } from '@opengeoweb/webmap';
|
|
2
2
|
import type { CoreAppStore } from '../../types';
|
|
3
3
|
import { ServiceState, ReduxService } from './types';
|
|
4
4
|
/**
|
|
@@ -45,7 +45,7 @@ export declare const getServiceByUrl: ((state: CoreAppStore, serviceUrl: string)
|
|
|
45
45
|
* @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
|
|
46
46
|
* @returns {array} returnType: ServiceLayer[] - All layers within the service object.
|
|
47
47
|
*/
|
|
48
|
-
export declare const getLayersFromServiceSelector: ((state: CoreAppStore, serviceUrl: string) =>
|
|
48
|
+
export declare const getLayersFromServiceSelector: ((state: CoreAppStore, serviceUrl: string) => LayerProps[]) & import("reselect").OutputSelectorFields<(args_0: ReduxService | undefined) => LayerProps[], {
|
|
49
49
|
clearCache: () => void;
|
|
50
50
|
}> & {
|
|
51
51
|
clearCache: () => void;
|
|
@@ -59,7 +59,7 @@ export declare const getLayersFromServiceSelector: ((state: CoreAppStore, servic
|
|
|
59
59
|
* @param {string} layerName layerName: string - Name of the layer in the service
|
|
60
60
|
* @returns {ServiceLayer} returnType: ServiceLayer - The layer from the service object.
|
|
61
61
|
*/
|
|
62
|
-
export declare const getLayerFromService: ((state: CoreAppStore, _serviceUrl: string, layerName: string) =>
|
|
62
|
+
export declare const getLayerFromService: ((state: CoreAppStore, _serviceUrl: string, layerName: string) => LayerProps | undefined) & import("reselect").OutputSelectorFields<(args_0: LayerProps[], args_1: string) => LayerProps | undefined, {
|
|
63
63
|
clearCache: () => void;
|
|
64
64
|
}> & {
|
|
65
65
|
clearCache: () => void;
|
|
@@ -73,7 +73,7 @@ export declare const getLayerFromService: ((state: CoreAppStore, _serviceUrl: st
|
|
|
73
73
|
* @param {string} layerName layerName: string - Name of the layer in the service
|
|
74
74
|
* @returns {array} returnType: Style[] - array containing layer styles
|
|
75
75
|
*/
|
|
76
|
-
export declare const getLayerStyles: ((state: CoreAppStore, _serviceUrl: string, layerName: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0:
|
|
76
|
+
export declare const getLayerStyles: ((state: CoreAppStore, _serviceUrl: string, layerName: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0: LayerProps | undefined) => Style[], {
|
|
77
77
|
clearCache: () => void;
|
|
78
78
|
}> & {
|
|
79
79
|
clearCache: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LayerType } from '@opengeoweb/webmap';
|
|
2
2
|
import type { CoreAppStore } from '../types';
|
|
3
|
-
import { layerTypes } from './
|
|
3
|
+
import { layerTypes } from './layer';
|
|
4
4
|
import { mapTypes } from './map';
|
|
5
5
|
import { WebMapStateModuleState } from './types';
|
|
6
6
|
export declare const createLayersState: (layerId: string, props?: {}) => layerTypes.LayerState;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LayerState } from './
|
|
1
|
+
import { LayerState } from './layer/types';
|
|
2
2
|
import { WebMapState } from './map/types';
|
|
3
3
|
import { ServiceState } from './service/types';
|
|
4
4
|
export * from './map/types';
|
|
5
|
-
export * from './
|
|
5
|
+
export * from './layer/types';
|
|
6
6
|
export * from './service/types';
|
|
7
7
|
export interface WebMapStateModuleState {
|
|
8
8
|
webmap?: WebMapState;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ListenerMiddleware, ReducersMapObject
|
|
2
|
-
|
|
3
|
-
import { RouterModuleStore } from './types';
|
|
4
|
-
export declare const routerReducersMap: ReducersMapObject<RouterModuleStore>;
|
|
1
|
+
import { ListenerMiddleware, ReducersMapObject } from '@reduxjs/toolkit';
|
|
2
|
+
export declare const routerReducersMap: ReducersMapObject;
|
|
5
3
|
export declare const routerMiddlewares: ListenerMiddleware[];
|
|
6
|
-
export declare const routerModuleConfig:
|
|
4
|
+
export declare const routerModuleConfig: {
|
|
5
|
+
reducersMap: ReducersMapObject<any, import("redux").Action<any>>;
|
|
6
|
+
middlewares: ListenerMiddleware[];
|
|
7
|
+
};
|
package/src/store/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { WebMapStateModuleState } from './
|
|
1
|
+
import type { WebMapStateModuleState } from './map/types';
|
|
2
2
|
import type { SynchronizationGroupModuleState } from './generic/synchronizationGroups/types';
|
|
3
3
|
import type { uiTypes } from '.';
|
|
4
|
-
import type { DrawtoolModuleStore } from './
|
|
4
|
+
import type { DrawtoolModuleStore } from './drawingTool';
|
|
5
5
|
import type { LoadingIndicatorModuleState } from './generic/loadingIndicator/types';
|
|
6
6
|
export interface CoreAppStore extends SynchronizationGroupModuleState, LoadingIndicatorModuleState, uiTypes.UIModuleState, WebMapStateModuleState, DrawtoolModuleStore {
|
|
7
7
|
}
|
package/src/store/ui/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ReducersMapObject } from '@reduxjs/toolkit';
|
|
2
|
+
export declare const uiReducersMap: ReducersMapObject;
|
|
3
|
+
export declare const uiModuleConfig: {
|
|
4
|
+
reducersMap: ReducersMapObject<any, import("redux").Action<any>>;
|
|
5
|
+
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ListenerMiddleware, ReducersMapObject, Store } from '@reduxjs/toolkit';
|
|
2
|
-
import { Egg } from '@redux-eggs/core';
|
|
3
|
-
import type { DrawtoolModuleStore } from './reducer';
|
|
4
|
-
export declare const drawtoolReducersMap: ReducersMapObject<DrawtoolModuleStore>;
|
|
5
|
-
export declare const drawtoolMiddlewares: ListenerMiddleware[];
|
|
6
|
-
export declare const drawtoolModuleConfig: Egg<Store<DrawtoolModuleStore>>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Egg } from '@redux-eggs/core';
|
|
2
|
-
import { ListenerMiddleware, ReducersMapObject, Store } from '@reduxjs/toolkit';
|
|
3
|
-
import { WebMapStateModuleState } from './types';
|
|
4
|
-
export declare const mapStoreReducers: ReducersMapObject<Required<WebMapStateModuleState>>;
|
|
5
|
-
export declare const mapStoreMiddlewares: ListenerMiddleware[];
|
|
6
|
-
export declare const mapStoreModuleConfig: Egg<Store<WebMapStateModuleState>>;
|