@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.
Files changed (2) hide show
  1. package/index.esm.js +8 -11
  2. 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 _synchronizationGroup;
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
- currentTime: syncGroupState === null || syncGroupState === void 0 ? void 0 : syncGroupState.currentTime,
6515
- timeSliderCenterTime: type === mapActions.setTimeSliderCenterTime.type ? payload.timeSliderCenterTime : (syncGroupState === null || syncGroupState === void 0 ? void 0 : syncGroupState.timeSliderCenterTime) || 0,
6516
- timeSliderSpan: type === mapActions.setTimeSliderSpan.type ? payload.timeSliderSpan : syncGroupState === null || syncGroupState === void 0 ? void 0 : syncGroupState.timeSliderSpan,
6517
- timeSliderStep: type === mapActions.setTimeStep.type ? payload.timeStep : syncGroupState === null || syncGroupState === void 0 ? void 0 : syncGroupState.timeSliderStep,
6518
- timeSliderAnimationStartTime: type === mapActions.setAnimationStartTime.type ? payload.animationStartTime : syncGroupState === null || syncGroupState === void 0 ? void 0 : syncGroupState.timeSliderAnimationStartTime,
6519
- timeSliderAnimationEndTime: type === mapActions.setAnimationEndTime.type ? payload.animationEndTime : syncGroupState === null || syncGroupState === void 0 ? void 0 : syncGroupState.timeSliderAnimationEndTime,
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 9:
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.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.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.0",
15
- "@opengeoweb/webmap": "14.0.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.0",
19
- "@opengeoweb/time-slider": "14.0.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",