@opengeoweb/store 14.0.0 → 14.0.1
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 +8 -11
- package/package.json +6 -6
package/index.esm.js
CHANGED
|
@@ -6498,26 +6498,23 @@ genericListener.startListening({
|
|
|
6498
6498
|
matcher: isAnyOf(mapActions.setTimeSliderCenterTime, mapActions.setTimeSliderSpan, mapActions.setTimeStep, mapActions.setAnimationStartTime, mapActions.setAnimationEndTime, mapActions.setAnimationDelay, mapActions.mapStartAnimation),
|
|
6499
6499
|
effect: function () {
|
|
6500
6500
|
var _effect2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref2, listenerApi) {
|
|
6501
|
-
var
|
|
6502
|
-
var payload, type, sourceId, syncGroupState, newPayload, animationStartPayload, targets, groups;
|
|
6501
|
+
var payload, type, sourceId, newPayload, animationStartPayload, targets, groups;
|
|
6503
6502
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
6504
6503
|
while (1) switch (_context2.prev = _context2.next) {
|
|
6505
6504
|
case 0:
|
|
6506
6505
|
payload = _ref2.payload, type = _ref2.type;
|
|
6507
6506
|
listenerApi.cancelActiveListeners();
|
|
6508
6507
|
sourceId = payload.mapId;
|
|
6509
|
-
syncGroupState = (_synchronizationGroup = getSynchronizationGroupSource(listenerApi.getState(), sourceId)) === null || _synchronizationGroup === void 0 || (_synchronizationGroup = _synchronizationGroup.payloadByType['SYNCGROUPS_TYPE_SETTIME']) === null || _synchronizationGroup === void 0 ? void 0 : _synchronizationGroup.value;
|
|
6510
6508
|
newPayload = {
|
|
6511
6509
|
sourceId: sourceId,
|
|
6512
6510
|
origin: 'timeslidersynclistener',
|
|
6513
6511
|
value: {
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
timeSliderAnimationDelay: type === mapActions.setAnimationDelay.type ? payload.animationDelay : syncGroupState === null || syncGroupState === void 0 ? void 0 : syncGroupState.timeSliderAnimationDelay
|
|
6512
|
+
timeSliderCenterTime: type === mapActions.setTimeSliderCenterTime.type ? payload.timeSliderCenterTime : undefined,
|
|
6513
|
+
timeSliderSpan: type === mapActions.setTimeSliderSpan.type ? payload.timeSliderSpan : undefined,
|
|
6514
|
+
timeSliderStep: type === mapActions.setTimeStep.type ? payload.timeStep : undefined,
|
|
6515
|
+
timeSliderAnimationStartTime: type === mapActions.setAnimationStartTime.type ? payload.animationStartTime : undefined,
|
|
6516
|
+
timeSliderAnimationEndTime: type === mapActions.setAnimationEndTime.type ? payload.animationEndTime : undefined,
|
|
6517
|
+
timeSliderAnimationDelay: type === mapActions.setAnimationDelay.type ? payload.animationDelay : undefined
|
|
6521
6518
|
}
|
|
6522
6519
|
};
|
|
6523
6520
|
if (type === mapActions.mapStartAnimation.type) {
|
|
@@ -6532,7 +6529,7 @@ genericListener.startListening({
|
|
|
6532
6529
|
targets = getTargets(listenerApi.getState(), newPayload, SYNCGROUPS_TYPE_SETTIME);
|
|
6533
6530
|
groups = getTargetGroups(listenerApi.getState(), newPayload, SYNCGROUPS_TYPE_SETTIME);
|
|
6534
6531
|
listenerApi.dispatch(setTimeSync(newPayload, targets, groups));
|
|
6535
|
-
case
|
|
6532
|
+
case 8:
|
|
6536
6533
|
case "end":
|
|
6537
6534
|
return _context2.stop();
|
|
6538
6535
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/store",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.1",
|
|
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": "14.0.
|
|
11
|
+
"@opengeoweb/shared": "14.0.1",
|
|
12
12
|
"react-redux": "^9.2.0",
|
|
13
13
|
"@reduxjs/toolkit": "^2.6.1",
|
|
14
|
-
"@opengeoweb/webmap-react": "14.0.
|
|
15
|
-
"@opengeoweb/webmap": "14.0.
|
|
14
|
+
"@opengeoweb/webmap-react": "14.0.1",
|
|
15
|
+
"@opengeoweb/webmap": "14.0.1",
|
|
16
16
|
"immer": "^10.0.3",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"@opengeoweb/metronome": "14.0.
|
|
19
|
-
"@opengeoweb/time-slider": "14.0.
|
|
18
|
+
"@opengeoweb/metronome": "14.0.1",
|
|
19
|
+
"@opengeoweb/time-slider": "14.0.1",
|
|
20
20
|
"react-router-dom": "^6.23.1",
|
|
21
21
|
"ol": "^10.4.0",
|
|
22
22
|
"@turf/turf": "^7.2.0",
|