@opengeoweb/core 4.22.0 → 4.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +16029 -1802
- package/package.json +12 -12
- package/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerManager.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerManagerConnect.d.ts +2 -0
- package/src/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +2 -0
- package/src/lib/components/LayerManager/LayerSelect/LayerSelect.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +2 -0
- package/src/lib/components/MapDraw/MapDraw.d.ts +5 -3
- package/src/lib/components/MapDraw/MapDrawContainer.d.ts +2 -2
- package/src/lib/components/MapDraw/MapDrawTool.stories.d.ts +6 -0
- package/src/lib/components/MapDraw/index.d.ts +1 -1
- package/src/lib/components/MapDraw/useMapDrawTool.d.ts +34 -0
- package/src/lib/components/MapDraw/useMapDrawTool.spec.d.ts +1 -0
- package/src/lib/components/MapView/MapViewConnect.MultiMapLayerManager.stories.d.ts +7 -0
- package/src/lib/components/MapView/MapViewLayer.d.ts +2 -2
- package/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +2 -2
- package/src/lib/components/SyncGroups/selector.d.ts +1 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/AutoUpdateButton/AutoUpdateButtonConnect.d.ts +2 -2
- package/src/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +4 -4
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButton.d.ts +7 -0
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButton.spec.d.ts +1 -0
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButton.stories.d.ts +24 -0
- package/src/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxConnect.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +3 -3
- package/src/lib/index.d.ts +52 -52
- package/src/lib/store/app/reducer.d.ts +7 -4
- package/src/lib/store/generic/index.d.ts +9 -9
- package/src/lib/store/generic/selectors.d.ts +2 -2
- package/src/lib/store/generic/synchronizationGroups/reducer.d.ts +19 -19
- package/src/lib/store/generic/synchronizationGroups/selectors.d.ts +3 -3
- package/src/lib/store/layerSelect/reducer.d.ts +13 -12
- package/src/lib/store/layerSelect/selectors.d.ts +6 -6
- package/src/lib/store/layerSelect/utils.d.ts +2 -3
- package/src/lib/store/mapStore/layers/reducer.d.ts +40 -40
- package/src/lib/store/mapStore/layers/selectors.d.ts +20 -20
- package/src/lib/store/mapStore/layers/utils.d.ts +2 -2
- package/src/lib/store/mapStore/map/reducer.d.ts +59 -59
- package/src/lib/store/mapStore/map/selectors.d.ts +50 -48
- package/src/lib/store/mapStore/map/types.d.ts +9 -5
- package/src/lib/store/mapStore/service/reducer.d.ts +5 -5
- package/src/lib/store/mapStore/service/selectors.d.ts +6 -6
- package/src/lib/store/router/reducer.d.ts +3 -2
- package/src/lib/store/snackbar/reducer.d.ts +5 -5
- package/src/lib/store/snackbar/selectors.d.ts +1 -1
- package/src/lib/store/ui/reducer.d.ts +20 -20
- package/src/lib/store/ui/selectors.d.ts +8 -8
- package/src/lib/storybookUtils/store.d.ts +1 -1
- /package/src/lib/components/MapDraw/{mapDrawTools.d.ts → mapDrawUtils.d.ts} +0 -0
- /package/src/lib/components/MapDraw/{mapDrawTools.spec.d.ts → mapDrawUtils.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.1",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,24 +15,24 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@mui/material": "5.12.0",
|
|
17
17
|
"@mui/system": "5.12.0",
|
|
18
|
-
"@opengeoweb/api": "4.22.
|
|
19
|
-
"@opengeoweb/form-fields": "4.22.
|
|
20
|
-
"@opengeoweb/shared": "4.22.
|
|
21
|
-
"@opengeoweb/theme": "4.22.
|
|
22
|
-
"@opengeoweb/webmap": "4.22.
|
|
18
|
+
"@opengeoweb/api": "4.22.1",
|
|
19
|
+
"@opengeoweb/form-fields": "4.22.1",
|
|
20
|
+
"@opengeoweb/shared": "4.22.1",
|
|
21
|
+
"@opengeoweb/theme": "4.22.1",
|
|
22
|
+
"@opengeoweb/webmap": "4.22.1",
|
|
23
23
|
"@redux-eggs/core": "2.2.0",
|
|
24
24
|
"@redux-eggs/redux-toolkit": "2.2.0",
|
|
25
25
|
"@redux-eggs/saga-extension": "2.2.0",
|
|
26
|
-
"@reduxjs/toolkit": "1.
|
|
26
|
+
"@reduxjs/toolkit": "1.9.5",
|
|
27
27
|
"@turf/turf": "6.5.0",
|
|
28
|
-
"axios": "
|
|
28
|
+
"axios": "1.4.0",
|
|
29
29
|
"dompurify": "3.0.3",
|
|
30
|
-
"immer": "9.0.
|
|
30
|
+
"immer": "9.0.21",
|
|
31
31
|
"lodash": "4.17.21",
|
|
32
32
|
"lodash.clonedeep": "4.5.0",
|
|
33
|
-
"moment": "2.29.
|
|
33
|
+
"moment": "2.29.4",
|
|
34
34
|
"proj4": "2.9.0",
|
|
35
|
-
"re-resizable": "6.9.
|
|
35
|
+
"re-resizable": "6.9.9",
|
|
36
36
|
"react": "18.2.0",
|
|
37
37
|
"react-draggable": "4.4.5",
|
|
38
38
|
"react-hook-form": "7.41.5",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"react-router-dom": "6.4.2",
|
|
43
43
|
"react-sortablejs": "6.1.4",
|
|
44
44
|
"react-window": "1.8.7",
|
|
45
|
-
"redux-saga": "1.2.
|
|
45
|
+
"redux-saga": "1.2.3",
|
|
46
46
|
"sortablejs": "1.15.0",
|
|
47
47
|
"throttle-debounce": "5.0.0"
|
|
48
48
|
}
|
|
@@ -6,6 +6,7 @@ interface DescriptionRowProps {
|
|
|
6
6
|
mapPresetsModule?: React.ReactElement;
|
|
7
7
|
source?: Source;
|
|
8
8
|
settings?: LayerManagerCustomSettings['header'];
|
|
9
|
+
isMultiMap?: boolean;
|
|
9
10
|
}
|
|
10
11
|
declare const DescriptionRow: React.FC<DescriptionRowProps>;
|
|
11
12
|
export default DescriptionRow;
|
|
@@ -31,6 +31,7 @@ interface LayerManagerProps {
|
|
|
31
31
|
setFocused?: (focused: boolean) => void;
|
|
32
32
|
settings?: LayerManagerCustomSettings;
|
|
33
33
|
headerSize?: HeaderSize;
|
|
34
|
+
isMultiMap?: boolean;
|
|
34
35
|
}
|
|
35
36
|
export declare const calculateStartSize: (minSize: Size, prefSize: Size, startPosition: Position) => Size;
|
|
36
37
|
declare const LayerManager: React.FC<LayerManagerProps>;
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { Layer } from '../../store/mapStore/types';
|
|
3
3
|
import { Service } from '../WMSLoader/services';
|
|
4
4
|
interface LayerManagerConnectProps {
|
|
5
|
+
mapId?: string;
|
|
5
6
|
preloadedAvailableBaseLayers?: Layer[];
|
|
6
7
|
preloadedMapServices?: Service[];
|
|
7
8
|
preloadedBaseServices?: Service[];
|
|
@@ -9,6 +10,7 @@ interface LayerManagerConnectProps {
|
|
|
9
10
|
title?: string;
|
|
10
11
|
showMapIdInTitle?: boolean;
|
|
11
12
|
leftHeaderComponent?: React.ReactElement;
|
|
13
|
+
isMultiMap?: boolean;
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* Layer Managerconnected to the store displaying the layers forthe active map Id
|
|
@@ -3,6 +3,7 @@ import { Source } from '../../store/ui/types';
|
|
|
3
3
|
interface LayerManagerMapButtonConnectProps {
|
|
4
4
|
mapId: string;
|
|
5
5
|
source?: Source;
|
|
6
|
+
isMultiMap?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare const LayerManagerMapButtonConnect: React.FC<LayerManagerMapButtonConnectProps>;
|
|
8
9
|
export default LayerManagerMapButtonConnect;
|
|
@@ -3,6 +3,7 @@ import { Source } from '../../../../store/ui/types';
|
|
|
3
3
|
interface KeywordFilterButtonConnectProps {
|
|
4
4
|
mapId: string;
|
|
5
5
|
source?: Source;
|
|
6
|
+
isMultiMap?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare const KeywordFilterButtonConnect: React.FC<KeywordFilterButtonConnectProps>;
|
|
8
9
|
export default KeywordFilterButtonConnect;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
interface KeywordFilterResultsConnectProps {
|
|
3
|
+
mapId?: string;
|
|
3
4
|
bounds?: string;
|
|
5
|
+
isMultiMap?: boolean;
|
|
4
6
|
}
|
|
5
7
|
declare const KeywordFilterResultsConnect: React.FC<KeywordFilterResultsConnectProps>;
|
|
6
8
|
export default KeywordFilterResultsConnect;
|
|
@@ -45,7 +45,7 @@ export interface MapDrawProps {
|
|
|
45
45
|
geojson: GeoJSON.FeatureCollection;
|
|
46
46
|
drawMode: string;
|
|
47
47
|
deletePolygonCallback?: string;
|
|
48
|
-
exitDrawModeCallback: () => void;
|
|
48
|
+
exitDrawModeCallback: (reason: DrawModeExitCallback) => void;
|
|
49
49
|
isInEditMode: boolean;
|
|
50
50
|
isInDeleteMode: boolean;
|
|
51
51
|
featureNrToEdit: number;
|
|
@@ -58,7 +58,7 @@ export declare enum EDITMODE {
|
|
|
58
58
|
DELETE_FEATURES = "DELETE_FEATURES",
|
|
59
59
|
ADD_FEATURE = "ADD_FEATURE"
|
|
60
60
|
}
|
|
61
|
-
declare enum DRAWMODE {
|
|
61
|
+
export declare enum DRAWMODE {
|
|
62
62
|
POLYGON = "POLYGON",
|
|
63
63
|
BOX = "BOX",
|
|
64
64
|
MULTIPOINT = "MULTIPOINT",
|
|
@@ -75,6 +75,7 @@ declare enum EDGE {
|
|
|
75
75
|
declare enum SNAPPEDFEATURE {
|
|
76
76
|
NONE = "NONE"
|
|
77
77
|
}
|
|
78
|
+
export declare type DrawModeExitCallback = 'escaped' | 'doubleClicked';
|
|
78
79
|
export default class MapDraw extends React.PureComponent<MapDrawProps> {
|
|
79
80
|
myEditMode: EDITMODE;
|
|
80
81
|
myDrawMode: DRAWMODE;
|
|
@@ -131,7 +132,7 @@ export default class MapDraw extends React.PureComponent<MapDrawProps> {
|
|
|
131
132
|
hoverVertex(feature: GeoJsonFeature, mouseX: number, mouseY: number): void;
|
|
132
133
|
mouseMove(event: InputEvent): boolean;
|
|
133
134
|
triggerMouseDownTimer(event: InputEvent): void | boolean;
|
|
134
|
-
mouseDoubleClick():
|
|
135
|
+
mouseDoubleClick(): void;
|
|
135
136
|
insertVertexInEdge(event: InputEvent): boolean;
|
|
136
137
|
createNewFeature(event: InputEvent): void;
|
|
137
138
|
addPointToMultiPointFeature(event: InputEvent): boolean;
|
|
@@ -142,6 +143,7 @@ export default class MapDraw extends React.PureComponent<MapDrawProps> {
|
|
|
142
143
|
deleteFeature(): void;
|
|
143
144
|
mouseUp(event: InputEvent): void | boolean;
|
|
144
145
|
cancelEdit(cancelLastPoint: boolean): void;
|
|
146
|
+
handleExitDrawMode: (reason?: DrawModeExitCallback) => void;
|
|
145
147
|
handleKeyDown(event: KeyboardEvent): void;
|
|
146
148
|
validateFeature(feature: GeoJsonFeature): void;
|
|
147
149
|
validatePolys(fixPolys: boolean): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { GeometryObject } from 'geojson';
|
|
3
3
|
import { WMJSMap } from '@opengeoweb/webmap';
|
|
4
|
-
import { FeatureEvent } from './MapDraw';
|
|
4
|
+
import { DrawModeExitCallback, FeatureEvent } from './MapDraw';
|
|
5
5
|
export declare type FeatureLayer = {
|
|
6
6
|
id: string;
|
|
7
7
|
type: string;
|
|
@@ -13,7 +13,7 @@ export declare type FeatureLayer = {
|
|
|
13
13
|
onHoverFeature?: (feature: FeatureEvent) => void;
|
|
14
14
|
onClickFeature?: (feature: FeatureEvent) => void;
|
|
15
15
|
updateGeojson?: (feature: GeometryObject) => void;
|
|
16
|
-
exitDrawModeCallback?: () => void;
|
|
16
|
+
exitDrawModeCallback?: (reason: DrawModeExitCallback) => void;
|
|
17
17
|
featureNrToEdit?: string;
|
|
18
18
|
};
|
|
19
19
|
interface MapDrawContainerProps {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DRAWMODE } from './MapDraw';
|
|
3
|
+
export declare const getEmptyFeature: (drawMode: DrawMode) => GeoJSON.Feature;
|
|
4
|
+
export declare type DrawMode = DRAWMODE | 'DELETE' | '';
|
|
5
|
+
declare type EditMode = {
|
|
6
|
+
value: DrawMode;
|
|
7
|
+
title: string;
|
|
8
|
+
icon: React.ReactElement;
|
|
9
|
+
};
|
|
10
|
+
interface MapDrawToolProps {
|
|
11
|
+
editModes: EditMode[];
|
|
12
|
+
changeDrawMode: (mode: DrawMode, isNewShape?: boolean) => void;
|
|
13
|
+
isInEditMode: boolean;
|
|
14
|
+
geojson: GeoJSON.FeatureCollection;
|
|
15
|
+
setGeojson: (geojson: GeoJSON.FeatureCollection) => void;
|
|
16
|
+
drawMode: string;
|
|
17
|
+
setEditMode: (shouldEnable: boolean) => void;
|
|
18
|
+
featureLayerIndex: number;
|
|
19
|
+
setFeatureLayerIndex: (newIndex: number) => void;
|
|
20
|
+
}
|
|
21
|
+
interface MapDrawToolOptions {
|
|
22
|
+
editModes?: EditMode[];
|
|
23
|
+
}
|
|
24
|
+
export declare const defaultModes: ({
|
|
25
|
+
value: DRAWMODE;
|
|
26
|
+
title: string;
|
|
27
|
+
icon: React.JSX.Element;
|
|
28
|
+
} | {
|
|
29
|
+
value: "DELETE";
|
|
30
|
+
title: string;
|
|
31
|
+
icon: React.JSX.Element;
|
|
32
|
+
})[];
|
|
33
|
+
export declare const useMapDrawTool: ({ editModes, }: MapDrawToolOptions) => MapDrawToolProps;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FeatureEvent } from '../MapDraw';
|
|
2
|
+
import { DrawModeExitCallback, FeatureEvent } from '../MapDraw';
|
|
3
3
|
interface MapViewLayerProps {
|
|
4
4
|
id: string;
|
|
5
5
|
onLayerReady?: (layer: any, webmap?: any) => void;
|
|
@@ -8,7 +8,7 @@ interface MapViewLayerProps {
|
|
|
8
8
|
isInEditMode?: boolean;
|
|
9
9
|
drawMode?: string;
|
|
10
10
|
updateGeojson?: (geoJson: any) => void;
|
|
11
|
-
exitDrawModeCallback?: () => void;
|
|
11
|
+
exitDrawModeCallback?: (reason: DrawModeExitCallback) => void;
|
|
12
12
|
featureNrToEdit?: number;
|
|
13
13
|
onClickFeature?: (event: FeatureEvent) => void;
|
|
14
14
|
onHoverFeature?: (event: FeatureEvent) => void;
|
|
@@ -11,8 +11,8 @@ export declare const SimpleTimeSliderConnect: import("react-redux").ConnectedCom
|
|
|
11
11
|
id: string;
|
|
12
12
|
timeValue?: string | undefined;
|
|
13
13
|
setTime?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../store/generic/types").SetTimePayload, string> | undefined;
|
|
14
|
-
syncGroupAddSource?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../store/generic/synchronizationGroups/types").SyncGroupsAddSourcePayload,
|
|
15
|
-
syncGroupRemoveSource?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../store/generic/synchronizationGroups/types").SyncGroupRemoveSourcePayload,
|
|
14
|
+
syncGroupAddSource?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../store/generic/synchronizationGroups/types").SyncGroupsAddSourcePayload, "synchronizationGroupsReducer/syncGroupAddSource"> | undefined;
|
|
15
|
+
syncGroupRemoveSource?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../store/generic/synchronizationGroups/types").SyncGroupRemoveSourcePayload, "synchronizationGroupsReducer/syncGroupRemoveSource"> | undefined;
|
|
16
16
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
|
17
17
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
|
18
18
|
}>;
|
|
@@ -13,7 +13,7 @@ export declare const createSyncGroupViewStateSelector: ((state: {
|
|
|
13
13
|
services?: import("../../store/mapStore/types").ServiceState | undefined;
|
|
14
14
|
layers?: import("../../store/mapStore/types").LayerState | undefined;
|
|
15
15
|
layerSelect?: import("../../store/layerSelect/types").LayerSelectStoreType | undefined;
|
|
16
|
-
}) => SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroups, args_1: SynchronizationSources) => SyncGroupViewState
|
|
16
|
+
}) => SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroups, args_1: SynchronizationSources) => SyncGroupViewState, {
|
|
17
17
|
clearCache: () => void;
|
|
18
18
|
}> & {
|
|
19
19
|
clearCache: () => void;
|
|
@@ -8,7 +8,7 @@ interface ConnectedAutoUpdateButtonProps {
|
|
|
8
8
|
declare const AutoUpdateButtonConnect: import("react-redux").ConnectedComponent<import("react-redux").ConnectedComponent<({ mapId, isAutoUpdating, toggleAutoUpdate, }: ConnectedAutoUpdateButtonProps) => React.JSX.Element, {
|
|
9
9
|
mapId: string;
|
|
10
10
|
isAutoUpdating?: boolean | undefined;
|
|
11
|
-
toggleAutoUpdate?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").ToggleAutoUpdatePayload,
|
|
11
|
+
toggleAutoUpdate?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate"> | undefined;
|
|
12
12
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
|
13
13
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
|
14
14
|
}>, {
|
|
@@ -16,6 +16,6 @@ declare const AutoUpdateButtonConnect: import("react-redux").ConnectedComponent<
|
|
|
16
16
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
|
17
17
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
|
18
18
|
isAutoUpdating?: boolean | undefined;
|
|
19
|
-
toggleAutoUpdate?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").ToggleAutoUpdatePayload,
|
|
19
|
+
toggleAutoUpdate?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate"> | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export default AutoUpdateButtonConnect;
|
|
@@ -24,8 +24,8 @@ declare const connectRedux: import("react-redux").InferableComponentEnhancerWith
|
|
|
24
24
|
id: string;
|
|
25
25
|
};
|
|
26
26
|
} & {
|
|
27
|
-
mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStartPayload,
|
|
28
|
-
mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStopPayload,
|
|
27
|
+
mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStartPayload, "mapReducer/mapStartAnimation">;
|
|
28
|
+
mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStopPayload, "mapReducer/mapStopAnimation">;
|
|
29
29
|
}, PlayButtonConnectProps>;
|
|
30
30
|
declare type Props = PlayButtonConnectProps & ConnectedProps<typeof connectRedux>;
|
|
31
31
|
declare const PlayButtonConnect: import("react-redux").ConnectedComponent<({ mapId, animationStartTime, animationEndTime, isDisabled, timeStep, linkedMapAnimationInfo, mapStartAnimation, mapStopAnimation, }: Props) => React.JSX.Element, {
|
|
@@ -34,8 +34,8 @@ declare const PlayButtonConnect: import("react-redux").ConnectedComponent<({ map
|
|
|
34
34
|
isAnimating?: boolean | undefined;
|
|
35
35
|
animationStartTime?: string | undefined;
|
|
36
36
|
animationEndTime?: string | undefined;
|
|
37
|
-
mapStartAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStartPayload,
|
|
38
|
-
mapStopAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStopPayload,
|
|
37
|
+
mapStartAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStartPayload, "mapReducer/mapStartAnimation"> | undefined;
|
|
38
|
+
mapStopAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../../store/mapStore/types").SetMapAnimationStopPayload, "mapReducer/mapStopAnimation"> | undefined;
|
|
39
39
|
timeStep?: number | undefined;
|
|
40
40
|
linkedMapAnimationInfo?: {
|
|
41
41
|
isAnimating: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Scale } from '../../../../store/mapStore/types';
|
|
2
|
+
interface TimeSpanButtonProps {
|
|
3
|
+
timeSliderScale: Scale;
|
|
4
|
+
isOpenByDefault?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const TimeSpanButton: ({ timeSliderScale, isOpenByDefault, }: TimeSpanButtonProps) => JSX.Element;
|
|
7
|
+
export {};
|
package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButton.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButton.stories.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const TimeSpanButtonDemoLight: {
|
|
6
|
+
(): JSX.Element;
|
|
7
|
+
storyName: string;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const TimeSpanButtonDemoDark: {
|
|
16
|
+
(): JSX.Element;
|
|
17
|
+
storyName: string;
|
|
18
|
+
parameters: {
|
|
19
|
+
zeplinLink: {
|
|
20
|
+
name: string;
|
|
21
|
+
link: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
package/src/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxConnect.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ declare const TimeSliderCurrentTimeBoxConnect: import("react-redux").ConnectedCo
|
|
|
29
29
|
isAnimating?: boolean | undefined;
|
|
30
30
|
isAutoUpdating?: boolean | undefined;
|
|
31
31
|
unfilteredSelectedTime?: number | undefined;
|
|
32
|
-
setTimeSliderUnfilteredSelectedTime?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").SetTimeSliderUnfilteredSelectedTimePayload,
|
|
33
|
-
stopMapAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").SetMapAnimationStopPayload,
|
|
32
|
+
setTimeSliderUnfilteredSelectedTime?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").SetTimeSliderUnfilteredSelectedTimePayload, "mapReducer/setTimeSliderUnfilteredSelectedTime"> | undefined;
|
|
33
|
+
stopMapAnimation?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").SetMapAnimationStopPayload, "mapReducer/mapStopAnimation"> | undefined;
|
|
34
34
|
setTime?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/generic/types").SetTimePayload, string> | undefined;
|
|
35
35
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
|
36
36
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
|
@@ -15,9 +15,9 @@ declare const WMSLayerTreeConnect: import("react-redux").ConnectedComponent<Reac
|
|
|
15
15
|
service: Service;
|
|
16
16
|
mapId: string;
|
|
17
17
|
layerType?: LayerType | undefined;
|
|
18
|
-
addLayer?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").AddLayerPayload,
|
|
19
|
-
setBaseLayers?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").SetBaseLayersPayload,
|
|
20
|
-
addAvailableBaseLayer?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").AddAvailableBaseLayerPayload,
|
|
18
|
+
addLayer?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").AddLayerPayload, "layerReducer/addLayer"> | undefined;
|
|
19
|
+
setBaseLayers?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").SetBaseLayersPayload, "layerReducer/setBaseLayers"> | undefined;
|
|
20
|
+
addAvailableBaseLayer?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../store/mapStore/types").AddAvailableBaseLayerPayload, "layerReducer/addAvailableBaseLayer"> | undefined;
|
|
21
21
|
loadedLayers?: Layer[] | undefined;
|
|
22
22
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
|
23
23
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
package/src/lib/index.d.ts
CHANGED
|
@@ -20,69 +20,69 @@ export { TimeSlider, TimeSliderConnect, TimeSliderButtonsConnect, TimeSliderOpti
|
|
|
20
20
|
export { TimeSliderLite } from './components/TimeSliderLite';
|
|
21
21
|
export { MapControls } from './components/MapControls';
|
|
22
22
|
export declare const mapActions: {
|
|
23
|
-
serviceSetLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayersForServicePayload,
|
|
24
|
-
mapStoreRemoveService: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.MapStoreRemoveServicePayload,
|
|
25
|
-
fetchInitialServices: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.FetchInitialServicesPayload,
|
|
23
|
+
serviceSetLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayersForServicePayload, "serviceReducer/serviceSetLayers">;
|
|
24
|
+
mapStoreRemoveService: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.MapStoreRemoveServicePayload, "serviceReducer/mapStoreRemoveService">;
|
|
25
|
+
fetchInitialServices: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.FetchInitialServicesPayload, "serviceReducer/fetchInitialServices">;
|
|
26
26
|
setMapPreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetMapPresetPayload, string>;
|
|
27
27
|
mapChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetMapDimensionPayload, string>;
|
|
28
28
|
registerMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
29
29
|
mapId: string;
|
|
30
|
-
},
|
|
30
|
+
}, "mapReducer/registerMap">;
|
|
31
31
|
unregisterMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
32
32
|
mapId: string;
|
|
33
|
-
},
|
|
34
|
-
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetBboxPayload,
|
|
35
|
-
mapUpdateAllMapDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.UpdateAllMapDimensionsPayload,
|
|
36
|
-
mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetMapAnimationStartPayload,
|
|
37
|
-
mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetMapAnimationStopPayload,
|
|
38
|
-
setTimeSliderScale: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderScalePayload,
|
|
39
|
-
setTimeStep: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeStepPayload,
|
|
40
|
-
setAnimationStartTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAnimationStartTimePayload,
|
|
41
|
-
setAnimationEndTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAnimationEndTimePayload,
|
|
42
|
-
setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAnimationDelayPayload,
|
|
43
|
-
layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.MoveLayerPayload,
|
|
44
|
-
setAutoLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAutoLayerIdPayload,
|
|
33
|
+
}, "mapReducer/unregisterMap">;
|
|
34
|
+
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetBboxPayload, "mapReducer/setBbox">;
|
|
35
|
+
mapUpdateAllMapDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.UpdateAllMapDimensionsPayload, "mapReducer/mapUpdateAllMapDimensions">;
|
|
36
|
+
mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetMapAnimationStartPayload, "mapReducer/mapStartAnimation">;
|
|
37
|
+
mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetMapAnimationStopPayload, "mapReducer/mapStopAnimation">;
|
|
38
|
+
setTimeSliderScale: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderScalePayload, "mapReducer/setTimeSliderScale">;
|
|
39
|
+
setTimeStep: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeStepPayload, "mapReducer/setTimeStep">;
|
|
40
|
+
setAnimationStartTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAnimationStartTimePayload, "mapReducer/setAnimationStartTime">;
|
|
41
|
+
setAnimationEndTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAnimationEndTimePayload, "mapReducer/setAnimationEndTime">;
|
|
42
|
+
setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAnimationDelayPayload, "mapReducer/setAnimationDelay">;
|
|
43
|
+
layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.MoveLayerPayload, "mapReducer/layerMoveLayer">;
|
|
44
|
+
setAutoLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAutoLayerIdPayload, "mapReducer/setAutoLayerId">;
|
|
45
45
|
setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
46
46
|
mapId: string;
|
|
47
47
|
autoTimestepLayerId: string | undefined;
|
|
48
|
-
},
|
|
48
|
+
}, "mapReducer/setAutoTimestepLayerId">;
|
|
49
49
|
setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
50
50
|
mapId: string;
|
|
51
51
|
autoUpdateLayerId: string | undefined;
|
|
52
|
-
},
|
|
53
|
-
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderCenterTimePayload,
|
|
54
|
-
setTimeSliderUnfilteredSelectedTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderUnfilteredSelectedTimePayload,
|
|
55
|
-
setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderSecondsPerPxPayload,
|
|
56
|
-
setTimeSliderDataScaleToSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderDataScaleToSecondsPerPxPayload,
|
|
57
|
-
toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleAutoUpdatePayload,
|
|
58
|
-
setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetEndTimeOverriding,
|
|
59
|
-
toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimestepAutoPayload,
|
|
60
|
-
toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimeSliderHoverPayload,
|
|
61
|
-
toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimeSliderIsVisiblePayload,
|
|
62
|
-
toggleZoomControls: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleZoomControlsPayload,
|
|
63
|
-
setMapPinLocation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.MapPinLocationPayload,
|
|
64
|
-
setDisableMapPin: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.DisableMapPinPayload,
|
|
65
|
-
toggleMapPinIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleMapPinIsVisiblePayload,
|
|
66
|
-
setDockedLayerManagerSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetDockedLayerManagerSize,
|
|
67
|
-
addLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddLayerPayload,
|
|
68
|
-
layerChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerDimensionPayload,
|
|
69
|
-
layerChangeEnabled: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerEnabledPayload,
|
|
70
|
-
layerChangeOpacity: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerOpacityPayload,
|
|
71
|
-
layerChangeStyle: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerStylePayload,
|
|
72
|
-
layerChangeName: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerNamePayload,
|
|
73
|
-
layerChangeGeojson: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerGeojsonPayload,
|
|
74
|
-
layerDelete: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.DeleteLayerPayload,
|
|
75
|
-
layerError: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ErrorLayerPayload,
|
|
76
|
-
baseLayerDelete: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.DeleteLayerPayload,
|
|
77
|
-
setLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayersPayload,
|
|
78
|
-
setBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetBaseLayersPayload,
|
|
79
|
-
addBaseLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddBaseLayerPayload,
|
|
80
|
-
layerSetDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerDimensionsPayload,
|
|
81
|
-
addAvailableBaseLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddAvailableBaseLayerPayload,
|
|
82
|
-
addAvailableBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddAvailableBaseLayersPayload,
|
|
83
|
-
setAvailableBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAvailableBaseLayersPayload,
|
|
84
|
-
onUpdateLayerInformation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.UpdateLayerInfoPayload,
|
|
85
|
-
setSelectedFeature: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetSelectedFeaturePayload,
|
|
52
|
+
}, "mapReducer/setAutoUpdateLayerId">;
|
|
53
|
+
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
|
|
54
|
+
setTimeSliderUnfilteredSelectedTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderUnfilteredSelectedTimePayload, "mapReducer/setTimeSliderUnfilteredSelectedTime">;
|
|
55
|
+
setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderSecondsPerPxPayload, "mapReducer/setTimeSliderSecondsPerPx">;
|
|
56
|
+
setTimeSliderDataScaleToSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetTimeSliderDataScaleToSecondsPerPxPayload, "mapReducer/setTimeSliderDataScaleToSecondsPerPx">;
|
|
57
|
+
toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate">;
|
|
58
|
+
setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetEndTimeOverriding, "mapReducer/setEndTimeOverriding">;
|
|
59
|
+
toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimestepAutoPayload, "mapReducer/toggleTimestepAuto">;
|
|
60
|
+
toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimeSliderHoverPayload, "mapReducer/toggleTimeSliderHover">;
|
|
61
|
+
toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleTimeSliderIsVisiblePayload, "mapReducer/toggleTimeSliderIsVisible">;
|
|
62
|
+
toggleZoomControls: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleZoomControlsPayload, "mapReducer/toggleZoomControls">;
|
|
63
|
+
setMapPinLocation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.MapPinLocationPayload, "mapReducer/setMapPinLocation">;
|
|
64
|
+
setDisableMapPin: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.DisableMapPinPayload, "mapReducer/setDisableMapPin">;
|
|
65
|
+
toggleMapPinIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ToggleMapPinIsVisiblePayload, "mapReducer/toggleMapPinIsVisible">;
|
|
66
|
+
setDockedLayerManagerSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetDockedLayerManagerSize, "mapReducer/setDockedLayerManagerSize">;
|
|
67
|
+
addLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddLayerPayload, "layerReducer/addLayer">;
|
|
68
|
+
layerChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerDimensionPayload, "layerReducer/layerChangeDimension">;
|
|
69
|
+
layerChangeEnabled: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerEnabledPayload, "layerReducer/layerChangeEnabled">;
|
|
70
|
+
layerChangeOpacity: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerOpacityPayload, "layerReducer/layerChangeOpacity">;
|
|
71
|
+
layerChangeStyle: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerStylePayload, "layerReducer/layerChangeStyle">;
|
|
72
|
+
layerChangeName: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerNamePayload, "layerReducer/layerChangeName">;
|
|
73
|
+
layerChangeGeojson: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerGeojsonPayload, "layerReducer/layerChangeGeojson">;
|
|
74
|
+
layerDelete: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.DeleteLayerPayload, "layerReducer/layerDelete">;
|
|
75
|
+
layerError: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.ErrorLayerPayload, "layerReducer/layerError">;
|
|
76
|
+
baseLayerDelete: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.DeleteLayerPayload, "layerReducer/baseLayerDelete">;
|
|
77
|
+
setLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayersPayload, "layerReducer/setLayers">;
|
|
78
|
+
setBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetBaseLayersPayload, "layerReducer/setBaseLayers">;
|
|
79
|
+
addBaseLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddBaseLayerPayload, "layerReducer/addBaseLayer">;
|
|
80
|
+
layerSetDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetLayerDimensionsPayload, "layerReducer/layerSetDimensions">;
|
|
81
|
+
addAvailableBaseLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddAvailableBaseLayerPayload, "layerReducer/addAvailableBaseLayer">;
|
|
82
|
+
addAvailableBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.AddAvailableBaseLayersPayload, "layerReducer/addAvailableBaseLayers">;
|
|
83
|
+
setAvailableBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetAvailableBaseLayersPayload, "layerReducer/setAvailableBaseLayers">;
|
|
84
|
+
onUpdateLayerInformation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.UpdateLayerInfoPayload, "layerReducer/onUpdateLayerInformation">;
|
|
85
|
+
setSelectedFeature: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetSelectedFeaturePayload, "layerReducer/setSelectedFeature">;
|
|
86
86
|
};
|
|
87
87
|
export { mapSelectors, webmapReducer, mapTypes, mapUtils, layerTypes, layerReducer, layerActions, uiActions, uiSelectors, uiReducer, uiTypes, genericActions as syncGroupActions, snackbarActions, appActions, layerSelectors, serviceSelectors, routerActions, genericSelectors, syncGroupsSelectors, };
|
|
88
88
|
export { synchronizationGroupConfig as synchronizationGroupModuleConfig };
|
|
@@ -111,4 +111,4 @@ export { default as mapModuleConfig } from './store/mapStore/config';
|
|
|
111
111
|
export { default as synchronizationGroupsConfig } from './store/generic/config';
|
|
112
112
|
export * from './components/MapWarning/MapWarningProperties';
|
|
113
113
|
export type { FeatureEvent, GeoFeatureStyle, GeoJsonFeature, MapDrawDrawFunctionArgs, } from './components/MapDraw';
|
|
114
|
-
export { getDrawFunctionFromStore, registerDrawFunction, } from './components/MapDraw/
|
|
114
|
+
export { getDrawFunctionFromStore, registerDrawFunction, } from './components/MapDraw/mapDrawUtils';
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { Draft } from '@reduxjs/toolkit';
|
|
2
|
+
interface InitialState {
|
|
3
|
+
isInitialised: boolean;
|
|
4
|
+
}
|
|
1
5
|
export declare const initialState: {
|
|
2
6
|
isInitialised: boolean;
|
|
3
7
|
};
|
|
@@ -5,8 +9,7 @@ export declare const reducer: import("redux").Reducer<{
|
|
|
5
9
|
isInitialised: boolean;
|
|
6
10
|
}, import("redux").AnyAction>;
|
|
7
11
|
export declare const appActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
8
|
-
initialiseApp: (draft:
|
|
9
|
-
|
|
10
|
-
}>) => void;
|
|
11
|
-
}>;
|
|
12
|
+
initialiseApp: (draft: Draft<InitialState>) => void;
|
|
13
|
+
}, "app">;
|
|
12
14
|
export declare type AppActions = ReturnType<typeof appActions.initialiseApp>;
|
|
15
|
+
export {};
|
|
@@ -2,15 +2,15 @@ import { syncGroupsSelectors } from './synchronizationGroups';
|
|
|
2
2
|
export declare const genericActions: {
|
|
3
3
|
setTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimePayload, string>;
|
|
4
4
|
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetBboxPayload, string>;
|
|
5
|
-
syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupsAddSourcePayload,
|
|
6
|
-
syncGroupRemoveSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupRemoveSourcePayload,
|
|
7
|
-
syncGroupAddTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupAddTargetPayload,
|
|
8
|
-
syncGroupRemoveTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupRemoveTargetPayload,
|
|
9
|
-
syncGroupLinkTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupLinkTargetPayload,
|
|
10
|
-
syncGroupAddGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupAddGroupPayload,
|
|
11
|
-
syncGroupRemoveGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupRemoveGroupPayload,
|
|
12
|
-
syncGroupClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
13
|
-
syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupSetViewStatePayload,
|
|
5
|
+
syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupsAddSourcePayload, "synchronizationGroupsReducer/syncGroupAddSource">;
|
|
6
|
+
syncGroupRemoveSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupRemoveSourcePayload, "synchronizationGroupsReducer/syncGroupRemoveSource">;
|
|
7
|
+
syncGroupAddTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupAddTargetPayload, "synchronizationGroupsReducer/syncGroupAddTarget">;
|
|
8
|
+
syncGroupRemoveTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupRemoveTargetPayload, "synchronizationGroupsReducer/syncGroupRemoveTarget">;
|
|
9
|
+
syncGroupLinkTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupLinkTargetPayload, "synchronizationGroupsReducer/syncGroupLinkTarget">;
|
|
10
|
+
syncGroupAddGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupAddGroupPayload, "synchronizationGroupsReducer/syncGroupAddGroup">;
|
|
11
|
+
syncGroupRemoveGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupRemoveGroupPayload, "synchronizationGroupsReducer/syncGroupRemoveGroup">;
|
|
12
|
+
syncGroupClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"synchronizationGroupsReducer/syncGroupClear">;
|
|
13
|
+
syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./synchronizationGroups/types").SyncGroupSetViewStatePayload, "synchronizationGroupsReducer/syncGroupSetViewState">;
|
|
14
14
|
};
|
|
15
15
|
export * as genericSelectors from './selectors';
|
|
16
16
|
export { syncGroupsSelectors };
|