@opengeoweb/store 15.3.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/index.esm.js +841 -326
  2. package/package.json +6 -6
  3. package/src/index.d.ts +0 -1
  4. package/src/store/common/auth/index.d.ts +0 -3
  5. package/src/store/common/auth/reducer.d.ts +0 -14
  6. package/src/store/common/auth/reducer.spec.d.ts +0 -1
  7. package/src/store/common/auth/selectors.d.ts +0 -87
  8. package/src/store/common/auth/selectors.spec.d.ts +0 -1
  9. package/src/store/common/auth/types.d.ts +0 -22
  10. package/src/store/common/index.d.ts +0 -81
  11. package/src/store/common/listener.d.ts +0 -2
  12. package/src/store/common/types.d.ts +0 -6
  13. package/src/store/drawingTool/index.d.ts +0 -4
  14. package/src/store/drawingTool/listener.d.ts +0 -3
  15. package/src/store/drawingTool/listener.spec.d.ts +0 -1
  16. package/src/store/drawingTool/reducer.d.ts +0 -45
  17. package/src/store/drawingTool/reducer.spec.d.ts +0 -4
  18. package/src/store/drawingTool/selectors.d.ts +0 -347
  19. package/src/store/drawingTool/selectors.spec.d.ts +0 -1
  20. package/src/store/drawingTool/testUtils.d.ts +0 -1
  21. package/src/store/drawingTool/utils.d.ts +0 -1
  22. package/src/store/drawingTool/utils.spec.d.ts +0 -1
  23. package/src/store/generic/actions.d.ts +0 -28
  24. package/src/store/generic/hooks.d.ts +0 -2
  25. package/src/store/generic/index.d.ts +0 -25
  26. package/src/store/generic/linking/constants.d.ts +0 -6
  27. package/src/store/generic/linking/index.d.ts +0 -1
  28. package/src/store/generic/listener.d.ts +0 -2
  29. package/src/store/generic/listener.spec.d.ts +0 -1
  30. package/src/store/generic/loadingIndicator/constants.d.ts +0 -1
  31. package/src/store/generic/loadingIndicator/index.d.ts +0 -3
  32. package/src/store/generic/loadingIndicator/reducer.d.ts +0 -13
  33. package/src/store/generic/loadingIndicator/reducer.spec.d.ts +0 -1
  34. package/src/store/generic/loadingIndicator/selectors.d.ts +0 -337
  35. package/src/store/generic/loadingIndicator/selectors.spec.d.ts +0 -1
  36. package/src/store/generic/loadingIndicator/types.d.ts +0 -22
  37. package/src/store/generic/selectors.d.ts +0 -410
  38. package/src/store/generic/selectors.spec.d.ts +0 -1
  39. package/src/store/generic/syncGroups/__mocks__/mockState.d.ts +0 -2
  40. package/src/store/generic/syncGroups/constants.d.ts +0 -4
  41. package/src/store/generic/syncGroups/hooks.d.ts +0 -8
  42. package/src/store/generic/syncGroups/hooks.spec.d.ts +0 -1
  43. package/src/store/generic/syncGroups/index.d.ts +0 -10
  44. package/src/store/generic/syncGroups/listener.d.ts +0 -2
  45. package/src/store/generic/syncGroups/listener.spec.d.ts +0 -1
  46. package/src/store/generic/syncGroups/reducer.d.ts +0 -60
  47. package/src/store/generic/syncGroups/reducer.spec.d.ts +0 -1
  48. package/src/store/generic/syncGroups/selector.d.ts +0 -29
  49. package/src/store/generic/syncGroups/selectors.d.ts +0 -235
  50. package/src/store/generic/syncGroups/selectors.spec.d.ts +0 -1
  51. package/src/store/generic/syncGroups/types.d.ts +0 -166
  52. package/src/store/generic/syncGroups/utils.d.ts +0 -76
  53. package/src/store/generic/syncGroups/utils.spec.d.ts +0 -1
  54. package/src/store/generic/synchronizationActions/actions.d.ts +0 -11
  55. package/src/store/generic/synchronizationActions/types.d.ts +0 -43
  56. package/src/store/generic/types.d.ts +0 -24
  57. package/src/store/generic/utils.d.ts +0 -9
  58. package/src/store/generic/utils.spec.d.ts +0 -1
  59. package/src/store/index.d.ts +0 -22
  60. package/src/store/map/index.d.ts +0 -5
  61. package/src/store/map/layer/index.d.ts +0 -5
  62. package/src/store/map/layer/listeners.d.ts +0 -2
  63. package/src/store/map/layer/listeners.spec.d.ts +0 -1
  64. package/src/store/map/layer/reducer.d.ts +0 -88
  65. package/src/store/map/layer/reducer.spec.d.ts +0 -1
  66. package/src/store/map/layer/selectors.d.ts +0 -2547
  67. package/src/store/map/layer/selectors.spec.d.ts +0 -1
  68. package/src/store/map/layer/types.d.ts +0 -175
  69. package/src/store/map/layer/utils.d.ts +0 -33
  70. package/src/store/map/layer/utils.spec.d.ts +0 -1
  71. package/src/store/map/map/actions.d.ts +0 -9
  72. package/src/store/map/map/constants.d.ts +0 -3
  73. package/src/store/map/map/enums.d.ts +0 -3
  74. package/src/store/map/map/filterLayers.d.ts +0 -10
  75. package/src/store/map/map/filterLayers.spec.d.ts +0 -1
  76. package/src/store/map/map/index.d.ts +0 -26
  77. package/src/store/map/map/listener.d.ts +0 -4
  78. package/src/store/map/map/listener.spec.d.ts +0 -1
  79. package/src/store/map/map/mapListenerAnimationUtils.d.ts +0 -28
  80. package/src/store/map/map/mapListenerAnimationUtils.spec.d.ts +0 -1
  81. package/src/store/map/map/metronomeListener.d.ts +0 -2
  82. package/src/store/map/map/olMapListenerAnimationUtils.d.ts +0 -46
  83. package/src/store/map/map/olMapListenerAnimationUtils.spec.d.ts +0 -1
  84. package/src/store/map/map/reducer.d.ts +0 -132
  85. package/src/store/map/map/reducer.spec.d.ts +0 -1
  86. package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +0 -7
  87. package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -1
  88. package/src/store/map/map/selectors.d.ts +0 -3535
  89. package/src/store/map/map/selectors.spec.d.ts +0 -1
  90. package/src/store/map/map/types.d.ts +0 -327
  91. package/src/store/map/map/utils.d.ts +0 -87
  92. package/src/store/map/map/utils.spec.d.ts +0 -1
  93. package/src/store/map/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
  94. package/src/store/map/service/index.d.ts +0 -4
  95. package/src/store/map/service/listener.d.ts +0 -5
  96. package/src/store/map/service/listener.spec.d.ts +0 -1
  97. package/src/store/map/service/localStorage.d.ts +0 -3
  98. package/src/store/map/service/localStorage.spec.d.ts +0 -1
  99. package/src/store/map/service/reducer.d.ts +0 -10
  100. package/src/store/map/service/reducer.spec.d.ts +0 -1
  101. package/src/store/map/service/selectors.d.ts +0 -386
  102. package/src/store/map/service/selectors.spec.d.ts +0 -1
  103. package/src/store/map/service/types.d.ts +0 -52
  104. package/src/store/map/storeTestSettings.d.ts +0 -8
  105. package/src/store/map/storeTestUtils.d.ts +0 -18
  106. package/src/store/map/types.d.ts +0 -11
  107. package/src/store/mapStore/openlayers/listener.d.ts +0 -2
  108. package/src/store/mapStore/openlayers/listener.spec.d.ts +0 -1
  109. package/src/store/mapStore/openlayers/syncGroupViewStore.d.ts +0 -26
  110. package/src/store/router/index.d.ts +0 -2
  111. package/src/store/router/listener.d.ts +0 -2
  112. package/src/store/router/listener.spec.d.ts +0 -1
  113. package/src/store/router/reducer.d.ts +0 -9
  114. package/src/store/router/reducer.spec.d.ts +0 -1
  115. package/src/store/router/types.d.ts +0 -9
  116. package/src/store/router/utils.d.ts +0 -4
  117. package/src/store/store.d.ts +0 -37
  118. package/src/store/types.d.ts +0 -7
  119. package/src/store/ui/index.d.ts +0 -5
  120. package/src/store/ui/reducer.d.ts +0 -39
  121. package/src/store/ui/reducer.spec.d.ts +0 -1
  122. package/src/store/ui/selectors.d.ts +0 -234
  123. package/src/store/ui/selectors.spec.d.ts +0 -1
  124. package/src/store/ui/types.d.ts +0 -87
  125. package/src/store/ui/useSetupDialog.d.ts +0 -11
  126. package/src/store/ui/useSetupDialog.spec.d.ts +0 -1
  127. package/src/store/unifyReducerMaps.d.ts +0 -3
  128. package/src/store/unifyReducermaps.spec.d.ts +0 -1
  129. package/src/store/utils.d.ts +0 -6
