@opengeoweb/store 12.2.0 → 12.3.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.
@@ -1,2 +1,2 @@
1
1
  import { SynchronizationGroupModuleState } from './types';
2
- export declare const syncGroupsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<SynchronizationGroupModuleState, import("@reduxjs/toolkit").ThunkDispatch<SynchronizationGroupModuleState, unknown, import("redux").AnyAction>, unknown>;
2
+ export declare const syncGroupsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<SynchronizationGroupModuleState, import("redux-thunk").ThunkDispatch<SynchronizationGroupModuleState, unknown, import("redux").UnknownAction>, unknown>;
@@ -27,7 +27,7 @@ export declare const slice: import("@reduxjs/toolkit").Slice<SynchronizationGrou
27
27
  syncGroupClear: () => SynchronizationGroupState;
28
28
  syncGroupSetViewState: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupSetViewStatePayload>) => void;
29
29
  syncGroupToggleIsTimeScrollingEnabled: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupToggleIsTimeScrollingEnabled>) => void;
30
- }, "synchronizationGroupsReducer">;
30
+ }, "synchronizationGroupsReducer", "synchronizationGroupsReducer", import("@reduxjs/toolkit").SliceSelectors<SynchronizationGroupState>>;
31
31
  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">;
32
32
  export declare const syncGroupsReducer: import("redux").Reducer<SynchronizationGroupState>, syncGroupsActions: import("@reduxjs/toolkit").CaseReducerActions<{
33
33
  /** Sets the links map.
@@ -6,8 +6,24 @@ export declare const groupTypes: {
6
6
  groupType: string;
7
7
  }[];
8
8
  export declare const createSyncGroupViewState: (groups: SynchronizationGroups, sources: SynchronizationSources) => SyncGroupViewState;
9
- export declare const createSyncGroupViewStateSelector: ((state: CoreAppStore) => SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroups, args_1: SynchronizationSources) => SyncGroupViewState, {
10
- clearCache: () => void;
11
- }> & {
9
+ export declare const createSyncGroupViewStateSelector: ((state: CoreAppStore) => SyncGroupViewState) & {
12
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;
13
29
  };
@@ -10,60 +10,266 @@ export declare const syncGroupStore: (store: CoreAppStore) => SynchronizationGro
10
10
  * @param {object} store store: object - Store object
11
11
  * @returns {object} returnType: SynchronizationGroupState
12
12
  */
13
- export declare const getSynchronizationGroupState: ((state: CoreAppStore) => SynchronizationGroupState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => SynchronizationGroupState, {
14
- clearCache: () => void;
15
- }> & {
13
+ export declare const getSynchronizationGroupState: ((state: CoreAppStore) => SynchronizationGroupState) & {
16
14
  clearCache: () => void;
15
+ resultsCount: () => number;
16
+ resetResultsCount: () => void;
17
+ } & {
18
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState;
19
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState) & {
20
+ clearCache: () => void;
21
+ resultsCount: () => number;
22
+ resetResultsCount: () => void;
23
+ };
24
+ lastResult: () => SynchronizationGroupState;
25
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
26
+ recomputations: () => number;
27
+ resetRecomputations: () => void;
28
+ dependencyRecomputations: () => number;
29
+ resetDependencyRecomputations: () => void;
30
+ } & {
31
+ memoize: typeof import("reselect").weakMapMemoize;
32
+ argsMemoize: typeof import("reselect").weakMapMemoize;
17
33
  };
18
- export declare const getSynchronizationGroup: ((state: any, id: any) => SynchronizationGroup) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState, args_1: string) => SynchronizationGroup, {
19
- clearCache: () => void;
20
- }> & {
34
+ export declare const getSynchronizationGroup: ((state: any, id: any) => SynchronizationGroup) & {
21
35
  clearCache: () => void;
36
+ resultsCount: () => number;
37
+ resetResultsCount: () => void;
38
+ } & {
39
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string) => SynchronizationGroup;
40
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string) => SynchronizationGroup) & {
41
+ clearCache: () => void;
42
+ resultsCount: () => number;
43
+ resetResultsCount: () => void;
44
+ };
45
+ lastResult: () => SynchronizationGroup;
46
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState, (syncGroupStore: any, id: any) => string];
47
+ recomputations: () => number;
48
+ resetRecomputations: () => void;
49
+ dependencyRecomputations: () => number;
50
+ resetDependencyRecomputations: () => void;
51
+ } & {
52
+ memoize: typeof import("reselect").weakMapMemoize;
53
+ argsMemoize: typeof import("reselect").weakMapMemoize;
22
54
  };
