@opengeoweb/store 9.11.0 → 9.13.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 +5331 -4550
- package/package.json +1 -1
- package/src/store/generic/loadingIndicator/constants.d.ts +1 -0
- package/src/store/generic/loadingIndicator/index.d.ts +1 -0
- package/src/store/generic/loadingIndicator/reducer.d.ts +3 -1
- package/src/store/generic/loadingIndicator/selectors.d.ts +6 -1
- package/src/store/generic/loadingIndicator/types.d.ts +5 -0
- package/src/store/mapStore/index.d.ts +0 -1
- package/src/store/mapStore/layers/selectors.d.ts +5 -0
- package/src/store/mapStore/layers/types.d.ts +1 -1
- package/src/store/mapStore/layers/utils.d.ts +5 -0
- package/src/store/mapStore/map/reducer.d.ts +1 -3
- package/src/store/mapStore/map/sagas.d.ts +1 -1
- package/src/store/mapStore/map/selectors.d.ts +26 -25
- package/src/store/mapStore/map/types.d.ts +0 -5
- package/src/store/ui/selectors.d.ts +17 -1
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ANY_EDR_SERVICE = "any_edr";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { PayloadAction, EntityState } from '@reduxjs/toolkit';
|
|
2
|
-
import { LoadingIndicatorType, SetIsGetCapabilitiesLoadingPayload, SetIsGetMapLoadingPayload } from './types';
|
|
2
|
+
import { LoadingIndicatorType, SetIsEDRLoadingPayload, SetIsGetCapabilitiesLoadingPayload, SetIsGetMapLoadingPayload } from './types';
|
|
3
3
|
export declare const loadingIndicatorAdapter: import("@reduxjs/toolkit").EntityAdapter<LoadingIndicatorType>;
|
|
4
4
|
export declare const slice: import("@reduxjs/toolkit").Slice<EntityState<LoadingIndicatorType>, {
|
|
5
5
|
setGetMapIsLoading: (draft: EntityState<LoadingIndicatorType>, action: PayloadAction<SetIsGetMapLoadingPayload>) => void;
|
|
6
6
|
setGetCapabilitiesIsLoading: (draft: EntityState<LoadingIndicatorType>, action: PayloadAction<SetIsGetCapabilitiesLoadingPayload>) => void;
|
|
7
|
+
setEDRIsLoading: (draft: EntityState<LoadingIndicatorType>, action: PayloadAction<SetIsEDRLoadingPayload>) => void;
|
|
7
8
|
}, "loadingIndicatorReducer">;
|
|
8
9
|
export declare const loadingIndicatorActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
9
10
|
setGetMapIsLoading: (draft: EntityState<LoadingIndicatorType>, action: PayloadAction<SetIsGetMapLoadingPayload>) => void;
|
|
10
11
|
setGetCapabilitiesIsLoading: (draft: EntityState<LoadingIndicatorType>, action: PayloadAction<SetIsGetCapabilitiesLoadingPayload>) => void;
|
|
12
|
+
setEDRIsLoading: (draft: EntityState<LoadingIndicatorType>, action: PayloadAction<SetIsEDRLoadingPayload>) => void;
|
|
11
13
|
}, "loadingIndicatorReducer">, loadingIndicatorReducer: import("redux").Reducer<EntityState<LoadingIndicatorType>, import("redux").AnyAction>;
|
|
@@ -10,7 +10,12 @@ export declare const isGetCapabilitiesLoading: ((state: LoadingIndicatorModuleSt
|
|
|
10
10
|
}> & {
|
|
11
11
|
clearCache: () => void;
|
|
12
12
|
};
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const isEDRLoading: ((state: LoadingIndicatorModuleState, id: import("@reduxjs/toolkit").EntityId) => boolean) & import("reselect").OutputSelectorFields<(args_0: LoadingIndicatorType | undefined) => boolean, {
|
|
14
|
+
clearCache: () => void;
|
|
15
|
+
}> & {
|
|
16
|
+
clearCache: () => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const isLoading: ((state: LoadingIndicatorModuleState, id: import("@reduxjs/toolkit").EntityId) => boolean) & import("reselect").OutputSelectorFields<(args_0: boolean, args_1: boolean, args_2: boolean, args_3: boolean) => boolean, {
|
|
14
19
|
clearCache: () => void;
|
|
15
20
|
}> & {
|
|
16
21
|
clearCache: () => void;
|
|
@@ -3,6 +3,7 @@ export interface LoadingIndicatorType {
|
|
|
3
3
|
id: string;
|
|
4
4
|
isGetMapLoading: boolean;
|
|
5
5
|
isGetCapabilitiesLoading: boolean;
|
|
6
|
+
isEDRLoading: boolean;
|
|
6
7
|
}
|
|
7
8
|
export interface LoadingIndicatorModuleState {
|
|
8
9
|
loadingIndicatorStore?: EntityState<LoadingIndicatorType>;
|
|
@@ -15,3 +16,7 @@ export interface SetIsGetCapabilitiesLoadingPayload {
|
|
|
15
16
|
id: string;
|
|
16
17
|
isGetCapabilitiesLoading: boolean;
|
|
17
18
|
}
|
|
19
|
+
export interface SetIsEDRLoadingPayload {
|
|
20
|
+
id: string;
|
|
21
|
+
isEDRLoading: boolean;
|
|
22
|
+
}
|
|
@@ -32,7 +32,6 @@ export declare const mapStoreActions: {
|
|
|
32
32
|
}, "mapReducer/setAutoUpdateLayerId">;
|
|
33
33
|
setTimeSliderWidth: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderWidthPayload, "mapReducer/setTimeSliderWidth">;
|
|
34
34
|
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
|
|
35
|
-
setTimeSliderUnfilteredSelectedTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderUnfilteredSelectedTimePayload, "mapReducer/setTimeSliderUnfilteredSelectedTime">;
|
|
36
35
|
setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderSecondsPerPxPayload, "mapReducer/setTimeSliderSecondsPerPx">;
|
|
37
36
|
toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate">;
|
|
38
37
|
setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetEndTimeOverriding, "mapReducer/setEndTimeOverriding">;
|
|
@@ -317,6 +317,11 @@ export declare const getFeatureLayerGeoJSON: ((state: any, layerId: any) => impo
|
|
|
317
317
|
}> & {
|
|
318
318
|
clearCache: () => void;
|
|
319
319
|
};
|
|
320
|
+
export declare const getHasFeatureLayerGeoJSON: ((state: any, layerId: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties> | undefined) => boolean, {
|
|
321
|
+
clearCache: () => void;
|
|
322
|
+
}> & {
|
|
323
|
+
clearCache: () => void;
|
|
324
|
+
};
|
|
320
325
|
export declare const getFeatureLayerGeoJSONProperties: ((state: any, layerId: any) => {
|
|
321
326
|
[name: string]: any;
|
|
322
327
|
}) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer | undefined, args_1: number | undefined) => {
|
|
@@ -88,7 +88,7 @@ export interface SetLayerGeojsonPayload extends LayerPayload {
|
|
|
88
88
|
}
|
|
89
89
|
export interface DeleteLayerPayload extends LayerPayload {
|
|
90
90
|
mapId: string;
|
|
91
|
-
layerIndex
|
|
91
|
+
layerIndex?: number;
|
|
92
92
|
origin?: LayerActionOrigin | SyncGroupActionOrigin.delete;
|
|
93
93
|
}
|
|
94
94
|
export interface AddLayerPayload {
|
|
@@ -16,3 +16,8 @@ export declare const produceDraftStateForAllLayersForDimensionWithinMap: (draft:
|
|
|
16
16
|
* @param dimensions Dimension[]
|
|
17
17
|
*/
|
|
18
18
|
export declare const filterNonTimeDimensions: (dimensions: Dimension[]) => Dimension[];
|
|
19
|
+
/**
|
|
20
|
+
* Returns the list of dimensions without the time dimension
|
|
21
|
+
* @param dimensions Dimension[]
|
|
22
|
+
*/
|
|
23
|
+
export declare const filterCurrentValueFromDimensions: (dimensions: Dimension[]) => Dimension[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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 } from './types';
|
|
4
|
-
import { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload
|
|
4
|
+
import { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload } from '../types';
|
|
5
5
|
/**
|
|
6
6
|
* Checks if the layer id is already taken in one of the maps.
|
|
7
7
|
* @param state The WebMapState
|
|
@@ -39,7 +39,6 @@ export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
|
|
|
39
39
|
}>) => void;
|
|
40
40
|
setTimeSliderWidth: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderWidthPayload>) => void;
|
|
41
41
|
setTimeSliderCenterTime: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderCenterTimePayload>) => void;
|
|
42
|
-
setTimeSliderUnfilteredSelectedTime: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderUnfilteredSelectedTimePayload>) => void;
|
|
43
42
|
setTimeSliderSecondsPerPx: (draft: Draft<WebMapState>, action: PayloadAction<SetTimeSliderSecondsPerPxPayload>) => void;
|
|
44
43
|
toggleAutoUpdate: (draft: Draft<WebMapState>, action: PayloadAction<ToggleAutoUpdatePayload>) => void;
|
|
45
44
|
setEndTimeOverriding: (draft: Draft<WebMapState>, action: PayloadAction<SetEndTimeOverriding>) => void;
|
|
@@ -88,7 +87,6 @@ export declare const mapActions: {
|
|
|
88
87
|
}, "mapReducer/setAutoUpdateLayerId">;
|
|
89
88
|
setTimeSliderWidth: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderWidthPayload, "mapReducer/setTimeSliderWidth">;
|
|
90
89
|
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
|
|
91
|
-
setTimeSliderUnfilteredSelectedTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderUnfilteredSelectedTimePayload, "mapReducer/setTimeSliderUnfilteredSelectedTime">;
|
|
92
90
|
setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderSecondsPerPxPayload, "mapReducer/setTimeSliderSecondsPerPx">;
|
|
93
91
|
toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate">;
|
|
94
92
|
setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetEndTimeOverriding, "mapReducer/setEndTimeOverriding">;
|
|
@@ -8,7 +8,7 @@ export declare function startAnimationSaga({ payload, }: ReturnType<typeof mapAc
|
|
|
8
8
|
export declare function stopAnimationSaga({ payload, }: ReturnType<typeof mapActions.mapStopAnimation>): Generator;
|
|
9
9
|
export declare function deleteLayerSaga({ payload, }: ReturnType<typeof layerActions.layerDelete>): SagaIterator;
|
|
10
10
|
export declare function updateAnimation(mapId: string, maxValue: string): SagaIterator;
|
|
11
|
-
export declare function
|
|
11
|
+
export declare function setLayerDimensionsSaga({ payload, }: ReturnType<typeof layerActions.onUpdateLayerInformation>): SagaIterator;
|
|
12
12
|
export declare function toggleAutoUpdateSaga({ payload, }: ReturnType<typeof mapActions.toggleAutoUpdate>): SagaIterator;
|
|
13
13
|
export declare function handleBaseLayersSaga(mapId: string, baseLayers: Layer[]): SagaIterator;
|
|
14
14
|
export declare function setMapPresetSaga({ payload, }: ReturnType<typeof mapActions.setMapPreset>): SagaIterator;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Bbox, MapPreset, WebMap, WebMapState } from './types';
|
|
2
2
|
import type { CoreAppStore } from '../../types';
|
|
3
|
-
import type { Dimension, Layer, WebMapAnimationList } from '../types';
|
|
3
|
+
import type { Dimension, Layer, ReduxLayer, WebMapAnimationList } from '../types';
|
|
4
4
|
import type { uiTypes } from '../../ui';
|
|
5
5
|
/**
|
|
6
6
|
* Gets the map state by mapId
|
|
@@ -89,7 +89,22 @@ 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: any, mapId: any) =>
|
|
92
|
+
export declare const getMapLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
93
|
+
clearCache: () => void;
|
|
94
|
+
}> & {
|
|
95
|
+
clearCache: () => void;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Gets all layer states for a map, but where Dimensions have no currentValue set
|
|
99
|
+
*
|
|
100
|
+
* Use this instead of getMapLayers to prevent unnecessary re-renders
|
|
101
|
+
*
|
|
102
|
+
* Example: layers = getMapLayers(store, 'mapid_1')
|
|
103
|
+
* @param {object} store store: object - store object
|
|
104
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
105
|
+
* @returns {array} returnType: array - array containing all layer states for the map
|
|
106
|
+
*/
|
|
107
|
+
export declare const getMapLayersWithoutDimensionCurrentValue: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
93
108
|
clearCache: () => void;
|
|
94
109
|
}> & {
|
|
95
110
|
clearCache: () => void;
|
|
@@ -115,7 +130,7 @@ export declare const getMapBaseLayersIds: ((state: any, mapId: any) => string[])
|
|
|
115
130
|
* @param {string} mapId mapId: string - Id of the map
|
|
116
131
|
* @returns {array} returnType: array - array containing all baselayers for the map
|
|
117
132
|
*/
|
|
118
|
-
export declare const getMapBaseLayers: ((state: any, mapId: any) =>
|
|
133
|
+
export declare const getMapBaseLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
119
134
|
clearCache: () => void;
|
|
120
135
|
}> & {
|
|
121
136
|
clearCache: () => void;
|
|
@@ -133,7 +148,7 @@ export declare const getMapOverLayersIds: ((state: any, mapId: any) => string[])
|
|
|
133
148
|
}> & {
|
|
134
149
|
clearCache: () => void;
|
|
135
150
|
};
|
|
136
|
-
export declare const getMapFeatureLayers: ((state: any, mapId: any) =>
|
|
151
|
+
export declare const getMapFeatureLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: ReduxLayer[]) => ReduxLayer[], {
|
|
137
152
|
clearCache: () => void;
|
|
138
153
|
}> & {
|
|
139
154
|
clearCache: () => void;
|
|
@@ -146,7 +161,7 @@ export declare const getMapFeatureLayers: ((state: any, mapId: any) => import(".
|
|
|
146
161
|
* @param {string} mapId mapId: string - Id of the map
|
|
147
162
|
* @returns {array} returnType: array - array containing all overLayers for the map
|
|
148
163
|
*/
|
|
149
|
-
export declare const getMapOverLayers: ((state: any, mapId: any) =>
|
|
164
|
+
export declare const getMapOverLayers: ((state: any, mapId: any) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
|
|
150
165
|
clearCache: () => void;
|
|
151
166
|
}> & {
|
|
152
167
|
clearCache: () => void;
|
|
@@ -190,7 +205,7 @@ export declare const getSelectedTime: ((state: CoreAppStore, mapId: string) => n
|
|
|
190
205
|
}> & {
|
|
191
206
|
clearCache: () => void;
|
|
192
207
|
};
|
|
193
|
-
export declare const getDataLimitsFromLayers: ((state: any, mapId: any) => number[]) & import("reselect").OutputSelectorFields<(args_0:
|
|
208
|
+
export declare const getDataLimitsFromLayers: ((state: any, mapId: any) => number[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => number[], {
|
|
194
209
|
clearCache: () => void;
|
|
195
210
|
}> & {
|
|
196
211
|
clearCache: () => void;
|
|
@@ -414,20 +429,6 @@ export declare const getMapTimeSliderCenterTime: ((state: any, mapId: any) => nu
|
|
|
414
429
|
}> & {
|
|
415
430
|
clearCache: () => void;
|
|
416
431
|
};
|
|
417
|
-
/**
|
|
418
|
-
* Returns the unfiltered selected time of time slider
|
|
419
|
-
* This is not used to set the selected time itself, which is controlled by TimeBounds where values are rounded.
|
|
420
|
-
*
|
|
421
|
-
* Example: selectedTime = getTimeSliderUnfliteredSelectedTime(store, 'mapid_1')
|
|
422
|
-
* @param {object} store store: object - store object
|
|
423
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
424
|
-
* @returns {number} returnType: number - unfiltered selected time as a unix timestamp
|
|
425
|
-
*/
|
|
426
|
-
export declare const getTimeSliderUnfilteredSelectedTime: ((state: any, mapId: any) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: number) => number | undefined, {
|
|
427
|
-
clearCache: () => void;
|
|
428
|
-
}> & {
|
|
429
|
-
clearCache: () => void;
|
|
430
|
-
};
|
|
431
432
|
/**
|
|
432
433
|
* Returns the number of seconds per pixel on the time slider
|
|
433
434
|
*
|
|
@@ -542,7 +543,7 @@ export declare const getMapIdFromLayerId: ((state: CoreAppStore, layerId?: strin
|
|
|
542
543
|
* @param {string} layerId layerId: string - Id of the layer
|
|
543
544
|
* @returns {string} returnType: string - the layerId, or null if not found
|
|
544
545
|
*/
|
|
545
|
-
export declare const getLayerIdByLayerName: ((state: any, _mapId: any, layerName: string) => string) & import("reselect").OutputSelectorFields<(args_0:
|
|
546
|
+
export declare const getLayerIdByLayerName: ((state: any, _mapId: any, layerName: string) => string) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string) => string, {
|
|
546
547
|
clearCache: () => void;
|
|
547
548
|
}> & {
|
|
548
549
|
clearCache: () => void;
|
|
@@ -556,7 +557,7 @@ export declare const getLayerIdByLayerName: ((state: any, _mapId: any, layerName
|
|
|
556
557
|
* @param {string} layerId layerId: string - Id of the layer
|
|
557
558
|
* @returns {number} returnType: index number or -1 if not found
|
|
558
559
|
*/
|
|
559
|
-
export declare const getLayerIndexByLayerId: ((state: any, _mapId: any, layerId?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0:
|
|
560
|
+
export declare const getLayerIndexByLayerId: ((state: any, _mapId: any, layerId?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string | undefined) => number, {
|
|
560
561
|
clearCache: () => void;
|
|
561
562
|
}> & {
|
|
562
563
|
clearCache: () => void;
|
|
@@ -570,7 +571,7 @@ export declare const getLayerIndexByLayerId: ((state: any, _mapId: any, layerId?
|
|
|
570
571
|
* @param {number} layerIndex layerId: number - Index of the layer in the map
|
|
571
572
|
* @returns {object} returnType: layer, or null if not found
|
|
572
573
|
*/
|
|
573
|
-
export declare const getLayerByLayerIndex: ((state: any, _mapId: any, layerIndex: number) => Layer) & import("reselect").OutputSelectorFields<(args_0:
|
|
574
|
+
export declare const getLayerByLayerIndex: ((state: any, _mapId: any, layerIndex: number) => Layer) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: number) => Layer, {
|
|
574
575
|
clearCache: () => void;
|
|
575
576
|
}> & {
|
|
576
577
|
clearCache: () => void;
|
|
@@ -647,7 +648,7 @@ export declare const getLegendId: ((state: any, mapId: any) => string | undefine
|
|
|
647
648
|
* @param {string} mapId mapId: string - Id of the map
|
|
648
649
|
* @returns {MapPreset} returnType: MapPreset
|
|
649
650
|
*/
|
|
650
|
-
export declare const getMapPreset: ((state: any, mapId: any) => MapPreset) & import("reselect").OutputSelectorFields<(args_0:
|
|
651
|
+
export declare const getMapPreset: ((state: any, mapId: any) => 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: boolean | undefined, args_18: string | undefined, args_19: uiTypes.UIStoreType) => MapPreset, {
|
|
651
652
|
clearCache: () => void;
|
|
652
653
|
}> & {
|
|
653
654
|
clearCache: () => void;
|
|
@@ -660,7 +661,7 @@ export declare const getMapPreset: ((state: any, mapId: any) => MapPreset) & imp
|
|
|
660
661
|
* @param {string} mapId mapId: string - Id of the map
|
|
661
662
|
* @returns {string[]} returnType: string[] - array of enabled layerIds
|
|
662
663
|
*/
|
|
663
|
-
export declare const getMapLayerIdsEnabled: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string,
|
|
664
|
+
export declare const getMapLayerIdsEnabled: ((state: any, mapId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => string[], {
|
|
664
665
|
clearCache: () => void;
|
|
665
666
|
}> & {
|
|
666
667
|
clearCache: () => void;
|
|
@@ -40,7 +40,6 @@ export interface WebMap {
|
|
|
40
40
|
animationDelay?: number;
|
|
41
41
|
timeSliderWidth?: number;
|
|
42
42
|
timeSliderCenterTime?: number;
|
|
43
|
-
timeSliderUnfilteredSelectedTime?: number;
|
|
44
43
|
timeSliderSecondsPerPx?: number;
|
|
45
44
|
isTimestepAuto?: boolean;
|
|
46
45
|
isTimeSpanAuto?: boolean;
|
|
@@ -197,10 +196,6 @@ export interface SetTimeSliderCenterTimePayload {
|
|
|
197
196
|
mapId: string;
|
|
198
197
|
timeSliderCenterTime: number;
|
|
199
198
|
}
|
|
200
|
-
export interface SetTimeSliderUnfilteredSelectedTimePayload {
|
|
201
|
-
mapId: string;
|
|
202
|
-
timeSliderUnfilteredSelectedTime: number;
|
|
203
|
-
}
|
|
204
199
|
export interface SetTimeSliderSecondsPerPxPayload {
|
|
205
200
|
mapId: string;
|
|
206
201
|
timeSliderSecondsPerPx: number;
|
|
@@ -70,7 +70,23 @@ export declare const getDialogSource: ((state: CoreAppStore, dialogType: string)
|
|
|
70
70
|
* @param {object} store store object from which the window state will be extracted
|
|
71
71
|
* @returns {string} active window id
|
|
72
72
|
*/
|
|
73
|
-
export declare const getActiveWindowId: (
|
|
73
|
+
export declare const getActiveWindowId: ((state: CoreAppStore) => string) & import("reselect").OutputSelectorFields<(args_0: UIStoreType) => string, {
|
|
74
|
+
clearCache: () => void;
|
|
75
|
+
}> & {
|
|
76
|
+
clearCache: () => void;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Gets if this is the active window
|
|
80
|
+
*
|
|
81
|
+
* Example: getIsActiveWindowId(store, viewId)
|
|
82
|
+
* @param {object} store store object from which the window state will be extracted
|
|
83
|
+
* @returns {string} active window id
|
|
84
|
+
*/
|
|
85
|
+
export declare const getIsActiveWindowId: ((state: CoreAppStore, viewId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIStoreType, args_1: string) => boolean, {
|
|
86
|
+
clearCache: () => void;
|
|
87
|
+
}> & {
|
|
88
|
+
clearCache: () => void;
|
|
89
|
+
};
|
|
74
90
|
export declare const getDialogIsLoading: ((state: CoreAppStore, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
|
|
75
91
|
clearCache: () => void;
|
|
76
92
|
}> & {
|