@@ -1,410 +0,0 @@
1
- import type { CoreAppStore } from '../types';
2
- import type { LinkedState, PotentialData, SynchronizationGroupState, SynchronizationSource } from './syncGroups/types';
3
- import type { TimeSliderStartEndStepCurrent } from '../map/types';
4
- export declare const getSynchronizationGroupStore: (store: CoreAppStore) => SynchronizationGroupState;
5
- export declare const getTime: ((state: SynchronizationGroupState, id: string) => import("./synchronizationActions/types").SetTimeSyncProps | null) & {
6
- clearCache: () => void;
7
- resultsCount: () => number;
8
- resetResultsCount: () => void;
9
- } & {
10
- resultFunc: (resultFuncArgs_0: SynchronizationSource) => import("./synchronizationActions/types").SetTimeSyncProps | null;
11
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationSource) => import("./synchronizationActions/types").SetTimeSyncProps | null) & {
12
- clearCache: () => void;
13
- resultsCount: () => number;
14
- resetResultsCount: () => void;
15
- };
16
- lastResult: () => import("./synchronizationActions/types").SetTimeSyncProps | null;
17
- dependencies: [(state: SynchronizationGroupState, id: string) => SynchronizationSource];
18
- recomputations: () => number;
19
- resetRecomputations: () => void;
20
- dependencyRecomputations: () => number;
21
- resetDependencyRecomputations: () => void;
22
- } & {
23
- memoize: typeof import("reselect").weakMapMemoize;
24
- argsMemoize: typeof import("reselect").weakMapMemoize;
25
- };
26
- export declare const getLinkedMaps: ((state: any, panelId?: string | undefined) => string[]) & {
27
- clearCache: () => void;
28
- resultsCount: () => number;
29
- resetResultsCount: () => void;
30
- } & {
31
- resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string | undefined) => string[];
32
- memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string | undefined) => string[]) & {
33
- clearCache: () => void;
34
- resultsCount: () => number;
35
- resetResultsCount: () => void;
36
- };
37
- lastResult: () => string[];
38
- dependencies: [((state: CoreAppStore) => LinkedState) & {
39
- clearCache: () => void;
40
- resultsCount: () => number;
41
- resetResultsCount: () => void;
42
- } & {
43
- resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => LinkedState;
44
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => LinkedState) & {
45
- clearCache: () => void;
46
- resultsCount: () => number;
47
- resetResultsCount: () => void;
48
- };
49
- lastResult: () => LinkedState;
50
- dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
51
- recomputations: () => number;
52
- resetRecomputations: () => void;
53
- dependencyRecomputations: () => number;
54
- resetDependencyRecomputations: () => void;
55
- } & {
56
- memoize: typeof import("reselect").weakMapMemoize;
57
- argsMemoize: typeof import("reselect").weakMapMemoize;
58
- }, (store: any, panelId?: string) => string | undefined];
59
- recomputations: () => number;
60
- resetRecomputations: () => void;
61
- dependencyRecomputations: () => number;
62
- resetDependencyRecomputations: () => void;
63
- } & {
64
- memoize: typeof import("reselect").weakMapMemoize;
65
- argsMemoize: typeof import("reselect").weakMapMemoize;
66
- };
67
- export declare const selectSharedData: ((state: any, panelId: string) => PotentialData) & {
68
- clearCache: () => void;
69
- resultsCount: () => number;
70
- resetResultsCount: () => void;
71
- } & {
72
- resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => PotentialData;
73
- memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => PotentialData) & {
74
- clearCache: () => void;
75
- resultsCount: () => number;
76
- resetResultsCount: () => void;
77
- };
78
- lastResult: () => PotentialData;
79
- dependencies: [((state: CoreAppStore) => LinkedState) & {
80
- clearCache: () => void;
81
- resultsCount: () => number;
82
- resetResultsCount: () => void;
83
- } & {
84
- resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => LinkedState;
85
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => LinkedState) & {
86
- clearCache: () => void;
87
- resultsCount: () => number;
88
- resetResultsCount: () => void;
89
- };
90
- lastResult: () => LinkedState;
91
- dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
92
- recomputations: () => number;
93
- resetRecomputations: () => void;
94
- dependencyRecomputations: () => number;
95
- resetDependencyRecomputations: () => void;
96
- } & {
97
- memoize: typeof import("reselect").weakMapMemoize;
98
- argsMemoize: typeof import("reselect").weakMapMemoize;
99
- }, (store: any, panelId: string) => string];
100
- recomputations: () => number;
101
- resetRecomputations: () => void;
102
- dependencyRecomputations: () => number;
103
- resetDependencyRecomputations: () => void;
104
- } & {
105
- memoize: typeof import("reselect").weakMapMemoize;
106
- argsMemoize: typeof import("reselect").weakMapMemoize;
107
- };
108
- export declare const selectLinkedPanelId: ((state: any, mapViewId: string) => string | undefined) & {
109
- clearCache: () => void;
110
- resultsCount: () => number;
111
- resetResultsCount: () => void;
112
- } & {
113
- resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string | undefined;
114
- memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string | undefined) & {
115
- clearCache: () => void;
116
- resultsCount: () => number;
117
- resetResultsCount: () => void;
118
- };
119
- lastResult: () => string | undefined;
120
- dependencies: [((state: CoreAppStore) => LinkedState) & {
121
- clearCache: () => void;
122
- resultsCount: () => number;
123
- resetResultsCount: () => void;
124
- } & {
125
- resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => LinkedState;
126
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => LinkedState) & {
127
- clearCache: () => void;
128
- resultsCount: () => number;
129
- resetResultsCount: () => void;
130
- };
131
- lastResult: () => LinkedState;
132
- dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
133
- recomputations: () => number;
134
- resetRecomputations: () => void;
135
- dependencyRecomputations: () => number;
136
- resetDependencyRecomputations: () => void;
137
- } & {
138
- memoize: typeof import("reselect").weakMapMemoize;
139
- argsMemoize: typeof import("reselect").weakMapMemoize;
140
- }, (_: any, mapViewId: string) => string];
141
- recomputations: () => number;
142
- resetRecomputations: () => void;
143
- dependencyRecomputations: () => number;
144
- resetDependencyRecomputations: () => void;
145
- } & {
146
- memoize: typeof import("reselect").weakMapMemoize;
147
- argsMemoize: typeof import("reselect").weakMapMemoize;
148
- };
149
- export declare const selectMapViewsForPanelId: ((state: LinkedState, panelId: string) => string[] | undefined) & {
150
- clearCache: () => void;
151
- resultsCount: () => number;
152
- resetResultsCount: () => void;
153
- } & {
154
- resultFunc: (resultFuncArgs_0: string[]) => string[] | undefined;
155
- memoizedResultFunc: ((resultFuncArgs_0: string[]) => string[] | undefined) & {
156
- clearCache: () => void;
157
- resultsCount: () => number;
158
- resetResultsCount: () => void;
159
- };
160
- lastResult: () => string[] | undefined;
161
- dependencies: [(linkedState: LinkedState, panelId: string) => string[]];
162
- recomputations: () => number;
163
- resetRecomputations: () => void;
164
- dependencyRecomputations: () => number;
165
- resetDependencyRecomputations: () => void;
166
- } & {
167
- memoize: typeof import("reselect").weakMapMemoize;
168
- argsMemoize: typeof import("reselect").weakMapMemoize;
169
- };
170
- export declare const selectLinkedFeatures: ((state: any, props: {
171
- mapId: string;
172
- }) => {
173
- id: string;
174
- originalId?: string;
175
- geoJSON: GeoJSON.FeatureCollection<GeoJSON.Geometry, import("./syncGroups/types").PotentialDataProperties | null>;
176
- }[]) & {
177
- clearCache: () => void;
178
- resultsCount: () => number;
179
- resetResultsCount: () => void;
180
- } & {
181
- resultFunc: (resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
182
- id: string;
183
- originalId?: string;
184
- geoJSON: GeoJSON.FeatureCollection<GeoJSON.Geometry, import("./syncGroups/types").PotentialDataProperties | null>;
185
- }[];
186
- memoizedResultFunc: ((resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
187
- id: string;
188
- originalId?: string;
189
- geoJSON: GeoJSON.FeatureCollection<GeoJSON.Geometry, import("./syncGroups/types").PotentialDataProperties | null>;
190
- }[]) & {
191
- clearCache: () => void;
192
- resultsCount: () => number;
193
- resetResultsCount: () => void;
194
- };
195
- lastResult: () => {
196
- id: string;
197
- originalId?: string;
198
- geoJSON: GeoJSON.FeatureCollection<GeoJSON.Geometry, import("./syncGroups/types").PotentialDataProperties | null>;
199
- }[];
200
- dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
201
- mapId: string;
202
- }) => string[]) & {
203
- clearCache: () => void;
204
- resultsCount: () => number;
205
- resetResultsCount: () => void;
206
- } & {
207
- resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[];
208
- memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[]) & {
209
- clearCache: () => void;
210
- resultsCount: () => number;
211
- resetResultsCount: () => void;
212
- };
213
- lastResult: () => string[];
214
- dependencies: [(linkedState: LinkedState) => LinkedState, (linkedState: LinkedState, props: {
215
- mapId: string;
216
- }) => string];
217
- recomputations: () => number;
218
- resetRecomputations: () => void;
219
- dependencyRecomputations: () => number;
220
- resetDependencyRecomputations: () => void;
221
- } & {
222
- memoize: typeof import("reselect").weakMapMemoize;
223
- argsMemoize: typeof import("reselect").weakMapMemoize;
224
- }];
225
- recomputations: () => number;
226
- resetRecomputations: () => void;
227
- dependencyRecomputations: () => number;
228
- resetDependencyRecomputations: () => void;
229
- } & {
230
- memoize: typeof import("reselect").weakMapMemoize;
231
- argsMemoize: typeof import("reselect").weakMapMemoize;
232
- };
233
- export declare const selectLinkedFormFeatures: ((state: any, props: {
234
- mapId: string;
235
- }) => {
236
- id: string;
237
- geoJSON: GeoJSON.FeatureCollection;
238
- }[]) & {
239
- clearCache: () => void;
240
- resultsCount: () => number;
241
- resetResultsCount: () => void;
242
- } & {
243
- resultFunc: (resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
244
- id: string;
245
- geoJSON: GeoJSON.FeatureCollection;
246
- }[];
247
- memoizedResultFunc: ((resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
248
- id: string;
249
- geoJSON: GeoJSON.FeatureCollection;
250
- }[]) & {
251
- clearCache: () => void;
252
- resultsCount: () => number;
253
- resetResultsCount: () => void;
254
- };
255
- lastResult: () => {
256
- id: string;
257
- geoJSON: GeoJSON.FeatureCollection;
258
- }[];
259
- dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
260
- mapId: string;
261
- }) => string[]) & {
262
- clearCache: () => void;
263
- resultsCount: () => number;
264
- resetResultsCount: () => void;
265
- } & {
266
- resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[];
267
- memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[]) & {
268
- clearCache: () => void;
269
- resultsCount: () => number;
270
- resetResultsCount: () => void;
271
- };
272
- lastResult: () => string[];
273
- dependencies: [(linkedState: LinkedState) => LinkedState, (linkedState: LinkedState, props: {
274
- mapId: string;
275
- }) => string];
276
- recomputations: () => number;
277
- resetRecomputations: () => void;
278
- dependencyRecomputations: () => number;
279
- resetDependencyRecomputations: () => void;
280
- } & {
281
- memoize: typeof import("reselect").weakMapMemoize;
282
- argsMemoize: typeof import("reselect").weakMapMemoize;
283
- }];
284
- recomputations: () => number;
285
- resetRecomputations: () => void;
286
- dependencyRecomputations: () => number;
287
- resetDependencyRecomputations: () => void;
288
- } & {
289
- memoize: typeof import("reselect").weakMapMemoize;
290
- argsMemoize: typeof import("reselect").weakMapMemoize;
291
- };
292
- export declare const getSelectedFeature: ((state: SynchronizationGroupState, mapId: string) => {
293
- lat: number;
294
- lon: number;
295
- id: string;
296
- name: string | undefined;
297
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
298
- serviceId: string | undefined;
299
- } | {
300
- lat: number;
301
- lon: number;
302
- id: string;
303
- name: string | undefined;
304
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
305
- serviceId?: undefined;
306
- } | null) & {
307
- clearCache: () => void;
308
- resultsCount: () => number;
309
- resetResultsCount: () => void;
310
- } & {
311
- resultFunc: (resultFuncArgs_0: PotentialData) => {
312
- lat: number;
313
- lon: number;
314
- id: string;
315
- name: string | undefined;
316
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
317
- serviceId: string | undefined;
318
- } | {
319
- lat: number;
320
- lon: number;
321
- id: string;
322
- name: string | undefined;
323
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
324
- serviceId?: undefined;
325
- } | null;
326
- memoizedResultFunc: ((resultFuncArgs_0: PotentialData) => {
327
- lat: number;
328
- lon: number;
329
- id: string;
330
- name: string | undefined;
331
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
332
- serviceId: string | undefined;
333
- } | {
334
- lat: number;
335
- lon: number;
336
- id: string;
337
- name: string | undefined;
338
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
339
- serviceId?: undefined;
340
- } | null) & {
341
- clearCache: () => void;
342
- resultsCount: () => number;
343
- resetResultsCount: () => void;
344
- };
345
- lastResult: () => {
346
- lat: number;
347
- lon: number;
348
- id: string;
349
- name: string | undefined;
350
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
351
- serviceId: string | undefined;
352
- } | {
353
- lat: number;
354
- lon: number;
355
- id: string;
356
- name: string | undefined;
357
- occurrences: import("./syncGroups/types").Occurrence[] | undefined;
358
- serviceId?: undefined;
359
- } | null;
360
- dependencies: [(state: SynchronizationGroupState, mapId: string) => PotentialData];
361
- recomputations: () => number;
362
- resetRecomputations: () => void;
363
- dependencyRecomputations: () => number;
364
- resetDependencyRecomputations: () => void;
365
- } & {
366
- memoize: typeof import("reselect").weakMapMemoize;
367
- argsMemoize: typeof import("reselect").weakMapMemoize;
368
- };
369
- export declare const getSelectedFeatureAsGeoJSON: ((state: SynchronizationGroupState, mapId: string) => import("geojson").Feature<import("geojson").Geometry, import("./syncGroups/types").PotentialDataProperties | null> | null | undefined) & {
370
- clearCache: () => void;
371
- resultsCount: () => number;
372
- resetResultsCount: () => void;
373
- } & {
374
- resultFunc: (resultFuncArgs_0: PotentialData) => import("geojson").Feature<import("geojson").Geometry, import("./syncGroups/types").PotentialDataProperties | null> | null | undefined;
375
- memoizedResultFunc: ((resultFuncArgs_0: PotentialData) => import("geojson").Feature<import("geojson").Geometry, import("./syncGroups/types").PotentialDataProperties | null> | null | undefined) & {
376
- clearCache: () => void;
377
- resultsCount: () => number;
378
- resetResultsCount: () => void;
379
- };
380
- lastResult: () => import("geojson").Feature<import("geojson").Geometry, import("./syncGroups/types").PotentialDataProperties | null> | null | undefined;
381
- dependencies: [(state: SynchronizationGroupState, mapId: string) => PotentialData];
382
- recomputations: () => number;
383
- resetRecomputations: () => void;
384
- dependencyRecomputations: () => number;
385
- resetDependencyRecomputations: () => void;
386
- } & {
387
- memoize: typeof import("reselect").weakMapMemoize;
388
- argsMemoize: typeof import("reselect").weakMapMemoize;
389
- };
390
- export declare const getSyncedStartCenterEndStepCurrentTime: ((state: any, ...params: any[]) => TimeSliderStartEndStepCurrent | undefined) & {
391
- clearCache: () => void;
392
- resultsCount: () => number;
393
- resetResultsCount: () => void;
394
- } & {
395
- resultFunc: (...resultFuncArgs: readonly any[]) => TimeSliderStartEndStepCurrent | undefined;
396
- memoizedResultFunc: ((...resultFuncArgs: readonly any[]) => TimeSliderStartEndStepCurrent | undefined) & {
397
- clearCache: () => void;
398
- resultsCount: () => number;
399
- resetResultsCount: () => void;
400
- };
401
- lastResult: () => TimeSliderStartEndStepCurrent | undefined;
402
- dependencies: import("reselect").SelectorArray<any>;
403
- recomputations: () => number;
404
- resetRecomputations: () => void;
405
- dependencyRecomputations: () => number;
406
- resetDependencyRecomputations: () => void;
407
- } & {
408
- memoize: typeof import("reselect").weakMapMemoize;
409
- argsMemoize: typeof import("reselect").weakMapMemoize;
410
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import type { SynchronizationGroupState } from '../types';
2
- export declare const createSyncGroupMockState: () => SynchronizationGroupState;
@@ -1,4 +0,0 @@
1
- export declare const SYNCGROUPS_TYPE_SETTIME = "SYNCGROUPS_TYPE_SETTIME";
2
- export declare const SYNCGROUPS_TYPE_SETBBOX = "SYNCGROUPS_TYPE_SETBBOX";
3
- export declare const SYNCGROUPS_TYPE_SETLAYERACTIONS = "SYNCGROUPS_TYPE_SETLAYERACTIONS";
4
- export declare const SYNCGROUPS_SET_VIEW_STATE = "SYNCGROUPS_SET_VIEW_STATE";
@@ -1,8 +0,0 @@
1
- import type { TimeSliderStartEndStepCurrent } from '../../map/map/types';
2
- /**
3
- * This registers a new syncgroup souce for given panel id. The source is not synced to any group by default.
4
- * When the user links the source with a group, this hook returns an object with the timeslider state: start, end, step and current time.
5
- * @param panelId panelId to register
6
- * @returns the timeslider state
7
- */
8
- export declare const useSyncgroupTimeState: (panelId: string, debounceMs?: number) => TimeSliderStartEndStepCurrent | undefined;
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- import { syncGroupsListener } from './listener';
2
- export { syncGroupsListener };
3
- export { syncGroupsActions, initialState, syncGroupsReducer } from './reducer';
4
- export * as syncConstants from './constants';
5
- export * as types from './types';
6
- export type { SynchronizationGroupModuleState } from './types';
7
- export * as syncGroupsSelectors from './selectors';
8
- export * as syncGroupsTypes from './types';
9
- export * as syncGroupsSelector from './selector';
10
- export * from './hooks';
@@ -1,2 +0,0 @@
1
- import type { SynchronizationGroupModuleState } from './types';
2
- export declare const syncGroupsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<SynchronizationGroupModuleState, import("redux-thunk").ThunkDispatch<SynchronizationGroupModuleState, unknown, import("redux").UnknownAction>, unknown>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,60 +0,0 @@
1
- import type { PayloadAction, Draft } from '@reduxjs/toolkit';
2
- import type { SynchronizationGroupState, SyncGroupAddTargetPayload, SyncGroupAddGroupPayload, SyncGroupRemoveTargetPayload, SyncGroupRemoveGroupPayload, SyncGroupSetViewStatePayload, SyncGroupLinkTargetPayload, SyncGroupRemoveSourcePayload, SyncGroupsAddSourcePayload, SyncGroupToggleIsTimeScrollingEnabled, UpdateLinkedMap, AddSharedData, DeleteSharedData, SetLinkedMap } from './types';
3
- export declare const initialState: SynchronizationGroupState;
4
- export declare const slice: import("@reduxjs/toolkit").Slice<SynchronizationGroupState, {
5
- /** Sets the links map.
6
- * This is used to override the links when changing workspaces.
7
- * @param draft sync state
8
- * @param {Record<string, string[]>} action.newLinks the new links object
9
- */
10
- setLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SetLinkedMap>) => void;
11
- /** Updates the links map.
12
- * This is used to update the links when operating the link menu.
13
- * @param draft sync state
14
- * @param {string} action.panelId id of the panel updating it's links
15
- * @param {string[]} action.mapIds the new linked maps
16
- */
17
- updateLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<UpdateLinkedMap>) => void;
18
- removeLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<string>) => void;
19
- addSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<AddSharedData>) => void;
20
- deleteSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<DeleteSharedData>) => void;
21
- syncGroupAddSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
22
- syncGroupRemoveSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveSourcePayload>) => void;
23
- syncGroupAddTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddTargetPayload>) => void;
24
- syncGroupRemoveTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveTargetPayload>) => void;
25
- syncGroupLinkTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupLinkTargetPayload>) => void;
26
- syncGroupAddGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddGroupPayload>) => void;
27
- syncGroupRemoveGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveGroupPayload>) => void;
28
- syncGroupClear: () => SynchronizationGroupState;
29
- syncGroupSetViewState: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupSetViewStatePayload>) => void;
30
- syncGroupToggleIsTimeScrollingEnabled: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupToggleIsTimeScrollingEnabled>) => void;
31
- }, "synchronizationGroupsReducer", "synchronizationGroupsReducer", import("@reduxjs/toolkit").SliceSelectors<SynchronizationGroupState>>;
32
- export declare const syncGroupAddGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupAddGroupPayload, "synchronizationGroupsReducer/syncGroupAddGroup">, syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupsAddSourcePayload, "synchronizationGroupsReducer/syncGroupAddSource">, syncGroupAddTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupAddTargetPayload, "synchronizationGroupsReducer/syncGroupAddTarget">, syncGroupClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"synchronizationGroupsReducer/syncGroupClear">, syncGroupLinkTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupLinkTargetPayload, "synchronizationGroupsReducer/syncGroupLinkTarget">, syncGroupRemoveGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupRemoveGroupPayload, "synchronizationGroupsReducer/syncGroupRemoveGroup">, syncGroupRemoveSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupRemoveSourcePayload, "synchronizationGroupsReducer/syncGroupRemoveSource">, syncGroupRemoveTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupRemoveTargetPayload, "synchronizationGroupsReducer/syncGroupRemoveTarget">, syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupSetViewStatePayload, "synchronizationGroupsReducer/syncGroupSetViewState">;
33
- export declare const syncGroupsReducer: import("redux").Reducer<SynchronizationGroupState>, syncGroupsActions: import("@reduxjs/toolkit").CaseReducerActions<{
34
- /** Sets the links map.
35
- * This is used to override the links when changing workspaces.
36
- * @param draft sync state
37
- * @param {Record<string, string[]>} action.newLinks the new links object
38
- */
39
- setLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SetLinkedMap>) => void;
40
- /** Updates the links map.
41
- * This is used to update the links when operating the link menu.
42
- * @param draft sync state
43
- * @param {string} action.panelId id of the panel updating it's links
44
- * @param {string[]} action.mapIds the new linked maps
45
- */
46
- updateLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<UpdateLinkedMap>) => void;
47
- removeLinkedMap: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<string>) => void;
48
- addSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<AddSharedData>) => void;
49
- deleteSharedData: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<DeleteSharedData>) => void;
50
- syncGroupAddSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
51
- syncGroupRemoveSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveSourcePayload>) => void;
52
- syncGroupAddTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddTargetPayload>) => void;
53
- syncGroupRemoveTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveTargetPayload>) => void;
54
- syncGroupLinkTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupLinkTargetPayload>) => void;
55
- syncGroupAddGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddGroupPayload>) => void;
56
- syncGroupRemoveGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveGroupPayload>) => void;
57
- syncGroupClear: () => SynchronizationGroupState;
58
- syncGroupSetViewState: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupSetViewStatePayload>) => void;
59
- syncGroupToggleIsTimeScrollingEnabled: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupToggleIsTimeScrollingEnabled>) => void;
60
- }, "synchronizationGroupsReducer">;
@@ -1 +0,0 @@
1
- export {};
@@ -1,29 +0,0 @@
1
- import type { SyncGroupViewState, SynchronizationGroups, SynchronizationSources, SyncType } from './types';
2
- import type { CoreAppStore } from '../../types';
3
- export declare const groupTypes: {
4
- title: string;
5
- syncType: SyncType;
6
- groupType: string;
7
- }[];
8
- export declare const createSyncGroupViewState: (groups: SynchronizationGroups, sources: SynchronizationSources) => SyncGroupViewState;
9
- export declare const createSyncGroupViewStateSelector: ((state: CoreAppStore) => SyncGroupViewState) & {
10
- clearCache: () => void;
11
- resultsCount: () => number;
12
- resetResultsCount: () => void;
13
- } & {
14
- resultFunc: (resultFuncArgs_0: SynchronizationGroups, resultFuncArgs_1: SynchronizationSources) => SyncGroupViewState;
15
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroups, resultFuncArgs_1: SynchronizationSources) => SyncGroupViewState) & {
16
- clearCache: () => void;
17
- resultsCount: () => number;
18
- resetResultsCount: () => void;
19
- };
20
- lastResult: () => SyncGroupViewState;
21
- dependencies: [(store: CoreAppStore) => SynchronizationGroups, (store: CoreAppStore) => SynchronizationSources];
22
- recomputations: () => number;
23
- resetRecomputations: () => void;
24
- dependencyRecomputations: () => number;
25
- resetDependencyRecomputations: () => void;
26
- } & {
27
- argsMemoize: typeof import("reselect").weakMapMemoize;
28
- memoize: typeof import("reselect").weakMapMemoize;
29
- };