23
- export declare const getSynchronizationGroupSource: ((state: any, id: any) => SynchronizationSource) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState, args_1: string) => SynchronizationSource, {
24
- clearCache: () => void;
25
- }> & {
55
+ export declare const getSynchronizationGroupSource: ((state: any, id: any) => SynchronizationSource) & {
26
56
  clearCache: () => void;
57
+ resultsCount: () => number;
58
+ resetResultsCount: () => void;
59
+ } & {
60
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string) => SynchronizationSource;
61
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string) => SynchronizationSource) & {
62
+ clearCache: () => void;
63
+ resultsCount: () => number;
64
+ resetResultsCount: () => void;
65
+ };
66
+ lastResult: () => SynchronizationSource;
67
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState, (syncGroupStore: any, id: any) => string];
68
+ recomputations: () => number;
69
+ resetRecomputations: () => void;
70
+ dependencyRecomputations: () => number;
71
+ resetDependencyRecomputations: () => void;
72
+ } & {
73
+ memoize: typeof import("reselect").weakMapMemoize;
74
+ argsMemoize: typeof import("reselect").weakMapMemoize;
27
75
  };
28
- export declare const getTargets: ((state: any, payload: any, actionType: any) => GenericSyncActionPayload[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState, args_1: GenericActionPayload, args_2: SyncType) => GenericSyncActionPayload[], {
29
- clearCache: () => void;
30
- }> & {
76
+ export declare const getTargets: ((state: any, payload: any, actionType: any) => GenericSyncActionPayload[]) & {
31
77
  clearCache: () => void;
78
+ resultsCount: () => number;
79
+ resetResultsCount: () => void;
80
+ } & {
81
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: GenericActionPayload, resultFuncArgs_2: SyncType) => GenericSyncActionPayload[];
82
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: GenericActionPayload, resultFuncArgs_2: SyncType) => GenericSyncActionPayload[]) & {
83
+ clearCache: () => void;
84
+ resultsCount: () => number;
85
+ resetResultsCount: () => void;
86
+ };
87
+ lastResult: () => GenericSyncActionPayload[];
88
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState, (syncGroupStore: any, payload: any) => GenericActionPayload, (syncGroupStore: any, payload: any, actionType: any) => SyncType];
89
+ recomputations: () => number;
90
+ resetRecomputations: () => void;
91
+ dependencyRecomputations: () => number;
92
+ resetDependencyRecomputations: () => void;
93
+ } & {
94
+ memoize: typeof import("reselect").weakMapMemoize;
95
+ argsMemoize: typeof import("reselect").weakMapMemoize;
32
96
  };
33
- export declare const getTargetGroups: ((state: any, payload: any, actionType: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState, args_1: GenericActionPayload, args_2: SyncType) => string[], {
34
- clearCache: () => void;
35
- }> & {
97
+ export declare const getTargetGroups: ((state: any, payload: any, actionType: any) => string[]) & {
36
98
  clearCache: () => void;
99
+ resultsCount: () => number;
100
+ resetResultsCount: () => void;
101
+ } & {
102
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: GenericActionPayload, resultFuncArgs_2: SyncType) => string[];
103
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: GenericActionPayload, resultFuncArgs_2: SyncType) => string[]) & {
104
+ clearCache: () => void;
105
+ resultsCount: () => number;
106
+ resetResultsCount: () => void;
107
+ };
108
+ lastResult: () => string[];
109
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState, (syncGroupStore: any, payload: any) => GenericActionPayload, (syncGroupStore: any, payload: any, actionType: any) => SyncType];
110
+ recomputations: () => number;
111
+ resetRecomputations: () => void;
112
+ dependencyRecomputations: () => number;
113
+ resetDependencyRecomputations: () => void;
114
+ } & {
115
+ memoize: typeof import("reselect").weakMapMemoize;
116
+ argsMemoize: typeof import("reselect").weakMapMemoize;
37
117
  };
