@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,1002 @@
1
+ import type { Bbox, MapPreset, WebMap, WebMapState } from './types';
2
+ import type { CoreAppStore } from '../../types';
3
+ import type { Layer } from '../types';
4
+ import type { uiTypes } from '../../ui';
5
+ /**
6
+ * Gets the map state by mapId
7
+ *
8
+ * Example: getMapById(store, 'mapid_1')
9
+ * @param {object} store store object from which the map state wll be extracted
10
+ * @param {string} mapId Id of the map
11
+ * @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
12
+ */
13
+ export declare const getMapById: (store: CoreAppStore | undefined, mapId: string) => WebMap | undefined;
14
+ /**
15
+ * Gets all mapIds
16
+ *
17
+ * Example: getAllMapIds(store)
18
+ * @param {object} store store object from which the map state wll be extracted
19
+ * @returns {array} array containing all map ids
20
+ */
21
+ export declare const getAllMapIds: (store: CoreAppStore) => string[];
22
+ /**
23
+ * Gets the map state of the first map in the store
24
+ *
25
+ * Example: getFirstMap(store)
26
+ * @param {object} store store object from which the map state wll be extracted
27
+ * @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
28
+ */
29
+ export declare const getFirstMap: ((state: {
30
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
31
+ ui?: uiTypes.UIStoreType | undefined;
32
+ webmap?: WebMapState | undefined;
33
+ services?: import("../types").ServiceState | undefined;
34
+ layers?: import("../types").LayerState | undefined;
35
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
36
+ }) => any) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: any) => any, {
37
+ clearCache: () => void;
38
+ }> & {
39
+ clearCache: () => void;
40
+ };
41
+ /**
42
+ * Gets the id of first map in store
43
+ *
44
+ * Example: getFirstMapId(store)
45
+ * @param {object} store store: object from which the map state wll be extracted
46
+ * @returns {string} returnType:string - map id
47
+ */
48
+ export declare const getFirstMapId: ((state: {
49
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
50
+ ui?: uiTypes.UIStoreType | undefined;
51
+ webmap?: WebMapState | undefined;
52
+ services?: import("../types").ServiceState | undefined;
53
+ layers?: import("../types").LayerState | undefined;
54
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
55
+ }) => any) & import("reselect").OutputSelectorFields<(args_0: any) => any, {
56
+ clearCache: () => void;
57
+ }> & {
58
+ clearCache: () => void;
59
+ };
60
+ /**
61
+ * Determines if map is present
62
+ *
63
+ * @param {object} store store: object - store object
64
+ * @param {string} mapId mapId: string - Id of the map
65
+ * @returns {boolean} returnType:boolean - true if map is present
66
+ */
67
+ export declare const getIsMapPresent: ((state: {
68
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
69
+ ui?: uiTypes.UIStoreType | undefined;
70
+ webmap?: WebMapState | undefined;
71
+ services?: import("../types").ServiceState | undefined;
72
+ layers?: import("../types").LayerState | undefined;
73
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
74
+ }, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: boolean) => boolean, {
75
+ clearCache: () => void;
76
+ }> & {
77
+ clearCache: () => void;
78
+ };
79
+ /**
80
+ * Gets all layerIds for a map that aren't baselayers or overlayers
81
+ *
82
+ * Example: layerIds = getLayerIds(store, 'mapid_1')
83
+ * @param {object} store store: object - store object
84
+ * @param {string} mapId mapId: string - Id of the map
85
+ * @returns {array} returnType: array - array containing all layerIds
86
+ */
87
+ export declare const getLayerIds: ((state: {
88
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
89
+ ui?: uiTypes.UIStoreType | undefined;
90
+ webmap?: WebMapState | undefined;
91
+ services?: import("../types").ServiceState | undefined;
92
+ layers?: import("../types").LayerState | undefined;
93
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
94
+ } | undefined, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
95
+ clearCache: () => void;
96
+ }> & {
97
+ clearCache: () => void;
98
+ };
99
+ /**
100
+ * Gets all layer states for a map
101
+ *
102
+ * Example: layers = getMapLayers(store, 'mapid_1')
103
+ * @param {object} store store: object - store object
104
+ * @param {string} mapId mapId: string - Id of the map
105
+ * @returns {array} returnType: array - array containing all layer states for the map
106
+ */
107
+ export declare const getMapLayers: ((state: {
108
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
109
+ ui?: uiTypes.UIStoreType | undefined;
110
+ webmap?: WebMapState | undefined;
111
+ services?: import("../types").ServiceState | undefined;
112
+ layers?: import("../types").LayerState | undefined;
113
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
114
+ }, params_0: string) => import("../types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => import("../types").ReduxLayer[], {
115
+ clearCache: () => void;
116
+ }> & {
117
+ clearCache: () => void;
118
+ };
119
+ /**
120
+ * Gets an array of baselayers ids for a map
121
+ *
122
+ * Example: baseLayersId = getMapBaseLayersIds(store, 'mapid_1')
123
+ * @param {object} store store: object - store object
124
+ * @param {string} mapId mapId: string - Id of the map
125
+ * @returns {array} returnType: array - array containing an array of baselayers ids
126
+ */
127
+ export declare const getMapBaseLayersIds: ((state: {
128
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
129
+ ui?: uiTypes.UIStoreType | undefined;
130
+ webmap?: WebMapState | undefined;
131
+ services?: import("../types").ServiceState | undefined;
132
+ layers?: import("../types").LayerState | undefined;
133
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
134
+ } | undefined, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
135
+ clearCache: () => void;
136
+ }> & {
137
+ clearCache: () => void;
138
+ };
139
+ /**
140
+ * Gets all baselayers for a map
141
+ *
142
+ * Example: baseLayers = getMapBaseLayers(store, 'mapid_1')
143
+ * @param {object} store store: object - store object
144
+ * @param {string} mapId mapId: string - Id of the map
145
+ * @returns {array} returnType: array - array containing all baselayers for the map
146
+ */
147
+ export declare const getMapBaseLayers: ((state: {
148
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
149
+ ui?: uiTypes.UIStoreType | undefined;
150
+ webmap?: WebMapState | undefined;
151
+ services?: import("../types").ServiceState | undefined;
152
+ layers?: import("../types").LayerState | undefined;
153
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
154
+ }, params_0: string) => import("../types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => import("../types").ReduxLayer[], {
155
+ clearCache: () => void;
156
+ }> & {
157
+ clearCache: () => void;
158
+ };
159
+ /**
160
+ * Gets and array of overLayers ids for a map
161
+ *
162
+ * Example: overLayersId = getMapOverLayersIds(store, 'mapid_1')
163
+ * @param {object} store store: object - store object
164
+ * @param {string} mapId mapId: string - Id of the map
165
+ * @returns {array} returnType: array - array containing an array of overLayers ids
166
+ */
167
+ export declare const getMapOverLayersIds: ((state: {
168
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
169
+ ui?: uiTypes.UIStoreType | undefined;
170
+ webmap?: WebMapState | undefined;
171
+ services?: import("../types").ServiceState | undefined;
172
+ layers?: import("../types").LayerState | undefined;
173
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
174
+ } | undefined, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string[], {
175
+ clearCache: () => void;
176
+ }> & {
177
+ clearCache: () => void;
178
+ };
179
+ /**
180
+ * Gets all overLayers for a map
181
+ *
182
+ * Example: overLayers = getMapOverLayers(store, 'mapid_1')
183
+ * @param {object} store store: object - store object
184
+ * @param {string} mapId mapId: string - Id of the map
185
+ * @returns {array} returnType: array - array containing all overLayers for the map
186
+ */
187
+ export declare const getMapOverLayers: ((state: {
188
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
189
+ ui?: uiTypes.UIStoreType | undefined;
190
+ webmap?: WebMapState | undefined;
191
+ services?: import("../types").ServiceState | undefined;
192
+ layers?: import("../types").LayerState | undefined;
193
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
194
+ }, params_0: string) => import("../types").ReduxLayer[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => import("../types").ReduxLayer[], {
195
+ clearCache: () => void;
196
+ }> & {
197
+ clearCache: () => void;
198
+ };
199
+ /**
200
+ * Gets map dimensions
201
+ *
202
+ * Example: mapDimensions = getMapDimensions(store, 'mapid_1')
203
+ * @param {object} store store: object - store object
204
+ * @param {string} mapId mapId: string - Id of the map
205
+ * @returns {array} returnType: array - array containing map dimensions
206
+ */
207
+ export declare const getMapDimensions: ((state: {
208
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
209
+ ui?: uiTypes.UIStoreType | undefined;
210
+ webmap?: WebMapState | undefined;
211
+ services?: import("../types").ServiceState | undefined;
212
+ layers?: import("../types").LayerState | undefined;
213
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
214
+ } | undefined, params_0: string) => import("./types").Dimension[] | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("./types").Dimension[] | undefined, {
215
+ clearCache: () => void;
216
+ }> & {
217
+ clearCache: () => void;
218
+ };
219
+ /**
220
+ * Gets the map dimension requested
221
+ *
222
+ * Example: mapDimensions = getMapDimension(store, 'mapid_1', 'elevation')
223
+ * @param {object} store store: object - store object
224
+ * @param {string} mapId mapId: string - Id of the map
225
+ * @param {string} dimensionName dimensionName: string - name of the dimension
226
+ * @returns {object} returnType: object - object containing the map dimension details
227
+ */
228
+ export declare const getMapDimension: ((state: {
229
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
230
+ ui?: uiTypes.UIStoreType | undefined;
231
+ webmap?: WebMapState | undefined;
232
+ services?: import("../types").ServiceState | undefined;
233
+ layers?: import("../types").LayerState | undefined;
234
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
235
+ }, params_0: string, params_1: string) => import("./types").Dimension | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined, args_1: string) => import("./types").Dimension | undefined, {
236
+ clearCache: () => void;
237
+ }> & {
238
+ clearCache: () => void;
239
+ };
240
+ /**
241
+ * Gets map srs
242
+ *
243
+ * Example: mapSrs = getSrs(store, 'mapid_1')
244
+ * @param {object} store store: object - store object
245
+ * @param {string} mapId mapId: string - Id of the map
246
+ * @returns {string} returnType: string - string containing srs
247
+ */
248
+ export declare const getSrs: ((state: {
249
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
250
+ ui?: uiTypes.UIStoreType | undefined;
251
+ webmap?: WebMapState | undefined;
252
+ services?: import("../types").ServiceState | undefined;
253
+ layers?: import("../types").LayerState | undefined;
254
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
255
+ } | undefined, params_0: string) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
256
+ clearCache: () => void;
257
+ }> & {
258
+ clearCache: () => void;
259
+ };
260
+ /**
261
+ * Gets map bounding box
262
+ *
263
+ * Example: mapBbox = getBbox(store, 'mapid_1')
264
+ * @param {object} store store: object - store object
265
+ * @param {string} mapId mapId: string - Id of the map
266
+ * @returns {object} returnType: object - boundingbox object {left: number, bottom: number, right:number, top: number}
267
+ */
268
+ export declare const getBbox: ((state: {
269
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
270
+ ui?: uiTypes.UIStoreType | undefined;
271
+ webmap?: WebMapState | undefined;
272
+ services?: import("../types").ServiceState | undefined;
273
+ layers?: import("../types").LayerState | undefined;
274
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
275
+ } | undefined, params_0: string) => Bbox) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => Bbox, {
276
+ clearCache: () => void;
277
+ }> & {
278
+ clearCache: () => void;
279
+ };
280
+ /**
281
+ * Gets if map is animating
282
+ *
283
+ * Example: mapIsAnimating = isAnimating(store, 'mapid_1')
284
+ * @param {object} store store: object - store object
285
+ * @param {string} mapId mapId: string - Id of the map
286
+ * @returns {boolean} returnType: boolean
287
+ */
288
+ export declare const isAnimating: ((state: {
289
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
290
+ ui?: uiTypes.UIStoreType | undefined;
291
+ webmap?: WebMapState | undefined;
292
+ services?: import("../types").ServiceState | undefined;
293
+ layers?: import("../types").LayerState | undefined;
294
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
295
+ } | undefined, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
296
+ clearCache: () => void;
297
+ }> & {
298
+ clearCache: () => void;
299
+ };
300
+ /**
301
+ * Gets if any linked map is animating
302
+ *
303
+ * Example: linkedMapIsAnimating = linkedMapAnimationInfo(store, 'mapid_1')
304
+ * @param {object} store store: object - store object
305
+ * @param {string} mapId mapId: string - Id of the map
306
+ * @returns {object} returnType: object - object containing isAnimating boolean and id string
307
+ */
308
+ export declare const linkedMapAnimationInfo: ((state: {
309
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
310
+ ui?: uiTypes.UIStoreType | undefined;
311
+ webmap?: WebMapState | undefined;
312
+ services?: import("../types").ServiceState | undefined;
313
+ layers?: import("../types").LayerState | undefined;
314
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
315
+ }, params_0: string) => {
316
+ isAnimating: boolean;
317
+ id: string;
318
+ }) & import("reselect").OutputSelectorFields<(args_0: {
319
+ isAnimating: boolean;
320
+ id: string;
321
+ }) => {
322
+ isAnimating: boolean;
323
+ id: string;
324
+ }, {
325
+ clearCache: () => void;
326
+ }> & {
327
+ clearCache: () => void;
328
+ };
329
+ /**
330
+ * Gets start time of animation
331
+ *
332
+ * Example: endTimeOfAnimetion = getAnimationStartTime(store, 'mapid_1')
333
+ * @param {object} store store: object - store object
334
+ * @param {string} mapId mapId: string - Id of the map
335
+ * @returns {string} returnType: string
336
+ */
337
+ export declare const getAnimationStartTime: ((state: {
338
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
339
+ ui?: uiTypes.UIStoreType | undefined;
340
+ webmap?: WebMapState | undefined;
341
+ services?: import("../types").ServiceState | undefined;
342
+ layers?: import("../types").LayerState | undefined;
343
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
344
+ } | undefined, params_0: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
345
+ clearCache: () => void;
346
+ }> & {
347
+ clearCache: () => void;
348
+ };
349
+ /**
350
+ * Gets end time of animation
351
+ *
352
+ * Example: endTimeOfAnimation = getAnimationEndTime(store, 'mapid_1')
353
+ * @param {object} store store: object - store object
354
+ * @param {string} mapId mapId: string - Id of the map
355
+ * @returns {string} returnType: string
356
+ */
357
+ export declare const getAnimationEndTime: ((state: {
358
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
359
+ ui?: uiTypes.UIStoreType | undefined;
360
+ webmap?: WebMapState | undefined;
361
+ services?: import("../types").ServiceState | undefined;
362
+ layers?: import("../types").LayerState | undefined;
363
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
364
+ } | undefined, params_0: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
365
+ clearCache: () => void;
366
+ }> & {
367
+ clearCache: () => void;
368
+ };
369
+ /**
370
+ * Returns map is auto updating
371
+ *
372
+ * Example: isAutoUpdating = isAutoUpdating(store, 'mapid_1')
373
+ * @param {object} store store: object - store object
374
+ * @param {string} mapId mapId: string - Id of the map
375
+ * @returns {boolean} returnType: boolean
376
+ */
377
+ export declare const isAutoUpdating: ((state: {
378
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
379
+ ui?: uiTypes.UIStoreType | undefined;
380
+ webmap?: WebMapState | undefined;
381
+ services?: import("../types").ServiceState | undefined;
382
+ layers?: import("../types").LayerState | undefined;
383
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
384
+ } | undefined, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
385
+ clearCache: () => void;
386
+ }> & {
387
+ clearCache: () => void;
388
+ };
389
+ /**
390
+ * Gets if endTime and duration of animationPayload are overriding maxValue and minValue of leading layer
391
+ *
392
+ * Example: isEndTimeOverriding = isEndTimeOverriding(store, 'mapid_1')
393
+ * @param {object} store store: object - store object
394
+ * @param {string} mapId mapId: string - Id of the map
395
+ * @returns {boolean} returnType: boolean
396
+ */
397
+ export declare const isEndTimeOverriding: ((state: {
398
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
399
+ ui?: uiTypes.UIStoreType | undefined;
400
+ webmap?: WebMapState | undefined;
401
+ services?: import("../types").ServiceState | undefined;
402
+ layers?: import("../types").LayerState | undefined;
403
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
404
+ } | undefined, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean, {
405
+ clearCache: () => void;
406
+ }> & {
407
+ clearCache: () => void;
408
+ };
409
+ /**
410
+ * Gets activeLayerId for map
411
+ *
412
+ * example: activeLayerId = getActiveLayerId(store, 'mapid_1')
413
+ * @param {object} store store: object - store object
414
+ * @param {string} mapId mapId: string - Id of the map
415
+ */
416
+ export declare const getActiveLayerId: ((state: {
417
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
418
+ ui?: uiTypes.UIStoreType | undefined;
419
+ webmap?: WebMapState | undefined;
420
+ services?: import("../types").ServiceState | undefined;
421
+ layers?: import("../types").LayerState | undefined;
422
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
423
+ } | undefined, params_0: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
424
+ clearCache: () => void;
425
+ }> & {
426
+ clearCache: () => void;
427
+ };
428
+ /**
429
+ * Gets autoUpdateLayerId for map
430
+ *
431
+ * example: autoUpdateLayerId = getAutoUpdateLayerId(store, 'mapid_1')
432
+ * @param {object} store store: object - store object
433
+ * @param {string} mapId mapId: string - Id of the map
434
+ */
435
+ export declare const getAutoUpdateLayerId: ((state: {
436
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
437
+ ui?: uiTypes.UIStoreType | undefined;
438
+ webmap?: WebMapState | undefined;
439
+ services?: import("../types").ServiceState | undefined;
440
+ layers?: import("../types").LayerState | undefined;
441
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
442
+ } | undefined, params_0: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
443
+ clearCache: () => void;
444
+ }> & {
445
+ clearCache: () => void;
446
+ };
447
+ /**
448
+ * Gets autoUpdateLayerId for map
449
+ *
450
+ * example: autoUpdateLayerId = getAutoUpdateLayerId(store, 'mapid_1')
451
+ * @param {object} store store: object - store object
452
+ * @param {string} mapId mapId: string - Id of the map
453
+ */
454
+ export declare const getAutoTimeStepLayerId: ((state: {
455
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
456
+ ui?: uiTypes.UIStoreType | undefined;
457
+ webmap?: WebMapState | undefined;
458
+ services?: import("../types").ServiceState | undefined;
459
+ layers?: import("../types").LayerState | undefined;
460
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
461
+ } | undefined, params_0: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
462
+ clearCache: () => void;
463
+ }> & {
464
+ clearCache: () => void;
465
+ };
466
+ /**
467
+ * Gets span of a time slider of a map
468
+ *
469
+ * Example: span = getSpan(store, 'mapid_1')
470
+ * @param {object} store store: object - store object
471
+ * @param {string} mapId mapId: string - Id of the map
472
+ * @returns {Span} returnType: Span - span as an enum
473
+ */
474
+ export declare const getMapTimeSliderSpan: ((state: {
475
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
476
+ ui?: uiTypes.UIStoreType | undefined;
477
+ webmap?: WebMapState | undefined;
478
+ services?: import("../types").ServiceState | undefined;
479
+ layers?: import("../types").LayerState | undefined;
480
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
481
+ } | undefined, params_0: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
482
+ clearCache: () => void;
483
+ }> & {
484
+ clearCache: () => void;
485
+ };
486
+ /**
487
+ * Gets time step of a map
488
+ *
489
+ * Example: timeStep = getTimeStep(store, 'mapid_1')
490
+ * @param {object} store store: object - store object
491
+ * @param {string} mapId mapId: string - Id of the map
492
+ * @returns {number} returnType: number - time step as a number
493
+ */
494
+ export declare const getMapTimeStep: ((state: {
495
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
496
+ ui?: uiTypes.UIStoreType | undefined;
497
+ webmap?: WebMapState | undefined;
498
+ services?: import("../types").ServiceState | undefined;
499
+ layers?: import("../types").LayerState | undefined;
500
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
501
+ } | undefined, params_0: string) => number) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number, {
502
+ clearCache: () => void;
503
+ }> & {
504
+ clearCache: () => void;
505
+ };
506
+ export declare const getMapTimeStepWithoutDefault: ((state: {
507
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
508
+ ui?: uiTypes.UIStoreType | undefined;
509
+ webmap?: WebMapState | undefined;
510
+ services?: import("../types").ServiceState | undefined;
511
+ layers?: import("../types").LayerState | undefined;
512
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
513
+ } | undefined, params_0: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
514
+ clearCache: () => void;
515
+ }> & {
516
+ clearCache: () => void;
517
+ };
518
+ /**
519
+ * Returns the speed of animation
520
+ *
521
+ * Example: speed = getSpeed(store, 'mapid_1')
522
+ * @param {object} store store: object - store object
523
+ * @param {string} mapId mapId: string - Id of the map
524
+ * @returns {number} returnType: number - speed as a number
525
+ */
526
+ export declare const getMapAnimationDelay: ((state: {
527
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
528
+ ui?: uiTypes.UIStoreType | undefined;
529
+ webmap?: WebMapState | undefined;
530
+ services?: import("../types").ServiceState | undefined;
531
+ layers?: import("../types").LayerState | undefined;
532
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
533
+ } | undefined, params_0: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
534
+ clearCache: () => void;
535
+ }> & {
536
+ clearCache: () => void;
537
+ };
538
+ /**
539
+ * Returns the width of time slider
540
+ *
541
+ * Example: timeSliderWith = getMapTimeSliderWidth(store, 'mapid_1')
542
+ * @param {object} store store: object - store object
543
+ * @param {string} mapId mapId: string - Id of the map
544
+ * @returns {number} returnType: number - center time as a unix timestamp
545
+ */
546
+ export declare const getMapTimeSliderWidth: ((state: {
547
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
548
+ ui?: uiTypes.UIStoreType | undefined;
549
+ webmap?: WebMapState | undefined;
550
+ services?: import("../types").ServiceState | undefined;
551
+ layers?: import("../types").LayerState | undefined;
552
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
553
+ } | undefined, params_0: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
554
+ clearCache: () => void;
555
+ }> & {
556
+ clearCache: () => void;
557
+ };
558
+ /**
559
+ * Returns the center time of time slider
560
+ *
561
+ * Example: centerTime = getCenterTime(store, 'mapid_1')
562
+ * @param {object} store store: object - store object
563
+ * @param {string} mapId mapId: string - Id of the map
564
+ * @returns {number} returnType: number - center time as a unix timestamp
565
+ */
566
+ export declare const getMapTimeSliderCenterTime: ((state: {
567
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
568
+ ui?: uiTypes.UIStoreType | undefined;
569
+ webmap?: WebMapState | undefined;
570
+ services?: import("../types").ServiceState | undefined;
571
+ layers?: import("../types").LayerState | undefined;
572
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
573
+ } | undefined, params_0: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
574
+ clearCache: () => void;
575
+ }> & {
576
+ clearCache: () => void;
577
+ };
578
+ /**
579
+ * Returns the unfiltered selected time of time slider
580
+ * This is not used to set the selected time itself, which is controlled by TimeBounds where values are rounded.
581
+ *
582
+ * Example: selectedTime = getTimeSliderUnfliteredSelectedTime(store, 'mapid_1')
583
+ * @param {object} store store: object - store object
584
+ * @param {string} mapId mapId: string - Id of the map
585
+ * @returns {number} returnType: number - unfiltered selected time as a unix timestamp
586
+ */
587
+ export declare const getTimeSliderUnfilteredSelectedTime: ((state: {
588
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
589
+ ui?: uiTypes.UIStoreType | undefined;
590
+ webmap?: WebMapState | undefined;
591
+ services?: import("../types").ServiceState | undefined;
592
+ layers?: import("../types").LayerState | undefined;
593
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
594
+ } | undefined, params_0: string) => number | null | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | null | undefined, {
595
+ clearCache: () => void;
596
+ }> & {
597
+ clearCache: () => void;
598
+ };
599
+ /**
600
+ * Returns the number of seconds per pixel on the time slider
601
+ *
602
+ * Example: secondsPerPx = getSecondsPerPx(store, 'mapid_1')
603
+ * @param {object} store store: object - store object
604
+ * @param {string} mapId mapId: string - Id of the map
605
+ * @returns {number} returnType: number - the number of seconds per pixel
606
+ */
607
+ export declare const getMapTimeSliderSecondsPerPx: ((state: {
608
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
609
+ ui?: uiTypes.UIStoreType | undefined;
610
+ webmap?: WebMapState | undefined;
611
+ services?: import("../types").ServiceState | undefined;
612
+ layers?: import("../types").LayerState | undefined;
613
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
614
+ } | undefined, params_0: string) => number | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => number | undefined, {
615
+ clearCache: () => void;
616
+ }> & {
617
+ clearCache: () => void;
618
+ };
619
+ /**
620
+ * Returns map is timestep auto
621
+ *
622
+ * Example: isTimestepAuto = isTimestepAuto(store, 'mapid_1')
623
+ * @param {object} store store: object - store object
624
+ * @param {string} mapId mapId: string - Id of the map
625
+ * @returns {boolean} returnType: boolean
626
+ */
627
+ export declare const isTimestepAuto: ((state: {
628
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
629
+ ui?: uiTypes.UIStoreType | undefined;
630
+ webmap?: WebMapState | undefined;
631
+ services?: import("../types").ServiceState | undefined;
632
+ layers?: import("../types").LayerState | undefined;
633
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
634
+ } | undefined, params_0: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
635
+ clearCache: () => void;
636
+ }> & {
637
+ clearCache: () => void;
638
+ };
639
+ /**
640
+ * Returns map is timespan auto
641
+ *
642
+ * Example: isTimeSpanAuto = isTimeSpanAuto(store, 'mapid_1')
643
+ * @param {object} store store: object - store object
644
+ * @param {string} mapId mapId: string - Id of the map
645
+ * @returns {boolean} returnType: boolean
646
+ */
647
+ export declare const isTimeSpanAuto: ((state: {
648
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
649
+ ui?: uiTypes.UIStoreType | undefined;
650
+ webmap?: WebMapState | undefined;
651
+ services?: import("../types").ServiceState | undefined;
652
+ layers?: import("../types").LayerState | undefined;
653
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
654
+ } | undefined, params_0: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
655
+ clearCache: () => void;
656
+ }> & {
657
+ clearCache: () => void;
658
+ };
659
+ /**
660
+ * Returns map is time slider hover
661
+ *
662
+ * Example: isTimeSliderHoverOn = isTimeSliderHoverOn(store, 'mapid_1')
663
+ * @param {object} store store: object - store object
664
+ * @param {string} mapId mapId: string - Id of the map
665
+ * @returns {boolean} returnType: boolean
666
+ */
667
+ export declare const isTimeSliderHoverOn: ((state: {
668
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
669
+ ui?: uiTypes.UIStoreType | undefined;
670
+ webmap?: WebMapState | undefined;
671
+ services?: import("../types").ServiceState | undefined;
672
+ layers?: import("../types").LayerState | undefined;
673
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
674
+ } | undefined, params_0: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
675
+ clearCache: () => void;
676
+ }> & {
677
+ clearCache: () => void;
678
+ };
679
+ /**
680
+ * Returns map if zoomcontrols are visible
681
+ *
682
+ * Example: isZoomControlsVisible = isZoomControlsVisible(store, 'mapid_1')
683
+ * @param {object} store store: object - store object
684
+ * @param {string} mapId mapId: string - Id of the map
685
+ * @returns {boolean} returnType: boolean
686
+ */
687
+ export declare const isZoomControlsVisible: ((state: {
688
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
689
+ ui?: uiTypes.UIStoreType | undefined;
690
+ webmap?: WebMapState | undefined;
691
+ services?: import("../types").ServiceState | undefined;
692
+ layers?: import("../types").LayerState | undefined;
693
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
694
+ } | undefined, params_0: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
695
+ clearCache: () => void;
696
+ }> & {
697
+ clearCache: () => void;
698
+ };
699
+ /**
700
+ * Returns map is time slider visible
701
+ *
702
+ * Example: isTimeSliderHoverOn = isTimeSliderVisible(store, 'mapid_1')
703
+ * @param {object} store store: object - store object
704
+ * @param {string} mapId mapId: string - Id of the map
705
+ * @returns {boolean} returnType: boolean
706
+ */
707
+ export declare const isTimeSliderVisible: ((state: {
708
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
709
+ ui?: uiTypes.UIStoreType | undefined;
710
+ webmap?: WebMapState | undefined;
711
+ services?: import("../types").ServiceState | undefined;
712
+ layers?: import("../types").LayerState | undefined;
713
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
714
+ } | undefined, params_0: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
715
+ clearCache: () => void;
716
+ }> & {
717
+ clearCache: () => void;
718
+ };
719
+ /**
720
+ * Returns is layer is active layer
721
+ *
722
+ * Example: isLayerActiveLayer = getIsLayerActiveLayer(store, 'mapid_1', 'layer_1)
723
+ * @param {object} store store: object - store object
724
+ * @param {string} mapId mapId: string - Id of the map
725
+ * @param {string} mapId layerId: string - Id of the layer
726
+ * @returns {boolean} returnType: boolean
727
+ */
728
+ export declare const getIsLayerActiveLayer: ((state: {
729
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
730
+ ui?: uiTypes.UIStoreType | undefined;
731
+ webmap?: WebMapState | undefined;
732
+ services?: import("../types").ServiceState | undefined;
733
+ layers?: import("../types").LayerState | undefined;
734
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
735
+ } | undefined, params_0: string, params_1: {}) => boolean) & import("reselect").OutputSelectorFields<(args_0: string | undefined, args_1: any) => boolean, {
736
+ clearCache: () => void;
737
+ }> & {
738
+ clearCache: () => void;
739
+ };
740
+ /**
741
+ * Returns the mapId for given layerId
742
+ *
743
+ * Example const mapId = getMapIdFromLayerId(store 'layerId-A');
744
+ * @param {object} store store: object - store object
745
+ * @param {string} layerId layerId: string - Id of the layer
746
+ * @returns {string} returnType: string - the mapId, or null if not found
747
+ */
748
+ export declare const getMapIdFromLayerId: ((state: {
749
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
750
+ ui?: uiTypes.UIStoreType | undefined;
751
+ webmap?: WebMapState | undefined;
752
+ services?: import("../types").ServiceState | undefined;
753
+ layers?: import("../types").LayerState | undefined;
754
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
755
+ }, params_0?: string | undefined) => string) & import("reselect").OutputSelectorFields<(args_0: WebMapState | undefined, args_1: string | undefined) => string, {
756
+ clearCache: () => void;
757
+ }> & {
758
+ clearCache: () => void;
759
+ };
760
+ /**
761
+ * Returns the layerId for given layerName
762
+ *
763
+ * Example const layerId = getLayerIdByLayerName(store, 'mapid-1', 'precipitation');
764
+ * @param {object} store store: object - store object
765
+ * @param {string} mapId mapId: string - Id of the map
766
+ * @param {string} layerId layerId: string - Id of the layer
767
+ * @returns {string} returnType: string - the layerId, or null if not found
768
+ */
769
+ export declare const getLayerIdByLayerName: ((state: {
770
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
771
+ ui?: uiTypes.UIStoreType | undefined;
772
+ webmap?: WebMapState | undefined;
773
+ services?: import("../types").ServiceState | undefined;
774
+ layers?: import("../types").LayerState | undefined;
775
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
776
+ }, params_0: string, params_1: {}) => string) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: string) => string, {
777
+ clearCache: () => void;
778
+ }> & {
779
+ clearCache: () => void;
780
+ };
781
+ /**
782
+ * Returns the layerIndex in the map for given layerId
783
+ *
784
+ * Example const layerIndex = getLayerIndexByLayerId(store, 'mapid-1', 'precipitation');
785
+ * @param {object} store store: object - store object
786
+ * @param {string} mapId mapId: string - Id of the map
787
+ * @param {string} layerId layerId: string - Id of the layer
788
+ * @returns {number} returnType: index number or -1 if not found
789
+ */
790
+ export declare const getLayerIndexByLayerId: ((state: {
791
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
792
+ ui?: uiTypes.UIStoreType | undefined;
793
+ webmap?: WebMapState | undefined;
794
+ services?: import("../types").ServiceState | undefined;
795
+ layers?: import("../types").LayerState | undefined;
796
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
797
+ }, params_0: string, params_1?: string | undefined) => number) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: string | undefined) => number, {
798
+ clearCache: () => void;
799
+ }> & {
800
+ clearCache: () => void;
801
+ };
802
+ /**
803
+ * Returns the Layer in the map for given layerIndex
804
+ *
805
+ * Example const layer = getLayerByLayerIndex(store, 'mapid-1', 0);
806
+ * @param {object} store store: object - store object
807
+ * @param {string} mapId mapId: string - Id of the map
808
+ * @param {number} layerIndex layerId: number - Index of the layer in the map
809
+ * @returns {object} returnType: layer, or null if not found
810
+ */
811
+ export declare const getLayerByLayerIndex: ((state: {
812
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
813
+ ui?: uiTypes.UIStoreType | undefined;
814
+ webmap?: WebMapState | undefined;
815
+ services?: import("../types").ServiceState | undefined;
816
+ layers?: import("../types").LayerState | undefined;
817
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
818
+ }, params_0: string, params_1: {}) => Layer) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: number) => Layer, {
819
+ clearCache: () => void;
820
+ }> & {
821
+ clearCache: () => void;
822
+ };
823
+ /**
824
+ * Returns name of all unique dimensions present in all maps
825
+ *
826
+ * Example getAllUniqueDimensions(store);
827
+ * @param {object} store store: object - store object
828
+ * @returns {array} returnType: array of dimension names
829
+ */
830
+ export declare const getAllUniqueDimensions: ((state: {
831
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
832
+ ui?: uiTypes.UIStoreType | undefined;
833
+ webmap?: WebMapState | undefined;
834
+ services?: import("../types").ServiceState | undefined;
835
+ layers?: import("../types").LayerState | undefined;
836
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
837
+ }) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: CoreAppStore) => string[], {
838
+ clearCache: () => void;
839
+ }> & {
840
+ clearCache: () => void;
841
+ };
842
+ /**
843
+ * Returns the mapPinLocation for the current map
844
+ *
845
+ * Example getPinLocation(store);
846
+ * @param {object} store store: object - store object
847
+ * @param {string} mapId mapId: string - Id of the map
848
+ * @returns {object} returnType: latitude and longitude of pin
849
+ */
850
+ export declare const getPinLocation: ((state: {
851
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
852
+ ui?: uiTypes.UIStoreType | undefined;
853
+ webmap?: WebMapState | undefined;
854
+ services?: import("../types").ServiceState | undefined;
855
+ layers?: import("../types").LayerState | undefined;
856
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
857
+ } | undefined, params_0: string) => import("./types").MapLocation | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("./types").MapLocation | undefined, {
858
+ clearCache: () => void;
859
+ }> & {
860
+ clearCache: () => void;
861
+ };
862
+ /**
863
+ * Returns the disable map pin boolean for the current map
864
+ *
865
+ * Example getDisableMapPin(store);
866
+ * @param {object} store store: object - store object
867
+ * @param {string} mapId mapId: string - Id of the map
868
+ * @returns {boolean} returnType: boolean
869
+ */
870
+ export declare const getDisableMapPin: ((state: {
871
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
872
+ ui?: uiTypes.UIStoreType | undefined;
873
+ webmap?: WebMapState | undefined;
874
+ services?: import("../types").ServiceState | undefined;
875
+ layers?: import("../types").LayerState | undefined;
876
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
877
+ } | undefined, params_0: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
878
+ clearCache: () => void;
879
+ }> & {
880
+ clearCache: () => void;
881
+ };
882
+ /**
883
+ * Returns the display map pin boolean for the current map
884
+ *
885
+ * Example getDisplayMapPin(store);
886
+ * @param {object} store store: object - store object
887
+ * @param {string} mapId mapId: string - Id of the map
888
+ * @returns {boolean} returnType: boolean
889
+ */
890
+ export declare const getDisplayMapPin: ((state: {
891
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
892
+ ui?: uiTypes.UIStoreType | undefined;
893
+ webmap?: WebMapState | undefined;
894
+ services?: import("../types").ServiceState | undefined;
895
+ layers?: import("../types").LayerState | undefined;
896
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
897
+ } | undefined, params_0: string) => boolean | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => boolean | undefined, {
898
+ clearCache: () => void;
899
+ }> & {
900
+ clearCache: () => void;
901
+ };
902
+ /**
903
+ * Returns the legend id
904
+ *
905
+ * Example getLegendId(store, mapId);
906
+ * @param {object} store store: object - store object
907
+ * @param {string} mapId mapId: string - Id of the map
908
+ * @returns {boolean} returnType: id or undefined
909
+ */
910
+ export declare const getLegendId: ((state: {
911
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
912
+ ui?: uiTypes.UIStoreType | undefined;
913
+ webmap?: WebMapState | undefined;
914
+ services?: import("../types").ServiceState | undefined;
915
+ layers?: import("../types").LayerState | undefined;
916
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
917
+ } | undefined, params_0: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
918
+ clearCache: () => void;
919
+ }> & {
920
+ clearCache: () => void;
921
+ };
922
+ /**
923
+ * Creates a MapPreset from mapId
924
+ *
925
+ * Example getMapPreset(store, mapId);
926
+ * @param {object} store store: object - store object
927
+ * @param {string} mapId mapId: string - Id of the map
928
+ * @returns {MapPreset} returnType: MapPreset
929
+ */
930
+ export declare const getMapPreset: ((state: {
931
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
932
+ ui?: uiTypes.UIStoreType | undefined;
933
+ webmap?: WebMapState | undefined;
934
+ services?: import("../types").ServiceState | undefined;
935
+ layers?: import("../types").LayerState | undefined;
936
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
937
+ }, params_0: string) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: import("../types").ReduxLayer[], args_2: import("../types").ReduxLayer[], args_3: Bbox, args_4: string, args_5: string | undefined, args_6: string | undefined, args_7: string | undefined, args_8: boolean, args_9: boolean, args_10: boolean | undefined, args_11: boolean | undefined, args_12: boolean | undefined, args_13: number, args_14: number | undefined, args_15: boolean | undefined, args_16: string | undefined, args_17: uiTypes.UIStoreType) => MapPreset, {
938
+ clearCache: () => void;
939
+ }> & {
940
+ clearCache: () => void;
941
+ };
942
+ /**
943
+ * Gets all enabled layerIds for map
944
+ *
945
+ * Example: getMapLayerIdsEnabled = getLayerIdsEnabled(store, 'mapId_1')
946
+ * @param {object} store store: object - store
947
+ * @param {string} mapId mapId: string - Id of the map
948
+ * @returns {string[]} returnType: string[] - array of enabled layerIds
949
+ */
950
+ export declare const getMapLayerIdsEnabled: ((state: {
951
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
952
+ ui?: uiTypes.UIStoreType | undefined;
953
+ webmap?: WebMapState | undefined;
954
+ services?: import("../types").ServiceState | undefined;
955
+ layers?: import("../types").LayerState | undefined;
956
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
957
+ }, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: Record<string, import("../types").ReduxLayer> | null) => string[], {
958
+ clearCache: () => void;
959
+ }> & {
960
+ clearCache: () => void;
961
+ };
962
+ /**
963
+ * Returns if a map dimension is used for any enabled layers on that map
964
+ *
965
+ * Example getIsEnabledLayersForMapDimension(store, mapId);
966
+ * @param {object} store store: object - store object
967
+ * @param {string} mapId mapId: string - Id of the map
968
+ * @param {string} dimensionName dimensionName: string - name of the dimension
969
+ * @returns {Boolean} returnType: boolean
970
+ */
971
+ export declare const getIsEnabledLayersForMapDimension: ((state: {
972
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
973
+ ui?: uiTypes.UIStoreType | undefined;
974
+ webmap?: WebMapState | undefined;
975
+ services?: import("../types").ServiceState | undefined;
976
+ layers?: import("../types").LayerState | undefined;
977
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
978
+ }, params_0: string, params_1: {}) => any) & import("reselect").OutputSelectorFields<(args_0: string[], args_1: string[]) => any, {
979
+ clearCache: () => void;
980
+ }> & {
981
+ clearCache: () => void;
982
+ };
983
+ /**
984
+ * Returns the dockedLayerManagerSize originally set in mapPresets
985
+ *
986
+ * Example getDockedLayerManagerSize(store);
987
+ * @param {object} store store: object - store object
988
+ * @param {string} mapId mapId: string - Id of the map
989
+ * @returns {DockedLayerManagerSize} returnType: string
990
+ */
991
+ export declare const getDockedLayerManagerSize: ((state: {
992
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
993
+ ui?: uiTypes.UIStoreType | undefined;
994
+ webmap?: WebMapState | undefined;
995
+ services?: import("../types").ServiceState | undefined;
996
+ layers?: import("../types").LayerState | undefined;
997
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType | undefined;
998
+ } | undefined, params_0: string) => import("./types").DockedLayerManagerSize | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => import("./types").DockedLayerManagerSize | undefined, {
999
+ clearCache: () => void;
1000
+ }> & {
1001
+ clearCache: () => void;
1002
+ };