@opengeoweb/store 6.0.0 → 6.0.2

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 (56) hide show
  1. package/index.esm.d.ts +1 -0
  2. package/{index.js → index.esm.js} +281 -1253
  3. package/package.json +4 -5
  4. package/src/store/app/reducer.d.ts +1 -1
  5. package/src/store/coreModuleConfig.d.ts +1 -1
  6. package/src/store/drawings/config.d.ts +4 -0
  7. package/src/store/drawings/index.d.ts +4 -0
  8. package/src/store/drawings/reducer.d.ts +9 -0
  9. package/src/store/drawings/selectors.d.ts +3 -0
  10. package/src/store/drawings/testUtils.d.ts +1 -0
  11. package/src/store/drawings/types.d.ts +12 -0
  12. package/src/store/generic/selectors.d.ts +3 -13
  13. package/src/store/generic/synchronizationActions/actions.d.ts +1 -1
  14. package/src/store/generic/synchronizationActions/types.d.ts +1 -1
  15. package/src/store/generic/synchronizationGroups/selector.d.ts +2 -8
  16. package/src/store/generic/synchronizationGroups/selectors.d.ts +5 -40
  17. package/src/store/generic/synchronizationGroups/types.d.ts +3 -3
  18. package/src/store/generic/types.d.ts +3 -3
  19. package/src/store/index.d.ts +1 -1
  20. package/src/store/layerSelect/reducer.d.ts +1 -1
  21. package/src/store/layerSelect/selectors.d.ts +6 -48
  22. package/src/store/layerSelect/types.d.ts +5 -5
  23. package/src/store/mapStore/index.d.ts +0 -1
  24. package/src/store/mapStore/layers/index.d.ts +1 -0
  25. package/src/store/mapStore/layers/reducer.d.ts +1 -1
  26. package/src/store/mapStore/layers/selectors.d.ts +24 -185
  27. package/src/store/mapStore/layers/types.d.ts +0 -16
  28. package/src/store/mapStore/layers/utils.d.ts +7 -1
  29. package/src/store/mapStore/map/filterLayers.d.ts +1 -1
  30. package/src/store/mapStore/map/index.d.ts +1 -0
  31. package/src/store/mapStore/map/selectors.d.ts +49 -392
  32. package/src/store/mapStore/map/types.d.ts +3 -3
  33. package/src/store/mapStore/map/utils.d.ts +5 -5
  34. package/src/store/mapStore/service/reducer.d.ts +1 -1
  35. package/src/store/mapStore/service/selectors.d.ts +7 -48
  36. package/src/store/mapStore/service/types.d.ts +2 -2
  37. package/src/store/mapStore/storeTestSettings.d.ts +2 -6
  38. package/src/store/mapStore/storeTestUtils.d.ts +2 -2
  39. package/src/store/router/reducer.d.ts +1 -1
  40. package/src/store/router/types.d.ts +1 -1
  41. package/src/store/snackbar/reducer.d.ts +1 -1
  42. package/src/store/snackbar/selectors.d.ts +1 -3
  43. package/src/store/snackbar/types.d.ts +1 -1
  44. package/src/store/types.d.ts +2 -1
  45. package/src/store/ui/selectors.d.ts +7 -68
  46. package/src/store/ui/types.d.ts +4 -4
  47. package/src/store/getCapabilities/getCapabilities.d.ts +0 -18
  48. package/src/store/getCapabilities/index.d.ts +0 -2
  49. package/src/store/getCapabilities/mocks/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -1
  50. package/src/store/getCapabilities/mocks/index.d.ts +0 -89
  51. package/src/store/getCapabilities/mocks/mockGetCapabilities.d.ts +0 -88
  52. package/src/store/mapStore/utils/helpers.d.ts +0 -68
  53. package/src/store/mapStore/utils/index.d.ts +0 -2
  54. package/src/store/mapStore/utils/tilesettings.d.ts +0 -334
  55. /package/src/store/{getCapabilities/getCapabilities.spec.d.ts → drawings/reducer.spec.d.ts} +0 -0
  56. /package/src/store/{mapStore/utils/helpers.spec.d.ts → drawings/selectors.spec.d.ts} +0 -0