38
- export declare const getSourceId: ((state: any, sourceId: any) => string) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState, args_1: string | {
39
- sourceId: string;
40
- }) => string, {
41
- clearCache: () => void;
42
- }> & {
118
+ export declare const getSourceId: ((state: any, sourceId: any) => string) & {
43
119
  clearCache: () => void;
120
+ resultsCount: () => number;
121
+ resetResultsCount: () => void;
122
+ } & {
123
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string | {
124
+ sourceId: string;
125
+ }) => string;
126
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string | {
127
+ sourceId: string;
128
+ }) => string) & {
129
+ clearCache: () => void;
130
+ resultsCount: () => number;
131
+ resetResultsCount: () => void;
132
+ };
133
+ lastResult: () => string;
134
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState, (syncGroupStore: any, sourceId: any) => {
135
+ sourceId: string;
136
+ } | string];
137
+ recomputations: () => number;
138
+ resetRecomputations: () => void;
139
+ dependencyRecomputations: () => number;
140
+ resetDependencyRecomputations: () => void;
141
+ } & {
142
+ memoize: typeof import("reselect").weakMapMemoize;
143
+ argsMemoize: typeof import("reselect").weakMapMemoize;
44
144
  };
45
- export declare const getAllTargetGroupsForSource: ((state: any, sourceId: any) => string[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState, args_1: string) => string[], {
46
- clearCache: () => void;
47
- }> & {
145
+ export declare const getAllTargetGroupsForSource: ((state: any, sourceId: any) => string[]) & {
48
146
  clearCache: () => void;
147
+ resultsCount: () => number;
148
+ resetResultsCount: () => void;
149
+ } & {
150
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string) => string[];
151
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string) => string[]) & {
152
+ clearCache: () => void;
153
+ resultsCount: () => number;
154
+ resetResultsCount: () => void;
155
+ };
156
+ lastResult: () => string[];
157
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState, ((state: any, sourceId: any) => string) & {
158
+ clearCache: () => void;
159
+ resultsCount: () => number;
160
+ resetResultsCount: () => void;
161
+ } & {
162
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string | {
163
+ sourceId: string;
164
+ }) => string;
165
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState, resultFuncArgs_1: string | {
166
+ sourceId: string;
167
+ }) => string) & {
168
+ clearCache: () => void;
169
+ resultsCount: () => number;
170
+ resetResultsCount: () => void;
171
+ };
172
+ lastResult: () => string;
173
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState, (syncGroupStore: any, sourceId: any) => {
174
+ sourceId: string;
175
+ } | string];
176
+ recomputations: () => number;
177
+ resetRecomputations: () => void;
178
+ dependencyRecomputations: () => number;
179
+ resetDependencyRecomputations: () => void;
180
+ } & {
181
+ memoize: typeof import("reselect").weakMapMemoize;
182
+ argsMemoize: typeof import("reselect").weakMapMemoize;
183
+ }];
184
+ recomputations: () => number;
185
+ resetRecomputations: () => void;
186
+ dependencyRecomputations: () => number;
187
+ resetDependencyRecomputations: () => void;
188
+ } & {
189
+ memoize: typeof import("reselect").weakMapMemoize;
190
+ argsMemoize: typeof import("reselect").weakMapMemoize;
49
191
  };
