@opengeoweb/store 5.2.1 → 6.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 (126) hide show
  1. package/index.js +36386 -2
  2. package/package.json +14 -2
  3. package/src/index.d.ts +1 -1
  4. package/src/store/app/config.d.ts +4 -0
  5. package/src/store/app/index.d.ts +2 -0
  6. package/src/store/app/reducer.d.ts +15 -0
  7. package/src/store/app/reducer.spec.d.ts +1 -0
  8. package/src/store/app/types.d.ts +6 -0
  9. package/src/store/coreModuleConfig.d.ts +1 -0
  10. package/src/store/generic/actions.d.ts +28 -0
  11. package/src/store/generic/config.d.ts +5 -0
  12. package/src/store/generic/index.d.ts +16 -0
  13. package/src/store/generic/sagas.d.ts +14 -0
  14. package/src/store/generic/sagas.spec.d.ts +1 -0
  15. package/src/store/generic/selectors.d.ts +22 -0
  16. package/src/store/generic/selectors.spec.d.ts +1 -0
  17. package/src/store/generic/synchronizationActions/actions.d.ts +11 -0
  18. package/src/store/generic/synchronizationActions/types.d.ts +34 -0
  19. package/src/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +2 -0
  20. package/src/store/generic/synchronizationGroups/constants.d.ts +4 -0
  21. package/src/store/generic/synchronizationGroups/index.d.ts +6 -0
  22. package/src/store/generic/synchronizationGroups/reducer.d.ts +26 -0
  23. package/src/store/generic/synchronizationGroups/reducer.spec.d.ts +1 -0
  24. package/src/store/generic/synchronizationGroups/sagas.d.ts +8 -0
  25. package/src/store/generic/synchronizationGroups/sagas.spec.d.ts +1 -0
  26. package/src/store/generic/synchronizationGroups/selector.d.ts +19 -0
  27. package/src/store/generic/synchronizationGroups/selectors.d.ts +76 -0
  28. package/src/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -0
  29. package/src/store/generic/synchronizationGroups/types.d.ts +98 -0
  30. package/src/store/generic/synchronizationGroups/utils.d.ts +76 -0
  31. package/src/store/generic/synchronizationGroups/utils.spec.d.ts +1 -0
  32. package/src/store/generic/types.d.ts +22 -0
  33. package/src/store/generic/utils.d.ts +9 -0
  34. package/src/store/generic/utils.spec.d.ts +1 -0
  35. package/src/store/getCapabilities/getCapabilities.d.ts +18 -0
  36. package/src/store/getCapabilities/getCapabilities.spec.d.ts +1 -0
  37. package/src/store/getCapabilities/index.d.ts +2 -0
  38. package/src/store/getCapabilities/mocks/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +1 -0
  39. package/src/store/getCapabilities/mocks/index.d.ts +89 -0
  40. package/src/store/getCapabilities/mocks/mockGetCapabilities.d.ts +88 -0
  41. package/src/store/index.d.ts +13 -0
  42. package/src/store/layerSelect/config.d.ts +5 -0
  43. package/src/store/layerSelect/index.d.ts +4 -0
  44. package/src/store/layerSelect/localStorage.d.ts +3 -0
  45. package/src/store/layerSelect/localStorage.spec.d.ts +1 -0
  46. package/src/store/layerSelect/reducer.d.ts +21 -0
  47. package/src/store/layerSelect/reducer.spec.d.ts +1 -0
  48. package/src/store/layerSelect/sagas.d.ts +10 -0
  49. package/src/store/layerSelect/sagas.spec.d.ts +1 -0
  50. package/src/store/layerSelect/selectors.d.ts +157 -0
  51. package/src/store/layerSelect/selectors.spec.d.ts +1 -0
  52. package/src/store/layerSelect/types.d.ts +95 -0
  53. package/src/store/layerSelect/utils.d.ts +6 -0
  54. package/src/store/layerSelect/utils.spec.d.ts +1 -0
  55. package/src/store/mapStore/config.d.ts +4 -0
  56. package/src/store/mapStore/index.d.ts +77 -0
  57. package/src/store/mapStore/layers/index.d.ts +4 -0
  58. package/src/store/mapStore/layers/reducer.d.ts +56 -0
  59. package/src/store/mapStore/layers/reducer.spec.d.ts +1 -0
  60. package/src/store/mapStore/layers/selectors.d.ts +443 -0
  61. package/src/store/mapStore/layers/selectors.spec.d.ts +1 -0
  62. package/src/store/mapStore/layers/types.d.ts +165 -0
  63. package/src/store/mapStore/layers/utils.d.ts +12 -0
  64. package/src/store/mapStore/layers/utils.spec.d.ts +1 -0
  65. package/src/store/mapStore/map/actions.d.ts +8 -0
  66. package/src/store/mapStore/map/constants.d.ts +6 -0
  67. package/src/store/mapStore/map/defaultLayers.d.ts +15 -0
  68. package/src/store/mapStore/map/enums.d.ts +23 -0
  69. package/src/store/mapStore/map/filterLayers.d.ts +10 -0
  70. package/src/store/mapStore/map/filterLayers.spec.d.ts +1 -0
  71. package/src/store/mapStore/map/index.d.ts +35 -0
  72. package/src/store/mapStore/map/reducer.d.ts +98 -0
  73. package/src/store/mapStore/map/reducer.spec.d.ts +1 -0
  74. package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -0
  75. package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +1 -0
  76. package/src/store/mapStore/map/sagas.d.ts +24 -0
  77. package/src/store/mapStore/map/sagas.spec.d.ts +1 -0
  78. package/src/store/mapStore/map/selectors.d.ts +1002 -0
  79. package/src/store/mapStore/map/selectors.spec.d.ts +1 -0
  80. package/src/store/mapStore/map/types.d.ts +242 -0
  81. package/src/store/mapStore/map/utils.d.ts +94 -0
  82. package/src/store/mapStore/map/utils.spec.d.ts +1 -0
  83. package/src/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
  84. package/src/store/mapStore/service/index.d.ts +3 -0
  85. package/src/store/mapStore/service/reducer.d.ts +11 -0
  86. package/src/store/mapStore/service/reducer.spec.d.ts +1 -0
  87. package/src/store/mapStore/service/sagas.d.ts +7 -0
  88. package/src/store/mapStore/service/sagas.spec.d.ts +1 -0
  89. package/src/store/mapStore/service/selectors.d.ts +121 -0
  90. package/src/store/mapStore/service/selectors.spec.d.ts +1 -0
  91. package/src/store/mapStore/service/types.d.ts +49 -0
  92. package/src/store/mapStore/storeTestSettings.d.ts +10 -0
  93. package/src/store/mapStore/storeTestUtils.d.ts +10 -0
  94. package/src/store/mapStore/types.d.ts +11 -0
  95. package/src/store/mapStore/utils/helpers.d.ts +68 -0
  96. package/src/store/mapStore/utils/helpers.spec.d.ts +1 -0
  97. package/src/store/mapStore/utils/index.d.ts +2 -0
  98. package/src/store/mapStore/utils/tilesettings.d.ts +334 -0
  99. package/src/store/router/config.d.ts +4 -0
  100. package/src/store/router/index.d.ts +3 -0
  101. package/src/store/router/reducer.d.ts +9 -0
  102. package/src/store/router/reducer.spec.d.ts +1 -0
  103. package/src/store/router/sagas.d.ts +5 -0
  104. package/src/store/router/sagas.spec.d.ts +1 -0
  105. package/src/store/router/types.d.ts +8 -0
  106. package/src/store/router/utils.d.ts +3 -0
  107. package/src/store/snackbar/config.d.ts +4 -0
  108. package/src/store/snackbar/index.d.ts +4 -0
  109. package/src/store/snackbar/reducer.d.ts +11 -0
  110. package/src/store/snackbar/reducer.spec.d.ts +1 -0
  111. package/src/store/snackbar/sagas.d.ts +5 -0
  112. package/src/store/snackbar/sagas.spec.d.ts +1 -0
  113. package/src/store/snackbar/selectors.d.ts +10 -0
  114. package/src/store/snackbar/selectors.spec.d.ts +1 -0
  115. package/src/store/snackbar/types.d.ts +15 -0
  116. package/src/store/types.d.ts +5 -0
  117. package/src/store/ui/config.d.ts +4 -0
  118. package/src/store/ui/index.d.ts +3 -0
  119. package/src/store/ui/reducer.d.ts +35 -0
  120. package/src/store/ui/reducer.spec.d.ts +1 -0
  121. package/src/store/ui/sagas.d.ts +5 -0
  122. package/src/store/ui/sagas.test.d.ts +1 -0
  123. package/src/store/ui/selectors.d.ts +144 -0
  124. package/src/store/ui/selectors.spec.d.ts +1 -0
  125. package/src/store/ui/types.d.ts +78 -0
  126. package/src/store/utils.d.ts +8 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,242 @@
