@opengeoweb/store 10.0.0 → 10.2.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.
Files changed (76) hide show
  1. package/index.esm.js +4045 -4137
  2. package/package.json +1 -3
  3. package/src/store/coreModuleConfig.d.ts +7 -3
  4. package/src/store/drawingTool/config.d.ts +7 -0
  5. package/src/store/{drawingtool → drawingTool}/index.d.ts +1 -1
  6. package/src/store/{drawingtool → drawingTool}/listener.d.ts +1 -1
  7. package/src/store/{drawingtool → drawingTool}/reducer.d.ts +1 -2
  8. package/src/store/generic/config.d.ts +7 -5
  9. package/src/store/generic/loadingIndicator/types.d.ts +1 -1
  10. package/src/store/generic/synchronizationGroups/types.d.ts +2 -2
  11. package/src/store/generic/synchronizationGroups/utils.d.ts +1 -1
  12. package/src/store/generic/types.d.ts +2 -2
  13. package/src/store/index.d.ts +8 -10
  14. package/src/store/map/config.d.ts +8 -0
  15. package/src/store/map/index.d.ts +6 -0
  16. package/src/store/{mapStore/layers → map/layer}/selectors.d.ts +12 -0
  17. package/src/store/{mapStore → map}/map/filterLayers.d.ts +1 -1
  18. package/src/store/{mapStore → map}/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +1 -1
  19. package/src/store/{mapStore → map}/map/selectors.d.ts +49 -49
  20. package/src/store/{mapStore → map}/map/types.d.ts +3 -0
  21. package/src/store/{mapStore → map}/map/utils.d.ts +1 -1
  22. package/src/store/{mapStore → map}/service/reducer.d.ts +1 -1
  23. package/src/store/{mapStore → map}/service/selectors.d.ts +4 -4
  24. package/src/store/{mapStore → map}/storeTestUtils.d.ts +1 -1
  25. package/src/store/{mapStore → map}/types.d.ts +2 -2
  26. package/src/store/router/config.d.ts +6 -5
  27. package/src/store/types.d.ts +2 -2
  28. package/src/store/ui/config.d.ts +5 -5
  29. package/src/store/utils/testUtils.d.ts +3 -0
  30. package/src/store/drawingtool/config.d.ts +0 -6
  31. package/src/store/mapStore/config.d.ts +0 -6
  32. package/src/store/mapStore/index.d.ts +0 -97
  33. package/src/store/mapStore/map/mapUiListener.d.ts +0 -2
  34. package/src/store/mapStore/map/mapUiListener.spec.d.ts +0 -1
  35. package/src/store/testUtils/Providers.d.ts +0 -13
  36. /package/src/store/{drawingtool → drawingTool}/listener.spec.d.ts +0 -0
  37. /package/src/store/{drawingtool → drawingTool}/reducer.spec.d.ts +0 -0
  38. /package/src/store/{drawingtool → drawingTool}/selectors.d.ts +0 -0
  39. /package/src/store/{drawingtool → drawingTool}/selectors.spec.d.ts +0 -0
  40. /package/src/store/{drawingtool → drawingTool}/testUtils.d.ts +0 -0
  41. /package/src/store/{drawingtool → drawingTool}/utils.d.ts +0 -0
  42. /package/src/store/{drawingtool → drawingTool}/utils.spec.d.ts +0 -0
  43. /package/src/store/{mapStore/layers → map/layer}/index.d.ts +0 -0
  44. /package/src/store/{mapStore/layers → map/layer}/listeners.d.ts +0 -0
  45. /package/src/store/{mapStore/layers → map/layer}/listeners.spec.d.ts +0 -0
  46. /package/src/store/{mapStore/layers → map/layer}/reducer.d.ts +0 -0
  47. /package/src/store/{mapStore/layers → map/layer}/reducer.spec.d.ts +0 -0
  48. /package/src/store/{mapStore/layers → map/layer}/selectors.spec.d.ts +0 -0
  49. /package/src/store/{mapStore/layers → map/layer}/types.d.ts +0 -0
  50. /package/src/store/{mapStore/layers → map/layer}/utils.d.ts +0 -0
  51. /package/src/store/{mapStore/layers → map/layer}/utils.spec.d.ts +0 -0
  52. /package/src/store/{mapStore → map}/map/actions.d.ts +0 -0
  53. /package/src/store/{mapStore → map}/map/constants.d.ts +0 -0
  54. /package/src/store/{mapStore → map}/map/enums.d.ts +0 -0
  55. /package/src/store/{mapStore → map}/map/filterLayers.spec.d.ts +0 -0
  56. /package/src/store/{mapStore → map}/map/index.d.ts +0 -0
  57. /package/src/store/{mapStore → map}/map/listener.d.ts +0 -0
  58. /package/src/store/{mapStore → map}/map/listener.spec.d.ts +0 -0
  59. /package/src/store/{mapStore → map}/map/mapListenerAnimationUtils.d.ts +0 -0
  60. /package/src/store/{mapStore → map}/map/mapListenerAnimationUtils.spec.d.ts +0 -0
  61. /package/src/store/{mapStore → map}/map/metronomeListener.d.ts +0 -0
  62. /package/src/store/{mapStore → map}/map/reducer.d.ts +0 -0
  63. /package/src/store/{mapStore → map}/map/reducer.spec.d.ts +0 -0
  64. /package/src/store/{mapStore → map}/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -0
  65. /package/src/store/{mapStore → map}/map/selectors.spec.d.ts +0 -0
  66. /package/src/store/{mapStore → map}/map/utils.spec.d.ts +0 -0
  67. /package/src/store/{mapStore → map}/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -0
  68. /package/src/store/{mapStore → map}/service/index.d.ts +0 -0
  69. /package/src/store/{mapStore → map}/service/listener.d.ts +0 -0
  70. /package/src/store/{mapStore → map}/service/listener.spec.d.ts +0 -0
  71. /package/src/store/{mapStore → map}/service/localStorage.d.ts +0 -0
  72. /package/src/store/{mapStore → map}/service/localStorage.spec.d.ts +0 -0
  73. /package/src/store/{mapStore → map}/service/reducer.spec.d.ts +0 -0
  74. /package/src/store/{mapStore → map}/service/selectors.spec.d.ts +0 -0
  75. /package/src/store/{mapStore → map}/service/types.d.ts +0 -0
  76. /package/src/store/{mapStore → map}/storeTestSettings.d.ts +0 -0
