@opengeoweb/store 9.25.3 → 9.26.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 +1052 -1117
- package/package.json +1 -1
- package/src/store/mapStore/index.d.ts +1 -1
- package/src/store/mapStore/layers/types.d.ts +1 -1
- package/src/store/mapStore/map/listener.d.ts +1 -0
- package/src/store/mapStore/map/sagas.d.ts +0 -6
- package/src/store/mapStore/map/selectors.d.ts +1 -1
- package/src/store/testUtils/Providers.d.ts +1 -1
package/package.json
CHANGED
|
@@ -91,6 +91,6 @@ export declare const mapStoreActions: {
|
|
|
91
91
|
export * from './service';
|
|
92
92
|
export * from './map';
|
|
93
93
|
export * from './layers';
|
|
94
|
-
export type { WebMapStateModuleState, MapPreset } from './types';
|
|
94
|
+
export type { WebMapStateModuleState, MapPreset, MapPresetInitialProps, } from './types';
|
|
95
95
|
export * as storeTestSettings from './storeTestSettings';
|
|
96
96
|
export * from './config';
|
|
@@ -15,7 +15,7 @@ export declare enum LayerActionOrigin {
|
|
|
15
15
|
ReactMapViewParseLayer = "ReactMapViewParseLayer",
|
|
16
16
|
updateLayerInformationListener = "updateLayerInformationListener",
|
|
17
17
|
toggleAutoUpdateListener = "toggleAutoUpdateListener",
|
|
18
|
-
|
|
18
|
+
unregisterMapListener = "unregisterMapListener"
|
|
19
19
|
}
|
|
20
20
|
export interface FeatureLayer {
|
|
21
21
|
geojson?: FeatureCollection;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { AnyAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
2
|
import { WebMapStateModuleState } from '../types';
|
|
3
|
+
export declare const isAnimationEndTimeValid: (animationEndTime: string) => boolean;
|
|
3
4
|
export declare const mapListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, AnyAction>, unknown>;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { SagaIterator } from 'redux-saga';
|
|
2
2
|
import { mapActions } from '.';
|
|
3
|
-
import { Layer } from '../layers/types';
|
|
4
|
-
export declare const getAnimationEndTime: (animationEndTime: string) => string;
|
|
5
|
-
export declare const isAnimationEndTimeValid: (animationEndTime: string) => boolean;
|
|
6
3
|
export declare function updateAnimation(mapId: string, maxValue: string): SagaIterator;
|
|
7
|
-
export declare function handleBaseLayersSaga(mapId: string, baseLayers: Layer[]): SagaIterator;
|
|
8
|
-
export declare function setMapPresetSaga({ payload, }: ReturnType<typeof mapActions.setMapPreset>): SagaIterator;
|
|
9
|
-
export declare function unregisterMapSaga({ payload, }: ReturnType<typeof mapActions.unregisterMap>): Generator;
|
|
10
4
|
export declare function setStepBackwardOrForwardSaga({ payload, }: ReturnType<typeof mapActions.setStepBackwardOrForward>): Generator;
|
|
11
5
|
export declare function rootSaga(): SagaIterator;
|
|
12
6
|
export default rootSaga;
|
|
@@ -723,7 +723,7 @@ export declare const getAnimationList: ((state: any, mapId: any) => WebMapAnimat
|
|
|
723
723
|
export declare const getAnimationRange: ((state: any, mapId: any) => {
|
|
724
724
|
animationStartTime: string | undefined;
|
|
725
725
|
animationEndTime: string | undefined;
|
|
726
|
-
}) & import("reselect").OutputSelectorFields<(args_0:
|
|
726
|
+
}) & import("reselect").OutputSelectorFields<(args_0: Record<string, ReduxLayer> | null, args_1: string | undefined, args_2: string | undefined, args_3: string | undefined, args_4: boolean) => {
|
|
727
727
|
animationStartTime: string | undefined;
|
|
728
728
|
animationEndTime: string | undefined;
|
|
729
729
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Store } from '@reduxjs/toolkit';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const createCustomStore: () => Store;
|
|
4
4
|
/**
|
|
5
5
|
* A Provider component which provides the GeoWeb theme and store for the core.
|
|
6
6
|
* Note: Should only be used with core components, as the provided store is only for core.
|