@opengeoweb/store 12.9.1 → 12.11.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.
- package/index.esm.js +409 -463
- package/package.json +6 -6
- package/src/store/generic/selectors.d.ts +18 -18
- package/src/store/map/map/index.d.ts +1 -1
- package/src/store/map/map/reducer.d.ts +2 -2
- package/src/store/ui/types.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/store",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.11.0",
|
|
4
4
|
"description": "GeoWeb Store library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "12.
|
|
11
|
+
"@opengeoweb/shared": "12.11.0",
|
|
12
12
|
"react-redux": "^9.2.0",
|
|
13
13
|
"@reduxjs/toolkit": "^2.6.1",
|
|
14
|
-
"@opengeoweb/webmap-react": "12.
|
|
15
|
-
"@opengeoweb/webmap": "12.
|
|
14
|
+
"@opengeoweb/webmap-react": "12.11.0",
|
|
15
|
+
"@opengeoweb/webmap": "12.11.0",
|
|
16
16
|
"immer": "^10.0.3",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"@opengeoweb/metronome": "12.
|
|
19
|
-
"@opengeoweb/timeslider": "12.
|
|
18
|
+
"@opengeoweb/metronome": "12.11.0",
|
|
19
|
+
"@opengeoweb/timeslider": "12.11.0",
|
|
20
20
|
"react-router-dom": "^6.23.1",
|
|
21
21
|
"ol": "^10.4.0",
|
|
22
22
|
"@turf/turf": "^7.2.0",
|
|
@@ -170,8 +170,8 @@ export declare const selectLinkedFeatures: ((state: any, props: {
|
|
|
170
170
|
mapId: string;
|
|
171
171
|
}) => {
|
|
172
172
|
id: string;
|
|
173
|
-
originalId?: string
|
|
174
|
-
geoJSON:
|
|
173
|
+
originalId?: string;
|
|
174
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
175
175
|
}[]) & {
|
|
176
176
|
clearCache: () => void;
|
|
177
177
|
resultsCount: () => number;
|
|
@@ -179,13 +179,13 @@ export declare const selectLinkedFeatures: ((state: any, props: {
|
|
|
179
179
|
} & {
|
|
180
180
|
resultFunc: (resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
181
181
|
id: string;
|
|
182
|
-
originalId?: string
|
|
183
|
-
geoJSON:
|
|
182
|
+
originalId?: string;
|
|
183
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
184
184
|
}[];
|
|
185
185
|
memoizedResultFunc: ((resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
186
186
|
id: string;
|
|
187
|
-
originalId?: string
|
|
188
|
-
geoJSON:
|
|
187
|
+
originalId?: string;
|
|
188
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
189
189
|
}[]) & {
|
|
190
190
|
clearCache: () => void;
|
|
191
191
|
resultsCount: () => number;
|
|
@@ -193,8 +193,8 @@ export declare const selectLinkedFeatures: ((state: any, props: {
|
|
|
193
193
|
};
|
|
194
194
|
lastResult: () => {
|
|
195
195
|
id: string;
|
|
196
|
-
originalId?: string
|
|
197
|
-
geoJSON:
|
|
196
|
+
originalId?: string;
|
|
197
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
198
198
|
}[];
|
|
199
199
|
dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
|
|
200
200
|
mapId: string;
|
|
@@ -233,7 +233,7 @@ export declare const selectLinkedFormFeatures: ((state: any, props: {
|
|
|
233
233
|
mapId: string;
|
|
234
234
|
}) => {
|
|
235
235
|
id: string;
|
|
236
|
-
geoJSON:
|
|
236
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
237
237
|
}[]) & {
|
|
238
238
|
clearCache: () => void;
|
|
239
239
|
resultsCount: () => number;
|
|
@@ -241,11 +241,11 @@ export declare const selectLinkedFormFeatures: ((state: any, props: {
|
|
|
241
241
|
} & {
|
|
242
242
|
resultFunc: (resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
243
243
|
id: string;
|
|
244
|
-
geoJSON:
|
|
244
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
245
245
|
}[];
|
|
246
246
|
memoizedResultFunc: ((resultFuncArgs_0: LinkedState | undefined, resultFuncArgs_1: string[]) => {
|
|
247
247
|
id: string;
|
|
248
|
-
geoJSON:
|
|
248
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
249
249
|
}[]) & {
|
|
250
250
|
clearCache: () => void;
|
|
251
251
|
resultsCount: () => number;
|
|
@@ -253,7 +253,7 @@ export declare const selectLinkedFormFeatures: ((state: any, props: {
|
|
|
253
253
|
};
|
|
254
254
|
lastResult: () => {
|
|
255
255
|
id: string;
|
|
256
|
-
geoJSON:
|
|
256
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
257
257
|
}[];
|
|
258
258
|
dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
|
|
259
259
|
mapId: string;
|
|
@@ -302,8 +302,8 @@ export declare const getSelectedFeature: ((state: SynchronizationGroupState, map
|
|
|
302
302
|
resultFunc: (resultFuncArgs_0: {
|
|
303
303
|
features: {
|
|
304
304
|
id: string;
|
|
305
|
-
originalId?: string
|
|
306
|
-
geoJSON:
|
|
305
|
+
originalId?: string;
|
|
306
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
307
307
|
}[];
|
|
308
308
|
selectedFeatureId: string | undefined;
|
|
309
309
|
}) => {
|
|
@@ -316,8 +316,8 @@ export declare const getSelectedFeature: ((state: SynchronizationGroupState, map
|
|
|
316
316
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
317
317
|
features: {
|
|
318
318
|
id: string;
|
|
319
|
-
originalId?: string
|
|
320
|
-
geoJSON:
|
|
319
|
+
originalId?: string;
|
|
320
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
321
321
|
}[];
|
|
322
322
|
selectedFeatureId: string | undefined;
|
|
323
323
|
}) => {
|
|
@@ -341,8 +341,8 @@ export declare const getSelectedFeature: ((state: SynchronizationGroupState, map
|
|
|
341
341
|
dependencies: [(state: SynchronizationGroupState, mapId: string) => {
|
|
342
342
|
features: {
|
|
343
343
|
id: string;
|
|
344
|
-
originalId?: string
|
|
345
|
-
geoJSON:
|
|
344
|
+
originalId?: string;
|
|
345
|
+
geoJSON: GeoJSON.FeatureCollection;
|
|
346
346
|
}[];
|
|
347
347
|
selectedFeatureId: string | undefined;
|
|
348
348
|
}];
|
|
@@ -8,7 +8,7 @@ export declare const mapUtils: {
|
|
|
8
8
|
checkValidLayersPayload: (layers: import("../types").Layer[], mapId: string) => boolean;
|
|
9
9
|
getDraftMapById: (mapId: string, draft: mapTypes.WebMapState) => mapTypes.WebMap;
|
|
10
10
|
produceDraftStateSetWebMapDimension: (draft: mapTypes.WebMapState, mapId: string, dimensionFromAction: mapTypes.Dimension, overwriteCurrentValue: boolean) => void;
|
|
11
|
-
findMapIdFromLayerId: (mapState?: mapTypes.WebMapState
|
|
11
|
+
findMapIdFromLayerId: (mapState?: mapTypes.WebMapState, layerId?: string) => string | null;
|
|
12
12
|
produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: mapTypes.WebMapState, layerId: string, dimension: mapTypes.Dimension) => void;
|
|
13
13
|
getTimeStepFromDataInterval: (timeInterval: import("@opengeoweb/webmap").TimeInterval) => number;
|
|
14
14
|
getSpeedFactor: (speedDelay: number) => import("@opengeoweb/timeslider").SpeedFactorType;
|
|
@@ -85,12 +85,12 @@ export declare const mapActions: {
|
|
|
85
85
|
setAutoTimestepLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
86
86
|
mapId: string;
|
|
87
87
|
autoTimestepLayerId: string | undefined;
|
|
88
|
-
origin?: MapActionOrigin
|
|
88
|
+
origin?: MapActionOrigin;
|
|
89
89
|
}, "mapReducer/setAutoTimestepLayerId">;
|
|
90
90
|
setAutoUpdateLayerId: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
91
91
|
mapId: string;
|
|
92
92
|
autoUpdateLayerId: string | undefined;
|
|
93
|
-
origin?: MapActionOrigin
|
|
93
|
+
origin?: MapActionOrigin;
|
|
94
94
|
}, "mapReducer/setAutoUpdateLayerId">;
|
|
95
95
|
setTimeSliderWidth: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderWidthPayload, "mapReducer/setTimeSliderWidth">;
|
|
96
96
|
setTimeSliderCenterTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime">;
|
package/src/store/ui/types.d.ts
CHANGED
|
@@ -22,7 +22,8 @@ export declare enum DialogTypes {
|
|
|
22
22
|
DataExplorer = "dataExplorer",
|
|
23
23
|
DataExplorerInfo = "dataExplorerInfo",
|
|
24
24
|
SoundingsSources = "soundingsSources",
|
|
25
|
-
SoundingsLocations = "soundingsLocations"
|
|
25
|
+
SoundingsLocations = "soundingsLocations",
|
|
26
|
+
TimeseriesLocations = "timeseriesLocations"
|
|
26
27
|
}
|
|
27
28
|
export type DialogType = DialogTypes | LegendDialogType | GetFeatureInfoDialogType;
|
|
28
29
|
export type { Source };
|