@opengeoweb/store 15.3.0 → 17.0.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 +841 -326
- package/package.json +6 -6
- package/src/index.d.ts +0 -1
- package/src/store/common/auth/index.d.ts +0 -3
- package/src/store/common/auth/reducer.d.ts +0 -14
- package/src/store/common/auth/reducer.spec.d.ts +0 -1
- package/src/store/common/auth/selectors.d.ts +0 -87
- package/src/store/common/auth/selectors.spec.d.ts +0 -1
- package/src/store/common/auth/types.d.ts +0 -22
- package/src/store/common/index.d.ts +0 -81
- package/src/store/common/listener.d.ts +0 -2
- package/src/store/common/types.d.ts +0 -6
- package/src/store/drawingTool/index.d.ts +0 -4
- package/src/store/drawingTool/listener.d.ts +0 -3
- package/src/store/drawingTool/listener.spec.d.ts +0 -1
- package/src/store/drawingTool/reducer.d.ts +0 -45
- package/src/store/drawingTool/reducer.spec.d.ts +0 -4
- package/src/store/drawingTool/selectors.d.ts +0 -347
- package/src/store/drawingTool/selectors.spec.d.ts +0 -1
- package/src/store/drawingTool/testUtils.d.ts +0 -1
- package/src/store/drawingTool/utils.d.ts +0 -1
- package/src/store/drawingTool/utils.spec.d.ts +0 -1
- package/src/store/generic/actions.d.ts +0 -28
- package/src/store/generic/hooks.d.ts +0 -2
- package/src/store/generic/index.d.ts +0 -25
- package/src/store/generic/linking/constants.d.ts +0 -6
- package/src/store/generic/linking/index.d.ts +0 -1
- package/src/store/generic/listener.d.ts +0 -2
- package/src/store/generic/listener.spec.d.ts +0 -1
- package/src/store/generic/loadingIndicator/constants.d.ts +0 -1
- package/src/store/generic/loadingIndicator/index.d.ts +0 -3
- package/src/store/generic/loadingIndicator/reducer.d.ts +0 -13
- package/src/store/generic/loadingIndicator/reducer.spec.d.ts +0 -1
- package/src/store/generic/loadingIndicator/selectors.d.ts +0 -337
- package/src/store/generic/loadingIndicator/selectors.spec.d.ts +0 -1
- package/src/store/generic/loadingIndicator/types.d.ts +0 -22
- package/src/store/generic/selectors.d.ts +0 -410
- package/src/store/generic/selectors.spec.d.ts +0 -1
- package/src/store/generic/syncGroups/__mocks__/mockState.d.ts +0 -2
- package/src/store/generic/syncGroups/constants.d.ts +0 -4
- package/src/store/generic/syncGroups/hooks.d.ts +0 -8
- package/src/store/generic/syncGroups/hooks.spec.d.ts +0 -1
- package/src/store/generic/syncGroups/index.d.ts +0 -10
- package/src/store/generic/syncGroups/listener.d.ts +0 -2
- package/src/store/generic/syncGroups/listener.spec.d.ts +0 -1
- package/src/store/generic/syncGroups/reducer.d.ts +0 -60
- package/src/store/generic/syncGroups/reducer.spec.d.ts +0 -1
- package/src/store/generic/syncGroups/selector.d.ts +0 -29
- package/src/store/generic/syncGroups/selectors.d.ts +0 -235
- package/src/store/generic/syncGroups/selectors.spec.d.ts +0 -1
- package/src/store/generic/syncGroups/types.d.ts +0 -166
- package/src/store/generic/syncGroups/utils.d.ts +0 -76
- package/src/store/generic/syncGroups/utils.spec.d.ts +0 -1
- package/src/store/generic/synchronizationActions/actions.d.ts +0 -11
- package/src/store/generic/synchronizationActions/types.d.ts +0 -43
- package/src/store/generic/types.d.ts +0 -24
- package/src/store/generic/utils.d.ts +0 -9
- package/src/store/generic/utils.spec.d.ts +0 -1
- package/src/store/index.d.ts +0 -22
- package/src/store/map/index.d.ts +0 -5
- package/src/store/map/layer/index.d.ts +0 -5
- package/src/store/map/layer/listeners.d.ts +0 -2
- package/src/store/map/layer/listeners.spec.d.ts +0 -1
- package/src/store/map/layer/reducer.d.ts +0 -88
- package/src/store/map/layer/reducer.spec.d.ts +0 -1
- package/src/store/map/layer/selectors.d.ts +0 -2547
- package/src/store/map/layer/selectors.spec.d.ts +0 -1
- package/src/store/map/layer/types.d.ts +0 -175
- package/src/store/map/layer/utils.d.ts +0 -33
- package/src/store/map/layer/utils.spec.d.ts +0 -1
- package/src/store/map/map/actions.d.ts +0 -9
- package/src/store/map/map/constants.d.ts +0 -3
- package/src/store/map/map/enums.d.ts +0 -3
- package/src/store/map/map/filterLayers.d.ts +0 -10
- package/src/store/map/map/filterLayers.spec.d.ts +0 -1
- package/src/store/map/map/index.d.ts +0 -26
- package/src/store/map/map/listener.d.ts +0 -4
- package/src/store/map/map/listener.spec.d.ts +0 -1
- package/src/store/map/map/mapListenerAnimationUtils.d.ts +0 -28
- package/src/store/map/map/mapListenerAnimationUtils.spec.d.ts +0 -1
- package/src/store/map/map/metronomeListener.d.ts +0 -2
- package/src/store/map/map/olMapListenerAnimationUtils.d.ts +0 -46
- package/src/store/map/map/olMapListenerAnimationUtils.spec.d.ts +0 -1
- package/src/store/map/map/reducer.d.ts +0 -132
- package/src/store/map/map/reducer.spec.d.ts +0 -1
- package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +0 -7
- package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -1
- package/src/store/map/map/selectors.d.ts +0 -3535
- package/src/store/map/map/selectors.spec.d.ts +0 -1
- package/src/store/map/map/types.d.ts +0 -327
- package/src/store/map/map/utils.d.ts +0 -87
- package/src/store/map/map/utils.spec.d.ts +0 -1
- package/src/store/map/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
- package/src/store/map/service/index.d.ts +0 -4
- package/src/store/map/service/listener.d.ts +0 -5
- package/src/store/map/service/listener.spec.d.ts +0 -1
- package/src/store/map/service/localStorage.d.ts +0 -3
- package/src/store/map/service/localStorage.spec.d.ts +0 -1
- package/src/store/map/service/reducer.d.ts +0 -10
- package/src/store/map/service/reducer.spec.d.ts +0 -1
- package/src/store/map/service/selectors.d.ts +0 -386
- package/src/store/map/service/selectors.spec.d.ts +0 -1
- package/src/store/map/service/types.d.ts +0 -52
- package/src/store/map/storeTestSettings.d.ts +0 -8
- package/src/store/map/storeTestUtils.d.ts +0 -18
- package/src/store/map/types.d.ts +0 -11
- package/src/store/mapStore/openlayers/listener.d.ts +0 -2
- package/src/store/mapStore/openlayers/listener.spec.d.ts +0 -1
- package/src/store/mapStore/openlayers/syncGroupViewStore.d.ts +0 -26
- package/src/store/router/index.d.ts +0 -2
- package/src/store/router/listener.d.ts +0 -2
- package/src/store/router/listener.spec.d.ts +0 -1
- package/src/store/router/reducer.d.ts +0 -9
- package/src/store/router/reducer.spec.d.ts +0 -1
- package/src/store/router/types.d.ts +0 -9
- package/src/store/router/utils.d.ts +0 -4
- package/src/store/store.d.ts +0 -37
- package/src/store/types.d.ts +0 -7
- package/src/store/ui/index.d.ts +0 -5
- package/src/store/ui/reducer.d.ts +0 -39
- package/src/store/ui/reducer.spec.d.ts +0 -1
- package/src/store/ui/selectors.d.ts +0 -234
- package/src/store/ui/selectors.spec.d.ts +0 -1
- package/src/store/ui/types.d.ts +0 -87
- package/src/store/ui/useSetupDialog.d.ts +0 -11
- package/src/store/ui/useSetupDialog.spec.d.ts +0 -1
- package/src/store/unifyReducerMaps.d.ts +0 -3
- package/src/store/unifyReducermaps.spec.d.ts +0 -1
- package/src/store/utils.d.ts +0 -6
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import type { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import type { SetLayerAcceptanceTimePayload, SetLayerDimensionsPayload, SetLayerStylePayload, UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
|
|
3
|
-
import type { LayerState, Layer, AddLayerPayload, SetLayerDimensionPayload, SetLayerEnabledPayload, SetLayerOpacityPayload, SetLayerNamePayload, SetLayerGeojsonPayload, DeleteLayerPayload, ErrorLayerPayload, SetLayersPayload, SetBaseLayersPayload, AddBaseLayerPayload, AddAvailableBaseLayerPayload, AddAvailableBaseLayersPayload, SetAvailableBaseLayersPayload, SetSelectedFeaturePayload, UpdateFeaturePayload, ExitFeatureDrawModePayload, ToggleFeatureModePayload, UpdateFeaturePropertiesPayload, DuplicateMapLayerPayload, ShowLayerInfoPayload, SetLayerGeojsonFromLayerPayload, SetLayerOptionsPayload } from './types';
|
|
4
|
-
export declare const createLayer: ({ id, opacity, acceptanceTimeInMinutes, enabled, layerType, status, useLatestReferenceTime, ...props }: Layer) => Layer;
|
|
5
|
-
export declare const initialState: LayerState;
|
|
6
|
-
export declare const slice: import("@reduxjs/toolkit").Slice<LayerState, {
|
|
7
|
-
addLayer: (draft: Draft<LayerState>, action: PayloadAction<AddLayerPayload>) => void;
|
|
8
|
-
duplicateMapLayer: (draft: Draft<LayerState>, action: PayloadAction<DuplicateMapLayerPayload>) => void;
|
|
9
|
-
layerChangeDimension: (draft: Draft<LayerState>, action: PayloadAction<SetLayerDimensionPayload>) => void;
|
|
10
|
-
layerChangeEnabled: (draft: Draft<LayerState>, action: PayloadAction<SetLayerEnabledPayload>) => void;
|
|
11
|
-
layerChangeOpacity: (draft: Draft<LayerState>, action: PayloadAction<SetLayerOpacityPayload>) => void;
|
|
12
|
-
layerChangeStyle: (draft: Draft<LayerState>, action: PayloadAction<SetLayerStylePayload>) => void;
|
|
13
|
-
layerChangeAcceptanceTime: (draft: Draft<LayerState>, action: PayloadAction<SetLayerAcceptanceTimePayload>) => void;
|
|
14
|
-
layerChangeName: (draft: Draft<LayerState>, action: PayloadAction<SetLayerNamePayload>) => void;
|
|
15
|
-
layerChangeOptions: (draft: Draft<LayerState>, action: PayloadAction<SetLayerOptionsPayload>) => void;
|
|
16
|
-
layerChangeGeojson: (draft: Draft<LayerState>, action: PayloadAction<SetLayerGeojsonPayload>) => void;
|
|
17
|
-
layerSetGeojsonFromLayer: (draft: Draft<LayerState>, action: PayloadAction<SetLayerGeojsonFromLayerPayload>) => void;
|
|
18
|
-
layerDelete: (draft: Draft<LayerState>, action: PayloadAction<DeleteLayerPayload>) => void;
|
|
19
|
-
layerError: (draft: Draft<LayerState>, action: PayloadAction<ErrorLayerPayload>) => void;
|
|
20
|
-
baseLayerDelete: (draft: Draft<LayerState>, action: PayloadAction<DeleteLayerPayload>) => void;
|
|
21
|
-
setLayers: (draft: Draft<LayerState>, action: PayloadAction<SetLayersPayload>) => void;
|
|
22
|
-
setBaseLayers: (draft: Draft<LayerState>, action: PayloadAction<SetBaseLayersPayload>) => void;
|
|
23
|
-
addBaseLayer: (draft: Draft<LayerState>, action: PayloadAction<AddBaseLayerPayload>) => void;
|
|
24
|
-
layerSetDimensions: (draft: Draft<LayerState>, action: PayloadAction<SetLayerDimensionsPayload>) => void;
|
|
25
|
-
addAvailableBaseLayer: (draft: Draft<LayerState>, action: PayloadAction<AddAvailableBaseLayerPayload>) => void;
|
|
26
|
-
addAvailableBaseLayers: (draft: Draft<LayerState>, action: PayloadAction<AddAvailableBaseLayersPayload>) => void;
|
|
27
|
-
setAvailableBaseLayers: (draft: Draft<LayerState>, action: PayloadAction<SetAvailableBaseLayersPayload>) => void;
|
|
28
|
-
setUseLatestReferenceTime: (draft: Draft<LayerState>, action: PayloadAction<{
|
|
29
|
-
id: string;
|
|
30
|
-
useLatestReferenceTime: boolean;
|
|
31
|
-
}>) => void;
|
|
32
|
-
onUpdateLayerInformation: (draft: Draft<LayerState>, action: PayloadAction<UpdateLayerInfoPayload>) => void;
|
|
33
|
-
orderLayerToFront: (draft: Draft<LayerState>, action: PayloadAction<{
|
|
34
|
-
layerId: string;
|
|
35
|
-
}>) => void;
|
|
36
|
-
setSelectedFeature: (draft: Draft<LayerState>, action: PayloadAction<SetSelectedFeaturePayload>) => void;
|
|
37
|
-
updateFeature: (draft: Draft<LayerState>, action: PayloadAction<UpdateFeaturePayload>) => void;
|
|
38
|
-
updateFeatureProperties: (draft: Draft<LayerState>, action: PayloadAction<UpdateFeaturePropertiesPayload>) => void;
|
|
39
|
-
toggleFeatureMode: (draft: Draft<LayerState>, action: PayloadAction<ToggleFeatureModePayload>) => void;
|
|
40
|
-
exitFeatureDrawMode: (draft: Draft<LayerState>, action: PayloadAction<ExitFeatureDrawModePayload>) => void;
|
|
41
|
-
toggleSelectableFeatures: (draft: Draft<LayerState>, action: PayloadAction<{
|
|
42
|
-
layerId: string;
|
|
43
|
-
}>) => void;
|
|
44
|
-
showLayerInfo: (draft: Draft<LayerState>, action: PayloadAction<ShowLayerInfoPayload>) => void;
|
|
45
|
-
hideLayerInfo: (draft: Draft<LayerState>) => void;
|
|
46
|
-
}, "layerReducer", "layerReducer", import("@reduxjs/toolkit").SliceSelectors<LayerState>>;
|
|
47
|
-
export declare const layerReducer: import("redux").Reducer<LayerState>, layerActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
48
|
-
addLayer: (draft: Draft<LayerState>, action: PayloadAction<AddLayerPayload>) => void;
|
|
49
|
-
duplicateMapLayer: (draft: Draft<LayerState>, action: PayloadAction<DuplicateMapLayerPayload>) => void;
|
|
50
|
-
layerChangeDimension: (draft: Draft<LayerState>, action: PayloadAction<SetLayerDimensionPayload>) => void;
|
|
51
|
-
layerChangeEnabled: (draft: Draft<LayerState>, action: PayloadAction<SetLayerEnabledPayload>) => void;
|
|
52
|
-
layerChangeOpacity: (draft: Draft<LayerState>, action: PayloadAction<SetLayerOpacityPayload>) => void;
|
|
53
|
-
layerChangeStyle: (draft: Draft<LayerState>, action: PayloadAction<SetLayerStylePayload>) => void;
|
|
54
|
-
layerChangeAcceptanceTime: (draft: Draft<LayerState>, action: PayloadAction<SetLayerAcceptanceTimePayload>) => void;
|
|
55
|
-
layerChangeName: (draft: Draft<LayerState>, action: PayloadAction<SetLayerNamePayload>) => void;
|
|
56
|
-
layerChangeOptions: (draft: Draft<LayerState>, action: PayloadAction<SetLayerOptionsPayload>) => void;
|
|
57
|
-
layerChangeGeojson: (draft: Draft<LayerState>, action: PayloadAction<SetLayerGeojsonPayload>) => void;
|
|
58
|
-
layerSetGeojsonFromLayer: (draft: Draft<LayerState>, action: PayloadAction<SetLayerGeojsonFromLayerPayload>) => void;
|
|
59
|
-
layerDelete: (draft: Draft<LayerState>, action: PayloadAction<DeleteLayerPayload>) => void;
|
|
60
|
-
layerError: (draft: Draft<LayerState>, action: PayloadAction<ErrorLayerPayload>) => void;
|
|
61
|
-
baseLayerDelete: (draft: Draft<LayerState>, action: PayloadAction<DeleteLayerPayload>) => void;
|
|
62
|
-
setLayers: (draft: Draft<LayerState>, action: PayloadAction<SetLayersPayload>) => void;
|
|
63
|
-
setBaseLayers: (draft: Draft<LayerState>, action: PayloadAction<SetBaseLayersPayload>) => void;
|
|
64
|
-
addBaseLayer: (draft: Draft<LayerState>, action: PayloadAction<AddBaseLayerPayload>) => void;
|
|
65
|
-
layerSetDimensions: (draft: Draft<LayerState>, action: PayloadAction<SetLayerDimensionsPayload>) => void;
|
|
66
|
-
addAvailableBaseLayer: (draft: Draft<LayerState>, action: PayloadAction<AddAvailableBaseLayerPayload>) => void;
|
|
67
|
-
addAvailableBaseLayers: (draft: Draft<LayerState>, action: PayloadAction<AddAvailableBaseLayersPayload>) => void;
|
|
68
|
-
setAvailableBaseLayers: (draft: Draft<LayerState>, action: PayloadAction<SetAvailableBaseLayersPayload>) => void;
|
|
69
|
-
setUseLatestReferenceTime: (draft: Draft<LayerState>, action: PayloadAction<{
|
|
70
|
-
id: string;
|
|
71
|
-
useLatestReferenceTime: boolean;
|
|
72
|
-
}>) => void;
|
|
73
|
-
onUpdateLayerInformation: (draft: Draft<LayerState>, action: PayloadAction<UpdateLayerInfoPayload>) => void;
|
|
74
|
-
orderLayerToFront: (draft: Draft<LayerState>, action: PayloadAction<{
|
|
75
|
-
layerId: string;
|
|
76
|
-
}>) => void;
|
|
77
|
-
setSelectedFeature: (draft: Draft<LayerState>, action: PayloadAction<SetSelectedFeaturePayload>) => void;
|
|
78
|
-
updateFeature: (draft: Draft<LayerState>, action: PayloadAction<UpdateFeaturePayload>) => void;
|
|
79
|
-
updateFeatureProperties: (draft: Draft<LayerState>, action: PayloadAction<UpdateFeaturePropertiesPayload>) => void;
|
|
80
|
-
toggleFeatureMode: (draft: Draft<LayerState>, action: PayloadAction<ToggleFeatureModePayload>) => void;
|
|
81
|
-
exitFeatureDrawMode: (draft: Draft<LayerState>, action: PayloadAction<ExitFeatureDrawModePayload>) => void;
|
|
82
|
-
toggleSelectableFeatures: (draft: Draft<LayerState>, action: PayloadAction<{
|
|
83
|
-
layerId: string;
|
|
84
|
-
}>) => void;
|
|
85
|
-
showLayerInfo: (draft: Draft<LayerState>, action: PayloadAction<ShowLayerInfoPayload>) => void;
|
|
86
|
-
hideLayerInfo: (draft: Draft<LayerState>) => void;
|
|
87
|
-
}, "layerReducer">;
|
|
88
|
-
export type LayerActions = ReturnType<typeof layerActions.layerSetDimensions> | ReturnType<typeof layerActions.layerChangeStyle> | ReturnType<typeof layerActions.addAvailableBaseLayer> | ReturnType<typeof layerActions.addAvailableBaseLayers> | ReturnType<typeof layerActions.addBaseLayer> | ReturnType<typeof layerActions.addLayer> | ReturnType<typeof layerActions.baseLayerDelete> | ReturnType<typeof layerActions.onUpdateLayerInformation> | ReturnType<typeof layerActions.layerChangeDimension> | ReturnType<typeof layerActions.layerChangeEnabled> | ReturnType<typeof layerActions.layerChangeGeojson> | ReturnType<typeof layerActions.layerChangeName> | ReturnType<typeof layerActions.layerChangeOpacity> | ReturnType<typeof layerActions.layerDelete> | ReturnType<typeof layerActions.layerError> | ReturnType<typeof layerActions.setBaseLayers> | ReturnType<typeof layerActions.setLayers>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|