@@ -1,97 +0,0 @@
1
- export declare const mapStoreActions: {
2
- serviceSetLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayersForServicePayload, "serviceReducer/serviceSetLayers">;
3
- mapStoreRemoveService: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").MapStoreRemoveServicePayload, "serviceReducer/mapStoreRemoveService">;
4
- fetchInitialServices: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").FetchInitialServicesPayload, "serviceReducer/fetchInitialServices">;
5
- setMapPreset: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetMapPresetPayload, string>;
6
- mapChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").SetMapDimensionPayload, string>;
7
- registerMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
8
- mapId: string;
9
- }, "mapReducer/registerMap">;
10
- unregisterMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
11
- mapId: string;
12
- }, "mapReducer/unregisterMap">;
13
- setStepBackwardOrForward: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").SetStepBackWardOrForward, "mapReducer/setStepBackwardOrForward">;
14
- setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").SetBboxPayload, "mapReducer/setBbox">;
15
- mapUpdateAllMapDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").UpdateAllMapDimensionsPayload, "mapReducer/mapUpdateAllMapDimensions">;
16
- mapStartAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetMapAnimationStartPayload, "mapReducer/mapStartAnimation">;
17
- mapStopAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetMapAnimationStopPayload, "mapReducer/mapStopAnimation">;
18
- setTimeSliderSpan: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderSpanPayload, "mapReducer/setTimeSliderSpan">;
19
- setTimeStep: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeStepPayload, "mapReducer/setTimeStep">;
20
- setAnimationStartTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetAnimationStartTimePayload, "mapReducer/setAnimationStartTime">;
21
- setAnimationEndTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetAnimationEndTimePayload, "mapReducer/setAnimationEndTime">;
22
- setAnimationDelay: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetAnimationDelayPayload, "mapReducer/setAnimationDelay">;
23
- layerMoveLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").MoveLayerPayload, "mapReducer/layerMoveLayer">;
24
- setAutoLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetAutoLayerIdPayload, "mapReducer/setAutoLayerId">;
25
- setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
26
- mapId: string;
27
- autoTimestepLayerId: string | undefined;
28
- }, "mapReducer/setAutoTimestepLayerId">;
29
- setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
30
- mapId: string;
31
- autoUpdateLayerId: string | undefined;
32
- }, "mapReducer/setAutoUpdateLayerId">;
33
- setTimeSliderWidth: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderWidthPayload, "mapReducer/setTimeSliderWidth">;
34
- setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
35
- setTimeSliderSecondsPerPx: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetTimeSliderSecondsPerPxPayload, "mapReducer/setTimeSliderSecondsPerPx">;
36
- toggleAutoUpdate: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate">;
37
- setEndTimeOverriding: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetEndTimeOverriding, "mapReducer/setEndTimeOverriding">;
38
- toggleTimestepAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleTimestepAutoPayload, "mapReducer/toggleTimestepAuto">;
39
- toggleTimeSpanAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleTimeSpanAutoPayload, "mapReducer/toggleTimeSpanAuto">;
40
- toggleAnimationLengthAuto: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleAnimationLengthAutoPayload, "mapReducer/toggleAnimationLengthAuto">;
41
- toggleTimeSliderHover: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleTimeSliderHoverPayload, "mapReducer/toggleTimeSliderHover">;
42
- toggleTimeSliderIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleTimeSliderIsVisiblePayload, "mapReducer/toggleTimeSliderIsVisible">;
43
- toggleZoomControls: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleZoomControlsPayload, "mapReducer/toggleZoomControls">;
44
- setMapPinLocation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").MapPinLocationPayload, "mapReducer/setMapPinLocation">;
45
- setDisableMapPin: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").DisableMapPinPayload, "mapReducer/setDisableMapPin">;
46
- toggleMapPinIsVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleMapPinIsVisiblePayload, "mapReducer/toggleMapPinIsVisible">;
47
- setDockedLayerManagerSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetDockedLayerManagerSize, "mapReducer/setDockedLayerManagerSize">;
48
- setMapPresetError: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
49
- mapId: string;
50
- error: string;
51
- }, "mapReducer/setMapPresetError">;
52
- setDefaultMapSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetDefaultMapSettingsPayload, "mapReducer/setDefaultMapSettings">;
53
- addLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").AddLayerPayload, "layerReducer/addLayer">;
54
- duplicateMapLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").DuplicateMapLayerPayload, "layerReducer/duplicateMapLayer">;
55
- layerChangeDimension: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayerDimensionPayload, "layerReducer/layerChangeDimension">;
56
- layerChangeEnabled: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayerEnabledPayload, "layerReducer/layerChangeEnabled">;
57
- layerChangeOpacity: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayerOpacityPayload, "layerReducer/layerChangeOpacity">;
58
- layerChangeStyle: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").SetLayerStylePayload, "layerReducer/layerChangeStyle">;
59
- layerChangeAcceptanceTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
60
- layerId: string;
61
- acceptanceTime: number | undefined;
62
- }, "layerReducer/layerChangeAcceptanceTime">;
63
- layerChangeName: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayerNamePayload, "layerReducer/layerChangeName">;
64
- layerChangeGeojson: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayerGeojsonPayload, "layerReducer/layerChangeGeojson">;
65
- layerSetGeojsonFromLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayerGeojsonFromLayerPayload, "layerReducer/layerSetGeojsonFromLayer">;
66
- layerDelete: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").DeleteLayerPayload, "layerReducer/layerDelete">;
67
- layerError: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ErrorLayerPayload, "layerReducer/layerError">;
68
- baseLayerDelete: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").DeleteLayerPayload, "layerReducer/baseLayerDelete">;
69
- setLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetLayersPayload, "layerReducer/setLayers">;
70
- setBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetBaseLayersPayload, "layerReducer/setBaseLayers">;
71
- addBaseLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").AddBaseLayerPayload, "layerReducer/addBaseLayer">;
72
- layerSetDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").SetLayerDimensionsPayload, "layerReducer/layerSetDimensions">;
73
- addAvailableBaseLayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").AddAvailableBaseLayerPayload, "layerReducer/addAvailableBaseLayer">;
74
- addAvailableBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").AddAvailableBaseLayersPayload, "layerReducer/addAvailableBaseLayers">;
75
- setAvailableBaseLayers: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetAvailableBaseLayersPayload, "layerReducer/setAvailableBaseLayers">;
76
- setUseLatestReferenceTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
77
- id: string;
78
- useLatestReferenceTime: boolean;
79
- }, "layerReducer/setUseLatestReferenceTime">;
80
- onUpdateLayerInformation: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/webmap-react/src").UpdateLayerInfoPayload, "layerReducer/onUpdateLayerInformation">;
81
- orderLayerToFront: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
82
- layerId: string;
83
- }, "layerReducer/orderLayerToFront">;
84
- setSelectedFeature: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").SetSelectedFeaturePayload, "layerReducer/setSelectedFeature">;
85
- updateFeature: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").UpdateFeaturePayload, "layerReducer/updateFeature">;
86
- updateFeatureProperties: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").UpdateFeaturePropertiesPayload, "layerReducer/updateFeatureProperties">;
87
- toggleFeatureMode: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ToggleFeatureModePayload, "layerReducer/toggleFeatureMode">;
88
- exitFeatureDrawMode: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ExitFeatureDrawModePayload, "layerReducer/exitFeatureDrawMode">;
89
- showLayerInfo: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("./types").ShowLayerInfoPayload, "layerReducer/showLayerInfo">;
90
- hideLayerInfo: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"layerReducer/hideLayerInfo">;
91
- };
92
- export * from './service';
93
- export * from './map';
94
- export * from './layers';
95
- export type { WebMapStateModuleState, MapPreset, MapPresetInitialProps, } from './types';
96
- export * as storeTestSettings from './storeTestSettings';
97
- export * from './config';
@@ -1,2 +0,0 @@
1
- import { CoreAppStore } from '../../types';
2
- export declare const mapUiListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<CoreAppStore, import("@reduxjs/toolkit").ThunkDispatch<CoreAppStore, unknown, import("redux").AnyAction>, unknown>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { Store } from '@reduxjs/toolkit';
3
- export declare const createCustomStore: () => Store;
4
- /**
5
- * A Provider component which provides the GeoWeb theme and store for the core.
6
- * Note: Should only be used with core components, as the provided store is only for core.
7
- * @param children
8
- * @returns
9
- */
10
- export declare const StoreProvider: React.FC<{
11
- children?: React.ReactNode;
12
- store: Store;
13
- }>;
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