50
- export declare const syncGroupGetViewState: ((state: CoreAppStore) => import("./types").SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => import("./types").SyncGroupViewState, {
51
- clearCache: () => void;
52
- }> & {
192
+ export declare const syncGroupGetViewState: ((state: CoreAppStore) => import("./types").SyncGroupViewState) & {
53
193
  clearCache: () => void;
194
+ resultsCount: () => number;
195
+ resetResultsCount: () => void;
196
+ } & {
197
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => import("./types").SyncGroupViewState;
198
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => import("./types").SyncGroupViewState) & {
199
+ clearCache: () => void;
200
+ resultsCount: () => number;
201
+ resetResultsCount: () => void;
202
+ };
203
+ lastResult: () => import("./types").SyncGroupViewState;
204
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
205
+ recomputations: () => number;
206
+ resetRecomputations: () => void;
207
+ dependencyRecomputations: () => number;
208
+ resetDependencyRecomputations: () => void;
209
+ } & {
210
+ memoize: typeof import("reselect").weakMapMemoize;
211
+ argsMemoize: typeof import("reselect").weakMapMemoize;
54
212
  };
55
- export declare const isTimeScrollingEnabled: ((state: CoreAppStore) => boolean) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => boolean, {
56
- clearCache: () => void;
57
- }> & {
213
+ export declare const isTimeScrollingEnabled: ((state: CoreAppStore) => boolean) & {
58
214
  clearCache: () => void;
215
+ resultsCount: () => number;
216
+ resetResultsCount: () => void;
217
+ } & {
218
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => boolean;
219
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => boolean) & {
220
+ clearCache: () => void;
221
+ resultsCount: () => number;
222
+ resetResultsCount: () => void;
223
+ };
224
+ lastResult: () => boolean;
225
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
226
+ recomputations: () => number;
227
+ resetRecomputations: () => void;
228
+ dependencyRecomputations: () => number;
229
+ resetDependencyRecomputations: () => void;
230
+ } & {
231
+ memoize: typeof import("reselect").weakMapMemoize;
232
+ argsMemoize: typeof import("reselect").weakMapMemoize;
59
233
  };
60
- export declare const getSyncedMapIdsForTimeslider: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => string[], {
61
- clearCache: () => void;
62
- }> & {
234
+ export declare const getSyncedMapIdsForTimeslider: ((state: CoreAppStore) => string[]) & {
63
235
  clearCache: () => void;
236
+ resultsCount: () => number;
237
+ resetResultsCount: () => void;
238
+ } & {
239
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => string[];
240
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => string[]) & {
241
+ clearCache: () => void;
242
+ resultsCount: () => number;
243
+ resetResultsCount: () => void;
244
+ };
245
+ lastResult: () => string[];
246
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
247
+ recomputations: () => number;
248
+ resetRecomputations: () => void;
249
+ dependencyRecomputations: () => number;
250
+ resetDependencyRecomputations: () => void;
251
+ } & {
252
+ memoize: typeof import("reselect").weakMapMemoize;
253
+ argsMemoize: typeof import("reselect").weakMapMemoize;
64
254
  };
65
- export declare const getSyncGroupTargets: ((state: CoreAppStore) => SyncGroupTarget[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => SyncGroupTarget[], {
66
- clearCache: () => void;
67
- }> & {
255
+ export declare const getSyncGroupTargets: ((state: CoreAppStore) => SyncGroupTarget[]) & {
68
256
  clearCache: () => void;
257
+ resultsCount: () => number;
258
+ resetResultsCount: () => void;
259
+ } & {
260
+ resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => SyncGroupTarget[];
261
+ memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => SyncGroupTarget[]) & {
262
+ clearCache: () => void;
263
+ resultsCount: () => number;
264
+ resetResultsCount: () => void;
265
+ };
266
+ lastResult: () => SyncGroupTarget[];
267
+ dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
268
+ recomputations: () => number;
269
+ resetRecomputations: () => void;
270
+ dependencyRecomputations: () => number;
271
+ resetDependencyRecomputations: () => void;
272
+ } & {
273
+ memoize: typeof import("reselect").weakMapMemoize;
274
+ argsMemoize: typeof import("reselect").weakMapMemoize;
69
275
  };
@@ -1,2 +1,2 @@
1
1
  import { CoreAppStore } from '../../types';
2
- export declare const layersListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<CoreAppStore, import("@reduxjs/toolkit").ThunkDispatch<CoreAppStore, unknown, import("redux").AnyAction>, unknown>;
2
+ export declare const layersListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<CoreAppStore, import("redux-thunk").ThunkDispatch<CoreAppStore, unknown, import("redux").UnknownAction>, unknown>;
@@ -42,7 +42,7 @@ export declare const slice: import("@reduxjs/toolkit").Slice<LayerState, {
42
42
  exitFeatureDrawMode: (draft: Draft<LayerState>, action: PayloadAction<ExitFeatureDrawModePayload>) => void;
43
43
  showLayerInfo: (draft: Draft<LayerState>, action: PayloadAction<ShowLayerInfoPayload>) => void;
44
44
  hideLayerInfo: (draft: Draft<LayerState>) => void;
45
- }, "layerReducer">;
45
+ }, "layerReducer", "layerReducer", import("@reduxjs/toolkit").SliceSelectors<LayerState>>;
46
46
  export declare const layerReducer: import("redux").Reducer<LayerState>, layerActions: import("@reduxjs/toolkit").CaseReducerActions<{
47
47
  addLayer: (draft: Draft<LayerState>, action: PayloadAction<AddLayerPayload>) => void;
48
48
  duplicateMapLayer: (draft: Draft<LayerState>, action: PayloadAction<DuplicateMapLayerPayload>) => void;