@opengeoweb/core 2.8.0 → 2.9.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 +5160 -5830
- package/index.umd.js +21813 -22405
- package/lib/components/ConfigurableMap/ConfigurableMapConnect.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +3 -3
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListRow.d.ts +3 -3
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +1 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +3 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +1 -3
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +3 -2
- package/lib/components/Legend/LegendConnect.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +1 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +1 -0
- package/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.d.ts +2 -1
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +2 -2
- package/lib/components/SyncGroups/selector.d.ts +0 -1
- package/lib/index.d.ts +1 -1
- package/lib/store/generic/actions.d.ts +3 -4
- package/lib/store/generic/index.d.ts +2 -0
- package/lib/store/generic/sagas.d.ts +7 -6
- package/lib/store/generic/selectors.d.ts +0 -1
- package/lib/store/generic/synchronizationActions/actions.d.ts +6 -5
- package/lib/store/generic/synchronizationActions/types.d.ts +10 -23
- package/lib/store/generic/synchronizationGroups/constants.d.ts +0 -8
- package/lib/store/generic/synchronizationGroups/index.d.ts +1 -2
- package/lib/store/generic/synchronizationGroups/reducer.d.ts +25 -3
- package/lib/store/generic/synchronizationGroups/sagas.d.ts +3 -3
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +0 -2
- package/lib/store/generic/synchronizationGroups/types.d.ts +1 -38
- package/lib/store/generic/types.d.ts +0 -11
- package/lib/store/layerSelect/selectors.d.ts +0 -6
- package/lib/store/layerSelect/types.d.ts +7 -4
- package/lib/store/mapStore/actions.d.ts +1 -1
- package/lib/store/mapStore/constants.d.ts +0 -1
- package/lib/store/mapStore/layers/reducer.d.ts +2 -2
- package/lib/store/mapStore/layers/selectors.d.ts +0 -17
- package/lib/store/mapStore/map/reducer.d.ts +12 -4
- package/lib/store/mapStore/map/sagas.d.ts +5 -5
- package/lib/store/mapStore/map/selectors.d.ts +0 -37
- package/lib/store/mapStore/map/types.d.ts +1 -113
- package/lib/store/mapStore/service/selectors.d.ts +0 -7
- package/lib/store/mapStore/service/types.d.ts +2 -0
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/selectors.d.ts +3 -8
- package/lib/store/ui/types.d.ts +3 -1
- package/lib/types/types.d.ts +1 -2
- package/lib/utils/jsonPresetFilter.d.ts +4 -0
- package/package.json +7 -6
- package/lib/store/advancedLayerStore/actions.d.ts +0 -15
- package/lib/store/advancedLayerStore/config.d.ts +0 -4
- package/lib/store/advancedLayerStore/constants.d.ts +0 -2
- package/lib/store/advancedLayerStore/reducer.d.ts +0 -14
- package/lib/store/advancedLayerStore/reducer.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/selectors.d.ts +0 -21
- package/lib/store/advancedLayerStore/selectors.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/types.d.ts +0 -30
- package/lib/store/generic/constants.d.ts +0 -2
- package/lib/store/generic/synchronizationActions/constants.d.ts +0 -3
- package/lib/store/generic/synchronizationGroups/actions.d.ts +0 -80
- package/lib/store/mapStore/map/actions.d.ts +0 -172
- package/lib/store/mapStore/map/constants.d.ts +0 -26
|
@@ -16,7 +16,6 @@ export interface ConfigurableMapConnectProps {
|
|
|
16
16
|
title?: string;
|
|
17
17
|
layers: Layer[];
|
|
18
18
|
activeLayerId?: string;
|
|
19
|
-
baseLayer?: Layer;
|
|
20
19
|
overLayers?: Layer[];
|
|
21
20
|
bbox?: Bbox;
|
|
22
21
|
srs?: string;
|
|
@@ -27,7 +26,8 @@ export interface ConfigurableMapConnectProps {
|
|
|
27
26
|
toggleTimestepAuto?: boolean;
|
|
28
27
|
setTimestep?: number;
|
|
29
28
|
displayTimeInMap?: boolean;
|
|
30
|
-
|
|
29
|
+
displayLayerManagerAndLegendButtonInMap?: boolean;
|
|
31
30
|
displayDimensionSelectButtonInMap?: boolean;
|
|
31
|
+
multiLegend?: boolean;
|
|
32
32
|
}
|
|
33
33
|
export declare const ConfigurableMapConnect: React.FC<ConfigurableMapConnectProps>;
|
|
@@ -3,9 +3,9 @@ import { ReduxLayer } from '../../../../store/mapStore/layers/types';
|
|
|
3
3
|
interface LayerAddRemoveButtonProps {
|
|
4
4
|
layer: ReduxLayer;
|
|
5
5
|
layerIndex: number;
|
|
6
|
-
|
|
7
|
-
addLayer: ({
|
|
8
|
-
|
|
6
|
+
serviceUrl: string;
|
|
7
|
+
addLayer: ({ serviceUrl, layerName }: {
|
|
8
|
+
serviceUrl: any;
|
|
9
9
|
layerName: any;
|
|
10
10
|
}) => void;
|
|
11
11
|
deleteLayer: ({ layerId, layerIndex }: {
|
|
@@ -5,8 +5,8 @@ interface LayerListProps {
|
|
|
5
5
|
services: Services;
|
|
6
6
|
serviceIds: string[];
|
|
7
7
|
layerSelectHeight: number;
|
|
8
|
-
addLayer: ({
|
|
9
|
-
|
|
8
|
+
addLayer: ({ serviceUrl, layerName }: {
|
|
9
|
+
serviceUrl: any;
|
|
10
10
|
layerName: any;
|
|
11
11
|
}) => void;
|
|
12
12
|
deleteLayer: ({ layerId, layerIndex }: {
|
|
@@ -3,9 +3,9 @@ import { ReduxLayer, ServiceLayer } from '../../../../store/mapStore/types';
|
|
|
3
3
|
interface LayerListRowProps {
|
|
4
4
|
layer: ServiceLayer;
|
|
5
5
|
layerIndex: number;
|
|
6
|
-
|
|
7
|
-
addLayer: ({
|
|
8
|
-
|
|
6
|
+
serviceUrl: string;
|
|
7
|
+
addLayer: ({ serviceUrl, layerName }: {
|
|
8
|
+
serviceUrl: any;
|
|
9
9
|
layerName: any;
|
|
10
10
|
}) => void;
|
|
11
11
|
deleteLayer: ({ layerId, layerIndex }: {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getMapStoreServiceFromLayerSelectServiceId: (services: Services, serviceId: string) => ReduxService;
|
|
1
|
+
import { ServiceLayer, Services } from '../../../../store/mapStore/service/types';
|
|
3
2
|
export declare const filterLayersFromService: (serviceId: string, services: Services, keywordIds: string[], allKeywordsActive: boolean, searchString: string) => ServiceLayer[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ActiveServiceObject } from '../../../../store/layerSelect/types';
|
|
3
3
|
interface ServiceChipProps {
|
|
4
4
|
all?: boolean;
|
|
5
|
-
service?:
|
|
5
|
+
service?: ActiveServiceObject;
|
|
6
6
|
isSelected?: boolean;
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
toggleChip?: (service: string) => void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ActiveServiceObject } from '../../../../store/layerSelect/types';
|
|
3
3
|
interface ServiceChipConnectProps {
|
|
4
4
|
all?: boolean;
|
|
5
|
-
|
|
5
|
+
serviceId?: string;
|
|
6
|
+
service?: ActiveServiceObject;
|
|
6
7
|
isSelected?: boolean;
|
|
7
8
|
isDisabled?: boolean;
|
|
8
9
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Services } from '../../../../store/mapStore/types';
|
|
3
2
|
import { ActiveServiceObject } from '../../../../store/layerSelect/types';
|
|
4
3
|
interface ServiceListProps {
|
|
5
4
|
layerSelectWidth?: number;
|
|
6
|
-
|
|
7
|
-
activeServices: ActiveServiceObject;
|
|
5
|
+
activeServices: Record<string, ActiveServiceObject>;
|
|
8
6
|
}
|
|
9
7
|
declare const ServiceList: React.FC<ServiceListProps>;
|
|
10
8
|
export default ServiceList;
|
package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReduxLayer } from '../../../../store/mapStore/layers/types';
|
|
3
|
+
import { ActiveServiceObject } from '../../../../store/layerSelect/types';
|
|
3
4
|
interface ServiceOptionsDialogProps {
|
|
4
|
-
services: Record<string,
|
|
5
|
-
mapStoreRemoveService?: (
|
|
5
|
+
services: Record<string, ActiveServiceObject>;
|
|
6
|
+
mapStoreRemoveService?: (serviceId: string, serviceUrl: string) => void;
|
|
6
7
|
layers?: ReduxLayer[];
|
|
7
8
|
}
|
|
8
9
|
declare const ServiceOptionsDialog: React.FC<ServiceOptionsDialogProps>;
|
|
@@ -3,6 +3,8 @@ import { Source } from '../../store/ui/types';
|
|
|
3
3
|
interface LegendConnectProps {
|
|
4
4
|
showMapId?: boolean;
|
|
5
5
|
source?: Source;
|
|
6
|
+
mapId?: string;
|
|
7
|
+
multiLegend?: boolean;
|
|
6
8
|
}
|
|
7
9
|
/**
|
|
8
10
|
* Legend component connected to the store displaying a legend for every layer shown on the active map Id
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Layer } from '../../../store/mapStore/types';
|
|
3
3
|
import { MultiMapPreset } from '../MultiMapViewConnect';
|
|
4
|
-
export declare const makeMapPreset: (timeIncrement: number, uniqueId: string, referenceTime: string, layers: Layer[], syncGroupsIds: string[],
|
|
4
|
+
export declare const makeMapPreset: (timeIncrement: number, uniqueId: string, referenceTime: string, layers: Layer[], syncGroupsIds: string[], displayLayerManagerAndLegendButtonInMap: boolean, displayDimensionSelectButtonInMap: boolean) => MultiMapPreset;
|
|
5
5
|
export interface ModelRunIntervalProps {
|
|
6
6
|
layers?: Layer[];
|
|
7
7
|
syncGroupsIds: string[];
|
|
8
8
|
interval?: number;
|
|
9
9
|
startTimeIncrement?: number;
|
|
10
|
+
multiLegend?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare const ModelRunInterval: React.FC<ModelRunIntervalProps>;
|
|
@@ -6,11 +6,10 @@ export interface MultiMapPreset {
|
|
|
6
6
|
title?: string;
|
|
7
7
|
layers: Layer[];
|
|
8
8
|
activeLayerId?: string;
|
|
9
|
-
baseLayer?: Layer;
|
|
10
9
|
bbox?: Bbox;
|
|
11
10
|
srs?: string;
|
|
12
11
|
displayTimeInMap?: boolean;
|
|
13
|
-
|
|
12
|
+
displayLayerManagerAndLegendButtonInMap?: boolean;
|
|
14
13
|
displayDimensionSelectButtonInMap?: boolean;
|
|
15
14
|
syncGroupsIds?: string[];
|
|
16
15
|
}
|
|
@@ -22,5 +21,6 @@ export interface MultiMapViewProps {
|
|
|
22
21
|
syncTime?: boolean;
|
|
23
22
|
showTimeSlider?: boolean;
|
|
24
23
|
showZoomControls?: boolean;
|
|
24
|
+
multiLegend?: boolean;
|
|
25
25
|
}
|
|
26
26
|
export declare const MultiMapViewConnect: React.FC<MultiMapViewProps>;
|
|
@@ -7,7 +7,6 @@ export declare const groupTypes: {
|
|
|
7
7
|
}[];
|
|
8
8
|
export declare const createSyncGroupViewState: (groups: SynchronizationGroups, sources: SynchronizationSources) => SyncGroupViewState;
|
|
9
9
|
export declare const createSyncGroupViewStateSelector: ((state: {
|
|
10
|
-
advancedLayerStore?: import("../../store/advancedLayerStore/types").AdvancedLayerStoreState;
|
|
11
10
|
syncronizationGroupStore?: import("../../store/generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
12
11
|
ui?: import("../../store/ui/types").UIStoreType;
|
|
13
12
|
webmap?: import("../../store/mapStore/types").WebMapState;
|
package/lib/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as mapUtils from './store/mapStore/map/utils';
|
|
|
6
6
|
import * as uiActions from './store/ui/actions';
|
|
7
7
|
import * as uiSelectors from './store/ui/selectors';
|
|
8
8
|
import * as uiTypes from './store/ui/types';
|
|
9
|
-
import * as syncGroupActions from './store/generic
|
|
9
|
+
import * as syncGroupActions from './store/generic';
|
|
10
10
|
import * as layerReducer from './store/mapStore/layers/reducer';
|
|
11
11
|
import * as layerActions from './store/mapStore/layers/actions';
|
|
12
12
|
import synchronizationGroupConfig from './store/generic/config';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SetTimePayload, SetBboxPayload
|
|
1
|
+
import { SetTimePayload, SetBboxPayload } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Generic action to set the time.
|
|
4
4
|
*
|
|
@@ -8,7 +8,7 @@ import { SetTimePayload, SetBboxPayload, SetTime, SetBbox } from './types';
|
|
|
8
8
|
* value: string; // ISO 8601 string time value like "2010-10-01T00:00:00Z"
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
|
-
export declare const setTime: (
|
|
11
|
+
export declare const setTime: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetTimePayload, string>;
|
|
12
12
|
/**
|
|
13
13
|
* Generic action to set the bounding box.
|
|
14
14
|
*
|
|
@@ -25,5 +25,4 @@ export declare const setTime: (payload: SetTimePayload) => SetTime;
|
|
|
25
25
|
* srs: string; // Projection string according to EPSG, e.g. (EPSG:3857 == Mercator)
|
|
26
26
|
* }
|
|
27
27
|
*/
|
|
28
|
-
export declare const setBbox: (
|
|
29
|
-
export * from './synchronizationGroups/actions';
|
|
28
|
+
export declare const setBbox: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetBboxPayload, string>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const syncGroupAddGroup: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupAddGroupPayload, string>, syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupsAddSourcePayload, string>, syncGroupAddTarget: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupAddTargetPayload, string>, syncGroupClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, syncGroupLinkTarget: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupLinkTargetPayload, string>, syncGroupRemoveGroup: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupRemoveGroupPayload, string>, syncGroupRemoveSource: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupRemoveSourcePayload, string>, syncGroupRemoveTarget: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupRemoveTargetPayload, string>, syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("./synchronizationGroups/types").SyncGroupSetViewStatePayload, string>;
|
|
2
|
+
export { setTime, setBbox } from './actions';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { SagaIterator } from 'redux-saga';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export declare function
|
|
2
|
+
import { AddLayer, DeleteLayer, LayerActions, SetBaseLayers } from '../mapStore/types';
|
|
3
|
+
import { layerMoveLayer, setActiveLayerId } from '../mapStore/actions';
|
|
4
|
+
import { setBbox, setTime } from './actions';
|
|
5
|
+
export declare function setTimeSaga({ payload, }: ReturnType<typeof setTime>): SagaIterator;
|
|
6
|
+
export declare function setBBoxSaga({ payload, }: ReturnType<typeof setBbox>): SagaIterator;
|
|
6
7
|
export declare function layerActionsSaga({ payload, type, }: LayerActions): SagaIterator;
|
|
7
8
|
export declare function addLayerActionsSaga({ payload, type, }: AddLayer): SagaIterator;
|
|
8
9
|
export declare function deleteLayerActionsSaga({ payload, type, }: DeleteLayer): SagaIterator;
|
|
9
|
-
export declare function moveLayerActionsSaga({ payload, type, }:
|
|
10
|
-
export declare function setActiveLayerIdActionsSaga({ payload, type, }:
|
|
10
|
+
export declare function moveLayerActionsSaga({ payload, type, }: ReturnType<typeof layerMoveLayer>): SagaIterator;
|
|
11
|
+
export declare function setActiveLayerIdActionsSaga({ payload, type, }: ReturnType<typeof setActiveLayerId>): SagaIterator;
|
|
11
12
|
export declare function mapBaseLayerActionsSaga({ payload, type, }: SetBaseLayers): SagaIterator;
|
|
12
13
|
export declare function rootSaga(): SagaIterator;
|
|
13
14
|
export default rootSaga;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SynchronizationGroupState, SynchronizationSource } from './synchronizationGroups/types';
|
|
2
2
|
export declare const getSynchronizationGroupStore: ((state: {
|
|
3
|
-
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
4
3
|
syncronizationGroupStore?: SynchronizationGroupState;
|
|
5
4
|
ui?: import("../ui/types").UIStoreType;
|
|
6
5
|
webmap?: import("../mapStore/types").WebMapState;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SetBboxPayload, SetTimePayload, SyncLayerPayloads } from '../types';
|
|
2
|
+
import type { SetBboxSyncActionPayload, SetBboxSyncPayload, SetLayerActionsSyncPayload, SetTimeSyncActionPayload, SetTimeSyncPayload } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* These actions are fired by the generic/saga.ts, based on generic actions and the synchronizationGroup state.
|
|
5
5
|
*
|
|
6
6
|
* These actions should not be used by components directly. Components should only use the generic actions.
|
|
7
7
|
*/
|
|
8
|
-
export declare const setTimeSync: (payload: SetTimePayload, targets: SetTimeSyncPayload[], groups: string[]
|
|
9
|
-
export declare const setBboxSync: (payload: SetBboxPayload, targets: SetBboxSyncPayload[], groups: string[]
|
|
10
|
-
export declare const setLayerActionSync: (payload: SyncLayerPayloads, targets: SyncLayerPayloads[], type: string
|
|
8
|
+
export declare const setTimeSync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SetTimePayload, targets: SetTimeSyncPayload[], groups: string[]], SetTimeSyncActionPayload, "GENERIC_SYNC_SETTIME", never, never>;
|
|
9
|
+
export declare const setBboxSync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SetBboxPayload, targets: SetBboxSyncPayload[], groups: string[]], SetBboxSyncActionPayload, "GENERIC_SYNC_SETBBOX", never, never>;
|
|
10
|
+
export declare const setLayerActionSync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SyncLayerPayloads, targets: SyncLayerPayloads[], type: string], SetLayerActionsSyncPayload, "GENERIC_SYNC_SETLAYERACTIONS", never, never>;
|
|
11
|
+
export declare type GenericSyncActions = ReturnType<typeof setTimeSync> | ReturnType<typeof setBboxSync> | ReturnType<typeof setLayerActionSync>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { SetBbox, SetTime, SyncLayerPayloads } from '../types';
|
|
1
|
+
import { setBbox, setTime } from '../actions';
|
|
2
|
+
import { SyncLayerPayloads } from '../types';
|
|
4
3
|
export interface SetTimeSyncPayload {
|
|
5
4
|
targetId: string;
|
|
6
5
|
value: string;
|
|
@@ -22,26 +21,14 @@ export interface SetLayerActionsSyncPayload {
|
|
|
22
21
|
};
|
|
23
22
|
targets: SyncLayerPayloads[];
|
|
24
23
|
}
|
|
25
|
-
export interface
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
groups: string[];
|
|
30
|
-
targets: SetTimeSyncPayload[];
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export interface SetBboxSync extends Action {
|
|
34
|
-
type: typeof GENERIC_SYNC_SETBBOX;
|
|
35
|
-
payload: {
|
|
36
|
-
source: SetBbox;
|
|
37
|
-
groups: string[];
|
|
38
|
-
targets: SetBboxSyncPayload[];
|
|
39
|
-
};
|
|
24
|
+
export interface SetTimeSyncActionPayload {
|
|
25
|
+
source: ReturnType<typeof setTime>;
|
|
26
|
+
groups: string[];
|
|
27
|
+
targets: SetTimeSyncPayload[];
|
|
40
28
|
}
|
|
41
|
-
export interface
|
|
42
|
-
|
|
43
|
-
|
|
29
|
+
export interface SetBboxSyncActionPayload {
|
|
30
|
+
source: ReturnType<typeof setBbox>;
|
|
31
|
+
groups: string[];
|
|
32
|
+
targets: SetBboxSyncPayload[];
|
|
44
33
|
}
|
|
45
34
|
export declare type GenericSyncActionPayload = SetBboxSyncPayload | SetTimeSyncPayload | SetLayerActionsSyncPayload;
|
|
46
|
-
export declare type GenericSyncActionPayloads = SetBboxSyncPayload[] | SetTimeSyncPayload[];
|
|
47
|
-
export declare type GenericSyncActions = SetTimeSync | SetBboxSync | SetLayerActionsSync;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
export declare const SYNCGROUPS_ADD_SOURCE = "SYNCGROUPS_ADD_SOURCE";
|
|
2
|
-
export declare const SYNCGROUPS_REMOVE_SOURCE = "SYNCGROUPS_REMOVE_SOURCE";
|
|
3
|
-
export declare const SYNCGROUPS_TOGGLE_LINK_TARGET = "SYNCGROUPS_TOGGLE_LINK_TARGET";
|
|
4
|
-
export declare const SYNCGROUPS_ADD_TARGET = "SYNCGROUPS_ADD_TARGET";
|
|
5
|
-
export declare const SYNCGROUPS_REMOVE_TARGET = "SYNCGROUPS_REMOVE_TARGET";
|
|
6
|
-
export declare const SYNCGROUPS_ADD_GROUP = "SYNCGROUPS_ADD_GROUP";
|
|
7
|
-
export declare const SYNCGROUPS_REMOVE_GROUP = "SYNCGROUPS_REMOVE_GROUP";
|
|
8
|
-
export declare const SYNCGROUPS_CLEAR = "SYNCGROUPS_CLEAR";
|
|
9
1
|
export declare const SYNCGROUPS_TYPE_SETTIME = "SYNCGROUPS_TYPE_SETTIME";
|
|
10
2
|
export declare const SYNCGROUPS_TYPE_SETBBOX = "SYNCGROUPS_TYPE_SETBBOX";
|
|
11
3
|
export declare const SYNCGROUPS_TYPE_SETLAYERACTIONS = "SYNCGROUPS_TYPE_SETLAYERACTIONS";
|
|
@@ -1,4 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { SynchronizationGroupState, SyncGroupAddTargetPayload, SyncGroupAddGroupPayload, SyncGroupRemoveTargetPayload, SyncGroupRemoveGroupPayload, SyncGroupSetViewStatePayload, SyncGroupLinkTargetPayload, SyncGroupRemoveSourcePayload, SyncGroupsAddSourcePayload } from './types';
|
|
3
3
|
export declare const initialState: SynchronizationGroupState;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const slice: import("@reduxjs/toolkit").Slice<SynchronizationGroupState, {
|
|
5
|
+
syncGroupAddSource: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
|
|
6
|
+
syncGroupRemoveSource: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveSourcePayload>) => void;
|
|
7
|
+
syncGroupAddTarget: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddTargetPayload>) => void;
|
|
8
|
+
syncGroupRemoveTarget: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveTargetPayload>) => void;
|
|
9
|
+
syncGroupLinkTarget: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupLinkTargetPayload>) => void;
|
|
10
|
+
syncGroupAddGroup: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddGroupPayload>) => void;
|
|
11
|
+
syncGroupRemoveGroup: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveGroupPayload>) => void;
|
|
12
|
+
syncGroupClear: () => SynchronizationGroupState;
|
|
13
|
+
syncGroupSetViewState: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupSetViewStatePayload>) => void;
|
|
14
|
+
}, "synchronizationGroupsReducer">;
|
|
15
|
+
export declare const syncGroupAddGroup: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupAddGroupPayload, string>, syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupsAddSourcePayload, string>, syncGroupAddTarget: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupAddTargetPayload, string>, syncGroupClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, syncGroupLinkTarget: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupLinkTargetPayload, string>, syncGroupRemoveGroup: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupRemoveGroupPayload, string>, syncGroupRemoveSource: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupRemoveSourcePayload, string>, syncGroupRemoveTarget: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupRemoveTargetPayload, string>, syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SyncGroupSetViewStatePayload, string>;
|
|
16
|
+
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
17
|
+
syncGroupAddSource: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
|
|
18
|
+
syncGroupRemoveSource: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveSourcePayload>) => void;
|
|
19
|
+
syncGroupAddTarget: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddTargetPayload>) => void;
|
|
20
|
+
syncGroupRemoveTarget: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveTargetPayload>) => void;
|
|
21
|
+
syncGroupLinkTarget: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupLinkTargetPayload>) => void;
|
|
22
|
+
syncGroupAddGroup: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddGroupPayload>) => void;
|
|
23
|
+
syncGroupRemoveGroup: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveGroupPayload>) => void;
|
|
24
|
+
syncGroupClear: () => SynchronizationGroupState;
|
|
25
|
+
syncGroupSetViewState: (draft: import("immer/dist/internal").WritableDraft<SynchronizationGroupState>, action: PayloadAction<SyncGroupSetViewStatePayload>) => void;
|
|
26
|
+
}>, reducer: import("@reduxjs/toolkit").Reducer<SynchronizationGroupState, import("@reduxjs/toolkit").AnyAction>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SagaIterator } from 'redux-saga';
|
|
2
|
-
import
|
|
2
|
+
import * as synchronizationGroupActions from './reducer';
|
|
3
3
|
export declare function updateSourceValueWhenLinkingComponentToGroupSaga(groupId: string, targetToUpdate: string): SagaIterator;
|
|
4
|
-
export declare function addGroupTargetSaga({ payload, }:
|
|
5
|
-
export declare function linkGroupTargetSaga({ payload, }:
|
|
4
|
+
export declare function addGroupTargetSaga({ payload, }: ReturnType<typeof synchronizationGroupActions.syncGroupAddTarget>): SagaIterator;
|
|
5
|
+
export declare function linkGroupTargetSaga({ payload, }: ReturnType<typeof synchronizationGroupActions.syncGroupLinkTarget>): SagaIterator;
|
|
6
6
|
export declare function updateViewStateSaga(): SagaIterator;
|
|
7
7
|
declare function rootSaga(): SagaIterator;
|
|
8
8
|
export default rootSaga;
|
|
@@ -11,7 +11,6 @@ export declare const syncGroupStore: (store: AppStore) => SynchronizationGroupSt
|
|
|
11
11
|
* @returns {object} returnType: SynchronizationGroupState
|
|
12
12
|
*/
|
|
13
13
|
export declare const getSynchronizationGroupState: ((state: {
|
|
14
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
15
14
|
syncronizationGroupStore?: SynchronizationGroupState;
|
|
16
15
|
ui?: import("../../ui/types").UIStoreType;
|
|
17
16
|
webmap?: import("../../mapStore/types").WebMapState;
|
|
@@ -28,7 +27,6 @@ export declare const getSynchronizationGroupSource: (state: AppStore, id: string
|
|
|
28
27
|
export declare const getTargets: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => SetBboxSyncPayload[] | SetTimeSyncPayload[];
|
|
29
28
|
export declare const getTargetGroups: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => string[];
|
|
30
29
|
export declare const syncGroupGetViewState: ((state: {
|
|
31
|
-
advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
32
30
|
syncronizationGroupStore?: SynchronizationGroupState;
|
|
33
31
|
ui?: import("../../ui/types").UIStoreType;
|
|
34
32
|
webmap?: import("../../mapStore/types").WebMapState;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Action } from 'redux';
|
|
2
1
|
import { GenericActionPayload } from '../types';
|
|
3
|
-
import {
|
|
2
|
+
import { SYNCGROUPS_TYPE_SETBBOX, SYNCGROUPS_TYPE_SETTIME, SYNCGROUPS_TYPE_SETLAYERACTIONS } from './constants';
|
|
4
3
|
import { SyncGroupViewState } from '../../../components/SyncGroups/types';
|
|
5
4
|
export interface SynchronizationGroup {
|
|
6
5
|
type: SyncType;
|
|
@@ -68,40 +67,4 @@ export interface SyncGroupRemoveGroupPayload {
|
|
|
68
67
|
export interface SyncGroupSetViewStatePayload {
|
|
69
68
|
viewState: SyncGroupViewState;
|
|
70
69
|
}
|
|
71
|
-
export interface SyncGroupsAddSource extends Action {
|
|
72
|
-
type: typeof SYNCGROUPS_ADD_SOURCE;
|
|
73
|
-
payload: SyncGroupsAddSourcePayload;
|
|
74
|
-
}
|
|
75
|
-
export interface SyncGroupsRemoveSource extends Action {
|
|
76
|
-
type: typeof SYNCGROUPS_REMOVE_SOURCE;
|
|
77
|
-
payload: SyncGroupRemoveSourcePayload;
|
|
78
|
-
}
|
|
79
|
-
export interface SyncGroupAddTarget extends Action {
|
|
80
|
-
type: typeof SYNCGROUPS_ADD_TARGET;
|
|
81
|
-
payload: SyncGroupAddTargetPayload;
|
|
82
|
-
}
|
|
83
|
-
export interface SyncGroupRemoveTarget extends Action {
|
|
84
|
-
type: typeof SYNCGROUPS_REMOVE_TARGET;
|
|
85
|
-
payload: SyncGroupRemoveTargetPayload;
|
|
86
|
-
}
|
|
87
|
-
export interface SyncGroupLinkTarget extends Action {
|
|
88
|
-
type: typeof SYNCGROUPS_TOGGLE_LINK_TARGET;
|
|
89
|
-
payload: SyncGroupLinkTargetPayload;
|
|
90
|
-
}
|
|
91
|
-
export interface SyncGroupAddGroup extends Action {
|
|
92
|
-
type: typeof SYNCGROUPS_ADD_GROUP;
|
|
93
|
-
payload: SyncGroupAddGroupPayload;
|
|
94
|
-
}
|
|
95
|
-
export interface SyncGroupRemoveGroup extends Action {
|
|
96
|
-
type: typeof SYNCGROUPS_REMOVE_GROUP;
|
|
97
|
-
payload: SyncGroupRemoveGroupPayload;
|
|
98
|
-
}
|
|
99
|
-
export interface SyncGroupClear extends Action {
|
|
100
|
-
type: typeof SYNCGROUPS_CLEAR;
|
|
101
|
-
}
|
|
102
|
-
export interface SyncGroupSetViewState extends Action {
|
|
103
|
-
type: typeof SYNCGROUPS_SET_VIEW_STATE;
|
|
104
|
-
payload: SyncGroupSetViewStatePayload;
|
|
105
|
-
}
|
|
106
70
|
export declare const SyncGroupTypeList: string[];
|
|
107
|
-
export declare type SynchronizationGroupActions = SyncGroupsAddSource | SyncGroupsRemoveSource | SyncGroupAddTarget | SyncGroupRemoveTarget | SyncGroupLinkTarget | SyncGroupAddGroup | SyncGroupRemoveGroup | SyncGroupClear | SyncGroupSetViewState;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { Action } from 'redux';
|
|
2
1
|
import { AddLayerPayload, DeleteLayerPayload, MoveLayerPayload, SetActiveLayerIdPayload, SetBaseLayersPayload, SetLayerDimensionPayload, SetLayerEnabledPayload, SetLayerNamePayload, SetLayerOpacityPayload, SetLayerStylePayload } from '../mapStore/types';
|
|
3
|
-
import { GENERIC_SETTIME, GENERIC_SETBBOX } from './constants';
|
|
4
2
|
export interface SetTimePayload {
|
|
5
3
|
sourceId: string;
|
|
6
4
|
origin: string;
|
|
@@ -16,15 +14,6 @@ export interface SetBboxPayload {
|
|
|
16
14
|
};
|
|
17
15
|
srs: string;
|
|
18
16
|
}
|
|
19
|
-
export interface SetTime extends Action {
|
|
20
|
-
type: typeof GENERIC_SETTIME;
|
|
21
|
-
payload: SetTimePayload;
|
|
22
|
-
}
|
|
23
|
-
export interface SetBbox extends Action {
|
|
24
|
-
type: typeof GENERIC_SETBBOX;
|
|
25
|
-
payload: SetBboxPayload;
|
|
26
|
-
}
|
|
27
17
|
export declare type GenericActionPayload = SetBboxPayload | SetTimePayload;
|
|
28
|
-
export declare type GenericActions = SetTime | SetBbox;
|
|
29
18
|
export declare type LayerActionPayloadsWithLayerIds = SetLayerOpacityPayload | SetLayerNamePayload | SetLayerEnabledPayload | SetLayerDimensionPayload | SetLayerStylePayload | SetActiveLayerIdPayload;
|
|
30
19
|
export declare type SyncLayerPayloads = LayerActionPayloadsWithLayerIds | AddLayerPayload | MoveLayerPayload | DeleteLayerPayload | SetBaseLayersPayload;
|
|
@@ -8,7 +8,6 @@ import { LayerSelectStoreType, ActiveServices, KeywordObject } from './types';
|
|
|
8
8
|
* @returns {array} returnType: string
|
|
9
9
|
*/
|
|
10
10
|
export declare const getSearchFilter: ((state: {
|
|
11
|
-
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
12
11
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
13
12
|
ui?: import("../ui/types").UIStoreType;
|
|
14
13
|
webmap?: import("../mapStore/types").WebMapState;
|
|
@@ -28,7 +27,6 @@ export declare const getSearchFilter: ((state: {
|
|
|
28
27
|
* @returns {object} returnType: object of active services
|
|
29
28
|
*/
|
|
30
29
|
export declare const getActiveServices: ((state: {
|
|
31
|
-
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
32
30
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
33
31
|
ui?: import("../ui/types").UIStoreType;
|
|
34
32
|
webmap?: import("../mapStore/types").WebMapState;
|
|
@@ -48,7 +46,6 @@ export declare const getActiveServices: ((state: {
|
|
|
48
46
|
* @returns {array} returnType: array of service ids that are enabled
|
|
49
47
|
*/
|
|
50
48
|
export declare const getEnabledServiceIds: ((state: {
|
|
51
|
-
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
52
49
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
53
50
|
ui?: import("../ui/types").UIStoreType;
|
|
54
51
|
webmap?: import("../mapStore/types").WebMapState;
|
|
@@ -68,7 +65,6 @@ export declare const getEnabledServiceIds: ((state: {
|
|
|
68
65
|
* @returns {array} returnType: array of keyword ids that are checked
|
|
69
66
|
*/
|
|
70
67
|
export declare const getCheckedKeywordIds: ((state: {
|
|
71
|
-
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
72
68
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
73
69
|
ui?: import("../ui/types").UIStoreType;
|
|
74
70
|
webmap?: import("../mapStore/types").WebMapState;
|
|
@@ -88,7 +84,6 @@ export declare const getCheckedKeywordIds: ((state: {
|
|
|
88
84
|
* @returns {array} returnType: array of all keyword ids
|
|
89
85
|
*/
|
|
90
86
|
export declare const getAllKeywordIds: ((state: {
|
|
91
|
-
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
92
87
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
93
88
|
ui?: import("../ui/types").UIStoreType;
|
|
94
89
|
webmap?: import("../mapStore/types").WebMapState;
|
|
@@ -108,7 +103,6 @@ export declare const getAllKeywordIds: ((state: {
|
|
|
108
103
|
* @returns {array} returnType: boolean if all keywords are checked
|
|
109
104
|
*/
|
|
110
105
|
export declare const isAllKeywordsChecked: ((state: {
|
|
111
|
-
advancedLayerStore?: import("../advancedLayerStore/types").AdvancedLayerStoreState;
|
|
112
106
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
113
107
|
ui?: import("../ui/types").UIStoreType;
|
|
114
108
|
webmap?: import("../mapStore/types").WebMapState;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Action } from 'redux';
|
|
2
2
|
import { LAYER_SELECT_SET_SEARCH_FILTER, LAYER_SELECT_ENABLE_ACTIVE_SERVICE, LAYER_SELECT_DISABLE_ACTIVE_SERVICE, LAYER_SELECT_ADD_KEYWORDS_AND_ACTIVE_SERVICES, LAYER_SELECT_SERVICE_REMOVED, LAYER_SELECT_TOGGLE_KEYWORDS, LAYER_SELECT_ENABLE_ONLY_ONE_KEYWORD } from './constants';
|
|
3
3
|
export interface ActiveServiceObject {
|
|
4
|
-
|
|
4
|
+
serviceName?: string;
|
|
5
|
+
serviceUrl?: string;
|
|
5
6
|
enabled?: boolean;
|
|
6
7
|
keywordsPerService?: string[];
|
|
7
8
|
}
|
|
@@ -44,7 +45,7 @@ export interface SetSearchFilter extends Action {
|
|
|
44
45
|
payload: SetSearchFilterPayload;
|
|
45
46
|
}
|
|
46
47
|
export interface EnableActiveServicePayload {
|
|
47
|
-
|
|
48
|
+
serviceId: string;
|
|
48
49
|
keywords: string[];
|
|
49
50
|
}
|
|
50
51
|
export interface EnableActiveService extends Action {
|
|
@@ -52,7 +53,7 @@ export interface EnableActiveService extends Action {
|
|
|
52
53
|
payload: EnableActiveServicePayload;
|
|
53
54
|
}
|
|
54
55
|
export interface DisableActiveServicePayload {
|
|
55
|
-
|
|
56
|
+
serviceId: string;
|
|
56
57
|
keywords: string[];
|
|
57
58
|
}
|
|
58
59
|
export interface DisableActiveService extends Action {
|
|
@@ -60,6 +61,8 @@ export interface DisableActiveService extends Action {
|
|
|
60
61
|
payload: DisableActiveServicePayload;
|
|
61
62
|
}
|
|
62
63
|
export interface AddKeywordsAndActiveServicesPayload {
|
|
64
|
+
serviceId: string;
|
|
65
|
+
serviceName: string;
|
|
63
66
|
serviceUrl: string;
|
|
64
67
|
keywords: string[];
|
|
65
68
|
}
|
|
@@ -68,7 +71,7 @@ export interface AddKeywordsAndActiveServices extends Action {
|
|
|
68
71
|
payload: AddKeywordsAndActiveServicesPayload;
|
|
69
72
|
}
|
|
70
73
|
export interface LayerSelectServiceRemovedPayload {
|
|
71
|
-
|
|
74
|
+
serviceId: string;
|
|
72
75
|
}
|
|
73
76
|
export interface LayerSelectServiceRemoved extends Action {
|
|
74
77
|
type: typeof LAYER_SELECT_SERVICE_REMOVED;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './map/actions';
|
|
2
1
|
export * from './layers/actions';
|
|
3
2
|
export * from './service/actions';
|
|
3
|
+
export declare const layerMoveLayer: any, mapChangeDimension: any, mapStartAnimation: any, mapStopAnimation: any, mapUpdateAllMapDimensions: any, registerMap: any, setActiveLayerId: any, setActiveMapPresetId: any, setAnimationDelay: any, setAnimationEndTime: any, setAnimationStartTime: any, setBbox: any, setDisableMapPin: any, setMapPinLocation: any, setMapPreset: any, setSelectedFeature: any, setTimeSliderCenterTime: any, setTimeSliderDataScaleToSecondsPerPx: any, setTimeSliderScale: any, setTimeSliderSecondsPerPx: any, setTimeStep: any, toggleAutoUpdate: any, toggleLoop: any, toggleTimeSliderHover: any, toggleTimestepAuto: any, unregisterMap: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LayerActions, LayerState, Layer } from './types';
|
|
2
|
-
import { MapActions } from '../map/
|
|
3
|
-
import { GenericSyncActions } from '../../generic/synchronizationActions/
|
|
2
|
+
import { MapActions } from '../map/reducer';
|
|
3
|
+
import { GenericSyncActions } from '../../generic/synchronizationActions/actions';
|
|
4
4
|
export declare const createLayer: ({ id, opacity, enabled, layerType, status, ...props }: Layer) => Layer;
|
|
5
5
|
export declare const initialState: LayerState;
|
|
6
6
|
export declare const reducer: (state: LayerState, action: LayerActions | MapActions | GenericSyncActions) => LayerState;
|