@@ -9,7 +9,7 @@ import { LayerState, Layer, LayerStatus } from './types';
9
9
  * @param {string} layerId Id of the layer
10
10
  * @returns {object} object containing layer information (service, name, style, enabled etc.)
11
11
  */
12
- export declare const getLayerById: (store: CoreAppStore, layerId?: string | undefined) => Layer | undefined;
12
+ export declare const getLayerById: (store: CoreAppStore, layerId?: string) => Layer | undefined;
13
13
  /**
14
14
  * Retrieves all layers indexed by layerId
15
15
  *
@@ -17,14 +17,7 @@ export declare const getLayerById: (store: CoreAppStore, layerId?: string | unde
17
17
  * @param {object} store store: object - object from which the layers state will be extracted
18
18
  * @returns {object} returnType: object - an object of all layers containing layer information (service, name, style, enabled etc.) indexed by layerId
19
19
  */
20
- export declare const getLayersById: ((state: {
21
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
22
- ui?: import("../../ui/types").UIStoreType | undefined;
23
- webmap?: import("../types").WebMapState | undefined;
24
- services?: import("../types").ServiceState | undefined;
25
- layers?: LayerState | undefined;
26
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
27
- }) => Record<string, ReduxLayer> | null) & import("reselect").OutputSelectorFields<(args_0: LayerState | undefined) => Record<string, ReduxLayer> | null, {
20
+ export declare const getLayersById: ((state: CoreAppStore) => Record<string, ReduxLayer> | null) & import("reselect").OutputSelectorFields<(args_0: LayerState | undefined) => Record<string, ReduxLayer> | null, {
28
21
  clearCache: () => void;
29
22
  }> & {
30
23
  clearCache: () => void;
@@ -36,14 +29,7 @@ export declare const getLayersById: ((state: {
36
29
  * @param {object} store store: object - object from which the layers state will be extracted
37
30
  * @returns {array} returnType: array - an array of all layerIds
38
31
  */
39
- export declare const getLayersIds: ((state: {
40
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
41
- ui?: import("../../ui/types").UIStoreType | undefined;
42
- webmap?: import("../types").WebMapState | undefined;
43
- services?: import("../types").ServiceState | undefined;
44
- layers?: LayerState | undefined;
45
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
46
- }) => string[]) & import("reselect").OutputSelectorFields<(args_0: LayerState | undefined) => string[], {
32
+ export declare const getLayersIds: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: LayerState | undefined) => string[], {
47
33
  clearCache: () => void;
48
34
  }> & {
49
35
  clearCache: () => void;
@@ -55,14 +41,7 @@ export declare const getLayersIds: ((state: {
55
41
  * @param {object} store store: object - object from which the layers state will be extracted
56
42
  * @returns {array} returnType: array - an array of all layers containing layer information (service, name, style, enabled etc.)
57
43
  */
58
- export declare const getAllLayers: ((state: {
59
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
60
- ui?: import("../../ui/types").UIStoreType | undefined;
61
- webmap?: import("../types").WebMapState | undefined;
62
- services?: import("../types").ServiceState | undefined;
63
- layers?: LayerState | undefined;
64
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
65
- }) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
44
+ export declare const getAllLayers: ((state: CoreAppStore) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null) => ReduxLayer[], {
66
45
  clearCache: () => void;
67
46
  }> & {
68
47
  clearCache: () => void;
@@ -75,14 +54,7 @@ export declare const getAllLayers: ((state: {
75
54
  * @param {string} mapId mapId: string - mapId
76
55
  * @returns {array} returnType: ReduxLayer[] - an array of all layers containing layer information (service, name, style, enabled etc.)
77
56
  */
78
- export declare const getLayersByMapId: ((state: {
79
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
80
- ui?: import("../../ui/types").UIStoreType | undefined;
81
- webmap?: import("../types").WebMapState | undefined;
82
- services?: import("../types").ServiceState | undefined;
83
- layers?: LayerState | undefined;
84
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
85
- }, params_0: string) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string) => ReduxLayer[], {
57
+ export declare const getLayersByMapId: ((state: any, _mapId: string) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[], args_1: string) => ReduxLayer[], {
86
58
  clearCache: () => void;
87
59
  }> & {
88
60
  clearCache: () => void;
@@ -94,14 +66,7 @@ export declare const getLayersByMapId: ((state: {
94
66
  * @param {object} store store: object - object from which the layers state will be extracted
95
67
  * @returns {array} returnType: array - an array of all non-baselayers containing layer information (service, name, style, enabled etc.)
96
68
  */
97
- export declare const getLayers: ((state: {
98
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
99
- ui?: import("../../ui/types").UIStoreType | undefined;
100
- webmap?: import("../types").WebMapState | undefined;
101
- services?: import("../types").ServiceState | undefined;
102
- layers?: LayerState | undefined;
103
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
104
- }) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => ReduxLayer[], {
69
+ export declare const getLayers: ((state: CoreAppStore) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => ReduxLayer[], {
105
70
  clearCache: () => void;
106
71
  }> & {
107
72
  clearCache: () => void;
@@ -113,14 +78,7 @@ export declare const getLayers: ((state: {
113
78
  * @param {object} store store: object - object from which the layers state will be extracted
114
79
  * @returns {array} returnType: array - an array of all baselayers containing layer information (service, name, style, enabled etc.)
115
80
  */
116
- export declare const getBaseLayers: ((state: {
117
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
118
- ui?: import("../../ui/types").UIStoreType | undefined;
119
- webmap?: import("../types").WebMapState | undefined;
120
- services?: import("../types").ServiceState | undefined;
121
- layers?: LayerState | undefined;
122
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
123
- }) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => ReduxLayer[], {
81
+ export declare const getBaseLayers: ((state: CoreAppStore) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => ReduxLayer[], {
124
82
  clearCache: () => void;
125
83
  }> & {
126
84
  clearCache: () => void;
@@ -132,14 +90,7 @@ export declare const getBaseLayers: ((state: {
132
90
  * @param {object} store store: object - object from which the layers state will be extracted
133
91
  * @returns {array} returnType: array - an array of all overLayers containing layer information (service, name, style, enabled etc.)
134
92
  */
135
- export declare const getOverLayers: ((state: {
136
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
137
- ui?: import("../../ui/types").UIStoreType | undefined;
138
- webmap?: import("../types").WebMapState | undefined;
139
- services?: import("../types").ServiceState | undefined;
140
- layers?: LayerState | undefined;
141
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
142
- }) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => ReduxLayer[], {
93
+ export declare const getOverLayers: ((state: CoreAppStore) => ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: ReduxLayer[]) => ReduxLayer[], {
143
94
  clearCache: () => void;
144
95
  }> & {
145
96
  clearCache: () => void;
@@ -152,14 +103,7 @@ export declare const getOverLayers: ((state: {
152
103
  * @param {string} layerId layerId: string - Id of the layer
153
104
  * @returns {array} returnType: Dimension[] - array containing layer dimensions
154
105
  */
155
- export declare const getLayerDimensions: ((state: {
156
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
157
- ui?: import("../../ui/types").UIStoreType | undefined;
158
- webmap?: import("../types").WebMapState | undefined;
159
- services?: import("../types").ServiceState | undefined;
160
- layers?: LayerState | undefined;
161
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
162
- }, params_0?: string | undefined) => Dimension[]) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => Dimension[], {
106
+ export declare const getLayerDimensions: ((state: CoreAppStore, layerId?: string | undefined) => Dimension[]) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => Dimension[], {
163
107
  clearCache: () => void;
164
108
  }> & {
165
109
  clearCache: () => void;
@@ -172,14 +116,7 @@ export declare const getLayerDimensions: ((state: {
172
116
  * @param {string} layerId layerId: string - Id of the layer
173
117
  * @returns {array} returnType: Dimension[] - array containing layer dimensions, excluding the time dimension
174
118
  */
175
- export declare const getLayerNonTimeDimensions: ((state: {
176
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
177
- ui?: import("../../ui/types").UIStoreType | undefined;
178
- webmap?: import("../types").WebMapState | undefined;
179
- services?: import("../types").ServiceState | undefined;
180
- layers?: LayerState | undefined;
181
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
182
- }, params_0?: string | undefined) => Dimension[]) & import("reselect").OutputSelectorFields<(args_0: Dimension[]) => Dimension[], {
119
+ export declare const getLayerNonTimeDimensions: ((state: CoreAppStore, layerId?: string | undefined) => Dimension[]) & import("reselect").OutputSelectorFields<(args_0: Dimension[]) => Dimension[], {
183
120
  clearCache: () => void;
184
121
  }> & {
185
122
  clearCache: () => void;
@@ -192,26 +129,12 @@ export declare const getLayerNonTimeDimensions: ((state: {
192
129
  * @param {string} layerId layerId: string - Id of the layer
193
130
  * @returns {object} returnType: object - object of layer time dimension
194
131
  */
195
- export declare const getLayerTimeDimension: ((state: {
196
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
197
- ui?: import("../../ui/types").UIStoreType | undefined;
198
- webmap?: import("../types").WebMapState | undefined;
199
- services?: import("../types").ServiceState | undefined;
200
- layers?: LayerState | undefined;
201
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
202
- }, params_0?: string | undefined) => Dimension | undefined) & import("reselect").OutputSelectorFields<(args_0: Dimension[]) => Dimension | undefined, {
132
+ export declare const getLayerTimeDimension: ((state: CoreAppStore, layerId?: string | undefined) => Dimension | undefined) & import("reselect").OutputSelectorFields<(args_0: Dimension[]) => Dimension | undefined, {
203
133
  clearCache: () => void;
204
134
  }> & {
205
135
  clearCache: () => void;
206
136
  };
207
- export declare const getLayerCurrentTime: ((state: {
208
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
209
- ui?: import("../../ui/types").UIStoreType | undefined;
210
- webmap?: import("../types").WebMapState | undefined;
211
- services?: import("../types").ServiceState | undefined;
212
- layers?: LayerState | undefined;
213
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
214
- }, params_0?: string | undefined) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: Dimension | undefined) => string | undefined, {
137
+ export declare const getLayerCurrentTime: ((state: CoreAppStore, layerId?: string | undefined) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: Dimension | undefined) => string | undefined, {
215
138
  clearCache: () => void;
216
139
  }> & {
217
140
  clearCache: () => void;
@@ -225,14 +148,7 @@ export declare const getLayerCurrentTime: ((state: {
225
148
  * @param {string} dimensionName dimensionName: string - name of dimension you want to retrieve the dimension data for
226
149
  * @returns {object} returnType: object - object of layer dimension
227
150
  */
228
- export declare const getLayerDimension: ((state: {
229
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
230
- ui?: import("../../ui/types").UIStoreType | undefined;
231
- webmap?: import("../types").WebMapState | undefined;
232
- services?: import("../types").ServiceState | undefined;
233
- layers?: LayerState | undefined;
234
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
235
- }, params_0: string, params_1: string) => Dimension) & import("reselect").OutputSelectorFields<(args_0: Dimension[], args_1: string) => Dimension, {
151
+ export declare const getLayerDimension: ((state: any, _layerId: string, dimensionName: string) => Dimension) & import("reselect").OutputSelectorFields<(args_0: Dimension[], args_1: string) => Dimension, {
236
152
  clearCache: () => void;
237
153
  }> & {
238
154
  clearCache: () => void;
@@ -245,14 +161,7 @@ export declare const getLayerDimension: ((state: {
245
161
  * @param {string} layerId layerId: string - Id of the layer
246
162
  * @returns {number} returnType: number - opacity as a number (between 0 and 1)
247
163
  */
248
- export declare const getLayerOpacity: ((state: {
249
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
250
- ui?: import("../../ui/types").UIStoreType | undefined;
251
- webmap?: import("../types").WebMapState | undefined;
252
- services?: import("../types").ServiceState | undefined;
253
- layers?: LayerState | undefined;
254
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
255
- }, params_0?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => number, {
164
+ export declare const getLayerOpacity: ((state: CoreAppStore, layerId?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => number, {
256
165
  clearCache: () => void;
257
166
  }> & {
258
167
  clearCache: () => void;
@@ -265,14 +174,7 @@ export declare const getLayerOpacity: ((state: {
265
174
  * @param {string} layerId layerId: string - Id of the layer
266
175
  * @returns {boolean} returnType: boolean - true if enabled, false if disabled
267
176
  */
268
- export declare const getLayerEnabled: ((state: {
269
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
270
- ui?: import("../../ui/types").UIStoreType | undefined;
271
- webmap?: import("../types").WebMapState | undefined;
272
- services?: import("../types").ServiceState | undefined;
273
- layers?: LayerState | undefined;
274
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
275
- }, params_0?: string | undefined) => boolean) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => boolean, {
177
+ export declare const getLayerEnabled: ((state: CoreAppStore, layerId?: string | undefined) => boolean) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => boolean, {
276
178
  clearCache: () => void;
277
179
  }> & {
278
180
  clearCache: () => void;
@@ -285,14 +187,7 @@ export declare const getLayerEnabled: ((state: {
285
187
  * @param {string} layerId layerId: string - Id of the layer
286
188
  * @returns {string} returnType: string - layer name
287
189
  */
288
- export declare const getLayerName: ((state: {
289
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
290
- ui?: import("../../ui/types").UIStoreType | undefined;
291
- webmap?: import("../types").WebMapState | undefined;
292
- services?: import("../types").ServiceState | undefined;
293
- layers?: LayerState | undefined;
294
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
295
- }, params_0?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => string, {
190
+ export declare const getLayerName: ((state: CoreAppStore, layerId?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => string, {
296
191
  clearCache: () => void;
297
192
  }> & {
298
193
  clearCache: () => void;
@@ -305,14 +200,7 @@ export declare const getLayerName: ((state: {
305
200
  * @param {string} layerId layerId: string - Id of the layer
306
201
  * @returns {string} returnType: string - layer service
307
202
  */
308
- export declare const getLayerService: ((state: {
309
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
310
- ui?: import("../../ui/types").UIStoreType | undefined;
311
- webmap?: import("../types").WebMapState | undefined;
312
- services?: import("../types").ServiceState | undefined;
313
- layers?: LayerState | undefined;
314
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
315
- }, params_0?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => string, {
203
+ export declare const getLayerService: ((state: CoreAppStore, layerId?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => string, {
316
204
  clearCache: () => void;
317
205
  }> & {
318
206
  clearCache: () => void;
@@ -325,14 +213,7 @@ export declare const getLayerService: ((state: {
325
213
  * @param {string} layerId layerId: string - Id of the layer
326
214
  * @returns {string} returnType: string - style that is currently selected
327
215
  */
328
- export declare const getLayerStyle: ((state: {
329
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
330
- ui?: import("../../ui/types").UIStoreType | undefined;
331
- webmap?: import("../types").WebMapState | undefined;
332
- services?: import("../types").ServiceState | undefined;
333
- layers?: LayerState | undefined;
334
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
335
- }, params_0?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => string, {
216
+ export declare const getLayerStyle: ((state: CoreAppStore, layerId?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => string, {
336
217
  clearCache: () => void;
337
218
  }> & {
338
219
  clearCache: () => void;
@@ -345,14 +226,7 @@ export declare const getLayerStyle: ((state: {
345
226
  * @param {string} layerId layerId: string - Id of the layer
346
227
  * @returns {string} returnType: LayerStatus
347
228
  */
348
- export declare const getLayerStatus: ((state: {
349
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
350
- ui?: import("../../ui/types").UIStoreType | undefined;
351
- webmap?: import("../types").WebMapState | undefined;
352
- services?: import("../types").ServiceState | undefined;
353
- layers?: LayerState | undefined;
354
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
355
- }, params_0?: string | undefined) => LayerStatus) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => LayerStatus, {
229
+ export declare const getLayerStatus: ((state: CoreAppStore, layerId?: string | undefined) => LayerStatus) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => LayerStatus, {
356
230
  clearCache: () => void;
357
231
  }> & {
358
232
  clearCache: () => void;
@@ -365,14 +239,7 @@ export declare const getLayerStatus: ((state: {
365
239
  * @param {string} mapId mapId: string - Id of the map we want to retrieve the available baselayers for
366
240
  * @returns {array} returnType: array - array containing all available base layers
367
241
  */
368
- export declare const getAvailableBaseLayersForMap: ((state: {
369
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
370
- ui?: import("../../ui/types").UIStoreType | undefined;
371
- webmap?: import("../types").WebMapState | undefined;
372
- services?: import("../types").ServiceState | undefined;
373
- layers?: LayerState | undefined;
374
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
375
- }, params_0: string) => Layer[]) & import("reselect").OutputSelectorFields<(args_0: LayerState | undefined, args_1: string) => Layer[], {
242
+ export declare const getAvailableBaseLayersForMap: ((state: any, _mapId: string) => Layer[]) & import("reselect").OutputSelectorFields<(args_0: LayerState | undefined, args_1: string) => Layer[], {
376
243
  clearCache: () => void;
377
244
  }> & {
378
245
  clearCache: () => void;
@@ -385,14 +252,7 @@ export declare const getAvailableBaseLayersForMap: ((state: {
385
252
  * @param {string} mapId layerId: string - Id of the layer
386
253
  * @returns {number} selectedFeatureIndex: the index of the selected geojson feature
387
254
  */
388
- export declare const getSelectedFeatureIndex: ((state: {
389
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
390
- ui?: import("../../ui/types").UIStoreType | undefined;
391
- webmap?: import("../types").WebMapState | undefined;
392
- services?: import("../types").ServiceState | undefined;
393
- layers?: LayerState | undefined;
394
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
395
- }, params_0?: string | undefined) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => number | undefined, {
255
+ export declare const getSelectedFeatureIndex: ((state: CoreAppStore, layerId?: string | undefined) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => number | undefined, {
396
256
  clearCache: () => void;
397
257
  }> & {
398
258
  clearCache: () => void;
@@ -405,38 +265,17 @@ export declare const getSelectedFeatureIndex: ((state: {
405
265
  * @param {string} dimensionName dimensionName: string - name of dimension you want to retrieve the dimension data for
406
266
  * @returns {string[]} returnType: string[] - layerIds
407
267
  */
408
- export declare const getDimensionLayerIds: ((state: {
409
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
410
- ui?: import("../../ui/types").UIStoreType | undefined;
411
- webmap?: import("../types").WebMapState | undefined;
412
- services?: import("../types").ServiceState | undefined;
413
- layers?: LayerState | undefined;
414
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
415
- }, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null, args_2: string) => string[], {
268
+ export declare const getDimensionLayerIds: ((state: any, dimensionName: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, ReduxLayer> | null, args_2: string) => string[], {
416
269
  clearCache: () => void;
417
270
  }> & {
418
271
  clearCache: () => void;
419
272
  };
420
- export declare const getAcceptanceTimeInMinutes: ((state: {
421
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
422
- ui?: import("../../ui/types").UIStoreType | undefined;
423
- webmap?: import("../types").WebMapState | undefined;
424
- services?: import("../types").ServiceState | undefined;
425
- layers?: LayerState | undefined;
426
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
427
- }, params_0?: string | undefined) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => number | undefined, {
273
+ export declare const getAcceptanceTimeInMinutes: ((state: CoreAppStore, layerId?: string | undefined) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: Layer | undefined) => number | undefined, {
428
274
  clearCache: () => void;
429
275
  }> & {
430
276
  clearCache: () => void;
431
277
  };
432
- export declare const getLayerIsInsideAcceptanceTime: ((state: {
433
- syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
434
- ui?: import("../../ui/types").UIStoreType | undefined;
435
- webmap?: import("../types").WebMapState | undefined;
436
- services?: import("../types").ServiceState | undefined;
437
- layers?: LayerState | undefined;
438
- layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
439
- }, params_0: string | undefined, params_1: string) => "equal" | "outside" | "inside") & import("reselect").OutputSelectorFields<(args_0: number | undefined, args_1: string | undefined, args_2: string | undefined) => "equal" | "outside" | "inside", {
278
+ export declare const getLayerIsInsideAcceptanceTime: ((state: CoreAppStore, _layerId: string | undefined, mapId: string) => "equal" | "outside" | "inside") & import("reselect").OutputSelectorFields<(args_0: number | undefined, args_1: string | undefined, args_2: string | undefined) => "equal" | "outside" | "inside", {
440
279
  clearCache: () => void;
441
280
  }> & {
442
281
  clearCache: () => void;
@@ -1,23 +1,7 @@
1
1
  import { Action } from '@reduxjs/toolkit';
2
2
  import { FeatureCollection } from 'geojson';
3
- import { CustomDate } from '@opengeoweb/webmap';
4
3
  import type { Dimension, UpdateAllMapDimensionsPayload } from '../map/types';
5
4
  import type { SyncGroupActionOrigin } from '../../generic/synchronizationGroups/types';
6
- export interface WMJSDimension {
7
- getFirstValue(): string;
8
- getLastValue(): string;
9
- getClosestValue(currentValue?: string, evenWhenOutsideRange?: boolean): string;
10
- setValue: (currentValue: string) => void;
11
- name: string;
12
- currentValue: string;
13
- getIndexForValue: (currentValue: string, outSideOfRangeFlag?: boolean) => number;
14
- getValueForIndex: (index: number) => string | CustomDate;
15
- size: () => number;
16
- linked: boolean;
17
- values?: string;
18
- units?: string;
19
- unitSymbol: string;
20
- }
21
5
  export declare enum LayerType {
22
6
  mapLayer = "mapLayer",
23
7
  baseLayer = "baseLayer",
@@ -1,6 +1,7 @@
1
1
  import { Draft } from '@reduxjs/toolkit';
2
+ import { WMJSDimension } from '@opengeoweb/webmap';
2
3
  import type { Dimension } from '../types';
3
- import type { LayerState, WMJSDimension } from './types';
4
+ import type { LayerState } from './types';
4
5
  export declare const isActionLayerSynced: (state: LayerState, layerIdFromAction: string, dimension: Dimension) => boolean;
5
6
  export declare const produceDimensionActionForMapLayer: (layerDim: Dimension, wmjsDimension: WMJSDimension, newDimension: Dimension) => Dimension;
6
7
  /**
@@ -10,3 +11,8 @@ export declare const produceDimensionActionForMapLayer: (layerDim: Dimension, wm
10
11
  * @param mapId
11
12
  */
12
13
  export declare const produceDraftStateForAllLayersForDimensionWithinMap: (draft: Draft<LayerState>, dimension: Dimension, mapId: string, layerIdFromAction: string) => void;
14
+ /**
15
+ * Returns the list of dimensions without the time dimension
16
+ * @param dimensions Dimension[]
17
+ */
18
+ export declare const filterNonTimeDimensions: (dimensions: Dimension[]) => Dimension[];
@@ -1,7 +1,7 @@
1
1
  import { layerTypes } from '../layers';
2
2
  export declare const filterLayers: (layers?: layerTypes.Layer[], layerParser?: (layer: layerTypes.Layer) => layerTypes.Layer) => FilteredLayerList;
3
3
  export declare const createEmtpyFilteredList: (existingList: []) => FilteredLayerList;
4
- export declare type FilteredLayerList = {
4
+ export type FilteredLayerList = {
5
5
  mapLayers: layerTypes.Layer[];
6
6
  baseLayers: layerTypes.Layer[];
7
7
  overLayers?: layerTypes.Layer[];
@@ -3,6 +3,7 @@ import * as utils from './utils';
3
3
  export declare const mapUtils: {
4
4
  replaceLayerIdsToEnsureUniqueLayerIdsInStore: (layerIds: import("./replaceLayerIdsToEnsureUniqueLayerIdsInStore").LayersAndAutoLayerIds) => import("./replaceLayerIdsToEnsureUniqueLayerIdsInStore").LayersAndAutoLayerIds;
5
5
  moveArrayElements(array: string[], oldIndex: number, newIndex: number): string[];
6
+ dateFormat: "YYYY-MM-DDTHH:mm:ss[Z]";
6
7
  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, }: utils.CreateMapProps) => mapTypes.WebMap;
7
8
  checkValidLayersPayload: (layers: import("../types").Layer[], mapId: string) => boolean;
8
9
  getDraftMapById: (mapId: string, draft: mapTypes.WebMapState) => mapTypes.WebMap;