@opengeoweb/store 7.0.0 → 8.0.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/README.md +0 -0
- package/index.esm.d.ts +0 -0
- package/index.esm.js +1408 -915
- package/package.json +5 -4
- package/src/index.d.ts +0 -0
- package/src/store/app/config.d.ts +0 -0
- package/src/store/app/index.d.ts +0 -0
- package/src/store/app/reducer.d.ts +0 -0
- package/src/store/app/reducer.spec.d.ts +0 -0
- package/src/store/app/types.d.ts +0 -0
- package/src/store/coreModuleConfig.d.ts +1 -1
- package/src/store/drawingtool/config.d.ts +0 -0
- package/src/store/drawingtool/index.d.ts +3 -1
- package/src/store/drawingtool/reducer.d.ts +10 -9
- package/src/store/drawingtool/reducer.spec.d.ts +3 -2
- package/src/store/drawingtool/sagas.d.ts +0 -0
- package/src/store/drawingtool/sagas.spec.d.ts +0 -0
- package/src/store/drawingtool/selectors.d.ts +12 -2
- package/src/store/drawingtool/selectors.spec.d.ts +0 -0
- package/src/store/drawingtool/testUtils.d.ts +0 -0
- package/src/store/drawingtool/utils.d.ts +3 -0
- package/src/store/{drawings/reducer.spec.d.ts → drawingtool/utils.spec.d.ts} +0 -0
- package/src/store/generic/actions.d.ts +0 -0
- package/src/store/generic/config.d.ts +0 -0
- package/src/store/generic/index.d.ts +0 -0
- package/src/store/generic/sagas.d.ts +0 -0
- package/src/store/generic/sagas.spec.d.ts +0 -0
- package/src/store/generic/selectors.d.ts +0 -0
- package/src/store/generic/selectors.spec.d.ts +0 -0
- package/src/store/generic/synchronizationActions/actions.d.ts +0 -0
- package/src/store/generic/synchronizationActions/types.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/constants.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/index.d.ts +1 -1
- package/src/store/generic/synchronizationGroups/reducer.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/reducer.spec.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/sagas.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/sagas.spec.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/selector.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/selectors.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/selectors.spec.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/types.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/utils.d.ts +0 -0
- package/src/store/generic/synchronizationGroups/utils.spec.d.ts +0 -0
- package/src/store/generic/types.d.ts +0 -0
- package/src/store/generic/utils.d.ts +0 -0
- package/src/store/generic/utils.spec.d.ts +0 -0
- package/src/store/index.d.ts +1 -1
- package/src/store/layerSelect/config.d.ts +0 -0
- package/src/store/layerSelect/index.d.ts +0 -0
- package/src/store/layerSelect/localStorage.d.ts +0 -0
- package/src/store/layerSelect/localStorage.spec.d.ts +0 -0
- package/src/store/layerSelect/reducer.d.ts +0 -0
- package/src/store/layerSelect/reducer.spec.d.ts +0 -0
- package/src/store/layerSelect/sagas.d.ts +0 -0
- package/src/store/layerSelect/sagas.spec.d.ts +0 -0
- package/src/store/layerSelect/selectors.d.ts +0 -0
- package/src/store/layerSelect/selectors.spec.d.ts +0 -0
- package/src/store/layerSelect/types.d.ts +0 -0
- package/src/store/layerSelect/utils.d.ts +0 -0
- package/src/store/layerSelect/utils.spec.d.ts +0 -0
- package/src/store/mapStore/config.d.ts +0 -0
- package/src/store/mapStore/index.d.ts +0 -0
- package/src/store/mapStore/layers/index.d.ts +0 -0
- package/src/store/mapStore/layers/reducer.d.ts +0 -0
- package/src/store/mapStore/layers/reducer.spec.d.ts +0 -0
- package/src/store/mapStore/layers/selectors.d.ts +0 -0
- package/src/store/mapStore/layers/selectors.spec.d.ts +0 -0
- package/src/store/mapStore/layers/types.d.ts +0 -0
- package/src/store/mapStore/layers/utils.d.ts +0 -0
- package/src/store/mapStore/layers/utils.spec.d.ts +0 -0
- package/src/store/mapStore/map/actions.d.ts +0 -0
- package/src/store/mapStore/map/constants.d.ts +0 -0
- package/src/store/mapStore/map/enums.d.ts +0 -0
- package/src/store/mapStore/map/filterLayers.d.ts +0 -0
- package/src/store/mapStore/map/filterLayers.spec.d.ts +0 -0
- package/src/store/mapStore/map/index.d.ts +1 -0
- package/src/store/mapStore/map/reducer.d.ts +0 -0
- package/src/store/mapStore/map/reducer.spec.d.ts +0 -0
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +0 -0
- package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -0
- package/src/store/mapStore/map/sagas.d.ts +0 -0
- package/src/store/mapStore/map/sagas.spec.d.ts +0 -0
- package/src/store/mapStore/map/selectors.d.ts +11 -1
- package/src/store/mapStore/map/selectors.spec.d.ts +0 -0
- package/src/store/mapStore/map/types.d.ts +2 -0
- package/src/store/mapStore/map/utils.d.ts +1 -0
- package/src/store/mapStore/map/utils.spec.d.ts +0 -0
- package/src/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -0
- package/src/store/mapStore/service/index.d.ts +0 -0
- package/src/store/mapStore/service/reducer.d.ts +0 -0
- package/src/store/mapStore/service/reducer.spec.d.ts +0 -0
- package/src/store/mapStore/service/sagas.d.ts +0 -0
- package/src/store/mapStore/service/sagas.spec.d.ts +0 -0
- package/src/store/mapStore/service/selectors.d.ts +0 -0
- package/src/store/mapStore/service/selectors.spec.d.ts +0 -0
- package/src/store/mapStore/service/types.d.ts +2 -1
- package/src/store/mapStore/storeTestSettings.d.ts +0 -0
- package/src/store/mapStore/storeTestUtils.d.ts +0 -0
- package/src/store/mapStore/types.d.ts +0 -0
- package/src/store/router/config.d.ts +0 -0
- package/src/store/router/index.d.ts +0 -0
- package/src/store/router/reducer.d.ts +0 -0
- package/src/store/router/reducer.spec.d.ts +0 -0
- package/src/store/router/sagas.d.ts +0 -0
- package/src/store/router/sagas.spec.d.ts +0 -0
- package/src/store/router/types.d.ts +0 -0
- package/src/store/router/utils.d.ts +0 -0
- package/src/store/snackbar/config.d.ts +0 -0
- package/src/store/snackbar/index.d.ts +0 -0
- package/src/store/snackbar/reducer.d.ts +0 -0
- package/src/store/snackbar/reducer.spec.d.ts +0 -0
- package/src/store/snackbar/sagas.d.ts +0 -0
- package/src/store/snackbar/sagas.spec.d.ts +0 -0
- package/src/store/snackbar/selectors.d.ts +0 -0
- package/src/store/snackbar/selectors.spec.d.ts +0 -0
- package/src/store/snackbar/types.d.ts +0 -0
- package/src/store/types.d.ts +1 -2
- package/src/store/ui/config.d.ts +0 -0
- package/src/store/ui/index.d.ts +0 -0
- package/src/store/ui/reducer.d.ts +0 -0
- package/src/store/ui/reducer.spec.d.ts +0 -0
- package/src/store/ui/sagas.d.ts +0 -0
- package/src/store/ui/sagas.test.d.ts +0 -0
- package/src/store/ui/selectors.d.ts +0 -0
- package/src/store/ui/selectors.spec.d.ts +0 -0
- package/src/store/ui/types.d.ts +1 -1
- package/src/store/utils.d.ts +0 -0
- package/src/store/drawings/config.d.ts +0 -4
- package/src/store/drawings/index.d.ts +0 -4
- package/src/store/drawings/reducer.d.ts +0 -9
- package/src/store/drawings/selectors.d.ts +0 -3
- package/src/store/drawings/selectors.spec.d.ts +0 -1
- package/src/store/drawings/testUtils.d.ts +0 -1
- package/src/store/drawings/types.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/store",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "GeoWeb Store library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
"main": "./index.esm.js",
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@opengeoweb/shared": "
|
|
16
|
-
"@opengeoweb/webmap": "
|
|
17
|
-
"@opengeoweb/webmap-react": "
|
|
15
|
+
"@opengeoweb/shared": "8.0.0",
|
|
16
|
+
"@opengeoweb/webmap": "8.0.0",
|
|
17
|
+
"@opengeoweb/webmap-react": "8.0.0",
|
|
18
18
|
"@redux-eggs/core": "2.2.0",
|
|
19
19
|
"@redux-eggs/redux-toolkit": "2.2.0",
|
|
20
20
|
"@redux-eggs/saga-extension": "2.2.0",
|
|
21
21
|
"@reduxjs/toolkit": "1.9.5",
|
|
22
|
+
"date-fns": "2.30.0",
|
|
22
23
|
"immer": "9.0.21",
|
|
23
24
|
"lodash": "4.17.21",
|
|
24
25
|
"moment": "2.29.4",
|
package/src/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/src/store/app/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/store/app/types.d.ts
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const coreModuleConfig: (import("@redux-eggs/core").Egg<import("redux").Store<import("./mapStore").WebMapStateModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./generic/synchronizationGroups/types").SynchronizationGroupModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./ui/types").UIModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./layerSelect/types").LayerSelectModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./snackbar/types").SnackbarModuleStore, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./
|
|
1
|
+
export declare const coreModuleConfig: (import("@redux-eggs/core").Egg<import("redux").Store<import("./mapStore").WebMapStateModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./generic/synchronizationGroups/types").SynchronizationGroupModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./ui/types").UIModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./layerSelect/types").LayerSelectModuleState, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./snackbar/types").SnackbarModuleStore, import("redux").AnyAction>> | import("@redux-eggs/core").Egg<import("redux").Store<import("./drawingtool").DrawtoolModuleStore, import("redux").AnyAction>>)[];
|
|
File without changes
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { drawtoolActions } from './reducer';
|
|
2
2
|
export * as drawtoolSelectors from './selectors';
|
|
3
3
|
export * from './config';
|
|
4
|
-
export type {
|
|
4
|
+
export type { DrawToolItem, DrawtoolModuleStore } from './reducer';
|
|
5
|
+
export * from './utils';
|
|
6
|
+
export { reducer as drawtoolReducer } from './reducer';
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { PayloadAction, Draft, EntityState } from '@reduxjs/toolkit';
|
|
2
|
-
|
|
3
|
-
drawModeId: string;
|
|
4
|
-
value: 'POLYGON' | 'BOX' | 'MULTIPOINT' | 'POINT' | 'LINESTRING' | 'DELETE';
|
|
5
|
-
shape: GeoJSON.Feature | GeoJSON.FeatureCollection;
|
|
6
|
-
title: string;
|
|
7
|
-
isSelectable: boolean;
|
|
8
|
-
};
|
|
2
|
+
import { DrawMode } from '@opengeoweb/webmap-react';
|
|
9
3
|
export interface DrawToolItem {
|
|
10
4
|
drawToolId: string;
|
|
11
5
|
geoJSONLayerId: string;
|
|
@@ -17,17 +11,24 @@ export interface DrawtoolModuleStore {
|
|
|
17
11
|
drawingtools?: DrawingToolState;
|
|
18
12
|
}
|
|
19
13
|
export declare const drawAdapter: import("@reduxjs/toolkit").EntityAdapter<DrawToolItem>;
|
|
20
|
-
export declare const getDrawLayerId: (drawToolId: string) => string;
|
|
21
14
|
export declare const initialState: DrawingToolState;
|
|
22
15
|
export declare const reducer: import("redux").Reducer<DrawingToolState, import("redux").AnyAction>;
|
|
23
16
|
export declare const drawtoolActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
24
17
|
registerDrawTool: (draft: Draft<DrawingToolState>, action: PayloadAction<{
|
|
25
|
-
mapId: string;
|
|
26
18
|
drawModes: DrawMode[];
|
|
27
19
|
drawToolId: string;
|
|
20
|
+
mapId?: string;
|
|
21
|
+
geoJSONLayerId?: string;
|
|
22
|
+
}>) => void;
|
|
23
|
+
unregisterDrawTool: (draft: Draft<DrawingToolState>, action: PayloadAction<{
|
|
24
|
+
drawToolId: string;
|
|
28
25
|
}>) => void;
|
|
29
26
|
changeDrawToolMode: (draft: Draft<DrawingToolState>, action: PayloadAction<{
|
|
30
27
|
drawToolId: string;
|
|
31
28
|
drawModeId: string;
|
|
32
29
|
}>) => void;
|
|
30
|
+
updateGeoJSONLayerId: (draft: Draft<DrawingToolState>, action: PayloadAction<{
|
|
31
|
+
drawToolId: string;
|
|
32
|
+
geoJSONLayerId: string;
|
|
33
|
+
}>) => void;
|
|
33
34
|
}, "draw">;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { DRAWMODE } from '@opengeoweb/webmap-react';
|
|
1
2
|
export declare const testDefaultPoint: {
|
|
2
3
|
drawModeId: string;
|
|
3
|
-
value:
|
|
4
|
+
value: DRAWMODE;
|
|
4
5
|
title: string;
|
|
5
6
|
shape: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
6
7
|
isSelectable: boolean;
|
|
7
8
|
};
|
|
8
9
|
export declare const testDefaultPolygon: {
|
|
9
10
|
drawModeId: string;
|
|
10
|
-
value:
|
|
11
|
+
value: DRAWMODE;
|
|
11
12
|
title: string;
|
|
12
13
|
shape: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
13
14
|
isSelectable: boolean;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import type { DrawingToolState, DrawtoolModuleStore } from './reducer';
|
|
2
2
|
export declare const getDrawingtoolStore: (store: DrawtoolModuleStore) => DrawingToolState;
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId: string, drawModeId: string) => import("
|
|
3
|
+
export declare const selectDrawToolById: (state: DrawtoolModuleStore, id: import("@reduxjs/toolkit").EntityId) => import("./reducer").DrawToolItem | undefined, selectAllDrawingTools: (state: DrawtoolModuleStore) => import("./reducer").DrawToolItem[];
|
|
4
|
+
export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId: string, drawModeId: string) => import("dist/libs/webmap-react/src").DrawMode | undefined) & import("reselect").OutputSelectorFields<(args_0: import("./reducer").DrawToolItem | undefined, args_1: string) => import("dist/libs/webmap-react/src").DrawMode | undefined, {
|
|
5
|
+
clearCache: () => void;
|
|
6
|
+
}> & {
|
|
7
|
+
clearCache: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const getActiveDrawModeId: ((state: DrawtoolModuleStore, id: import("@reduxjs/toolkit").EntityId) => string) & import("reselect").OutputSelectorFields<(args_0: import("./reducer").DrawToolItem | undefined) => string, {
|
|
10
|
+
clearCache: () => void;
|
|
11
|
+
}> & {
|
|
12
|
+
clearCache: () => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const getDrawToolGeoJSONLayerId: ((state: DrawtoolModuleStore, id: import("@reduxjs/toolkit").EntityId) => string) & import("reselect").OutputSelectorFields<(args_0: import("./reducer").DrawToolItem | undefined) => string, {
|
|
5
15
|
clearCache: () => void;
|
|
6
16
|
}> & {
|
|
7
17
|
clearCache: () => void;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DrawMode } from '@opengeoweb/webmap-react';
|
|
2
|
+
export declare const getSingularDrawtoolDrawLayerId: (mapId: string) => string;
|
|
3
|
+
export declare const getGeoJSONPropertyValue: (property: string, properties: GeoJSON.GeoJsonProperties, polygonDrawMode: DrawMode | undefined, defaultProperties?: GeoJSON.GeoJsonProperties) => number | string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { actions as syncGroupsActions, initialState } from './reducer';
|
|
1
|
+
export { actions as syncGroupsActions, initialState, reducer as syncGroupsReducer, } from './reducer';
|
|
2
2
|
export * as syncConstants from './constants';
|
|
3
3
|
export * as types from './types';
|
|
4
4
|
export * as syncGroupsSelectors from './selectors';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/store/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ export * from './mapStore';
|
|
|
2
2
|
export * from './layerSelect';
|
|
3
3
|
export * from './ui';
|
|
4
4
|
export * from './generic';
|
|
5
|
+
export { rootSaga as genericSaga } from './generic/sagas';
|
|
5
6
|
export * from './snackbar';
|
|
6
7
|
export * from './router';
|
|
7
8
|
export * from './app';
|
|
8
|
-
export * from './drawings';
|
|
9
9
|
export * from './drawingtool';
|
|
10
10
|
export * from './types';
|
|
11
11
|
export * as storeTestUtils from './mapStore/storeTestUtils';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -13,6 +13,7 @@ export declare const mapUtils: {
|
|
|
13
13
|
getTimeStepFromDataInterval: (timeInterval: import("dist/libs/webmap/src").TimeInterval) => number;
|
|
14
14
|
getActiveLayerTimeStep: (timeDimension: mapTypes.Dimension | undefined) => number | undefined;
|
|
15
15
|
getSpeedFactor: (speedDelay: number) => mapTypes.SpeedFactorType;
|
|
16
|
+
getAnimationDuration: (animationEndTime: string | undefined, animationStartTime: string | undefined) => number;
|
|
16
17
|
getSpeedDelay: (speedFactor: mapTypes.SpeedFactorType) => number;
|
|
17
18
|
roundWithTimeStep: (unixTime: number, timeStep: number, type?: string | undefined) => number;
|
|
18
19
|
secondsPerPxToScale: Map<number, import("./enums").Scale>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -165,6 +165,16 @@ export declare const getMapDimension: ((state: CoreAppStore, _mapId: string, dim
|
|
|
165
165
|
}> & {
|
|
166
166
|
clearCache: () => void;
|
|
167
167
|
};
|
|
168
|
+
export declare const getSelectedTime: ((state: CoreAppStore, mapId: string) => number) & import("reselect").OutputSelectorFields<(args_0: import("./types").Dimension | undefined) => number, {
|
|
169
|
+
clearCache: () => void;
|
|
170
|
+
}> & {
|
|
171
|
+
clearCache: () => void;
|
|
172
|
+
};
|
|
173
|
+
export declare const getDataLimitsFromLayers: ((state: CoreAppStore, mapId: string) => number[]) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[]) => number[], {
|
|
174
|
+
clearCache: () => void;
|
|
175
|
+
}> & {
|
|
176
|
+
clearCache: () => void;
|
|
177
|
+
};
|
|
168
178
|
/**
|
|
169
179
|
* Gets map srs
|
|
170
180
|
*
|
|
@@ -617,7 +627,7 @@ export declare const getLegendId: ((state: CoreAppStore | undefined, mapId: stri
|
|
|
617
627
|
* @param {string} mapId mapId: string - Id of the map
|
|
618
628
|
* @returns {MapPreset} returnType: MapPreset
|
|
619
629
|
*/
|
|
620
|
-
export declare const getMapPreset: ((state: CoreAppStore, mapId: string) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: import("../types").ReduxLayer[], args_2: import("../types").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:
|
|
630
|
+
export declare const getMapPreset: ((state: CoreAppStore, mapId: string) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: import("../types").ReduxLayer[], args_2: import("../types").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, {
|
|
621
631
|
clearCache: () => void;
|
|
622
632
|
}> & {
|
|
623
633
|
clearCache: () => void;
|
|
File without changes
|
|
@@ -158,10 +158,12 @@ export interface SetAnimationDelayPayload {
|
|
|
158
158
|
export interface SetAnimationStartTimePayload {
|
|
159
159
|
mapId: string;
|
|
160
160
|
animationStartTime: string;
|
|
161
|
+
origin?: MapActionOrigin;
|
|
161
162
|
}
|
|
162
163
|
export interface SetAnimationEndTimePayload {
|
|
163
164
|
mapId: string;
|
|
164
165
|
animationEndTime: string;
|
|
166
|
+
origin?: MapActionOrigin;
|
|
165
167
|
}
|
|
166
168
|
export interface ToggleTimestepAutoPayload {
|
|
167
169
|
mapId: string;
|
|
@@ -70,6 +70,7 @@ export declare function moveArrayElements(array: string[], oldIndex: number, new
|
|
|
70
70
|
export declare const getTimeStepFromDataInterval: (timeInterval: TimeInterval) => number;
|
|
71
71
|
export declare const getActiveLayerTimeStep: (timeDimension: Dimension | undefined) => number | undefined;
|
|
72
72
|
export declare const getSpeedFactor: (speedDelay: number) => SpeedFactorType;
|
|
73
|
+
export declare const getAnimationDuration: (animationEndTime: string | undefined, animationStartTime: string | undefined) => number;
|
|
73
74
|
/**
|
|
74
75
|
* Returns speed delay for given speedFactor. For options, see defined above in "speedFactors"
|
|
75
76
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,7 @@ export interface Services {
|
|
|
11
11
|
}
|
|
12
12
|
export type ServiceScope = 'user' | 'system';
|
|
13
13
|
export interface ReduxService {
|
|
14
|
+
id?: string;
|
|
14
15
|
name?: string;
|
|
15
16
|
serviceUrl?: string;
|
|
16
17
|
active?: boolean;
|
|
@@ -18,7 +19,7 @@ export interface ReduxService {
|
|
|
18
19
|
scope?: ServiceScope;
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
|
-
|
|
22
|
+
Used in the services object of webmap to keep a list of available layers in the service
|
|
22
23
|
*/
|
|
23
24
|
export type ServiceLayer = LayerProps;
|
|
24
25
|
export interface ServiceState {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/store/types.d.ts
CHANGED
|
@@ -2,6 +2,5 @@ import type { WebMapStateModuleState } from './mapStore/types';
|
|
|
2
2
|
import type { SynchronizationGroupModuleState } from './generic/synchronizationGroups/types';
|
|
3
3
|
import type { uiTypes, layerSelectTypes } from '.';
|
|
4
4
|
import type { DrawtoolModuleStore } from './drawingtool';
|
|
5
|
-
|
|
6
|
-
export interface CoreAppStore extends SynchronizationGroupModuleState, uiTypes.UIModuleState, WebMapStateModuleState, layerSelectTypes.LayerSelectModuleState, DrawtoolModuleStore, DrawModuleStore {
|
|
5
|
+
export interface CoreAppStore extends SynchronizationGroupModuleState, uiTypes.UIModuleState, WebMapStateModuleState, layerSelectTypes.LayerSelectModuleState, DrawtoolModuleStore {
|
|
7
6
|
}
|
package/src/store/ui/config.d.ts
CHANGED
|
File without changes
|
package/src/store/ui/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/store/ui/sagas.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/store/ui/types.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare enum DialogTypes {
|
|
|
15
15
|
DrawingTool = "drawingTool",
|
|
16
16
|
DockedLayerManager = "dockedLayerManager",
|
|
17
17
|
DockedDrawingTool = "dockedDrawingTool",
|
|
18
|
-
|
|
18
|
+
ObjectManager = "objectManager"
|
|
19
19
|
}
|
|
20
20
|
export type DialogType = DialogTypes | LegendDialogType | GetFeatureInfoDialogType;
|
|
21
21
|
export type { Source };
|
package/src/store/utils.d.ts
CHANGED
|
File without changes
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { DrawItem, DrawState, SetDrawValuesPayload, SubmitDrawValuesPayload } from './types';
|
|
3
|
-
export declare const drawAdapter: import("@reduxjs/toolkit").EntityAdapter<DrawItem>;
|
|
4
|
-
export declare const initialState: DrawState;
|
|
5
|
-
export declare const reducer: import("redux").Reducer<DrawState, import("redux").AnyAction>;
|
|
6
|
-
export declare const drawActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
7
|
-
setDrawValues: (draft: Draft<DrawState>, action: PayloadAction<SetDrawValuesPayload>) => void;
|
|
8
|
-
submitDrawValues: (draft: Draft<DrawState>, action: PayloadAction<SubmitDrawValuesPayload>) => void;
|
|
9
|
-
}, "draw">;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DrawModuleStore, DrawState } from './types';
|
|
2
|
-
export declare const getDrawStore: (store: DrawModuleStore) => DrawState;
|
|
3
|
-
export declare const selectDrawByMapId: (state: DrawModuleStore, id: import("@reduxjs/toolkit").EntityId) => import("./types").DrawItem | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const testGeoJSON: GeoJSON.FeatureCollection;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { EntityState } from '@reduxjs/toolkit';
|
|
2
|
-
export interface DrawItem {
|
|
3
|
-
id: string;
|
|
4
|
-
area: GeoJSON.FeatureCollection;
|
|
5
|
-
areaName: string;
|
|
6
|
-
mapId: string;
|
|
7
|
-
}
|
|
8
|
-
export type DrawState = EntityState<DrawItem>;
|
|
9
|
-
export interface DrawModuleStore {
|
|
10
|
-
drawings?: DrawState;
|
|
11
|
-
}
|
|
12
|
-
export type DrawingScope = 'user';
|
|
13
|
-
export type SetDrawValuesPayload = DrawItem;
|
|
14
|
-
export type SubmitDrawValuesPayload = {
|
|
15
|
-
id?: string;
|
|
16
|
-
area: GeoJSON.FeatureCollection;
|
|
17
|
-
name: string;
|
|
18
|
-
mapId: string;
|
|
19
|
-
lastUpdatedTime?: string;
|
|
20
|
-
scope: DrawingScope;
|
|
21
|
-
};
|