@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.
Files changed (129) hide show
  1. package/index.esm.js +841 -326
  2. package/package.json +6 -6
  3. package/src/index.d.ts +0 -1
  4. package/src/store/common/auth/index.d.ts +0 -3
  5. package/src/store/common/auth/reducer.d.ts +0 -14
  6. package/src/store/common/auth/reducer.spec.d.ts +0 -1
  7. package/src/store/common/auth/selectors.d.ts +0 -87
  8. package/src/store/common/auth/selectors.spec.d.ts +0 -1
  9. package/src/store/common/auth/types.d.ts +0 -22
  10. package/src/store/common/index.d.ts +0 -81
  11. package/src/store/common/listener.d.ts +0 -2
  12. package/src/store/common/types.d.ts +0 -6
  13. package/src/store/drawingTool/index.d.ts +0 -4
  14. package/src/store/drawingTool/listener.d.ts +0 -3
  15. package/src/store/drawingTool/listener.spec.d.ts +0 -1
  16. package/src/store/drawingTool/reducer.d.ts +0 -45
  17. package/src/store/drawingTool/reducer.spec.d.ts +0 -4
  18. package/src/store/drawingTool/selectors.d.ts +0 -347
  19. package/src/store/drawingTool/selectors.spec.d.ts +0 -1
  20. package/src/store/drawingTool/testUtils.d.ts +0 -1
  21. package/src/store/drawingTool/utils.d.ts +0 -1
  22. package/src/store/drawingTool/utils.spec.d.ts +0 -1
  23. package/src/store/generic/actions.d.ts +0 -28
  24. package/src/store/generic/hooks.d.ts +0 -2
  25. package/src/store/generic/index.d.ts +0 -25
  26. package/src/store/generic/linking/constants.d.ts +0 -6
  27. package/src/store/generic/linking/index.d.ts +0 -1
  28. package/src/store/generic/listener.d.ts +0 -2
  29. package/src/store/generic/listener.spec.d.ts +0 -1
  30. package/src/store/generic/loadingIndicator/constants.d.ts +0 -1
  31. package/src/store/generic/loadingIndicator/index.d.ts +0 -3
  32. package/src/store/generic/loadingIndicator/reducer.d.ts +0 -13
  33. package/src/store/generic/loadingIndicator/reducer.spec.d.ts +0 -1
  34. package/src/store/generic/loadingIndicator/selectors.d.ts +0 -337
  35. package/src/store/generic/loadingIndicator/selectors.spec.d.ts +0 -1
  36. package/src/store/generic/loadingIndicator/types.d.ts +0 -22
  37. package/src/store/generic/selectors.d.ts +0 -410
  38. package/src/store/generic/selectors.spec.d.ts +0 -1
  39. package/src/store/generic/syncGroups/__mocks__/mockState.d.ts +0 -2
  40. package/src/store/generic/syncGroups/constants.d.ts +0 -4
  41. package/src/store/generic/syncGroups/hooks.d.ts +0 -8
  42. package/src/store/generic/syncGroups/hooks.spec.d.ts +0 -1
  43. package/src/store/generic/syncGroups/index.d.ts +0 -10
  44. package/src/store/generic/syncGroups/listener.d.ts +0 -2
  45. package/src/store/generic/syncGroups/listener.spec.d.ts +0 -1
  46. package/src/store/generic/syncGroups/reducer.d.ts +0 -60
  47. package/src/store/generic/syncGroups/reducer.spec.d.ts +0 -1
  48. package/src/store/generic/syncGroups/selector.d.ts +0 -29
  49. package/src/store/generic/syncGroups/selectors.d.ts +0 -235
  50. package/src/store/generic/syncGroups/selectors.spec.d.ts +0 -1
  51. package/src/store/generic/syncGroups/types.d.ts +0 -166
  52. package/src/store/generic/syncGroups/utils.d.ts +0 -76
  53. package/src/store/generic/syncGroups/utils.spec.d.ts +0 -1
  54. package/src/store/generic/synchronizationActions/actions.d.ts +0 -11
  55. package/src/store/generic/synchronizationActions/types.d.ts +0 -43
  56. package/src/store/generic/types.d.ts +0 -24
  57. package/src/store/generic/utils.d.ts +0 -9
  58. package/src/store/generic/utils.spec.d.ts +0 -1
  59. package/src/store/index.d.ts +0 -22
  60. package/src/store/map/index.d.ts +0 -5
  61. package/src/store/map/layer/index.d.ts +0 -5
  62. package/src/store/map/layer/listeners.d.ts +0 -2
  63. package/src/store/map/layer/listeners.spec.d.ts +0 -1
  64. package/src/store/map/layer/reducer.d.ts +0 -88
  65. package/src/store/map/layer/reducer.spec.d.ts +0 -1
  66. package/src/store/map/layer/selectors.d.ts +0 -2547
  67. package/src/store/map/layer/selectors.spec.d.ts +0 -1
  68. package/src/store/map/layer/types.d.ts +0 -175
  69. package/src/store/map/layer/utils.d.ts +0 -33
  70. package/src/store/map/layer/utils.spec.d.ts +0 -1
  71. package/src/store/map/map/actions.d.ts +0 -9
  72. package/src/store/map/map/constants.d.ts +0 -3
  73. package/src/store/map/map/enums.d.ts +0 -3
  74. package/src/store/map/map/filterLayers.d.ts +0 -10
  75. package/src/store/map/map/filterLayers.spec.d.ts +0 -1
  76. package/src/store/map/map/index.d.ts +0 -26
  77. package/src/store/map/map/listener.d.ts +0 -4
  78. package/src/store/map/map/listener.spec.d.ts +0 -1
  79. package/src/store/map/map/mapListenerAnimationUtils.d.ts +0 -28
  80. package/src/store/map/map/mapListenerAnimationUtils.spec.d.ts +0 -1
  81. package/src/store/map/map/metronomeListener.d.ts +0 -2
  82. package/src/store/map/map/olMapListenerAnimationUtils.d.ts +0 -46
  83. package/src/store/map/map/olMapListenerAnimationUtils.spec.d.ts +0 -1
  84. package/src/store/map/map/reducer.d.ts +0 -132
  85. package/src/store/map/map/reducer.spec.d.ts +0 -1
  86. package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +0 -7
  87. package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -1
  88. package/src/store/map/map/selectors.d.ts +0 -3535
  89. package/src/store/map/map/selectors.spec.d.ts +0 -1
  90. package/src/store/map/map/types.d.ts +0 -327
  91. package/src/store/map/map/utils.d.ts +0 -87
  92. package/src/store/map/map/utils.spec.d.ts +0 -1
  93. package/src/store/map/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
  94. package/src/store/map/service/index.d.ts +0 -4
  95. package/src/store/map/service/listener.d.ts +0 -5
  96. package/src/store/map/service/listener.spec.d.ts +0 -1
  97. package/src/store/map/service/localStorage.d.ts +0 -3
  98. package/src/store/map/service/localStorage.spec.d.ts +0 -1
  99. package/src/store/map/service/reducer.d.ts +0 -10
  100. package/src/store/map/service/reducer.spec.d.ts +0 -1
  101. package/src/store/map/service/selectors.d.ts +0 -386
  102. package/src/store/map/service/selectors.spec.d.ts +0 -1
  103. package/src/store/map/service/types.d.ts +0 -52
  104. package/src/store/map/storeTestSettings.d.ts +0 -8
  105. package/src/store/map/storeTestUtils.d.ts +0 -18
  106. package/src/store/map/types.d.ts +0 -11
  107. package/src/store/mapStore/openlayers/listener.d.ts +0 -2
  108. package/src/store/mapStore/openlayers/listener.spec.d.ts +0 -1
  109. package/src/store/mapStore/openlayers/syncGroupViewStore.d.ts +0 -26
  110. package/src/store/router/index.d.ts +0 -2
  111. package/src/store/router/listener.d.ts +0 -2
  112. package/src/store/router/listener.spec.d.ts +0 -1
  113. package/src/store/router/reducer.d.ts +0 -9
  114. package/src/store/router/reducer.spec.d.ts +0 -1
  115. package/src/store/router/types.d.ts +0 -9
  116. package/src/store/router/utils.d.ts +0 -4
  117. package/src/store/store.d.ts +0 -37
  118. package/src/store/types.d.ts +0 -7
  119. package/src/store/ui/index.d.ts +0 -5
  120. package/src/store/ui/reducer.d.ts +0 -39
  121. package/src/store/ui/reducer.spec.d.ts +0 -1
  122. package/src/store/ui/selectors.d.ts +0 -234
  123. package/src/store/ui/selectors.spec.d.ts +0 -1
  124. package/src/store/ui/types.d.ts +0 -87
  125. package/src/store/ui/useSetupDialog.d.ts +0 -11
  126. package/src/store/ui/useSetupDialog.spec.d.ts +0 -1
  127. package/src/store/unifyReducerMaps.d.ts +0 -3
  128. package/src/store/unifyReducermaps.spec.d.ts +0 -1
  129. 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 {};