@opengeoweb/store 13.1.0 → 13.2.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 +12 -10
  2. package/package.json +6 -6
package/index.esm.js CHANGED
@@ -4947,12 +4947,13 @@ var loadingIndicatorActions = slice$2.actions,
4947
4947
  * Copyright 2024 - Finnish Meteorological Institute (FMI)
4948
4948
  * Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
4949
4949
  * */
4950
+ var EMPTY_LOADING_INDICATOR = {
4951
+ entities: {},
4952
+ ids: []
4953
+ };
4950
4954
  var _loadingIndicatorAdap = loadingIndicatorAdapter.getSelectors(function (state) {
4951
4955
  var _state$loadingIndicat;
4952
- return (_state$loadingIndicat = state === null || state === void 0 ? void 0 : state.loadingIndicator) !== null && _state$loadingIndicat !== void 0 ? _state$loadingIndicat : {
4953
- entities: {},
4954
- ids: []
4955
- };
4956
+ return (_state$loadingIndicat = state === null || state === void 0 ? void 0 : state.loadingIndicator) !== null && _state$loadingIndicat !== void 0 ? _state$loadingIndicat : EMPTY_LOADING_INDICATOR;
4956
4957
  }),
4957
4958
  selectLoadingIndicatorById = _loadingIndicatorAdap.selectById;
4958
4959
  var isGetMapLoading = createSelector(selectLoadingIndicatorById, function (loadingIndicator) {
@@ -5701,9 +5702,9 @@ var getMapPreset = createSelector(getMapLayers, getMapBaseLayers, getMapOverLaye
5701
5702
  _ref3.mapId;
5702
5703
  var layer = _objectWithoutProperties(_ref3, _excluded$2);
5703
5704
  if (layer.dimensions !== undefined) {
5704
- // Filter out (reference) time dimension as these should not be part of the preset for now
5705
+ // Filter out time dimension as this should not be part of the preset for now
5705
5706
  var dimensions = layer.dimensions.filter(function (dimension) {
5706
- return dimension.name !== 'time' && dimension.name !== 'reference_time';
5707
+ return dimension.name !== 'time';
5707
5708
  });
5708
5709
  return _objectSpread2(_objectSpread2({}, layer), {}, {
5709
5710
  dimensions: dimensions
@@ -8095,12 +8096,13 @@ var getDrawingtoolStore = function getDrawingtoolStore(store) {
8095
8096
  }
8096
8097
  return null;
8097
8098
  };
8099
+ var EMPTY_DRAWING_TOOL_STATE = {
8100
+ entities: {},
8101
+ ids: []
8102
+ };
8098
8103
  var _drawAdapter$getSelec = drawAdapter.getSelectors(function (state) {
8099
8104
  var _state$drawingtools;
8100
- return (_state$drawingtools = state === null || state === void 0 ? void 0 : state.drawingtools) !== null && _state$drawingtools !== void 0 ? _state$drawingtools : {
8101
- entities: {},
8102
- ids: []
8103
- };
8105
+ return (_state$drawingtools = state === null || state === void 0 ? void 0 : state.drawingtools) !== null && _state$drawingtools !== void 0 ? _state$drawingtools : EMPTY_DRAWING_TOOL_STATE;
8104
8106
  }),
8105
8107
  selectDrawToolById = _drawAdapter$getSelec.selectById,
8106
8108
  selectAllDrawingTools = _drawAdapter$getSelec.selectAll;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/store",
3
- "version": "13.1.0",
3
+ "version": "13.2.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": "13.1.0",
11
+ "@opengeoweb/shared": "13.2.1",
12
12
  "react-redux": "^9.2.0",
13
13
  "@reduxjs/toolkit": "^2.6.1",
14
- "@opengeoweb/webmap-react": "13.1.0",
15
- "@opengeoweb/webmap": "13.1.0",
14
+ "@opengeoweb/webmap-react": "13.2.1",
15
+ "@opengeoweb/webmap": "13.2.1",
16
16
  "immer": "^10.0.3",
17
17
  "lodash": "^4.17.21",
18
- "@opengeoweb/metronome": "13.1.0",
19
- "@opengeoweb/time-slider": "13.1.0",
18
+ "@opengeoweb/metronome": "13.2.1",
19
+ "@opengeoweb/time-slider": "13.2.1",
20
20
  "react-router-dom": "^6.23.1",
21
21
  "ol": "^10.4.0",
22
22
  "@turf/turf": "^7.2.0",