1
+ import { TimeInterval } from '@opengeoweb/webmap';
2
+ import type { Layer, LayerActionOrigin } from '../types';
3
+ import { MapActionOrigin } from './enums';
4
+ export interface Dimension {
5
+ name?: string;
6
+ units?: string;
7
+ currentValue: string;
8
+ maxValue?: string;
9
+ minValue?: string;
10
+ timeInterval?: TimeInterval;
11
+ synced?: boolean;
12
+ validSyncSelection?: boolean;
13
+ values?: string;
14
+ }
15
+ export interface WebMap {
16
+ id: string;
17
+ isAnimating: boolean;
18
+ animationStartTime?: string;
19
+ animationEndTime?: string;
20
+ isAutoUpdating: boolean;
21
+ isEndTimeOverriding: boolean;
22
+ srs: string;
23
+ bbox: Bbox;
24
+ mapLayers: string[];
25
+ baseLayers: string[];
26
+ overLayers: string[];
27
+ featureLayers: string[];
28
+ dimensions?: Dimension[];
29
+ autoUpdateLayerId?: string;
30
+ autoTimeStepLayerId?: string;
31
+ timeSliderSpan?: number;
32
+ timeStep?: number;
33
+ animationDelay?: number;
34
+ timeSliderWidth?: number;
35
+ timeSliderCenterTime?: number;
36
+ timeSliderUnfilteredSelectedTime?: number;
37
+ timeSliderSecondsPerPx?: number;
38
+ isTimestepAuto?: boolean;
39
+ isTimeSpanAuto?: boolean;
40
+ isTimeSliderHoverOn?: boolean;
41
+ isTimeSliderVisible?: boolean;
42
+ shouldShowZoomControls?: boolean;
43
+ mapPinLocation?: MapLocation;
44
+ disableMapPin?: boolean;
45
+ displayMapPin?: boolean;
46
+ legendId?: string;
47
+ dockedLayerManagerSize?: DockedLayerManagerSize;
48
+ }
49
+ export declare type DockedLayerManagerSize = 'sizeSmall' | 'sizeMedium' | 'sizeLarge' | '';
50
+ export interface WebMapState {
51
+ byId: Record<string, WebMap>;
52
+ allIds: string[];
53
+ }
54
+ export interface MapLocation {
55
+ lat: number;
56
+ lon: number;
57
+ }
58
+ export interface Bbox {
59
+ left: number;
60
+ right: number;
61
+ top: number;
62
+ bottom: number;
63
+ }
64
+ export declare enum AnimationLength {
65
+ Minutes15 = 15,
66
+ Minutes30 = 30,
67
+ Hours1 = 60,
68
+ Hours2 = 120,
69
+ Hours3 = 180,
70
+ Hours6 = 360,
71
+ Hours12 = 720,
72
+ Hours24 = 1440
73
+ }
74
+ export declare type SpeedFactorType = 0.1 | 0.2 | 0.5 | 1 | 2 | 4 | 8 | 16;
75
+ export interface AnimationPayloadType {
76
+ duration?: number;
77
+ interval?: number;
78
+ speed?: SpeedFactorType;
79
+ endTime?: string;
80
+ shouldEndtimeOverride?: boolean;
81
+ }
82
+ export interface MapPreset {
83
+ layers?: Layer[];
84
+ activeLayerId?: string;
85
+ autoTimeStepLayerId?: string;
86
+ autoUpdateLayerId?: string;
87
+ proj?: {
88
+ bbox: Bbox;
89
+ srs: string;
90
+ };
91
+ dimensions?: Dimension[];
92
+ shouldAnimate?: boolean;
93
+ shouldAutoUpdate?: boolean;
94
+ showTimeSlider?: boolean;
95
+ displayMapPin?: boolean;
96
+ shouldShowZoomControls?: boolean;
97
+ toggleTimestepAuto?: boolean;
98
+ animationPayload?: AnimationPayloadType;
99
+ shouldShowLegend?: boolean;
100
+ shouldShowLayerManager?: boolean;
101
+ shouldShowDockedLayerManager?: boolean;
102
+ dockedLayerManagerSize?: DockedLayerManagerSize;
103
+ }
104
+ export interface MapPresetInitialProps {
105
+ mapPreset: MapPreset;
106
+ syncGroupsIds?: string[];
107
+ }
108
+ export interface MoveLayerPayload {
109
+ mapId: string;
110
+ oldIndex: number;
111
+ newIndex: number;
112
+ origin: string;
113
+ }
114
+ export interface SetBboxPayload {
115
+ mapId: string;
116
+ bbox: Bbox;
117
+ srs?: string;
118
+ }
119
+ export interface SetMapDimensionPayload {
120
+ origin: string;
121
+ mapId: string;
122
+ dimension: Dimension;
123
+ }
124
+ export interface UpdateAllMapDimensionsPayload {
125
+ origin: string;
126
+ mapId: string;
127
+ dimensions: Dimension[];
128
+ }
129
+ export declare type TimeListType = {
130
+ name: string;
131
+ value: string;
132
+ };
133
+ export interface SetMapAnimationStartPayload {
134
+ mapId: string;
135
+ start?: string;
136
+ initialTime?: string;
137
+ end?: string;
138
+ interval?: number;
139
+ timeList?: TimeListType[];
140
+ origin?: MapActionOrigin;
141
+ }
142
+ export interface SetMapAnimationStopPayload {
143
+ mapId: string;
144
+ origin?: MapActionOrigin;
145
+ }
146
+ export interface SetAutoLayerIdPayload {
147
+ mapId: string;
148
+ layerId?: string;
149
+ autoUpdateLayerId?: string;
150
+ autoTimeStepLayerId?: string;
151
+ origin?: LayerActionOrigin | string;
152
+ }
153
+ export interface ToggleAutoUpdatePayload {
154
+ mapId: string;
155
+ shouldAutoUpdate: boolean;
156
+ origin?: MapActionOrigin;
157
+ }
158
+ export interface SetEndTimeOverriding {
159
+ mapId: string;
160
+ shouldEndtimeOverride: boolean;
161
+ }
162
+ export interface SetTimeSliderSpanPayload {
163
+ mapId: string;
164
+ timeSliderSpan: number;
165
+ }
166
+ export interface SetTimeStepPayload {
167
+ mapId: string;
168
+ timeStep?: number;
169
+ origin?: MapActionOrigin;
170
+ }
171
+ export interface SetAnimationDelayPayload {
172
+ mapId: string;
173
+ animationDelay: number;
174
+ origin?: MapActionOrigin;
175
+ }
176
+ export interface SetAnimationStartTimePayload {
177
+ mapId: string;
178
+ animationStartTime: string;
179
+ }
180
+ export interface SetAnimationEndTimePayload {
181
+ mapId: string;
182
+ animationEndTime: string;
183
+ }
184
+ export interface ToggleTimestepAutoPayload {
185
+ mapId: string;
186
+ timestepAuto: boolean;
187
+ origin?: MapActionOrigin;
188
+ }
189
+ export interface ToggleTimeSpanAutoPayload {
190
+ mapId: string;
191
+ timeSpanAuto: boolean;
192
+ origin?: MapActionOrigin;
193
+ }
194
+ export interface ToggleTimeSliderHoverPayload {
195
+ mapId: string;
196
+ isTimeSliderHoverOn: boolean;
197
+ }
198
+ export interface ToggleTimeSliderIsVisiblePayload {
199
+ mapId: string;
200
+ isTimeSliderVisible: boolean;
201
+ origin?: MapActionOrigin;
202
+ }
203
+ export interface SetTimeSliderWidthPayload {
204
+ mapId: string;
205
+ timeSliderWidth: number;
206
+ }
207
+ export interface SetTimeSliderCenterTimePayload {
208
+ mapId: string;
209
+ timeSliderCenterTime: number;
210
+ }
211
+ export interface SetTimeSliderUnfilteredSelectedTimePayload {
212
+ mapId: string;
213
+ timeSliderUnfilteredSelectedTime: number;
214
+ }
215
+ export interface SetTimeSliderSecondsPerPxPayload {
216
+ mapId: string;
217
+ timeSliderSecondsPerPx: number;
218
+ }
219
+ export interface ToggleZoomControlsPayload {
220
+ mapId: string;
221
+ shouldShowZoomControls: boolean;
222
+ }
223
+ export interface MapPinLocationPayload {
224
+ mapId: string;
225
+ mapPinLocation: MapLocation;
226
+ }
227
+ export interface DisableMapPinPayload {
228
+ mapId: string;
229
+ disableMapPin: boolean;
230
+ }
231
+ export interface ToggleMapPinIsVisiblePayload {
232
+ mapId: string;
233
+ displayMapPin: boolean;
234
+ }
235
+ export interface SetMapPresetPayload {
236
+ mapId: string;
237
+ initialProps: MapPresetInitialProps;
238
+ }
239
+ export interface SetDockedLayerManagerSize {
240
+ mapId: string;
241
+ dockedLayerManagerSize: DockedLayerManagerSize;
242
+ }
@@ -0,0 +1,94 @@
1
+ import { TimeInterval } from '@opengeoweb/webmap';
2
+ import { Bbox, Dimension } from './types';
3
+ import { Scale } from './enums';
4
+ import type { WebMapState, WebMap, SpeedFactorType } from '../types';
5
+ import type { Layer } from '../layers/types';
6
+ export interface CreateMapProps {
7
+ id: string;
8
+ isAnimating?: boolean;
9
+ animationStartTime?: string;
10
+ animationEndTime?: string;
11
+ isAutoUpdating?: boolean;
12
+ isEndTimeOverriding?: boolean;
13
+ srs?: string;
14
+ bbox?: Bbox;
15
+ mapLayers?: string[];
16
+ baseLayers?: string[];
17
+ overLayers?: string[];
18
+ featureLayers?: string[];
19
+ dimensions?: Dimension[];
20
+ autoTimeStepLayerId?: string;
21
+ autoUpdateLayerId?: string;
22
+ timeSliderSpan?: number;
23
+ timeStep?: number;
24
+ animationDelay?: number;
25
+ timeSliderWidth?: number;
26
+ timeSliderCenterTime?: number;
27
+ timeSliderSecondsPerPx?: number;
28
+ isTimestepAuto?: boolean;
29
+ isTimeSpanAuto?: boolean;
30
+ isTimeSliderHoverOn?: boolean;
31
+ isTimeSliderVisible?: boolean;
32
+ displayMapPin?: boolean;
33
+ disableMapPin?: boolean;
34
+ shouldShowZoomControls?: boolean;
35
+ }
36
+ export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, isEndTimeOverriding, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, autoUpdateLayerId, autoTimeStepLayerId, timeSliderSpan, timeStep, animationDelay, timeSliderWidth, timeSliderCenterTime, timeSliderSecondsPerPx, isTimestepAuto, isTimeSpanAuto, isTimeSliderHoverOn, isTimeSliderVisible, displayMapPin, disableMapPin, shouldShowZoomControls, }: CreateMapProps) => WebMap;
37
+ export declare const checkValidLayersPayload: (layers: Layer[], mapId: string) => boolean;
38
+ /**
39
+ * This will get the map from the map draftstate.
40
+ * If the mapId is not found, it registers one and returns it.
41
+ * @param mapId The mapID
42
+ * @param draft Draft map state
43
+ */
44
+ export declare const getDraftMapById: (mapId: string, draft: WebMapState) => WebMap;
45
+ /**
46
+ * Sets the map dimension in the state.
47
+ * It will add dimensions to the map if they are missing.
48
+ * If will update the existing dimensions if overwriteCurrentValue is set to true
49
+ * @param draft The map draft state
50
+ * @param mapId The mapId to update the dimensions for
51
+ * @param dimensionFromAction The dimension from the action
52
+ * @param overwriteCurrentValue True to overwrite existing value. False to add a new dimension if one is not there yet.
53
+ */
54
+ export declare const produceDraftStateSetWebMapDimension: (draft: WebMapState, mapId: string, dimensionFromAction: Dimension, overwriteCurrentValue: boolean) => void;
55
+ /**
56
+ * Find the mapId belonging to a layerId
57
+ * @param draft The WebMapState containing the state of all maps.
58
+ * @param layerId The layer Id to find in the maps
59
+ */
60
+ export declare const findMapIdFromLayerId: (draft?: WebMapState | undefined, layerId?: string | undefined) => string;
61
+ export declare const produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: WebMapState, layerId: string, dimension: Dimension) => void;
62
+ /**
63
+ * Returns array with new order of swapped elements
64
+ * @param array Array with ids
65
+ * @param oldIndex Old index of element in array
66
+ * @param newIndex New index of element in array
67
+ */
68
+ export declare function moveArrayElements(array: string[], oldIndex: number, newIndex: number): string[];
69
+ export declare const getTimeStepFromDataInterval: (timeInterval: TimeInterval) => number;
70
+ export declare const getActiveLayerTimeStep: (timeDimension: Dimension | undefined) => number | undefined;
71
+ export declare const getSpeedFactor: (speedDelay: number) => SpeedFactorType;
72
+ /**
73
+ * Returns speed delay for given speedFactor. For options, see defined above in "speedFactors"
74
+ */
75
+ export declare const getSpeedDelay: (speedFactor: SpeedFactorType) => number;
76
+ export declare const roundWithTimeStep: (unixTime: number, timeStep: number, type?: string | undefined) => number;
77
+ /**
78
+ * In this Map collection all fundamental scales
79
+ * (Scale.Minutes5 ... Scale.Year) are mapped with their corresponding
80
+ * secondsPerPx numbers.
81
+ * @returns a Map including information explained above
82
+ */
83
+ export declare const secondsPerPxToScale: Map<number, Scale>;
84
+ /**
85
+ * Here secondsPerPxToScale is converted to an iterator object and
86
+ * then keys are turned to values and values turned to keys
87
+ * to make it easier in some parts GeoWeb to fetch a secondsPerpx for
88
+ * a certain fundamental scale (Scale.Minutes5 ... Scale.year)
89
+ * @returns an Object, where names are fundamental scale values (0 - 7) and
90
+ * values are their corresponding secondsPerPx numbers.
91
+ */
92
+ export declare const scaleToSecondsPerPx: {
93
+ [x in Scale]: number;
94
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE WMT_MS_Capabilities SYSTEM \"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd\" [\n <!ELEMENT VendorSpecificCapabilities EMPTY>\n]>\n<!-- end of DOCTYPE declaration -->\n<WMT_MS_Capabilities version=\"1.1.1\">\n <Service>\n <Name>OGC:WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <ServerInfo>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</ServerInfo>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n <ContactInformation />\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>application/vnd.ogc.wms_xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/vnd.ogc.gml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n <DescribeLayer>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </DescribeLayer>\n <GetLegendGraphic>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetLegendGraphic>\n <GetStyles>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetStyles>\n </Request>\n <Exception>\n <Format>application/vnd.ogc.se_xml</Format>\n <Format>application/vnd.ogc.se_inimage</Format>\n <Format>application/vnd.ogc.se_blank</Format>\n </Exception>\n <VendorSpecificCapabilities />\n <UserDefinedSymbolization SupportSLD=\"1\" UserLayer=\"0\" UserStyle=\"1\" RemoteWFS=\"0\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <SRS>EPSG:3411</SRS>\n <SRS>EPSG:3412</SRS>\n <SRS>EPSG:3575</SRS>\n <SRS>EPSG:3857</SRS>\n <SRS>EPSG:4258</SRS>\n <SRS>EPSG:4326</SRS>\n <SRS>CRS:84</SRS>\n <SRS>EPSG:25831</SRS>\n <SRS>EPSG:25832</SRS>\n <SRS>EPSG:28992</SRS>\n <SRS>EPSG:7399</SRS>\n <SRS>EPSG:50001</SRS>\n <SRS>EPSG:54030</SRS>\n <SRS>EPSG:32661</SRS>\n <SRS>EPSG:40000</SRS>\n <SRS>EPSG:900913</SRS>\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <Abstract>Radar NL</Abstract>\n <KeywordList>\n <Keyword>Radar</Keyword>\n </KeywordList>\n <SRS>EPSG:3411</SRS>\n <BoundingBox SRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <SRS>EPSG:3412</SRS>\n <BoundingBox SRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <SRS>EPSG:3575</SRS>\n <BoundingBox SRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <SRS>EPSG:3857</SRS>\n <BoundingBox SRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>EPSG:4258</SRS>\n <BoundingBox SRS=\"EPSG:4258\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:4326</SRS>\n <BoundingBox SRS=\"EPSG:4326\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>CRS:84</SRS>\n <BoundingBox SRS=\"CRS:84\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:25831</SRS>\n <BoundingBox SRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <SRS>EPSG:25832</SRS>\n <BoundingBox SRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <SRS>EPSG:28992</SRS>\n <BoundingBox SRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <SRS>EPSG:7399</SRS>\n <BoundingBox SRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <SRS>EPSG:50001</SRS>\n <BoundingBox SRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <SRS>EPSG:54030</SRS>\n <BoundingBox SRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <SRS>EPSG:32661</SRS>\n <BoundingBox SRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <SRS>EPSG:40000</SRS>\n <BoundingBox SRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <SRS>EPSG:900913</SRS>\n <BoundingBox SRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <BoundingBox SRS=\"PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0\" minx=\"0.000000\" miny=\"-3649.999338\" maxx=\"700.002420\" maxy=\"-4415.002986\" />\n <LatLonBoundingBox minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <Dimension name=\"time\" units=\"ISO8601\" />\n <Extent name=\"time\" default=\"2021-05-17T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\">2021-03-31T09:25:00Z/2021-05-18T07:45:00Z/PT5M</Extent>\n <Style>\n <Name>radar/nearest</Name>\n <Title>radar/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=radar/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-rainbow/nearest</Name>\n <Title>precip-rainbow/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-gray/nearest</Name>\n <Title>precip-gray/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-gray/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue/nearest</Name>\n <Title>precip-blue/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue-transparent/nearest</Name>\n <Title>precip-blue-transparent/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue-transparent/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-with-range/nearest</Name>\n <Title>precip-with-range/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n <ScaleHint min=\"0\" max=\"10000\" />\n </Layer>\n </Layer>\n </Capability>\n</WMT_MS_Capabilities>";
2
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { serviceActions } from './reducer';
2
+ export * as serviceSelectors from './selectors';
3
+ export * as serviceTypes from './types';
@@ -0,0 +1,11 @@
1
+ import { PayloadAction, Draft } from '@reduxjs/toolkit';
2
+ import { FetchInitialServicesPayload, MapStoreRemoveServicePayload, ServiceState, SetLayersForServicePayload } from './types';
3
+ import { layerActions } from '../layers/reducer';
4
+ export declare const initialState: ServiceState;
5
+ export declare const reducer: import("redux").Reducer<ServiceState, import("redux").AnyAction>;
6
+ export declare const serviceActions: import("@reduxjs/toolkit").CaseReducerActions<{
7
+ serviceSetLayers: (draft: Draft<ServiceState>, action: PayloadAction<SetLayersForServicePayload>) => void;
8
+ mapStoreRemoveService: (draft: Draft<ServiceState>, action: PayloadAction<MapStoreRemoveServicePayload>) => void;
9
+ fetchInitialServices: (draft: Draft<ServiceState>, action: PayloadAction<FetchInitialServicesPayload>) => void;
10
+ }, "serviceReducer">;
11
+ export declare type ServiceActions = ReturnType<typeof serviceActions.mapStoreRemoveService> | ReturnType<typeof serviceActions.serviceSetLayers> | ReturnType<typeof layerActions.onUpdateLayerInformation>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import { SagaIterator } from 'redux-saga';
2
+ import { serviceActions } from './reducer';
3
+ import { SetLayersForServicePayload } from './types';
4
+ export declare function fetchServiceSaga(service: SetLayersForServicePayload): SagaIterator;
5
+ export declare function fetchInitialServicesSaga({ payload, }: ReturnType<typeof serviceActions.fetchInitialServices>): SagaIterator;
6
+ export declare function rootSaga(): SagaIterator;
7
+ export default rootSaga;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,121 @@
1
+ import { Style } from '@opengeoweb/webmap';
2
+ import { ServiceState, ReduxService } from './types';
3
+ /**
4
+ * Retrieves all serviceIds
5
+ *
6
+ * Example: serviceIds = getServiceIds(store)
7
+ * @param {object} store store: object - object from which the service state will be extracted
8
+ * @returns {array} returnType: array - an array of all serviceIds
9
+ */
10
+ export declare const getServiceIds: ((state: {
11
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
12
+ ui?: import("../../ui/types").UIStoreType | undefined;
13
+ webmap?: import("../types").WebMapState | undefined;
14
+ services?: ServiceState | undefined;
15
+ layers?: import("../types").LayerState | undefined;
16
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
17
+ }) => string[]) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => string[], {
18
+ clearCache: () => void;
19
+ }> & {
20
+ clearCache: () => void;
21
+ };
22
+ /**
23
+ * Gets map services
24
+ *
25
+ * Example: services = getServices(store)
26
+ * @param {object} store store: object - Store object
27
+ * @returns {object} returnType: ServiceState
28
+ */
29
+ export declare const getServices: ((state: {
30
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
31
+ ui?: import("../../ui/types").UIStoreType | undefined;
32
+ webmap?: import("../types").WebMapState | undefined;
33
+ services?: ServiceState | undefined;
34
+ layers?: import("../types").LayerState | undefined;
35
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
36
+ }) => import("./types").Services) & import("reselect").OutputSelectorFields<(args_0: ServiceState) => import("./types").Services, {
37
+ clearCache: () => void;
38
+ }> & {
39
+ clearCache: () => void;
40
+ };
41
+ /**
42
+ * Gets the service object by its url
43
+ *
44
+ * Example: service = getServiceByName(store, 'serviceName')
45
+ * @param {object} store store: object - Store object
46
+ * @returns {ReduxService} returnType: Service
47
+ */
48
+ export declare const getServiceByName: ((state: {
49
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
50
+ ui?: import("../../ui/types").UIStoreType | undefined;
51
+ webmap?: import("../types").WebMapState | undefined;
52
+ services?: ServiceState | undefined;
53
+ layers?: import("../types").LayerState | undefined;
54
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
55
+ }, params_0: string) => ReduxService) & import("reselect").OutputSelectorFields<(args_0: ServiceState, args_1: string) => ReduxService, {
56
+ clearCache: () => void;
57
+ }> & {
58
+ clearCache: () => void;
59
+ };
60
+ /**
61
+ * Gets the layer from the store using the serviceUrl and layerName
62
+ *
63
+ * Example: layers = getLayersFromService(store, 'https://geoservices.knmi.nl/...')
64
+ * @param {object} store store: object - object from which the layers state will be extracted
65
+ * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
66
+ * @returns {array} returnType: ServiceLayer[] - All layers within the service object.
67
+ */
68
+ export declare const getLayersFromServiceSelector: ((state: {
69
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
70
+ ui?: import("../../ui/types").UIStoreType | undefined;
71
+ webmap?: import("../types").WebMapState | undefined;
72
+ services?: ServiceState | undefined;
73
+ layers?: import("../types").LayerState | undefined;
74
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
75
+ }, params_0: string) => import("@opengeoweb/webmap").LayerProps[]) & import("reselect").OutputSelectorFields<(args_0: ReduxService) => import("@opengeoweb/webmap").LayerProps[], {
76
+ clearCache: () => void;
77
+ }> & {
78
+ clearCache: () => void;
79
+ };
80
+ /**
81
+ * Gets the layer from the store using the serviceUrl and layerName
82
+ *
83
+ * Example: layer = getLayerFromService(store, 'https://geoservices.knmi.nl/...', 'radar')
84
+ * @param {object} store store: object - The application store
85
+ * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
86
+ * @param {string} layerName layerName: string - Name of the layer in the service
87
+ * @returns {ServiceLayer} returnType: ServiceLayer - The layer from the service object.
88
+ */
89
+ export declare const getLayerFromService: ((state: {
90
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
91
+ ui?: import("../../ui/types").UIStoreType | undefined;
92
+ webmap?: import("../types").WebMapState | undefined;
93
+ services?: ServiceState | undefined;
94
+ layers?: import("../types").LayerState | undefined;
95
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
96
+ }, params_0: string, params_1: string) => import("@opengeoweb/webmap").LayerProps) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps[], args_1: string, args_2: string) => import("@opengeoweb/webmap").LayerProps, {
97
+ clearCache: () => void;
98
+ }> & {
99
+ clearCache: () => void;
100
+ };
101
+ /**
102
+ * Gets the layers stylelist from the servicestore using the serviceUrl and layerName
103
+ *
104
+ * Example: layerStyles = getLayerStyles(store, layerService, layerName);
105
+ * @param {object} store store: object - store from which the layers state will be extracted
106
+ * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
107
+ * @param {string} layerName layerName: string - Name of the layer in the service
108
+ * @returns {array} returnType: Style[] - array containing layer styles
109
+ */
110
+ export declare const getLayerStyles: ((state: {
111
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
112
+ ui?: import("../../ui/types").UIStoreType | undefined;
113
+ webmap?: import("../types").WebMapState | undefined;
114
+ services?: ServiceState | undefined;
115
+ layers?: import("../types").LayerState | undefined;
116
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
117
+ }, params_0: string, params_1: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps) => Style[], {
118
+ clearCache: () => void;
119
+ }> & {
120
+ clearCache: () => void;
121
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,49 @@
1
+ import { LayerProps } from '@opengeoweb/webmap';
2
+ export interface InitialService {
3
+ id: string;
4
+ name: string;
5
+ serviceUrl: string;
6
+ scope?: ServiceScope;
7
+ abstract?: string;
8
+ }
9
+ export interface Services {
10
+ [key: string]: ReduxService;
11
+ }
12
+ export declare type ServiceScope = 'user' | 'system';
13
+ export interface ReduxService {
14
+ name?: string;
15
+ serviceUrl?: string;
16
+ active?: boolean;
17
+ layers?: ServiceLayer[];
18
+ scope?: ServiceScope;
19
+ }
20
+ /**
21
+ * Used in the services object of webmap to keep a list of available layers in the service
22
+ */
23
+ export declare type ServiceLayer = LayerProps;
24
+ export interface ServiceState {
25
+ byId: Services;
26
+ allIds: string[];
27
+ }
28
+ export interface SetLayersForServicePayload {
29
+ id: string;
30
+ name: string;
31
+ serviceUrl: string;
32
+ abstract?: string;
33
+ layers: ServiceLayer[];
34
+ scope: ServiceScope;
35
+ isUpdating?: boolean;
36
+ }
37
+ export interface MapStoreRemoveServicePayload {
38
+ id: string;
39
+ serviceUrl: string;
40
+ }
41
+ export interface FetchInitialServicesPayload {
42
+ services: InitialService[];
43
+ }
44
+ export interface ServiceFilterSettings {
45
+ enabledServiceIds: string[];
46
+ searchString: string;
47
+ checkedFilterIds: string[];
48
+ allFiltersActive: boolean;
49
+ }
@@ -0,0 +1,10 @@
1
+ import { CoordinateReferenceSystem, LayerOptions, Style, WMLayer } from '@opengeoweb/webmap';
2
+ import { serviceTypes } from './service';
3
+ export declare const WmMultiDimensionLayer: WMLayer;
4
+ export declare const layerWithoutTimeDimension: LayerOptions;
5
+ export declare const WmLayerWithoutTimeDimension: WMLayer;
6
+ export declare const styleListForRADNLOPERR25PCPRRL3KNMILayer: Style[];
7
+ export declare const defaultReduxServices: serviceTypes.Services;
8
+ export declare const WmMultiDimensionLayer2: WMLayer;
9
+ export declare const styleListForRADNL25PCPCMLayer: Style[];
10
+ export declare const crsListForRADNL25PCPCMLayer: CoordinateReferenceSystem[];
@@ -0,0 +1,10 @@
1
+ import type { CoreAppStore } from '../types';
2
+ import { layerTypes } from './layers';
3
+ import { mapTypes } from './map';
4
+ export declare const createLayersState: (layerId: string, props?: {}) => layerTypes.LayerState;
5
+ export declare const createMultipleLayersState: (layers: layerTypes.Layer[], mapId: string) => layerTypes.LayerState;
6
+ export declare const createWebmapState: (...mapIds: string[]) => mapTypes.WebMapState;
7
+ export declare const createMapDimensionsState: (dimensions?: mapTypes.Dimension[] | undefined, ...mapIds: string[]) => mapTypes.WebMapState;
8
+ export declare const webmapStateWithAddedLayer: (layerType: layerTypes.LayerType, layerId: string, mapId: string, dimensions?: mapTypes.Dimension[] | undefined) => mapTypes.WebMapState;
9
+ export declare const mockStateMapWithLayer: (layer: layerTypes.Layer, mapId: string) => CoreAppStore;
10
+ export declare const mockStateMapWithMultipleLayers: (layers: layerTypes.Layer[], mapId: string) => CoreAppStore;
@@ -0,0 +1,11 @@
1
+ import { LayerState } from './layers/types';
2
+ import { WebMapState } from './map/types';
3
+ import { ServiceState } from './service/types';
4
+ export * from './map/types';
5
+ export * from './layers/types';
6
+ export * from './service/types';
7
+ export interface WebMapStateModuleState {
8
+ webmap?: WebMapState;
9
+ services?: ServiceState;
10
+ layers?: LayerState;
11
+ }