@opengeoweb/store 9.25.2 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/store",
3
- "version": "9.25.2",
3
+ "version": "9.26.0",
4
4
  "description": "GeoWeb Store library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -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
- unregisterMapSaga = "unregisterMapSaga"
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: CoreAppStore, args_1: string | undefined, args_2: string | undefined, args_3: string | undefined, args_4: boolean, args_5: Dimension | undefined) => {
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 createStore: () => Store;
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.