@opengeoweb/core 4.15.1 → 4.16.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 +256 -96
- package/index.umd.js +250 -71
- package/lib/components/RouterWrapper/NavigateSetter.d.ts +1 -0
- package/lib/components/RouterWrapper/NavigateSetter.spec.d.ts +1 -0
- package/lib/components/RouterWrapper/RouterWrapperConnect.d.ts +6 -0
- package/lib/components/RouterWrapper/RouterWrapperConnect.spec.d.ts +1 -0
- package/lib/components/RouterWrapper/index.d.ts +1 -0
- package/lib/index.d.ts +3 -2
- package/lib/store/index.d.ts +1 -0
- package/lib/store/router/config.d.ts +5 -0
- package/lib/store/router/index.d.ts +1 -0
- package/lib/store/router/reducer.d.ts +8 -0
- package/lib/store/router/reducer.spec.d.ts +1 -0
- package/lib/store/router/sagas.d.ts +5 -0
- package/lib/store/router/sagas.spec.d.ts +1 -0
- package/lib/store/router/types.d.ts +8 -0
- package/lib/store/router/utils.d.ts +3 -0
- package/package.json +7 -6
package/index.esm.js
CHANGED
|
@@ -29,6 +29,7 @@ import axios from 'axios';
|
|
|
29
29
|
import { useDebounce } from '@opengeoweb/api';
|
|
30
30
|
import { createStore } from '@redux-eggs/redux-toolkit';
|
|
31
31
|
import { getSagaExtension } from '@redux-eggs/saga-extension';
|
|
32
|
+
import { useNavigate } from 'react-router-dom';
|
|
32
33
|
|
|
33
34
|
function _typeof(obj) {
|
|
34
35
|
"@babel/helpers - typeof";
|
|
@@ -1652,7 +1653,7 @@ var createLayer = function createLayer(_a) {
|
|
|
1652
1653
|
status: status
|
|
1653
1654
|
});
|
|
1654
1655
|
};
|
|
1655
|
-
var initialState$
|
|
1656
|
+
var initialState$8 = {
|
|
1656
1657
|
byId: {},
|
|
1657
1658
|
allIds: [],
|
|
1658
1659
|
availableBaseLayers: {
|
|
@@ -1660,8 +1661,8 @@ var initialState$7 = {
|
|
|
1660
1661
|
allIds: []
|
|
1661
1662
|
}
|
|
1662
1663
|
};
|
|
1663
|
-
var slice$
|
|
1664
|
-
initialState: initialState$
|
|
1664
|
+
var slice$8 = createSlice({
|
|
1665
|
+
initialState: initialState$8,
|
|
1665
1666
|
name: 'layerReducer',
|
|
1666
1667
|
reducers: {
|
|
1667
1668
|
addLayer: function addLayer(draft, action) {
|
|
@@ -1905,9 +1906,9 @@ var slice$7 = createSlice({
|
|
|
1905
1906
|
layerDimensions = _action$payload12.layerDimensions;
|
|
1906
1907
|
var layerStyleAction = layerActions.layerChangeStyle(layerStyle);
|
|
1907
1908
|
var state = current(draft);
|
|
1908
|
-
var intermediateState = layerStyle === null ? state : reducer$
|
|
1909
|
+
var intermediateState = layerStyle === null ? state : reducer$8(state, layerStyleAction);
|
|
1909
1910
|
var dimensionsAction = layerActions.layerSetDimensions(layerDimensions);
|
|
1910
|
-
var newState = layerDimensions === null ? intermediateState : reducer$
|
|
1911
|
+
var newState = layerDimensions === null ? intermediateState : reducer$8(intermediateState, dimensionsAction);
|
|
1911
1912
|
return newState;
|
|
1912
1913
|
},
|
|
1913
1914
|
setSelectedFeature: function setSelectedFeature(draft, action) {
|
|
@@ -1963,7 +1964,7 @@ var slice$7 = createSlice({
|
|
|
1963
1964
|
};
|
|
1964
1965
|
/* Handle the Layer action with the same logic, using the same reducer */
|
|
1965
1966
|
|
|
1966
|
-
return reducer$
|
|
1967
|
+
return reducer$8(prevState, action);
|
|
1967
1968
|
}, state);
|
|
1968
1969
|
}).addCase(setMapPreset, function (draft, action) {
|
|
1969
1970
|
var mapId = action.payload.mapId;
|
|
@@ -1983,8 +1984,8 @@ var slice$7 = createSlice({
|
|
|
1983
1984
|
});
|
|
1984
1985
|
}
|
|
1985
1986
|
});
|
|
1986
|
-
var reducer$
|
|
1987
|
-
var layerActions = slice$
|
|
1987
|
+
var reducer$8 = slice$8.reducer;
|
|
1988
|
+
var layerActions = slice$8.actions;
|
|
1988
1989
|
|
|
1989
1990
|
/* *
|
|
1990
1991
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2002,12 +2003,12 @@ var layerActions = slice$7.actions;
|
|
|
2002
2003
|
* Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2003
2004
|
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
2004
2005
|
* */
|
|
2005
|
-
var initialState$
|
|
2006
|
+
var initialState$7 = {
|
|
2006
2007
|
byId: {},
|
|
2007
2008
|
allIds: []
|
|
2008
2009
|
};
|
|
2009
|
-
var slice$
|
|
2010
|
-
initialState: initialState$
|
|
2010
|
+
var slice$7 = createSlice({
|
|
2011
|
+
initialState: initialState$7,
|
|
2011
2012
|
name: 'serviceReducer',
|
|
2012
2013
|
reducers: {
|
|
2013
2014
|
serviceSetLayers: function serviceSetLayers(draft, action) {
|
|
@@ -2034,13 +2035,13 @@ var slice$6 = createSlice({
|
|
|
2034
2035
|
var serviceLayers = action.payload.serviceLayers;
|
|
2035
2036
|
if (serviceLayers === null) return draft;
|
|
2036
2037
|
var mapAction = serviceActions.serviceSetLayers(serviceLayers);
|
|
2037
|
-
var newState = reducer$
|
|
2038
|
+
var newState = reducer$7(draft, mapAction);
|
|
2038
2039
|
return newState;
|
|
2039
2040
|
});
|
|
2040
2041
|
}
|
|
2041
2042
|
});
|
|
2042
|
-
var reducer$
|
|
2043
|
-
var serviceActions = slice$
|
|
2043
|
+
var reducer$7 = slice$7.reducer;
|
|
2044
|
+
var serviceActions = slice$7.actions;
|
|
2044
2045
|
|
|
2045
2046
|
/* *
|
|
2046
2047
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2211,13 +2212,13 @@ var createUIDialogElement = function createUIDialogElement(_ref) {
|
|
|
2211
2212
|
error: undefined
|
|
2212
2213
|
};
|
|
2213
2214
|
};
|
|
2214
|
-
var initialState$
|
|
2215
|
+
var initialState$6 = {
|
|
2215
2216
|
order: [],
|
|
2216
2217
|
dialogs: {},
|
|
2217
2218
|
activeWindowId: undefined
|
|
2218
2219
|
};
|
|
2219
|
-
var slice$
|
|
2220
|
-
initialState: initialState$
|
|
2220
|
+
var slice$6 = createSlice({
|
|
2221
|
+
initialState: initialState$6,
|
|
2221
2222
|
name: 'uiReducer',
|
|
2222
2223
|
reducers: {
|
|
2223
2224
|
registerDialog: function registerDialog(draft, action) {
|
|
@@ -2306,8 +2307,8 @@ var slice$5 = createSlice({
|
|
|
2306
2307
|
}
|
|
2307
2308
|
}
|
|
2308
2309
|
});
|
|
2309
|
-
var reducer$
|
|
2310
|
-
var uiActions = slice$
|
|
2310
|
+
var reducer$6 = slice$6.reducer;
|
|
2311
|
+
var uiActions = slice$6.actions;
|
|
2311
2312
|
|
|
2312
2313
|
var addBaseLayer = layerActions.addBaseLayer,
|
|
2313
2314
|
addLayer$1 = layerActions.addLayer,
|
|
@@ -2358,12 +2359,12 @@ var createLayersWithIds = function createLayersWithIds(state, layers) {
|
|
|
2358
2359
|
});
|
|
2359
2360
|
};
|
|
2360
2361
|
|
|
2361
|
-
var initialState$
|
|
2362
|
+
var initialState$5 = {
|
|
2362
2363
|
byId: {},
|
|
2363
2364
|
allIds: []
|
|
2364
2365
|
};
|
|
2365
|
-
var slice$
|
|
2366
|
-
initialState: initialState$
|
|
2366
|
+
var slice$5 = createSlice({
|
|
2367
|
+
initialState: initialState$5,
|
|
2367
2368
|
name: 'mapReducer',
|
|
2368
2369
|
reducers: {
|
|
2369
2370
|
registerMap: function registerMap(draft, action) {
|
|
@@ -2896,13 +2897,13 @@ var slice$4 = createSlice({
|
|
|
2896
2897
|
};
|
|
2897
2898
|
/* Handle the Layer action with the same logic, using the same reducer */
|
|
2898
2899
|
|
|
2899
|
-
return reducer$
|
|
2900
|
+
return reducer$5(prevState, action);
|
|
2900
2901
|
}, draft);
|
|
2901
2902
|
}).addCase(onUpdateLayerInformation, function (draft, action) {
|
|
2902
2903
|
var mapDimensions = action.payload.mapDimensions;
|
|
2903
2904
|
if (mapDimensions === null) return draft;
|
|
2904
2905
|
var mapAction = mapActions$1.mapUpdateAllMapDimensions(mapDimensions);
|
|
2905
|
-
return reducer$
|
|
2906
|
+
return reducer$5(draft, mapAction);
|
|
2906
2907
|
}).addCase(mapChangeDimension, function (draft, action) {
|
|
2907
2908
|
var _action$payload33 = action.payload,
|
|
2908
2909
|
mapId = _action$payload33.mapId,
|
|
@@ -2940,11 +2941,11 @@ var slice$4 = createSlice({
|
|
|
2940
2941
|
});
|
|
2941
2942
|
}
|
|
2942
2943
|
});
|
|
2943
|
-
var mapActions$1 = Object.assign(Object.assign({}, slice$
|
|
2944
|
+
var mapActions$1 = Object.assign(Object.assign({}, slice$5.actions), {
|
|
2944
2945
|
setMapPreset: setMapPreset,
|
|
2945
2946
|
mapChangeDimension: mapChangeDimension
|
|
2946
2947
|
});
|
|
2947
|
-
var reducer$
|
|
2948
|
+
var reducer$5 = slice$5.reducer;
|
|
2948
2949
|
|
|
2949
2950
|
/* *
|
|
2950
2951
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -3527,7 +3528,7 @@ var removeInPlace = function removeInPlace(inDraftArray, condition) {
|
|
|
3527
3528
|
* Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3528
3529
|
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
3529
3530
|
* */
|
|
3530
|
-
var initialState$
|
|
3531
|
+
var initialState$4 = {
|
|
3531
3532
|
sources: {
|
|
3532
3533
|
byId: {},
|
|
3533
3534
|
allIds: []
|
|
@@ -3551,8 +3552,8 @@ var initialState$3 = {
|
|
|
3551
3552
|
}
|
|
3552
3553
|
}
|
|
3553
3554
|
};
|
|
3554
|
-
var slice$
|
|
3555
|
-
initialState: initialState$
|
|
3555
|
+
var slice$4 = createSlice({
|
|
3556
|
+
initialState: initialState$4,
|
|
3556
3557
|
name: 'synchronizationGroupsReducer',
|
|
3557
3558
|
reducers: {
|
|
3558
3559
|
syncGroupAddSource: function syncGroupAddSource(draft, action) {
|
|
@@ -3696,7 +3697,7 @@ var slice$3 = createSlice({
|
|
|
3696
3697
|
});
|
|
3697
3698
|
},
|
|
3698
3699
|
syncGroupClear: function syncGroupClear() {
|
|
3699
|
-
return initialState$
|
|
3700
|
+
return initialState$4;
|
|
3700
3701
|
},
|
|
3701
3702
|
syncGroupSetViewState: function syncGroupSetViewState(draft, action) {
|
|
3702
3703
|
var viewState = action.payload.viewState;
|
|
@@ -3768,7 +3769,7 @@ var setBboxOrTimeSync = function setBboxOrTimeSync(state, action) {
|
|
|
3768
3769
|
});
|
|
3769
3770
|
};
|
|
3770
3771
|
|
|
3771
|
-
var _slice$actions = slice$
|
|
3772
|
+
var _slice$actions = slice$4.actions,
|
|
3772
3773
|
syncGroupAddGroup = _slice$actions.syncGroupAddGroup,
|
|
3773
3774
|
syncGroupAddSource = _slice$actions.syncGroupAddSource,
|
|
3774
3775
|
syncGroupAddTarget = _slice$actions.syncGroupAddTarget;
|
|
@@ -3778,8 +3779,8 @@ var _slice$actions = slice$3.actions,
|
|
|
3778
3779
|
syncGroupRemoveSource = _slice$actions.syncGroupRemoveSource,
|
|
3779
3780
|
syncGroupRemoveTarget = _slice$actions.syncGroupRemoveTarget,
|
|
3780
3781
|
syncGroupSetViewState = _slice$actions.syncGroupSetViewState;
|
|
3781
|
-
var actions = slice$
|
|
3782
|
-
reducer$
|
|
3782
|
+
var actions = slice$4.actions,
|
|
3783
|
+
reducer$4 = slice$4.reducer;
|
|
3783
3784
|
|
|
3784
3785
|
/* *
|
|
3785
3786
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -3836,7 +3837,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
3836
3837
|
actions: actions,
|
|
3837
3838
|
constants: constants,
|
|
3838
3839
|
types: types$1,
|
|
3839
|
-
initialState: initialState$
|
|
3840
|
+
initialState: initialState$4
|
|
3840
3841
|
});
|
|
3841
3842
|
|
|
3842
3843
|
/* *
|
|
@@ -4752,7 +4753,7 @@ var initialServicePopupState = {
|
|
|
4752
4753
|
serviceId: '',
|
|
4753
4754
|
variant: 'add'
|
|
4754
4755
|
};
|
|
4755
|
-
var initialState$
|
|
4756
|
+
var initialState$3 = {
|
|
4756
4757
|
filters: {
|
|
4757
4758
|
searchFilter: '',
|
|
4758
4759
|
activeServices: layerSelectActiveServicesAdapter.getInitialState(),
|
|
@@ -4768,8 +4769,8 @@ var initialState$2 = {
|
|
|
4768
4769
|
},
|
|
4769
4770
|
servicePopup: initialServicePopupState
|
|
4770
4771
|
};
|
|
4771
|
-
var slice$
|
|
4772
|
-
initialState: initialState$
|
|
4772
|
+
var slice$3 = createSlice({
|
|
4773
|
+
initialState: initialState$3,
|
|
4773
4774
|
name: DialogTypes.LayerSelect,
|
|
4774
4775
|
reducers: {
|
|
4775
4776
|
setSearchFilter: function setSearchFilter(draft, action) {
|
|
@@ -4930,8 +4931,8 @@ var slice$2 = createSlice({
|
|
|
4930
4931
|
}
|
|
4931
4932
|
}
|
|
4932
4933
|
});
|
|
4933
|
-
var reducer$
|
|
4934
|
-
var layerSelectActions = slice$
|
|
4934
|
+
var reducer$3 = slice$3.reducer;
|
|
4935
|
+
var layerSelectActions = slice$3.actions;
|
|
4935
4936
|
|
|
4936
4937
|
/* *
|
|
4937
4938
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -5220,9 +5221,9 @@ var getServicePopupDetails = function getServicePopupDetails(store) {
|
|
|
5220
5221
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
5221
5222
|
* */
|
|
5222
5223
|
var snackbarAdapter = createEntityAdapter();
|
|
5223
|
-
var initialState$
|
|
5224
|
-
var slice$
|
|
5225
|
-
initialState: initialState$
|
|
5224
|
+
var initialState$2 = snackbarAdapter.getInitialState();
|
|
5225
|
+
var slice$2 = createSlice({
|
|
5226
|
+
initialState: initialState$2,
|
|
5226
5227
|
name: 'snackbar',
|
|
5227
5228
|
reducers: {
|
|
5228
5229
|
// To open the snackbar call this action
|
|
@@ -5244,8 +5245,8 @@ var slice$1 = createSlice({
|
|
|
5244
5245
|
}
|
|
5245
5246
|
}
|
|
5246
5247
|
});
|
|
5247
|
-
var reducer$
|
|
5248
|
-
var snackbarActions = slice$
|
|
5248
|
+
var reducer$2 = slice$2.reducer;
|
|
5249
|
+
var snackbarActions = slice$2.actions;
|
|
5249
5250
|
|
|
5250
5251
|
/* *
|
|
5251
5252
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -5277,6 +5278,34 @@ var getFirstSnackbarMessage = createSelector(getCurrentSnackbarMessages, functio
|
|
|
5277
5278
|
return currentMessages.length > 0 ? currentMessages[0] : undefined;
|
|
5278
5279
|
});
|
|
5279
5280
|
|
|
5281
|
+
/* *
|
|
5282
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5283
|
+
* you may not use this file except in compliance with the License.
|
|
5284
|
+
* You may obtain a copy of the License at
|
|
5285
|
+
*
|
|
5286
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5287
|
+
*
|
|
5288
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
5289
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5290
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5291
|
+
* See the License for the specific language governing permissions and
|
|
5292
|
+
* limitations under the License.
|
|
5293
|
+
*
|
|
5294
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
5295
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
5296
|
+
* */
|
|
5297
|
+
var initialState$1 = {};
|
|
5298
|
+
var slice$1 = createSlice({
|
|
5299
|
+
initialState: initialState$1,
|
|
5300
|
+
name: 'router',
|
|
5301
|
+
reducers: {
|
|
5302
|
+
// eslint-disable-next-line no-unused-vars
|
|
5303
|
+
navigateToUrl: function navigateToUrl(draft, action) {}
|
|
5304
|
+
}
|
|
5305
|
+
});
|
|
5306
|
+
var reducer$1 = slice$1.reducer;
|
|
5307
|
+
var routerActions = slice$1.actions;
|
|
5308
|
+
|
|
5280
5309
|
/* *
|
|
5281
5310
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5282
5311
|
* you may not use this file except in compliance with the License.
|
|
@@ -5638,15 +5667,15 @@ var getMapBaseLayerActionsTargets = function getMapBaseLayerActionsTargets(state
|
|
|
5638
5667
|
});
|
|
5639
5668
|
};
|
|
5640
5669
|
|
|
5641
|
-
var _marked$
|
|
5642
|
-
_marked2$
|
|
5670
|
+
var _marked$6 = /*#__PURE__*/regeneratorRuntime.mark(setTimeSaga),
|
|
5671
|
+
_marked2$6 = /*#__PURE__*/regeneratorRuntime.mark(setBBoxSaga),
|
|
5643
5672
|
_marked3$4 = /*#__PURE__*/regeneratorRuntime.mark(layerActionsSaga),
|
|
5644
5673
|
_marked4$3 = /*#__PURE__*/regeneratorRuntime.mark(addLayerActionsSaga),
|
|
5645
5674
|
_marked5$2 = /*#__PURE__*/regeneratorRuntime.mark(deleteLayerActionsSaga),
|
|
5646
5675
|
_marked6$1 = /*#__PURE__*/regeneratorRuntime.mark(moveLayerActionsSaga),
|
|
5647
5676
|
_marked7$1 = /*#__PURE__*/regeneratorRuntime.mark(setActiveLayerIdActionsSaga),
|
|
5648
5677
|
_marked8$1 = /*#__PURE__*/regeneratorRuntime.mark(mapBaseLayerActionsSaga),
|
|
5649
|
-
_marked9$1 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$
|
|
5678
|
+
_marked9$1 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$6);
|
|
5650
5679
|
var setBaseLayers = layerActions.setBaseLayers,
|
|
5651
5680
|
addLayer = layerActions.addLayer,
|
|
5652
5681
|
layerChangeDimension = layerActions.layerChangeDimension,
|
|
@@ -5694,7 +5723,7 @@ function setTimeSaga(_ref) {
|
|
|
5694
5723
|
return _context.stop();
|
|
5695
5724
|
}
|
|
5696
5725
|
}
|
|
5697
|
-
}, _marked$
|
|
5726
|
+
}, _marked$6);
|
|
5698
5727
|
}
|
|
5699
5728
|
function setBBoxSaga(_ref2) {
|
|
5700
5729
|
var payload, targets, groups;
|
|
@@ -5721,7 +5750,7 @@ function setBBoxSaga(_ref2) {
|
|
|
5721
5750
|
return _context2.stop();
|
|
5722
5751
|
}
|
|
5723
5752
|
}
|
|
5724
|
-
}, _marked2$
|
|
5753
|
+
}, _marked2$6);
|
|
5725
5754
|
}
|
|
5726
5755
|
function layerActionsSaga(_ref3) {
|
|
5727
5756
|
var payload, type, targets;
|
|
@@ -5936,7 +5965,7 @@ function mapBaseLayerActionsSaga(_ref8) {
|
|
|
5936
5965
|
}
|
|
5937
5966
|
}, _marked8$1);
|
|
5938
5967
|
}
|
|
5939
|
-
function rootSaga$
|
|
5968
|
+
function rootSaga$6() {
|
|
5940
5969
|
return regeneratorRuntime.wrap(function rootSaga$(_context9) {
|
|
5941
5970
|
while (1) {
|
|
5942
5971
|
switch (_context9.prev = _context9.next) {
|
|
@@ -6095,11 +6124,11 @@ var sources = function sources(store) {
|
|
|
6095
6124
|
|
|
6096
6125
|
var createSyncGroupViewStateSelector = createSelector(groups, sources, createSyncGroupViewState);
|
|
6097
6126
|
|
|
6098
|
-
var _marked$
|
|
6099
|
-
_marked2$
|
|
6127
|
+
var _marked$5 = /*#__PURE__*/regeneratorRuntime.mark(updateSourceValueWhenLinkingComponentToGroupSaga),
|
|
6128
|
+
_marked2$5 = /*#__PURE__*/regeneratorRuntime.mark(addGroupTargetSaga),
|
|
6100
6129
|
_marked3$3 = /*#__PURE__*/regeneratorRuntime.mark(linkGroupTargetSaga),
|
|
6101
6130
|
_marked4$2 = /*#__PURE__*/regeneratorRuntime.mark(updateViewStateSaga),
|
|
6102
|
-
_marked5$1 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$
|
|
6131
|
+
_marked5$1 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$5);
|
|
6103
6132
|
function updateSourceValueWhenLinkingComponentToGroupSaga(groupId, targetToUpdate) {
|
|
6104
6133
|
var group;
|
|
6105
6134
|
return regeneratorRuntime.wrap(function updateSourceValueWhenLinkingComponentToGroupSaga$(_context) {
|
|
@@ -6166,7 +6195,7 @@ function updateSourceValueWhenLinkingComponentToGroupSaga(groupId, targetToUpdat
|
|
|
6166
6195
|
return _context.stop();
|
|
6167
6196
|
}
|
|
6168
6197
|
}
|
|
6169
|
-
}, _marked$
|
|
6198
|
+
}, _marked$5);
|
|
6170
6199
|
}
|
|
6171
6200
|
function addGroupTargetSaga(_ref) {
|
|
6172
6201
|
var payload, groupId, linked, targetToUpdate;
|
|
@@ -6190,7 +6219,7 @@ function addGroupTargetSaga(_ref) {
|
|
|
6190
6219
|
return _context2.stop();
|
|
6191
6220
|
}
|
|
6192
6221
|
}
|
|
6193
|
-
}, _marked2$
|
|
6222
|
+
}, _marked2$5);
|
|
6194
6223
|
}
|
|
6195
6224
|
function linkGroupTargetSaga(_ref2) {
|
|
6196
6225
|
var payload, groupId, linked, targetToUpdate;
|
|
@@ -6240,7 +6269,7 @@ function updateViewStateSaga() {
|
|
|
6240
6269
|
}, _marked4$2);
|
|
6241
6270
|
}
|
|
6242
6271
|
|
|
6243
|
-
function rootSaga$
|
|
6272
|
+
function rootSaga$5() {
|
|
6244
6273
|
return regeneratorRuntime.wrap(function rootSaga$(_context5) {
|
|
6245
6274
|
while (1) {
|
|
6246
6275
|
switch (_context5.prev = _context5.next) {
|
|
@@ -6291,14 +6320,14 @@ function rootSaga$4() {
|
|
|
6291
6320
|
var synchronizationGroupConfig = {
|
|
6292
6321
|
id: 'syncronizationGroupStore-module',
|
|
6293
6322
|
reducersMap: {
|
|
6294
|
-
syncronizationGroupStore: reducer$
|
|
6323
|
+
syncronizationGroupStore: reducer$4
|
|
6295
6324
|
},
|
|
6296
|
-
sagas: [rootSaga$
|
|
6325
|
+
sagas: [rootSaga$6, rootSaga$5]
|
|
6297
6326
|
};
|
|
6298
6327
|
|
|
6299
|
-
var _marked$
|
|
6300
|
-
_marked2$
|
|
6301
|
-
_marked3$2 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$
|
|
6328
|
+
var _marked$4 = /*#__PURE__*/regeneratorRuntime.mark(registerMapUISaga),
|
|
6329
|
+
_marked2$4 = /*#__PURE__*/regeneratorRuntime.mark(unregisterUIMapSaga),
|
|
6330
|
+
_marked3$2 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$4);
|
|
6302
6331
|
function registerMapUISaga() {
|
|
6303
6332
|
var fields, source;
|
|
6304
6333
|
return regeneratorRuntime.wrap(function registerMapUISaga$(_context) {
|
|
@@ -6334,7 +6363,7 @@ function registerMapUISaga() {
|
|
|
6334
6363
|
return _context.stop();
|
|
6335
6364
|
}
|
|
6336
6365
|
}
|
|
6337
|
-
}, _marked$
|
|
6366
|
+
}, _marked$4);
|
|
6338
6367
|
}
|
|
6339
6368
|
function unregisterUIMapSaga() {
|
|
6340
6369
|
var fields, activeUI;
|
|
@@ -6386,9 +6415,9 @@ function unregisterUIMapSaga() {
|
|
|
6386
6415
|
return _context2.stop();
|
|
6387
6416
|
}
|
|
6388
6417
|
}
|
|
6389
|
-
}, _marked2$
|
|
6418
|
+
}, _marked2$4);
|
|
6390
6419
|
}
|
|
6391
|
-
function rootSaga$
|
|
6420
|
+
function rootSaga$4() {
|
|
6392
6421
|
return regeneratorRuntime.wrap(function rootSaga$(_context3) {
|
|
6393
6422
|
while (1) {
|
|
6394
6423
|
switch (_context3.prev = _context3.next) {
|
|
@@ -6427,9 +6456,9 @@ function rootSaga$3() {
|
|
|
6427
6456
|
var uiModuleConfig = {
|
|
6428
6457
|
id: 'ui-module',
|
|
6429
6458
|
reducersMap: {
|
|
6430
|
-
ui: reducer$
|
|
6459
|
+
ui: reducer$6
|
|
6431
6460
|
},
|
|
6432
|
-
sagas: [rootSaga$
|
|
6461
|
+
sagas: [rootSaga$4]
|
|
6433
6462
|
};
|
|
6434
6463
|
|
|
6435
6464
|
/* *
|
|
@@ -8022,8 +8051,8 @@ var LegendConnect = function LegendConnect(_a) {
|
|
|
8022
8051
|
}, props));
|
|
8023
8052
|
};
|
|
8024
8053
|
|
|
8025
|
-
var _marked$
|
|
8026
|
-
_marked2$
|
|
8054
|
+
var _marked$3 = /*#__PURE__*/regeneratorRuntime.mark(startAnimationSaga),
|
|
8055
|
+
_marked2$3 = /*#__PURE__*/regeneratorRuntime.mark(stopAnimationSaga),
|
|
8027
8056
|
_marked3$1 = /*#__PURE__*/regeneratorRuntime.mark(deleteLayerSaga),
|
|
8028
8057
|
_marked4$1 = /*#__PURE__*/regeneratorRuntime.mark(updateAnimation),
|
|
8029
8058
|
_marked5 = /*#__PURE__*/regeneratorRuntime.mark(setLayerDimensionsSaga),
|
|
@@ -8031,7 +8060,7 @@ var _marked$2 = /*#__PURE__*/regeneratorRuntime.mark(startAnimationSaga),
|
|
|
8031
8060
|
_marked7 = /*#__PURE__*/regeneratorRuntime.mark(handleBaseLayersSaga),
|
|
8032
8061
|
_marked8 = /*#__PURE__*/regeneratorRuntime.mark(setMapPresetSaga),
|
|
8033
8062
|
_marked9 = /*#__PURE__*/regeneratorRuntime.mark(unregisterMapSaga),
|
|
8034
|
-
_marked10 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$
|
|
8063
|
+
_marked10 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$3);
|
|
8035
8064
|
|
|
8036
8065
|
var generateTimeList = function generateTimeList(start, end, interval) {
|
|
8037
8066
|
var timeList = [];
|
|
@@ -8094,7 +8123,7 @@ function startAnimationSaga(_ref) {
|
|
|
8094
8123
|
return _context.stop();
|
|
8095
8124
|
}
|
|
8096
8125
|
}
|
|
8097
|
-
}, _marked$
|
|
8126
|
+
}, _marked$3);
|
|
8098
8127
|
}
|
|
8099
8128
|
function stopAnimationSaga(_ref2) {
|
|
8100
8129
|
var payload, mapId;
|
|
@@ -8112,7 +8141,7 @@ function stopAnimationSaga(_ref2) {
|
|
|
8112
8141
|
return _context2.stop();
|
|
8113
8142
|
}
|
|
8114
8143
|
}
|
|
8115
|
-
}, _marked2$
|
|
8144
|
+
}, _marked2$3);
|
|
8116
8145
|
}
|
|
8117
8146
|
function deleteLayerSaga(_ref3) {
|
|
8118
8147
|
var payload, mapId, layers;
|
|
@@ -8950,7 +8979,7 @@ function unregisterMapSaga(_ref7) {
|
|
|
8950
8979
|
}
|
|
8951
8980
|
}, _marked9);
|
|
8952
8981
|
}
|
|
8953
|
-
function rootSaga$
|
|
8982
|
+
function rootSaga$3() {
|
|
8954
8983
|
return regeneratorRuntime.wrap(function rootSaga$(_context10) {
|
|
8955
8984
|
while (1) {
|
|
8956
8985
|
switch (_context10.prev = _context10.next) {
|
|
@@ -8993,11 +9022,11 @@ function rootSaga$2() {
|
|
|
8993
9022
|
var moduleConfig = {
|
|
8994
9023
|
id: 'webmap-module',
|
|
8995
9024
|
reducersMap: {
|
|
8996
|
-
webmap: reducer$
|
|
8997
|
-
services: reducer$
|
|
8998
|
-
layers: reducer$
|
|
9025
|
+
webmap: reducer$5,
|
|
9026
|
+
services: reducer$7,
|
|
9027
|
+
layers: reducer$8
|
|
8999
9028
|
},
|
|
9000
|
-
sagas: [rootSaga$
|
|
9029
|
+
sagas: [rootSaga$3]
|
|
9001
9030
|
};
|
|
9002
9031
|
|
|
9003
9032
|
/* *
|
|
@@ -9051,10 +9080,10 @@ var isNoIdService = function isNoIdService(param) {
|
|
|
9051
9080
|
return !!((serviceParam === null || serviceParam === void 0 ? void 0 : serviceParam.name) && (serviceParam === null || serviceParam === void 0 ? void 0 : serviceParam.url));
|
|
9052
9081
|
};
|
|
9053
9082
|
|
|
9054
|
-
var _marked$
|
|
9055
|
-
_marked2$
|
|
9083
|
+
var _marked$2 = /*#__PURE__*/regeneratorRuntime.mark(newServiceAddedSaga),
|
|
9084
|
+
_marked2$2 = /*#__PURE__*/regeneratorRuntime.mark(layerSelectCloseInfoDialogSaga),
|
|
9056
9085
|
_marked3 = /*#__PURE__*/regeneratorRuntime.mark(layerSelectRemoveServiceSaga),
|
|
9057
|
-
_marked4 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$
|
|
9086
|
+
_marked4 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$2);
|
|
9058
9087
|
function newServiceAddedSaga(capturedAction) {
|
|
9059
9088
|
var addedService, id, serviceUrl, name, scope, _abstract, isUpdating, keywords, groups;
|
|
9060
9089
|
|
|
@@ -9108,7 +9137,7 @@ function newServiceAddedSaga(capturedAction) {
|
|
|
9108
9137
|
return _context.stop();
|
|
9109
9138
|
}
|
|
9110
9139
|
}
|
|
9111
|
-
}, _marked$
|
|
9140
|
+
}, _marked$2);
|
|
9112
9141
|
}
|
|
9113
9142
|
function layerSelectCloseInfoDialogSaga(_ref) {
|
|
9114
9143
|
var type, payload, togglePayload, activeMapIdPayload, isLayerInfoDialogOpen, _isLayerInfoDialogOpen, filteredLayers, dialogInfo;
|
|
@@ -9208,7 +9237,7 @@ function layerSelectCloseInfoDialogSaga(_ref) {
|
|
|
9208
9237
|
return _context2.stop();
|
|
9209
9238
|
}
|
|
9210
9239
|
}
|
|
9211
|
-
}, _marked2$
|
|
9240
|
+
}, _marked2$2);
|
|
9212
9241
|
}
|
|
9213
9242
|
function layerSelectRemoveServiceSaga(capturedAction) {
|
|
9214
9243
|
var removedService, serviceId, serviceUrl, results, services, servicesEnabled;
|
|
@@ -9282,7 +9311,7 @@ function removeServiceFromLocalStorageSaga(_ref5) {
|
|
|
9282
9311
|
delete updatedServices[serviceUrl];
|
|
9283
9312
|
setUserAddedServices(updatedServices);
|
|
9284
9313
|
}
|
|
9285
|
-
function rootSaga$
|
|
9314
|
+
function rootSaga$2() {
|
|
9286
9315
|
return regeneratorRuntime.wrap(function rootSaga$(_context4) {
|
|
9287
9316
|
while (1) {
|
|
9288
9317
|
switch (_context4.prev = _context4.next) {
|
|
@@ -9317,13 +9346,13 @@ function rootSaga$1() {
|
|
|
9317
9346
|
var layerSelectConfig = {
|
|
9318
9347
|
id: 'layerSelect-module',
|
|
9319
9348
|
reducersMap: {
|
|
9320
|
-
layerSelect: reducer$
|
|
9349
|
+
layerSelect: reducer$3
|
|
9321
9350
|
},
|
|
9322
|
-
sagas: [rootSaga$
|
|
9351
|
+
sagas: [rootSaga$2]
|
|
9323
9352
|
};
|
|
9324
9353
|
|
|
9325
|
-
var _marked = /*#__PURE__*/regeneratorRuntime.mark(openSnackbarSaga),
|
|
9326
|
-
_marked2 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga);
|
|
9354
|
+
var _marked$1 = /*#__PURE__*/regeneratorRuntime.mark(openSnackbarSaga),
|
|
9355
|
+
_marked2$1 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga$1);
|
|
9327
9356
|
var hideTime = 4000;
|
|
9328
9357
|
function openSnackbarSaga(capturedAction) {
|
|
9329
9358
|
var snackbarMessage, currentSnackbarMessages, id, currentSnackbarMessagesOpen;
|
|
@@ -9381,9 +9410,9 @@ function openSnackbarSaga(capturedAction) {
|
|
|
9381
9410
|
return _context.stop();
|
|
9382
9411
|
}
|
|
9383
9412
|
}
|
|
9384
|
-
}, _marked);
|
|
9413
|
+
}, _marked$1);
|
|
9385
9414
|
}
|
|
9386
|
-
function rootSaga() {
|
|
9415
|
+
function rootSaga$1() {
|
|
9387
9416
|
return regeneratorRuntime.wrap(function rootSaga$(_context2) {
|
|
9388
9417
|
while (1) {
|
|
9389
9418
|
switch (_context2.prev = _context2.next) {
|
|
@@ -9396,7 +9425,7 @@ function rootSaga() {
|
|
|
9396
9425
|
return _context2.stop();
|
|
9397
9426
|
}
|
|
9398
9427
|
}
|
|
9399
|
-
}, _marked2);
|
|
9428
|
+
}, _marked2$1);
|
|
9400
9429
|
}
|
|
9401
9430
|
|
|
9402
9431
|
/* *
|
|
@@ -9418,9 +9447,9 @@ function rootSaga() {
|
|
|
9418
9447
|
var snackbarModuleConfig = {
|
|
9419
9448
|
id: 'snackbar-module',
|
|
9420
9449
|
reducersMap: {
|
|
9421
|
-
snackbar: reducer$
|
|
9450
|
+
snackbar: reducer$2
|
|
9422
9451
|
},
|
|
9423
|
-
sagas: [rootSaga]
|
|
9452
|
+
sagas: [rootSaga$1]
|
|
9424
9453
|
};
|
|
9425
9454
|
|
|
9426
9455
|
/* *
|
|
@@ -20388,7 +20417,7 @@ var getCurrentDimensionValue = function getCurrentDimensionValue() {
|
|
|
20388
20417
|
var setServiceMetadata = function setServiceMetadata(wmLayer, mapId, mapProperties, onUpdateLayerInformation) {
|
|
20389
20418
|
var origin = LayerActionOrigin.ReactMapViewParseLayer;
|
|
20390
20419
|
var service = WMGetServiceFromStore(wmLayer.service);
|
|
20391
|
-
var serviceName = mapProperties.services[service.id].name;
|
|
20420
|
+
var serviceName = mapProperties.services && mapProperties.services[service.id] && mapProperties.services[service.id].name || service.id;
|
|
20392
20421
|
var webMapJSInstance = getWMJSMapById(mapId);
|
|
20393
20422
|
/* Update list of layers for service */
|
|
20394
20423
|
|
|
@@ -23095,7 +23124,14 @@ var ReactMapView = /*#__PURE__*/function (_React$Component) {
|
|
|
23095
23124
|
var _this$props = _this.props,
|
|
23096
23125
|
onUpdateLayerInformation = _this$props.onUpdateLayerInformation,
|
|
23097
23126
|
mapId = _this$props.mapId;
|
|
23098
|
-
|
|
23127
|
+
|
|
23128
|
+
try {
|
|
23129
|
+
setServiceMetadata(wmLayer, mapId, _this.props, onUpdateLayerInformation);
|
|
23130
|
+
} catch (e) {
|
|
23131
|
+
/* Provide a hint on what is going wrong */
|
|
23132
|
+
console.error(e);
|
|
23133
|
+
}
|
|
23134
|
+
|
|
23099
23135
|
var wmjsMap = getWMJSMapById(mapId);
|
|
23100
23136
|
|
|
23101
23137
|
if (child) {
|
|
@@ -23271,7 +23307,7 @@ var ReactMapView = /*#__PURE__*/function (_React$Component) {
|
|
|
23271
23307
|
var propDimension = props.dimensions[d];
|
|
23272
23308
|
var mapDim = wmjsMap.getDimension(propDimension.name);
|
|
23273
23309
|
|
|
23274
|
-
if (mapDim && mapDim.currentValue !== propDimension.currentValue) {
|
|
23310
|
+
if (mapDim && mapDim.currentValue !== propDimension.currentValue || !mapDim) {
|
|
23275
23311
|
wmjsMap.setDimension(propDimension.name, propDimension.currentValue, false, false);
|
|
23276
23312
|
}
|
|
23277
23313
|
|
|
@@ -24272,7 +24308,7 @@ var MapViewConnect = function MapViewConnect(_a) {
|
|
|
24272
24308
|
var wmjsMap = getWMJSMapById(mapId);
|
|
24273
24309
|
/* Check if the map not already has this value set, otherwise this component will re-render */
|
|
24274
24310
|
|
|
24275
|
-
if (wmjsMap.getDimension('time').currentValue === setTimePayload.value) {
|
|
24311
|
+
if (wmjsMap && wmjsMap.getDimension('time') && wmjsMap.getDimension('time').currentValue === setTimePayload.value) {
|
|
24276
24312
|
return;
|
|
24277
24313
|
}
|
|
24278
24314
|
|
|
@@ -26516,6 +26552,130 @@ var CoreThemeStoreProvider = function CoreThemeStoreProvider(_ref3) {
|
|
|
26516
26552
|
}, /*#__PURE__*/React__default.createElement(SnackbarWrapperConnect, null, children)));
|
|
26517
26553
|
};
|
|
26518
26554
|
|
|
26555
|
+
/* *
|
|
26556
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
26557
|
+
* you may not use this file except in compliance with the License.
|
|
26558
|
+
* You may obtain a copy of the License at
|
|
26559
|
+
*
|
|
26560
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
26561
|
+
*
|
|
26562
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
26563
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
26564
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
26565
|
+
* See the License for the specific language governing permissions and
|
|
26566
|
+
* limitations under the License.
|
|
26567
|
+
*
|
|
26568
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
26569
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
26570
|
+
* */
|
|
26571
|
+
// stores navigate hook method to object, so it can be used outside components
|
|
26572
|
+
var historyDict = {
|
|
26573
|
+
navigate: null
|
|
26574
|
+
};
|
|
26575
|
+
|
|
26576
|
+
var _marked = /*#__PURE__*/regeneratorRuntime.mark(navigateToUrlSaga),
|
|
26577
|
+
_marked2 = /*#__PURE__*/regeneratorRuntime.mark(rootSaga);
|
|
26578
|
+
function navigateToUrlSaga(action) {
|
|
26579
|
+
var payload;
|
|
26580
|
+
return regeneratorRuntime.wrap(function navigateToUrlSaga$(_context) {
|
|
26581
|
+
while (1) {
|
|
26582
|
+
switch (_context.prev = _context.next) {
|
|
26583
|
+
case 0:
|
|
26584
|
+
payload = action.payload;
|
|
26585
|
+
_context.next = 3;
|
|
26586
|
+
return call(historyDict.navigate, payload.url);
|
|
26587
|
+
|
|
26588
|
+
case 3:
|
|
26589
|
+
case "end":
|
|
26590
|
+
return _context.stop();
|
|
26591
|
+
}
|
|
26592
|
+
}
|
|
26593
|
+
}, _marked);
|
|
26594
|
+
}
|
|
26595
|
+
function rootSaga() {
|
|
26596
|
+
return regeneratorRuntime.wrap(function rootSaga$(_context2) {
|
|
26597
|
+
while (1) {
|
|
26598
|
+
switch (_context2.prev = _context2.next) {
|
|
26599
|
+
case 0:
|
|
26600
|
+
_context2.next = 2;
|
|
26601
|
+
return takeLatest(routerActions.navigateToUrl.type, navigateToUrlSaga);
|
|
26602
|
+
|
|
26603
|
+
case 2:
|
|
26604
|
+
case "end":
|
|
26605
|
+
return _context2.stop();
|
|
26606
|
+
}
|
|
26607
|
+
}
|
|
26608
|
+
}, _marked2);
|
|
26609
|
+
}
|
|
26610
|
+
|
|
26611
|
+
/* *
|
|
26612
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
26613
|
+
* you may not use this file except in compliance with the License.
|
|
26614
|
+
* You may obtain a copy of the License at
|
|
26615
|
+
*
|
|
26616
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
26617
|
+
*
|
|
26618
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
26619
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
26620
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
26621
|
+
* See the License for the specific language governing permissions and
|
|
26622
|
+
* limitations under the License.
|
|
26623
|
+
*
|
|
26624
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
26625
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
26626
|
+
* */
|
|
26627
|
+
var routerModuleConfig = {
|
|
26628
|
+
id: 'router',
|
|
26629
|
+
reducersMap: {
|
|
26630
|
+
router: reducer$1
|
|
26631
|
+
},
|
|
26632
|
+
sagas: [rootSaga]
|
|
26633
|
+
};
|
|
26634
|
+
|
|
26635
|
+
/* *
|
|
26636
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
26637
|
+
* you may not use this file except in compliance with the License.
|
|
26638
|
+
* You may obtain a copy of the License at
|
|
26639
|
+
*
|
|
26640
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
26641
|
+
*
|
|
26642
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
26643
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
26644
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
26645
|
+
* See the License for the specific language governing permissions and
|
|
26646
|
+
* limitations under the License.
|
|
26647
|
+
*
|
|
26648
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
26649
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
26650
|
+
* */
|
|
26651
|
+
var NavigateSetter = function NavigateSetter() {
|
|
26652
|
+
// stores navigate hook method to historyDict, so it can be used outside components
|
|
26653
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
26654
|
+
// @ts-ignore
|
|
26655
|
+
historyDict.navigate = useNavigate();
|
|
26656
|
+
return null;
|
|
26657
|
+
};
|
|
26658
|
+
|
|
26659
|
+
/* *
|
|
26660
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
26661
|
+
* you may not use this file except in compliance with the License.
|
|
26662
|
+
* You may obtain a copy of the License at
|
|
26663
|
+
*
|
|
26664
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
26665
|
+
*
|
|
26666
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
26667
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
26668
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
26669
|
+
* See the License for the specific language governing permissions and
|
|
26670
|
+
* limitations under the License.
|
|
26671
|
+
*
|
|
26672
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
26673
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
26674
|
+
* */
|
|
26675
|
+
var RouterWrapperConnect = withEggs([routerModuleConfig])(function (props) {
|
|
26676
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(NavigateSetter, null), props.children);
|
|
26677
|
+
});
|
|
26678
|
+
|
|
26519
26679
|
/* *
|
|
26520
26680
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
26521
26681
|
* you may not use this file except in compliance with the License.
|
|
@@ -26643,4 +26803,4 @@ var MapWarningProperties = function MapWarningProperties(_ref) {
|
|
|
26643
26803
|
* */
|
|
26644
26804
|
var mapActions = Object.assign(Object.assign(Object.assign({}, layerActions), mapActions$1), serviceActions);
|
|
26645
26805
|
|
|
26646
|
-
export { AppWrapperConnect, ConfigurableMapConnect, CoreThemeProvider, CoreThemeStoreProvider, DockedLayerManagerConnect, HarmonieTempAndPrecipPreset, LayerManager, BaseLayerRow as LayerManagerBaseLayerRow, LayerManagerConnect, DescriptionRow as LayerManagerDescriptionRow, HeaderOptions as LayerManagerHeaderOptions, LayerContainerRow as LayerManagerLayerContainerRow, LayerManagerMapButtonConnect, LayerSelectConnect, Legend, LegendConnect, LegendMapButtonConnect, MapControls, MapView, MapViewConnect, MapViewLayer, MapWarningProperties, MultiDimensionSelectMapButtonsConnect, MultiMapMultiDimensionSelectConnect as MultiMapDimensionSelectConnect, MultiMapViewConnect, ReactMapView, ReactMapViewLayer, SnackbarWrapperConnect, SyncGroupViewerConnect, index as SyncGroups, TimeSlider, BackwardForwardStepButtonConnect as TimeSliderBackwardForwardStepButtonConnect, TimeSliderButtonsConnect, TimeSliderConnect, OptionsMenuButtonConnect as TimeSliderOptionsMenuButtonConnect, PlayButtonConnect as TimeSliderPlayButtonConnect, ZoomControlConnect, ZoomControls, appActions, componentsLookUp, coreModuleConfig, dateFormat, defaultBbox, defaultConfigurations, filterLayers, filterMapPresets, filterNonTimeDimensions, filterServices, generateLayerId, generateMapId, generateTimesliderId, getDrawFunctionFromStore, getFirstTimeStepForLayerId, getInitialAppPresets, getLastTimeStepForLayerId, getNextTimeStepForLayerId, getPreviousTimeStepForLayerId, getWMJSDimensionForLayerAndDimension, getWMJSMapById, getWMJSTimeDimensionForLayerId, getWMLayerById, layerActions, reducer$
|
|
26806
|
+
export { AppWrapperConnect, ConfigurableMapConnect, CoreThemeProvider, CoreThemeStoreProvider, DockedLayerManagerConnect, HarmonieTempAndPrecipPreset, LayerManager, BaseLayerRow as LayerManagerBaseLayerRow, LayerManagerConnect, DescriptionRow as LayerManagerDescriptionRow, HeaderOptions as LayerManagerHeaderOptions, LayerContainerRow as LayerManagerLayerContainerRow, LayerManagerMapButtonConnect, LayerSelectConnect, Legend, LegendConnect, LegendMapButtonConnect, MapControls, MapView, MapViewConnect, MapViewLayer, MapWarningProperties, MultiDimensionSelectMapButtonsConnect, MultiMapMultiDimensionSelectConnect as MultiMapDimensionSelectConnect, MultiMapViewConnect, ReactMapView, ReactMapViewLayer, RouterWrapperConnect, SnackbarWrapperConnect, SyncGroupViewerConnect, index as SyncGroups, TimeSlider, BackwardForwardStepButtonConnect as TimeSliderBackwardForwardStepButtonConnect, TimeSliderButtonsConnect, TimeSliderConnect, OptionsMenuButtonConnect as TimeSliderOptionsMenuButtonConnect, PlayButtonConnect as TimeSliderPlayButtonConnect, ZoomControlConnect, ZoomControls, appActions, componentsLookUp, coreModuleConfig, dateFormat, defaultBbox, defaultConfigurations, filterLayers, filterMapPresets, filterNonTimeDimensions, filterServices, generateLayerId, generateMapId, generateTimesliderId, getDrawFunctionFromStore, getFirstTimeStepForLayerId, getInitialAppPresets, getLastTimeStepForLayerId, getNextTimeStepForLayerId, getPreviousTimeStepForLayerId, getWMJSDimensionForLayerAndDimension, getWMJSMapById, getWMJSTimeDimensionForLayerId, getWMLayerById, layerActions, reducer$8 as layerReducer, selectors$2 as layerSelectors, types$3 as layerTypes, mapActions, moduleConfig as mapModuleConfig, selectors as mapSelectors, types$2 as mapTypes, utils as mapUtils, parseBoolean, parseLayer, publicLayers, publicServices, registerDrawFunction, registerWMJSMap, registerWMLayer, routerActions, snackbarActions, store, genericActions as syncGroupActions, synchronizationGroupConfig as synchronizationGroupModuleConfig, synchronizationGroupConfig as synchronizationGroupsConfig, testLayers, timeSliderUtils, uiActions, uiModuleConfig, selectors$1 as uiSelectors, types as uiTypes, unRegisterWMJSLayer, unRegisterWMJSMap, useSetupDialog };
|