@opengeoweb/core 4.15.1 → 4.17.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 +417 -151
- package/index.umd.js +446 -144
- 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.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@reduxjs/toolkit'), require('immer'), require('moment'), require('react'), require('lodash'), require('redux-saga/effects'), require('react-redux'), require('@opengeoweb/shared'), require('@opengeoweb/theme'), require('@mui/material'), require('@opengeoweb/webmap'), require('react-sortablejs'), require('sortablejs'), require('react-window'), require('@mui/material/Box'), require('@mui/material/Typography'), require('@mui/material/Grid'), require('@opengeoweb/form-fields'), require('react-hook-form'), require('@mui/system'), require('throttle-debounce'), require('lodash.clonedeep'), require('proj4'), require('@turf/turf'), require('react-draggable'), require('re-resizable'), require('axios'), require('@opengeoweb/api'), require('@redux-eggs/redux-toolkit'), require('@redux-eggs/saga-extension')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@reduxjs/toolkit', 'immer', 'moment', 'react', 'lodash', 'redux-saga/effects', 'react-redux', '@opengeoweb/shared', '@opengeoweb/theme', '@mui/material', '@opengeoweb/webmap', 'react-sortablejs', 'sortablejs', 'react-window', '@mui/material/Box', '@mui/material/Typography', '@mui/material/Grid', '@opengeoweb/form-fields', 'react-hook-form', '@mui/system', 'throttle-debounce', 'lodash.clonedeep', 'proj4', '@turf/turf', 'react-draggable', 're-resizable', 'axios', '@opengeoweb/api', '@redux-eggs/redux-toolkit', '@redux-eggs/saga-extension'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Core = {}, global.toolkit, global.produce, global.moment, global.React, global._, global.effects, global.reactRedux, global.shared, global.theme, global.material, global.webmap, global.reactSortablejs, global.Sortable, global.reactWindow, global.Box, global.Typography, global.Grid, global.formFields, global.reactHookForm, global.system, global.throttleDebounce, global.cloneDeep, global.proj4, global.turf, global.Draggable, global.reResizable, global.axios, global.api, global.reduxToolkit, global.sagaExtension));
|
|
5
|
-
})(this, (function (exports, toolkit, produce, moment, React, _, effects, reactRedux, shared, theme, material, webmap, reactSortablejs, Sortable, reactWindow, Box, Typography, Grid, formFields, reactHookForm, system, throttleDebounce, cloneDeep, proj4, turf, Draggable, reResizable, axios, api, reduxToolkit, sagaExtension) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@reduxjs/toolkit'), require('immer'), require('moment'), require('react'), require('lodash'), require('redux-saga/effects'), require('react-redux'), require('@opengeoweb/shared'), require('@opengeoweb/theme'), require('@mui/material'), require('@opengeoweb/webmap'), require('react-sortablejs'), require('sortablejs'), require('react-window'), require('@mui/material/Box'), require('@mui/material/Typography'), require('@mui/material/Grid'), require('@opengeoweb/form-fields'), require('react-hook-form'), require('@mui/system'), require('throttle-debounce'), require('lodash.clonedeep'), require('proj4'), require('@turf/turf'), require('react-draggable'), require('re-resizable'), require('axios'), require('@opengeoweb/api'), require('@redux-eggs/redux-toolkit'), require('@redux-eggs/saga-extension'), require('react-router-dom')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@reduxjs/toolkit', 'immer', 'moment', 'react', 'lodash', 'redux-saga/effects', 'react-redux', '@opengeoweb/shared', '@opengeoweb/theme', '@mui/material', '@opengeoweb/webmap', 'react-sortablejs', 'sortablejs', 'react-window', '@mui/material/Box', '@mui/material/Typography', '@mui/material/Grid', '@opengeoweb/form-fields', 'react-hook-form', '@mui/system', 'throttle-debounce', 'lodash.clonedeep', 'proj4', '@turf/turf', 'react-draggable', 're-resizable', 'axios', '@opengeoweb/api', '@redux-eggs/redux-toolkit', '@redux-eggs/saga-extension', 'react-router-dom'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Core = {}, global.toolkit, global.produce, global.moment, global.React, global._, global.effects, global.reactRedux, global.shared, global.theme, global.material, global.webmap, global.reactSortablejs, global.Sortable, global.reactWindow, global.Box, global.Typography, global.Grid, global.formFields, global.reactHookForm, global.system, global.throttleDebounce, global.cloneDeep, global.proj4, global.turf, global.Draggable, global.reResizable, global.axios, global.api, global.reduxToolkit, global.sagaExtension, global.reactRouterDom));
|
|
5
|
+
})(this, (function (exports, toolkit, produce, moment, React, _, effects, reactRedux, shared, theme, material, webmap, reactSortablejs, Sortable, reactWindow, Box, Typography, Grid, formFields, reactHookForm, system, throttleDebounce, cloneDeep, proj4, turf, Draggable, reResizable, axios, api, reduxToolkit, sagaExtension, reactRouterDom) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -431,7 +431,11 @@
|
|
|
431
431
|
var wmjsTimeDim = getWMJSTimeDimensionForLayerId(layerId);
|
|
432
432
|
if (!wmjsTimeDim) return null;
|
|
433
433
|
var currentIndex = wmjsTimeDim.getIndexForValue(wmjsTimeDim.currentValue, false);
|
|
434
|
-
|
|
434
|
+
|
|
435
|
+
if (currentIndex < 0 || currentIndex - 1 < 0) {
|
|
436
|
+
return wmjsTimeDim.getClosestValue(wmjsTimeDim.currentValue, true);
|
|
437
|
+
}
|
|
438
|
+
|
|
435
439
|
return wmjsTimeDim.getValueForIndex(currentIndex - 1);
|
|
436
440
|
};
|
|
437
441
|
/**
|
|
@@ -441,9 +445,17 @@
|
|
|
441
445
|
|
|
442
446
|
var getNextTimeStepForLayerId = function getNextTimeStepForLayerId(layerId) {
|
|
443
447
|
var wmjsTimeDim = getWMJSTimeDimensionForLayerId(layerId);
|
|
444
|
-
|
|
448
|
+
|
|
449
|
+
if (!wmjsTimeDim) {
|
|
450
|
+
return null;
|
|
451
|
+
}
|
|
452
|
+
|
|
445
453
|
var currentIndex = wmjsTimeDim.getIndexForValue(wmjsTimeDim.currentValue, false);
|
|
446
|
-
|
|
454
|
+
|
|
455
|
+
if (currentIndex < 0 || currentIndex + 1 >= wmjsTimeDim.size()) {
|
|
456
|
+
return wmjsTimeDim.getClosestValue(wmjsTimeDim.currentValue, true);
|
|
457
|
+
}
|
|
458
|
+
|
|
447
459
|
return wmjsTimeDim.getValueForIndex(currentIndex + 1);
|
|
448
460
|
};
|
|
449
461
|
/**
|
|
@@ -1513,7 +1525,7 @@
|
|
|
1513
1525
|
status: status
|
|
1514
1526
|
});
|
|
1515
1527
|
};
|
|
1516
|
-
var initialState$
|
|
1528
|
+
var initialState$8 = {
|
|
1517
1529
|
byId: {},
|
|
1518
1530
|
allIds: [],
|
|
1519
1531
|
availableBaseLayers: {
|
|
@@ -1521,8 +1533,8 @@
|
|
|
1521
1533
|
allIds: []
|
|
1522
1534
|
}
|
|
1523
1535
|
};
|
|
1524
|
-
var slice$
|
|
1525
|
-
initialState: initialState$
|
|
1536
|
+
var slice$8 = toolkit.createSlice({
|
|
1537
|
+
initialState: initialState$8,
|
|
1526
1538
|
name: 'layerReducer',
|
|
1527
1539
|
reducers: {
|
|
1528
1540
|
addLayer: function addLayer(draft, action) {
|
|
@@ -1617,7 +1629,10 @@
|
|
|
1617
1629
|
},
|
|
1618
1630
|
baseLayerDelete: function baseLayerDelete(draft, action) {
|
|
1619
1631
|
var layerId = action.payload.layerId;
|
|
1620
|
-
|
|
1632
|
+
|
|
1633
|
+
if (draft.byId[layerId].layerType !== LayerType.baseLayer && draft.byId[layerId].layerType !== LayerType.overLayer) {
|
|
1634
|
+
return;
|
|
1635
|
+
}
|
|
1621
1636
|
|
|
1622
1637
|
if (draft.byId[layerId]) {
|
|
1623
1638
|
draft.allIds = draft.allIds.filter(function (id) {
|
|
@@ -1672,8 +1687,13 @@
|
|
|
1672
1687
|
|
|
1673
1688
|
var layerTypes = [];
|
|
1674
1689
|
filtererdBaseLayers.forEach(function (layer) {
|
|
1675
|
-
if (layer.layerType !== LayerType.baseLayer && layer.layerType !== LayerType.overLayer)
|
|
1676
|
-
|
|
1690
|
+
if (layer.layerType !== LayerType.baseLayer && layer.layerType !== LayerType.overLayer) {
|
|
1691
|
+
return;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
if (!layerTypes.includes(layer.layerType)) {
|
|
1695
|
+
layerTypes.push(layer.layerType);
|
|
1696
|
+
}
|
|
1677
1697
|
});
|
|
1678
1698
|
var state = produce.current(draft); // remove current layers with same type as one of the passed layers
|
|
1679
1699
|
|
|
@@ -1696,7 +1716,10 @@
|
|
|
1696
1716
|
},
|
|
1697
1717
|
addBaseLayer: function addBaseLayer(draft, action) {
|
|
1698
1718
|
var layer = action.payload.layer;
|
|
1699
|
-
|
|
1719
|
+
|
|
1720
|
+
if (layer.layerType !== LayerType.baseLayer && layer.layerType !== LayerType.overLayer) {
|
|
1721
|
+
return;
|
|
1722
|
+
}
|
|
1700
1723
|
|
|
1701
1724
|
if (!draft.byId[layer.id]) {
|
|
1702
1725
|
draft.byId[layer.id] = createLayer(__assign({
|
|
@@ -1717,7 +1740,10 @@
|
|
|
1717
1740
|
},
|
|
1718
1741
|
addAvailableBaseLayer: function addAvailableBaseLayer(draft, action) {
|
|
1719
1742
|
var layer = action.payload.layer;
|
|
1720
|
-
|
|
1743
|
+
|
|
1744
|
+
if (layer.layerType !== LayerType.baseLayer && layer.layerType !== LayerType.overLayer || !layer.mapId) {
|
|
1745
|
+
return;
|
|
1746
|
+
}
|
|
1721
1747
|
|
|
1722
1748
|
if (!draft.availableBaseLayers.byId[layer.id]) {
|
|
1723
1749
|
draft.availableBaseLayers.byId[layer.id] = createLayer(__assign({
|
|
@@ -1731,7 +1757,10 @@
|
|
|
1731
1757
|
var layers = action.payload.layers; // add new available baselayers
|
|
1732
1758
|
|
|
1733
1759
|
layers.forEach(function (layer) {
|
|
1734
|
-
if (layer.layerType !== LayerType.baseLayer || draft.availableBaseLayers.byId[layer.id] || !layer.mapId)
|
|
1760
|
+
if (layer.layerType !== LayerType.baseLayer || draft.availableBaseLayers.byId[layer.id] || !layer.mapId) {
|
|
1761
|
+
return;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1735
1764
|
draft.availableBaseLayers.byId[layer.id] = createLayer(__assign({
|
|
1736
1765
|
id: layer.id,
|
|
1737
1766
|
layerType: layer.layerType
|
|
@@ -1766,9 +1795,9 @@
|
|
|
1766
1795
|
layerDimensions = _a.layerDimensions;
|
|
1767
1796
|
var layerStyleAction = layerActions.layerChangeStyle(layerStyle);
|
|
1768
1797
|
var state = produce.current(draft);
|
|
1769
|
-
var intermediateState = layerStyle === null ? state : reducer$
|
|
1798
|
+
var intermediateState = layerStyle === null ? state : reducer$8(state, layerStyleAction);
|
|
1770
1799
|
var dimensionsAction = layerActions.layerSetDimensions(layerDimensions);
|
|
1771
|
-
var newState = layerDimensions === null ? intermediateState : reducer$
|
|
1800
|
+
var newState = layerDimensions === null ? intermediateState : reducer$8(intermediateState, dimensionsAction);
|
|
1772
1801
|
return newState;
|
|
1773
1802
|
},
|
|
1774
1803
|
setSelectedFeature: function setSelectedFeature(draft, action) {
|
|
@@ -1824,7 +1853,7 @@
|
|
|
1824
1853
|
};
|
|
1825
1854
|
/* Handle the Layer action with the same logic, using the same reducer */
|
|
1826
1855
|
|
|
1827
|
-
return reducer$
|
|
1856
|
+
return reducer$8(prevState, action);
|
|
1828
1857
|
}, state);
|
|
1829
1858
|
}).addCase(setMapPreset, function (draft, action) {
|
|
1830
1859
|
var mapId = action.payload.mapId;
|
|
@@ -1844,8 +1873,8 @@
|
|
|
1844
1873
|
});
|
|
1845
1874
|
}
|
|
1846
1875
|
});
|
|
1847
|
-
var reducer$
|
|
1848
|
-
var layerActions = slice$
|
|
1876
|
+
var reducer$8 = slice$8.reducer;
|
|
1877
|
+
var layerActions = slice$8.actions;
|
|
1849
1878
|
|
|
1850
1879
|
/* *
|
|
1851
1880
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1863,12 +1892,12 @@
|
|
|
1863
1892
|
* Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1864
1893
|
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
1865
1894
|
* */
|
|
1866
|
-
var initialState$
|
|
1895
|
+
var initialState$7 = {
|
|
1867
1896
|
byId: {},
|
|
1868
1897
|
allIds: []
|
|
1869
1898
|
};
|
|
1870
|
-
var slice$
|
|
1871
|
-
initialState: initialState$
|
|
1899
|
+
var slice$7 = toolkit.createSlice({
|
|
1900
|
+
initialState: initialState$7,
|
|
1872
1901
|
name: 'serviceReducer',
|
|
1873
1902
|
reducers: {
|
|
1874
1903
|
serviceSetLayers: function serviceSetLayers(draft, action) {
|
|
@@ -1895,13 +1924,13 @@
|
|
|
1895
1924
|
var serviceLayers = action.payload.serviceLayers;
|
|
1896
1925
|
if (serviceLayers === null) return draft;
|
|
1897
1926
|
var mapAction = serviceActions.serviceSetLayers(serviceLayers);
|
|
1898
|
-
var newState = reducer$
|
|
1927
|
+
var newState = reducer$7(draft, mapAction);
|
|
1899
1928
|
return newState;
|
|
1900
1929
|
});
|
|
1901
1930
|
}
|
|
1902
1931
|
});
|
|
1903
|
-
var reducer$
|
|
1904
|
-
var serviceActions = slice$
|
|
1932
|
+
var reducer$7 = slice$7.reducer;
|
|
1933
|
+
var serviceActions = slice$7.actions;
|
|
1905
1934
|
|
|
1906
1935
|
/* *
|
|
1907
1936
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2090,13 +2119,13 @@
|
|
|
2090
2119
|
error: undefined
|
|
2091
2120
|
};
|
|
2092
2121
|
};
|
|
2093
|
-
var initialState$
|
|
2122
|
+
var initialState$6 = {
|
|
2094
2123
|
order: [],
|
|
2095
2124
|
dialogs: {},
|
|
2096
2125
|
activeWindowId: undefined
|
|
2097
2126
|
};
|
|
2098
|
-
var slice$
|
|
2099
|
-
initialState: initialState$
|
|
2127
|
+
var slice$6 = toolkit.createSlice({
|
|
2128
|
+
initialState: initialState$6,
|
|
2100
2129
|
name: 'uiReducer',
|
|
2101
2130
|
reducers: {
|
|
2102
2131
|
registerDialog: function registerDialog(draft, action) {
|
|
@@ -2185,8 +2214,8 @@
|
|
|
2185
2214
|
}
|
|
2186
2215
|
}
|
|
2187
2216
|
});
|
|
2188
|
-
var reducer$
|
|
2189
|
-
var uiActions = slice$
|
|
2217
|
+
var reducer$6 = slice$6.reducer;
|
|
2218
|
+
var uiActions = slice$6.actions;
|
|
2190
2219
|
|
|
2191
2220
|
/* *
|
|
2192
2221
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2253,12 +2282,12 @@
|
|
|
2253
2282
|
});
|
|
2254
2283
|
};
|
|
2255
2284
|
|
|
2256
|
-
var initialState$
|
|
2285
|
+
var initialState$5 = {
|
|
2257
2286
|
byId: {},
|
|
2258
2287
|
allIds: []
|
|
2259
2288
|
};
|
|
2260
|
-
var slice$
|
|
2261
|
-
initialState: initialState$
|
|
2289
|
+
var slice$5 = toolkit.createSlice({
|
|
2290
|
+
initialState: initialState$5,
|
|
2262
2291
|
name: 'mapReducer',
|
|
2263
2292
|
reducers: {
|
|
2264
2293
|
registerMap: function registerMap(draft, action) {
|
|
@@ -2675,8 +2704,13 @@
|
|
|
2675
2704
|
});
|
|
2676
2705
|
|
|
2677
2706
|
if (draft.byId[mapId]) {
|
|
2678
|
-
if (baseLayerIds.length !== 0)
|
|
2679
|
-
|
|
2707
|
+
if (baseLayerIds.length !== 0) {
|
|
2708
|
+
draft.byId[mapId].baseLayers = baseLayerIds;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
if (overLayerIds.length !== 0) {
|
|
2712
|
+
draft.byId[mapId].overLayers = overLayerIds;
|
|
2713
|
+
}
|
|
2680
2714
|
}
|
|
2681
2715
|
}).addCase(layerDelete$1, function (draft, action) {
|
|
2682
2716
|
var _a = action.payload,
|
|
@@ -2791,13 +2825,13 @@
|
|
|
2791
2825
|
};
|
|
2792
2826
|
/* Handle the Layer action with the same logic, using the same reducer */
|
|
2793
2827
|
|
|
2794
|
-
return reducer$
|
|
2828
|
+
return reducer$5(prevState, action);
|
|
2795
2829
|
}, draft);
|
|
2796
2830
|
}).addCase(onUpdateLayerInformation, function (draft, action) {
|
|
2797
2831
|
var mapDimensions = action.payload.mapDimensions;
|
|
2798
2832
|
if (mapDimensions === null) return draft;
|
|
2799
2833
|
var mapAction = mapActions$1.mapUpdateAllMapDimensions(mapDimensions);
|
|
2800
|
-
return reducer$
|
|
2834
|
+
return reducer$5(draft, mapAction);
|
|
2801
2835
|
}).addCase(mapChangeDimension, function (draft, action) {
|
|
2802
2836
|
var _a = action.payload,
|
|
2803
2837
|
mapId = _a.mapId,
|
|
@@ -2835,11 +2869,11 @@
|
|
|
2835
2869
|
});
|
|
2836
2870
|
}
|
|
2837
2871
|
});
|
|
2838
|
-
var mapActions$1 = __assign(__assign({}, slice$
|
|
2872
|
+
var mapActions$1 = __assign(__assign({}, slice$5.actions), {
|
|
2839
2873
|
setMapPreset: setMapPreset,
|
|
2840
2874
|
mapChangeDimension: mapChangeDimension
|
|
2841
2875
|
});
|
|
2842
|
-
var reducer$
|
|
2876
|
+
var reducer$5 = slice$5.reducer;
|
|
2843
2877
|
|
|
2844
2878
|
/* *
|
|
2845
2879
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -3423,7 +3457,7 @@
|
|
|
3423
3457
|
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
3424
3458
|
* */
|
|
3425
3459
|
var _a$2;
|
|
3426
|
-
var initialState$
|
|
3460
|
+
var initialState$4 = {
|
|
3427
3461
|
sources: {
|
|
3428
3462
|
byId: {},
|
|
3429
3463
|
allIds: []
|
|
@@ -3447,8 +3481,8 @@
|
|
|
3447
3481
|
}
|
|
3448
3482
|
}
|
|
3449
3483
|
};
|
|
3450
|
-
var slice$
|
|
3451
|
-
initialState: initialState$
|
|
3484
|
+
var slice$4 = toolkit.createSlice({
|
|
3485
|
+
initialState: initialState$4,
|
|
3452
3486
|
name: 'synchronizationGroupsReducer',
|
|
3453
3487
|
reducers: {
|
|
3454
3488
|
syncGroupAddSource: function syncGroupAddSource(draft, action) {
|
|
@@ -3592,7 +3626,7 @@
|
|
|
3592
3626
|
});
|
|
3593
3627
|
},
|
|
3594
3628
|
syncGroupClear: function syncGroupClear() {
|
|
3595
|
-
return initialState$
|
|
3629
|
+
return initialState$4;
|
|
3596
3630
|
},
|
|
3597
3631
|
syncGroupSetViewState: function syncGroupSetViewState(draft, action) {
|
|
3598
3632
|
var viewState = action.payload.viewState;
|
|
@@ -3664,7 +3698,7 @@
|
|
|
3664
3698
|
});
|
|
3665
3699
|
};
|
|
3666
3700
|
|
|
3667
|
-
var syncGroupAddGroup = (_a$2 = slice$
|
|
3701
|
+
var syncGroupAddGroup = (_a$2 = slice$4.actions, _a$2.syncGroupAddGroup),
|
|
3668
3702
|
syncGroupAddSource = _a$2.syncGroupAddSource,
|
|
3669
3703
|
syncGroupAddTarget = _a$2.syncGroupAddTarget;
|
|
3670
3704
|
_a$2.syncGroupClear;
|
|
@@ -3673,8 +3707,8 @@
|
|
|
3673
3707
|
syncGroupRemoveSource = _a$2.syncGroupRemoveSource,
|
|
3674
3708
|
syncGroupRemoveTarget = _a$2.syncGroupRemoveTarget,
|
|
3675
3709
|
syncGroupSetViewState = _a$2.syncGroupSetViewState;
|
|
3676
|
-
var actions = slice$
|
|
3677
|
-
reducer$
|
|
3710
|
+
var actions = slice$4.actions,
|
|
3711
|
+
reducer$4 = slice$4.reducer;
|
|
3678
3712
|
|
|
3679
3713
|
/* *
|
|
3680
3714
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -3731,7 +3765,7 @@
|
|
|
3731
3765
|
actions: actions,
|
|
3732
3766
|
constants: constants,
|
|
3733
3767
|
types: types$1,
|
|
3734
|
-
initialState: initialState$
|
|
3768
|
+
initialState: initialState$4
|
|
3735
3769
|
});
|
|
3736
3770
|
|
|
3737
3771
|
/* *
|
|
@@ -4680,7 +4714,7 @@
|
|
|
4680
4714
|
serviceId: '',
|
|
4681
4715
|
variant: 'add'
|
|
4682
4716
|
};
|
|
4683
|
-
var initialState$
|
|
4717
|
+
var initialState$3 = {
|
|
4684
4718
|
filters: {
|
|
4685
4719
|
searchFilter: '',
|
|
4686
4720
|
activeServices: layerSelectActiveServicesAdapter.getInitialState(),
|
|
@@ -4696,8 +4730,8 @@
|
|
|
4696
4730
|
},
|
|
4697
4731
|
servicePopup: initialServicePopupState
|
|
4698
4732
|
};
|
|
4699
|
-
var slice$
|
|
4700
|
-
initialState: initialState$
|
|
4733
|
+
var slice$3 = toolkit.createSlice({
|
|
4734
|
+
initialState: initialState$3,
|
|
4701
4735
|
name: DialogTypes.LayerSelect,
|
|
4702
4736
|
reducers: {
|
|
4703
4737
|
setSearchFilter: function setSearchFilter(draft, action) {
|
|
@@ -4868,8 +4902,8 @@
|
|
|
4868
4902
|
}
|
|
4869
4903
|
}
|
|
4870
4904
|
});
|
|
4871
|
-
var reducer$
|
|
4872
|
-
var layerSelectActions = slice$
|
|
4905
|
+
var reducer$3 = slice$3.reducer;
|
|
4906
|
+
var layerSelectActions = slice$3.actions;
|
|
4873
4907
|
|
|
4874
4908
|
/* *
|
|
4875
4909
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -5166,9 +5200,9 @@
|
|
|
5166
5200
|
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
5167
5201
|
* */
|
|
5168
5202
|
var snackbarAdapter = toolkit.createEntityAdapter();
|
|
5169
|
-
var initialState$
|
|
5170
|
-
var slice$
|
|
5171
|
-
initialState: initialState$
|
|
5203
|
+
var initialState$2 = snackbarAdapter.getInitialState();
|
|
5204
|
+
var slice$2 = toolkit.createSlice({
|
|
5205
|
+
initialState: initialState$2,
|
|
5172
5206
|
name: 'snackbar',
|
|
5173
5207
|
reducers: {
|
|
5174
5208
|
// To open the snackbar call this action
|
|
@@ -5190,8 +5224,8 @@
|
|
|
5190
5224
|
}
|
|
5191
5225
|
}
|
|
5192
5226
|
});
|
|
5193
|
-
var reducer$
|
|
5194
|
-
var snackbarActions = slice$
|
|
5227
|
+
var reducer$2 = slice$2.reducer;
|
|
5228
|
+
var snackbarActions = slice$2.actions;
|
|
5195
5229
|
|
|
5196
5230
|
/* *
|
|
5197
5231
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -5221,6 +5255,34 @@
|
|
|
5221
5255
|
return currentMessages.length > 0 ? currentMessages[0] : undefined;
|
|
5222
5256
|
});
|
|
5223
5257
|
|
|
5258
|
+
/* *
|
|
5259
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5260
|
+
* you may not use this file except in compliance with the License.
|
|
5261
|
+
* You may obtain a copy of the License at
|
|
5262
|
+
*
|
|
5263
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5264
|
+
*
|
|
5265
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
5266
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5267
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5268
|
+
* See the License for the specific language governing permissions and
|
|
5269
|
+
* limitations under the License.
|
|
5270
|
+
*
|
|
5271
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
5272
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
5273
|
+
* */
|
|
5274
|
+
var initialState$1 = {};
|
|
5275
|
+
var slice$1 = toolkit.createSlice({
|
|
5276
|
+
initialState: initialState$1,
|
|
5277
|
+
name: 'router',
|
|
5278
|
+
reducers: {
|
|
5279
|
+
// eslint-disable-next-line no-unused-vars
|
|
5280
|
+
navigateToUrl: function navigateToUrl(draft, action) {}
|
|
5281
|
+
}
|
|
5282
|
+
});
|
|
5283
|
+
var reducer$1 = slice$1.reducer;
|
|
5284
|
+
var routerActions = slice$1.actions;
|
|
5285
|
+
|
|
5224
5286
|
/* *
|
|
5225
5287
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5226
5288
|
* you may not use this file except in compliance with the License.
|
|
@@ -5691,9 +5753,12 @@
|
|
|
5691
5753
|
switch (_b.label) {
|
|
5692
5754
|
case 0:
|
|
5693
5755
|
/* Should not listen to actions from itself */
|
|
5694
|
-
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer)
|
|
5695
|
-
|
|
5696
|
-
|
|
5756
|
+
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer) {
|
|
5757
|
+
return [2
|
|
5758
|
+
/*return*/
|
|
5759
|
+
];
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5697
5762
|
return [4
|
|
5698
5763
|
/*yield*/
|
|
5699
5764
|
, effects.select(getLayerActionsTargets, payload, SYNCGROUPS_TYPE_SETLAYERACTIONS)];
|
|
@@ -5727,9 +5792,12 @@
|
|
|
5727
5792
|
switch (_b.label) {
|
|
5728
5793
|
case 0:
|
|
5729
5794
|
/* Should not listen to actions from itself */
|
|
5730
|
-
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer)
|
|
5731
|
-
|
|
5732
|
-
|
|
5795
|
+
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer) {
|
|
5796
|
+
return [2
|
|
5797
|
+
/*return*/
|
|
5798
|
+
];
|
|
5799
|
+
}
|
|
5800
|
+
|
|
5733
5801
|
return [4
|
|
5734
5802
|
/*yield*/
|
|
5735
5803
|
, effects.select(getAddLayerActionsTargets, payload, SYNCGROUPS_TYPE_SETLAYERACTIONS)];
|
|
@@ -5763,9 +5831,12 @@
|
|
|
5763
5831
|
switch (_b.label) {
|
|
5764
5832
|
case 0:
|
|
5765
5833
|
/* Should not listen to actions from itself */
|
|
5766
|
-
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer)
|
|
5767
|
-
|
|
5768
|
-
|
|
5834
|
+
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer) {
|
|
5835
|
+
return [2
|
|
5836
|
+
/*return*/
|
|
5837
|
+
];
|
|
5838
|
+
}
|
|
5839
|
+
|
|
5769
5840
|
return [4
|
|
5770
5841
|
/*yield*/
|
|
5771
5842
|
, effects.select(getLayerDeleteActionsTargets, payload, SYNCGROUPS_TYPE_SETLAYERACTIONS)];
|
|
@@ -5799,9 +5870,12 @@
|
|
|
5799
5870
|
switch (_b.label) {
|
|
5800
5871
|
case 0:
|
|
5801
5872
|
/* Should not listen to actions from itself */
|
|
5802
|
-
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer)
|
|
5803
|
-
|
|
5804
|
-
|
|
5873
|
+
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer) {
|
|
5874
|
+
return [2
|
|
5875
|
+
/*return*/
|
|
5876
|
+
];
|
|
5877
|
+
}
|
|
5878
|
+
|
|
5805
5879
|
return [4
|
|
5806
5880
|
/*yield*/
|
|
5807
5881
|
, effects.select(getLayerMoveActionsTargets, payload, SYNCGROUPS_TYPE_SETLAYERACTIONS)];
|
|
@@ -5867,9 +5941,12 @@
|
|
|
5867
5941
|
switch (_b.label) {
|
|
5868
5942
|
case 0:
|
|
5869
5943
|
/* Should not listen to actions from itself */
|
|
5870
|
-
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer)
|
|
5871
|
-
|
|
5872
|
-
|
|
5944
|
+
if (payload && payload.origin === LayerActionOrigin.ReactMapViewParseLayer) {
|
|
5945
|
+
return [2
|
|
5946
|
+
/*return*/
|
|
5947
|
+
];
|
|
5948
|
+
}
|
|
5949
|
+
|
|
5873
5950
|
return [4
|
|
5874
5951
|
/*yield*/
|
|
5875
5952
|
, effects.select(getMapBaseLayerActionsTargets, payload, SYNCGROUPS_TYPE_SETLAYERACTIONS)];
|
|
@@ -5895,7 +5972,7 @@
|
|
|
5895
5972
|
}
|
|
5896
5973
|
});
|
|
5897
5974
|
}
|
|
5898
|
-
function rootSaga$
|
|
5975
|
+
function rootSaga$6() {
|
|
5899
5976
|
return __generator(this, function (_a) {
|
|
5900
5977
|
switch (_a.label) {
|
|
5901
5978
|
case 0:
|
|
@@ -6265,7 +6342,7 @@
|
|
|
6265
6342
|
});
|
|
6266
6343
|
}
|
|
6267
6344
|
|
|
6268
|
-
function rootSaga$
|
|
6345
|
+
function rootSaga$5() {
|
|
6269
6346
|
return __generator(this, function (_a) {
|
|
6270
6347
|
switch (_a.label) {
|
|
6271
6348
|
case 0:
|
|
@@ -6342,9 +6419,9 @@
|
|
|
6342
6419
|
var synchronizationGroupConfig = {
|
|
6343
6420
|
id: 'syncronizationGroupStore-module',
|
|
6344
6421
|
reducersMap: {
|
|
6345
|
-
syncronizationGroupStore: reducer$
|
|
6422
|
+
syncronizationGroupStore: reducer$4
|
|
6346
6423
|
},
|
|
6347
|
-
sagas: [rootSaga$
|
|
6424
|
+
sagas: [rootSaga$6, rootSaga$5]
|
|
6348
6425
|
};
|
|
6349
6426
|
|
|
6350
6427
|
/* *
|
|
@@ -6466,7 +6543,7 @@
|
|
|
6466
6543
|
}
|
|
6467
6544
|
});
|
|
6468
6545
|
}
|
|
6469
|
-
function rootSaga$
|
|
6546
|
+
function rootSaga$4() {
|
|
6470
6547
|
return __generator(this, function (_a) {
|
|
6471
6548
|
switch (_a.label) {
|
|
6472
6549
|
case 0:
|
|
@@ -6510,9 +6587,9 @@
|
|
|
6510
6587
|
var uiModuleConfig = {
|
|
6511
6588
|
id: 'ui-module',
|
|
6512
6589
|
reducersMap: {
|
|
6513
|
-
ui: reducer$
|
|
6590
|
+
ui: reducer$6
|
|
6514
6591
|
},
|
|
6515
|
-
sagas: [rootSaga$
|
|
6592
|
+
sagas: [rootSaga$4]
|
|
6516
6593
|
};
|
|
6517
6594
|
|
|
6518
6595
|
/* *
|
|
@@ -9055,7 +9132,8 @@
|
|
|
9055
9132
|
case 38:
|
|
9056
9133
|
if (!(toggleTimestepAuto !== undefined)) return [3
|
|
9057
9134
|
/*break*/
|
|
9058
|
-
, 40];
|
|
9135
|
+
, 40]; // Set timestep auto based on preset if animation is off
|
|
9136
|
+
|
|
9059
9137
|
return [4
|
|
9060
9138
|
/*yield*/
|
|
9061
9139
|
, effects.put(mapActions$1.toggleTimestepAuto({
|
|
@@ -9064,6 +9142,7 @@
|
|
|
9064
9142
|
}))];
|
|
9065
9143
|
|
|
9066
9144
|
case 39:
|
|
9145
|
+
// Set timestep auto based on preset if animation is off
|
|
9067
9146
|
_f.sent();
|
|
9068
9147
|
|
|
9069
9148
|
_f.label = 40;
|
|
@@ -9207,7 +9286,7 @@
|
|
|
9207
9286
|
}
|
|
9208
9287
|
});
|
|
9209
9288
|
}
|
|
9210
|
-
function rootSaga$
|
|
9289
|
+
function rootSaga$3() {
|
|
9211
9290
|
return __generator(this, function (_a) {
|
|
9212
9291
|
switch (_a.label) {
|
|
9213
9292
|
case 0:
|
|
@@ -9272,11 +9351,11 @@
|
|
|
9272
9351
|
var moduleConfig = {
|
|
9273
9352
|
id: 'webmap-module',
|
|
9274
9353
|
reducersMap: {
|
|
9275
|
-
webmap: reducer$
|
|
9276
|
-
services: reducer$
|
|
9277
|
-
layers: reducer$
|
|
9354
|
+
webmap: reducer$5,
|
|
9355
|
+
services: reducer$7,
|
|
9356
|
+
layers: reducer$8
|
|
9278
9357
|
},
|
|
9279
|
-
sagas: [rootSaga$
|
|
9358
|
+
sagas: [rootSaga$3]
|
|
9280
9359
|
};
|
|
9281
9360
|
|
|
9282
9361
|
function _typeof(obj) {
|
|
@@ -9606,7 +9685,7 @@
|
|
|
9606
9685
|
delete updatedServices[serviceUrl];
|
|
9607
9686
|
setUserAddedServices(updatedServices);
|
|
9608
9687
|
}
|
|
9609
|
-
function rootSaga$
|
|
9688
|
+
function rootSaga$2() {
|
|
9610
9689
|
return __generator(this, function (_a) {
|
|
9611
9690
|
switch (_a.label) {
|
|
9612
9691
|
case 0:
|
|
@@ -9655,9 +9734,9 @@
|
|
|
9655
9734
|
var layerSelectConfig = {
|
|
9656
9735
|
id: 'layerSelect-module',
|
|
9657
9736
|
reducersMap: {
|
|
9658
|
-
layerSelect: reducer$
|
|
9737
|
+
layerSelect: reducer$3
|
|
9659
9738
|
},
|
|
9660
|
-
sagas: [rootSaga$
|
|
9739
|
+
sagas: [rootSaga$2]
|
|
9661
9740
|
};
|
|
9662
9741
|
|
|
9663
9742
|
/* *
|
|
@@ -9749,7 +9828,7 @@
|
|
|
9749
9828
|
}
|
|
9750
9829
|
});
|
|
9751
9830
|
}
|
|
9752
|
-
function rootSaga() {
|
|
9831
|
+
function rootSaga$1() {
|
|
9753
9832
|
return __generator(this, function (_a) {
|
|
9754
9833
|
switch (_a.label) {
|
|
9755
9834
|
case 0:
|
|
@@ -9786,9 +9865,9 @@
|
|
|
9786
9865
|
var snackbarModuleConfig = {
|
|
9787
9866
|
id: 'snackbar-module',
|
|
9788
9867
|
reducersMap: {
|
|
9789
|
-
snackbar: reducer$
|
|
9868
|
+
snackbar: reducer$2
|
|
9790
9869
|
},
|
|
9791
|
-
sagas: [rootSaga]
|
|
9870
|
+
sagas: [rootSaga$1]
|
|
9792
9871
|
};
|
|
9793
9872
|
|
|
9794
9873
|
/* *
|
|
@@ -13615,17 +13694,23 @@
|
|
|
13615
13694
|
}, /*#__PURE__*/React__default["default"].createElement(theme.Clear, null)));
|
|
13616
13695
|
};
|
|
13617
13696
|
|
|
13618
|
-
if (isURL(localSearchString))
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
13625
|
-
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13697
|
+
if (isURL(localSearchString)) {
|
|
13698
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13699
|
+
style: {
|
|
13700
|
+
marginRight: '15px'
|
|
13701
|
+
}
|
|
13702
|
+
}, /*#__PURE__*/React__default["default"].createElement(ClearButton, null)), /*#__PURE__*/React__default["default"].createElement(material.Button, {
|
|
13703
|
+
variant: "tertiary",
|
|
13704
|
+
onClick: function onClick() {
|
|
13705
|
+
return setPopupIsOpen(true);
|
|
13706
|
+
}
|
|
13707
|
+
}, "Save"));
|
|
13708
|
+
}
|
|
13709
|
+
|
|
13710
|
+
if (localSearchString) {
|
|
13711
|
+
return /*#__PURE__*/React__default["default"].createElement(ClearButton, null);
|
|
13712
|
+
}
|
|
13713
|
+
|
|
13629
13714
|
return /*#__PURE__*/React__default["default"].createElement(shared.CustomTooltip, {
|
|
13630
13715
|
title: "Search",
|
|
13631
13716
|
placement: "top"
|
|
@@ -16942,8 +17027,8 @@
|
|
|
16942
17027
|
* See the License for the specific language governing permissions and
|
|
16943
17028
|
* limitations under the License.
|
|
16944
17029
|
*
|
|
16945
|
-
* Copyright
|
|
16946
|
-
* Copyright
|
|
17030
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
17031
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
16947
17032
|
* */
|
|
16948
17033
|
var SmallFontSlider = material.styled(material.Slider)(function () {
|
|
16949
17034
|
return {
|
|
@@ -16994,6 +17079,13 @@
|
|
|
16994
17079
|
var sliderValue = managedValue !== null ? values.findIndex(function (v) {
|
|
16995
17080
|
return v === managedValue;
|
|
16996
17081
|
}) : currentIndex;
|
|
17082
|
+
|
|
17083
|
+
var upDownNavigation = function upDownNavigation(event) {
|
|
17084
|
+
if (event.key === 'ArrowLeft' || event.key === 'ArrowRight' || event.metaKey || event.ctrlKey) {
|
|
17085
|
+
event.preventDefault();
|
|
17086
|
+
}
|
|
17087
|
+
};
|
|
17088
|
+
|
|
16997
17089
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(material.Box, {
|
|
16998
17090
|
"data-testid": "slider-dimensionSelect",
|
|
16999
17091
|
sx: {
|
|
@@ -17019,6 +17111,7 @@
|
|
|
17019
17111
|
} : {},
|
|
17020
17112
|
disabled: isDisabled,
|
|
17021
17113
|
value: sliderValue,
|
|
17114
|
+
onKeyDown: upDownNavigation,
|
|
17022
17115
|
onChange: function onChange(e, val) {
|
|
17023
17116
|
onChangeDimensionValue(values[val].toString());
|
|
17024
17117
|
if (!managedValue) setCurrentIndex(val);
|
|
@@ -19261,7 +19354,11 @@
|
|
|
19261
19354
|
if (leftMarkerDragging) {
|
|
19262
19355
|
var mousePosition = leftMarkerPx + x;
|
|
19263
19356
|
var rightAnimationPosition = rightMarkerPx - DRAG_AREA_WIDTH * 2;
|
|
19264
|
-
|
|
19357
|
+
|
|
19358
|
+
if (mousePosition >= rightAnimationPosition || mousePosition <= 0) {
|
|
19359
|
+
return;
|
|
19360
|
+
} // eslint-disable-next-line no-param-reassign
|
|
19361
|
+
|
|
19265
19362
|
|
|
19266
19363
|
dragTooltipPosition.current = pixelsToLeft ? mousePosition + pixelsToLeft : mousePosition;
|
|
19267
19364
|
var mouseTimeUnix = pixelToTimestamp(mousePosition, centerTime, canvasWidth, secondsPerPx);
|
|
@@ -19273,7 +19370,11 @@
|
|
|
19273
19370
|
if (rightMarkerDragging) {
|
|
19274
19371
|
var mousePosition = rightMarkerPx + x;
|
|
19275
19372
|
var leftAnimationPosition = leftMarkerPx + DRAG_AREA_WIDTH * 2;
|
|
19276
|
-
|
|
19373
|
+
|
|
19374
|
+
if (leftAnimationPosition >= mousePosition || mousePosition >= canvasWidth) {
|
|
19375
|
+
return;
|
|
19376
|
+
} // eslint-disable-next-line no-param-reassign
|
|
19377
|
+
|
|
19277
19378
|
|
|
19278
19379
|
dragTooltipPosition.current = pixelsToLeft ? mousePosition + pixelsToLeft : mousePosition;
|
|
19279
19380
|
var mouseTimeUnix = pixelToTimestamp(mousePosition, centerTime, canvasWidth, secondsPerPx);
|
|
@@ -19506,7 +19607,9 @@
|
|
|
19506
19607
|
isClickOrDrag.current = 'drag';
|
|
19507
19608
|
}
|
|
19508
19609
|
|
|
19509
|
-
if (selectedTimeDragging || leftMarkerDragging || rightMarkerDragging)
|
|
19610
|
+
if (selectedTimeDragging || leftMarkerDragging || rightMarkerDragging) {
|
|
19611
|
+
return;
|
|
19612
|
+
}
|
|
19510
19613
|
|
|
19511
19614
|
var _a = __read([localAnimationStartTime, localAnimationEndTime, selectedTime].map(function (timestamp) {
|
|
19512
19615
|
return timestampToPixel(timestamp, centerTime, width, secondsPerPx);
|
|
@@ -20699,10 +20802,12 @@
|
|
|
20699
20802
|
isAutoUpdating: isAutoUpdating,
|
|
20700
20803
|
unfilteredSelectedTime: unfilteredSelectedTime || selectedTime,
|
|
20701
20804
|
setUnfilteredSelectedTime: function setUnfilteredSelectedTime(timeSliderUnfilteredSelectedTime) {
|
|
20702
|
-
if (setTimeSliderUnfilteredSelectedTime)
|
|
20703
|
-
|
|
20704
|
-
|
|
20705
|
-
|
|
20805
|
+
if (setTimeSliderUnfilteredSelectedTime) {
|
|
20806
|
+
setTimeSliderUnfilteredSelectedTime({
|
|
20807
|
+
timeSliderUnfilteredSelectedTime: timeSliderUnfilteredSelectedTime,
|
|
20808
|
+
mapId: mapId
|
|
20809
|
+
});
|
|
20810
|
+
}
|
|
20706
20811
|
},
|
|
20707
20812
|
onSetNewDate: function onSetNewDate(newDate) {
|
|
20708
20813
|
if (isAnimating) {
|
|
@@ -21325,7 +21430,7 @@
|
|
|
21325
21430
|
var setServiceMetadata = function setServiceMetadata(wmLayer, mapId, mapProperties, onUpdateLayerInformation) {
|
|
21326
21431
|
var origin = LayerActionOrigin.ReactMapViewParseLayer;
|
|
21327
21432
|
var service = webmap.WMGetServiceFromStore(wmLayer.service);
|
|
21328
|
-
var serviceName = mapProperties.services[service.id].name;
|
|
21433
|
+
var serviceName = mapProperties.services && mapProperties.services[service.id] && mapProperties.services[service.id].name || service.id;
|
|
21329
21434
|
var webMapJSInstance = getWMJSMapById(mapId);
|
|
21330
21435
|
/* Update list of layers for service */
|
|
21331
21436
|
|
|
@@ -22462,12 +22567,19 @@
|
|
|
22462
22567
|
if (this.myDrawMode === DRAWMODE.POINT || this.myDrawMode === DRAWMODE.MULTIPOINT) {
|
|
22463
22568
|
/* Create points */
|
|
22464
22569
|
var pointGeometry = feature.geometry;
|
|
22465
|
-
|
|
22466
|
-
|
|
22570
|
+
|
|
22571
|
+
if (pointGeometry) {
|
|
22572
|
+
if (pointGeometry.coordinates === undefined) {
|
|
22573
|
+
pointGeometry.coordinates = [];
|
|
22574
|
+
}
|
|
22467
22575
|
}
|
|
22576
|
+
|
|
22468
22577
|
var multiPointGeometry = feature.geometry;
|
|
22469
|
-
|
|
22470
|
-
|
|
22578
|
+
|
|
22579
|
+
if (multiPointGeometry) {
|
|
22580
|
+
if (multiPointGeometry.coordinates === undefined) {
|
|
22581
|
+
multiPointGeometry.coordinates = [[]];
|
|
22582
|
+
}
|
|
22471
22583
|
}
|
|
22472
22584
|
|
|
22473
22585
|
if (this.myDrawMode === DRAWMODE.POINT) {
|
|
@@ -22507,8 +22619,11 @@
|
|
|
22507
22619
|
if (this.myDrawMode === DRAWMODE.POLYGON || this.myDrawMode === DRAWMODE.BOX) {
|
|
22508
22620
|
/* Create poly's and boxes */
|
|
22509
22621
|
this.myEditMode = EDITMODE.ADD_FEATURE;
|
|
22510
|
-
|
|
22511
|
-
|
|
22622
|
+
|
|
22623
|
+
if (feature.geometry) {
|
|
22624
|
+
if (feature.geometry.coordinates === undefined) {
|
|
22625
|
+
feature.geometry.coordinates = [[]];
|
|
22626
|
+
}
|
|
22512
22627
|
}
|
|
22513
22628
|
|
|
22514
22629
|
if (feature.geometry.coordinates[0] === undefined || feature.geometry.coordinates[0].length === 0) {
|
|
@@ -22912,7 +23027,9 @@
|
|
|
22912
23027
|
};
|
|
22913
23028
|
|
|
22914
23029
|
AdagucMapDraw.prototype.validatePolys = function (fixPolys) {
|
|
22915
|
-
if (!this.geojson || !this.geojson.features || !this.geojson.features.length)
|
|
23030
|
+
if (!this.geojson || !this.geojson.features || !this.geojson.features.length) {
|
|
23031
|
+
return;
|
|
23032
|
+
}
|
|
22916
23033
|
|
|
22917
23034
|
for (var featureIndex = 0; featureIndex < this.geojson.features.length; featureIndex += 1) {
|
|
22918
23035
|
if (!this.geojson.features) this.geojson.features = [];
|
|
@@ -22996,7 +23113,11 @@
|
|
|
22996
23113
|
var _a = this.props,
|
|
22997
23114
|
featureNrToEdit = _a.featureNrToEdit,
|
|
22998
23115
|
isInEditMode = _a.isInEditMode;
|
|
22999
|
-
|
|
23116
|
+
|
|
23117
|
+
if (!this.geojson || !this.geojson.features || !this.geojson.features.length) {
|
|
23118
|
+
return;
|
|
23119
|
+
}
|
|
23120
|
+
|
|
23000
23121
|
this.textPositions = [];
|
|
23001
23122
|
this.mouseOverPolygonCoordinates = [];
|
|
23002
23123
|
this.mouseOverPolygonFeatureIndex = -1;
|
|
@@ -23542,7 +23663,11 @@
|
|
|
23542
23663
|
featureNrToEdit = _a.featureNrToEdit;
|
|
23543
23664
|
var feature = this.geojson.features[featureIndex];
|
|
23544
23665
|
if (!feature || !feature.geometry) return;
|
|
23545
|
-
|
|
23666
|
+
|
|
23667
|
+
if (feature.geometry.type !== 'Polygon' && feature.geometry.type !== 'MultiPolygon') {
|
|
23668
|
+
return;
|
|
23669
|
+
}
|
|
23670
|
+
|
|
23546
23671
|
var polyProps = feature.properties;
|
|
23547
23672
|
if (!polyProps) polyProps = this.defaultPolyProps;
|
|
23548
23673
|
/* Draw polygons and calculate center of poly */
|
|
@@ -23652,7 +23777,10 @@
|
|
|
23652
23777
|
} else {
|
|
23653
23778
|
this.validateFeature(feature); // eslint-disable-next-line no-underscore-dangle
|
|
23654
23779
|
|
|
23655
|
-
if (feature.properties._adaguctype)
|
|
23780
|
+
if (feature.properties._adaguctype) {
|
|
23781
|
+
delete feature.properties._adaguctype;
|
|
23782
|
+
} // eslint-disable-next-line default-case
|
|
23783
|
+
|
|
23656
23784
|
|
|
23657
23785
|
switch (type) {
|
|
23658
23786
|
case DRAWMODE.POINT:
|
|
@@ -23661,8 +23789,12 @@
|
|
|
23661
23789
|
|
|
23662
23790
|
case DRAWMODE.MULTIPOINT:
|
|
23663
23791
|
feature.geometry.type = 'MultiPoint';
|
|
23664
|
-
|
|
23792
|
+
|
|
23793
|
+
if (feature.geometry.coordinates.length === 0) {
|
|
23794
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
23665
23795
|
feature.geometry.coordinates.push([]);
|
|
23796
|
+
}
|
|
23797
|
+
|
|
23666
23798
|
break;
|
|
23667
23799
|
|
|
23668
23800
|
case DRAWMODE.BOX:
|
|
@@ -23673,14 +23805,22 @@
|
|
|
23673
23805
|
|
|
23674
23806
|
case DRAWMODE.POLYGON:
|
|
23675
23807
|
feature.geometry.type = 'Polygon';
|
|
23676
|
-
|
|
23808
|
+
|
|
23809
|
+
if (feature.geometry.coordinates.length === 0) {
|
|
23810
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
23677
23811
|
feature.geometry.coordinates.push([]);
|
|
23812
|
+
}
|
|
23813
|
+
|
|
23678
23814
|
break;
|
|
23679
23815
|
|
|
23680
23816
|
case DRAWMODE.LINESTRING:
|
|
23681
23817
|
feature.geometry.type = 'LineString';
|
|
23682
|
-
|
|
23818
|
+
|
|
23819
|
+
if (feature.geometry.coordinates.length === 0) {
|
|
23820
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
23683
23821
|
feature.geometry.coordinates.push([]);
|
|
23822
|
+
}
|
|
23823
|
+
|
|
23684
23824
|
break;
|
|
23685
23825
|
}
|
|
23686
23826
|
}
|
|
@@ -23690,7 +23830,10 @@
|
|
|
23690
23830
|
|
|
23691
23831
|
|
|
23692
23832
|
AdagucMapDraw.prototype.checkIfFeatureIsBox = function (feature) {
|
|
23693
|
-
if (!feature || !feature.properties || !feature.properties._adaguctype)
|
|
23833
|
+
if (!feature || !feature.properties || !feature.properties._adaguctype) {
|
|
23834
|
+
return false;
|
|
23835
|
+
}
|
|
23836
|
+
|
|
23694
23837
|
return feature.properties._adaguctype === 'box';
|
|
23695
23838
|
};
|
|
23696
23839
|
|
|
@@ -23880,24 +24023,31 @@
|
|
|
23880
24023
|
var wmjsMap = getWMJSMapById(mapId);
|
|
23881
24024
|
/* Some safety checks */
|
|
23882
24025
|
|
|
23883
|
-
if (!wmjsMap || !wmLayers || !reactLayerId || !layerName)
|
|
23884
|
-
|
|
23885
|
-
|
|
23886
|
-
|
|
24026
|
+
if (!wmjsMap || !wmLayers || !reactLayerId || !layerName) {
|
|
24027
|
+
return {
|
|
24028
|
+
layer: null,
|
|
24029
|
+
layerArrayMutated: false
|
|
24030
|
+
};
|
|
24031
|
+
}
|
|
23887
24032
|
/* Find the wmlayer by its react layer id */
|
|
23888
24033
|
|
|
24034
|
+
|
|
23889
24035
|
var matchingLayerIndex = wmLayers.findIndex(function (wmLayer) {
|
|
23890
24036
|
return wmLayer.id === reactLayerId;
|
|
23891
24037
|
});
|
|
23892
|
-
|
|
23893
|
-
|
|
23894
|
-
|
|
23895
|
-
|
|
24038
|
+
|
|
24039
|
+
if (matchingLayerIndex === -1) {
|
|
24040
|
+
return {
|
|
24041
|
+
layer: null,
|
|
24042
|
+
layerArrayMutated: false
|
|
24043
|
+
};
|
|
24044
|
+
}
|
|
23896
24045
|
/*
|
|
23897
24046
|
The layer order in the react children array index is
|
|
23898
24047
|
reversed compared to the layer order in the wmLayer array index
|
|
23899
24048
|
*/
|
|
23900
24049
|
|
|
24050
|
+
|
|
23901
24051
|
var reactLayerIndex = wmLayers.length - 1 - wmLayerIndex;
|
|
23902
24052
|
var isMapLayer = isAMapLayer(reactWebMapJSLayer.props);
|
|
23903
24053
|
var mapLayerArrayShouldBeMutated = isMapLayer && matchingLayerIndex !== reactLayerIndex;
|
|
@@ -23984,7 +24134,14 @@
|
|
|
23984
24134
|
var _a = _this.props,
|
|
23985
24135
|
onUpdateLayerInformation = _a.onUpdateLayerInformation,
|
|
23986
24136
|
mapId = _a.mapId;
|
|
23987
|
-
|
|
24137
|
+
|
|
24138
|
+
try {
|
|
24139
|
+
setServiceMetadata(wmLayer, mapId, _this.props, onUpdateLayerInformation);
|
|
24140
|
+
} catch (e) {
|
|
24141
|
+
/* Provide a hint on what is going wrong */
|
|
24142
|
+
console.error(e);
|
|
24143
|
+
}
|
|
24144
|
+
|
|
23988
24145
|
var wmjsMap = getWMJSMapById(mapId);
|
|
23989
24146
|
|
|
23990
24147
|
if (child) {
|
|
@@ -24154,7 +24311,7 @@
|
|
|
24154
24311
|
var propDimension = props.dimensions[d];
|
|
24155
24312
|
var mapDim = wmjsMap.getDimension(propDimension.name);
|
|
24156
24313
|
|
|
24157
|
-
if (mapDim && mapDim.currentValue !== propDimension.currentValue) {
|
|
24314
|
+
if (mapDim && mapDim.currentValue !== propDimension.currentValue || !mapDim) {
|
|
24158
24315
|
wmjsMap.setDimension(propDimension.name, propDimension.currentValue, false, false);
|
|
24159
24316
|
}
|
|
24160
24317
|
|
|
@@ -25149,7 +25306,7 @@
|
|
|
25149
25306
|
var wmjsMap = getWMJSMapById(mapId);
|
|
25150
25307
|
/* Check if the map not already has this value set, otherwise this component will re-render */
|
|
25151
25308
|
|
|
25152
|
-
if (wmjsMap.getDimension('time').currentValue === setTimePayload.value) {
|
|
25309
|
+
if (wmjsMap && wmjsMap.getDimension('time') && wmjsMap.getDimension('time').currentValue === setTimePayload.value) {
|
|
25153
25310
|
return;
|
|
25154
25311
|
}
|
|
25155
25312
|
|
|
@@ -26371,6 +26528,7 @@
|
|
|
26371
26528
|
} // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
26372
26529
|
|
|
26373
26530
|
}, []);
|
|
26531
|
+
var mapControlsPositionTop = title ? 24 : 8;
|
|
26374
26532
|
return /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
26375
26533
|
sx: {
|
|
26376
26534
|
width: '100%',
|
|
@@ -26379,13 +26537,13 @@
|
|
|
26379
26537
|
overflow: 'hidden'
|
|
26380
26538
|
},
|
|
26381
26539
|
"data-testid": "ConfigurableMap"
|
|
26382
|
-
}, /*#__PURE__*/React__default["default"].createElement(material.Typography, {
|
|
26540
|
+
}, title && /*#__PURE__*/React__default["default"].createElement(material.Typography, {
|
|
26383
26541
|
"data-testid": "mapTitle",
|
|
26384
26542
|
sx: titleStyle
|
|
26385
|
-
}, title
|
|
26543
|
+
}, title), /*#__PURE__*/React__default["default"].createElement(MapControls, {
|
|
26386
26544
|
"data-testid": "mapControls",
|
|
26387
26545
|
style: {
|
|
26388
|
-
top:
|
|
26546
|
+
top: mapControlsPositionTop
|
|
26389
26547
|
}
|
|
26390
26548
|
}, /*#__PURE__*/React__default["default"].createElement(ZoomControlConnect, {
|
|
26391
26549
|
mapId: id
|
|
@@ -26519,7 +26677,7 @@
|
|
|
26519
26677
|
style: mapStyle,
|
|
26520
26678
|
sx: mapBoxStyle
|
|
26521
26679
|
}, /*#__PURE__*/React__default["default"].createElement(ConfigurableMapConnect, {
|
|
26522
|
-
title: map.title,
|
|
26680
|
+
title: map.title || mapId,
|
|
26523
26681
|
id: mapId,
|
|
26524
26682
|
layers: map.layers || [],
|
|
26525
26683
|
activeLayerId: map.activeLayerId || undefined,
|
|
@@ -27489,6 +27647,148 @@
|
|
|
27489
27647
|
}, /*#__PURE__*/React__default["default"].createElement(SnackbarWrapperConnect, null, children)));
|
|
27490
27648
|
};
|
|
27491
27649
|
|
|
27650
|
+
/* *
|
|
27651
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27652
|
+
* you may not use this file except in compliance with the License.
|
|
27653
|
+
* You may obtain a copy of the License at
|
|
27654
|
+
*
|
|
27655
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
27656
|
+
*
|
|
27657
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
27658
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
27659
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27660
|
+
* See the License for the specific language governing permissions and
|
|
27661
|
+
* limitations under the License.
|
|
27662
|
+
*
|
|
27663
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
27664
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
27665
|
+
* */
|
|
27666
|
+
// stores navigate hook method to object, so it can be used outside components
|
|
27667
|
+
var historyDict = {
|
|
27668
|
+
navigate: null
|
|
27669
|
+
};
|
|
27670
|
+
|
|
27671
|
+
/* *
|
|
27672
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27673
|
+
* you may not use this file except in compliance with the License.
|
|
27674
|
+
* You may obtain a copy of the License at
|
|
27675
|
+
*
|
|
27676
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
27677
|
+
*
|
|
27678
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
27679
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
27680
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27681
|
+
* See the License for the specific language governing permissions and
|
|
27682
|
+
* limitations under the License.
|
|
27683
|
+
*
|
|
27684
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
27685
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
27686
|
+
* */
|
|
27687
|
+
function navigateToUrlSaga(action) {
|
|
27688
|
+
var payload;
|
|
27689
|
+
return __generator(this, function (_a) {
|
|
27690
|
+
switch (_a.label) {
|
|
27691
|
+
case 0:
|
|
27692
|
+
payload = action.payload;
|
|
27693
|
+
return [4
|
|
27694
|
+
/*yield*/
|
|
27695
|
+
, effects.call(historyDict.navigate, payload.url)];
|
|
27696
|
+
|
|
27697
|
+
case 1:
|
|
27698
|
+
_a.sent();
|
|
27699
|
+
|
|
27700
|
+
return [2
|
|
27701
|
+
/*return*/
|
|
27702
|
+
];
|
|
27703
|
+
}
|
|
27704
|
+
});
|
|
27705
|
+
}
|
|
27706
|
+
function rootSaga() {
|
|
27707
|
+
return __generator(this, function (_a) {
|
|
27708
|
+
switch (_a.label) {
|
|
27709
|
+
case 0:
|
|
27710
|
+
return [4
|
|
27711
|
+
/*yield*/
|
|
27712
|
+
, effects.takeLatest(routerActions.navigateToUrl.type, navigateToUrlSaga)];
|
|
27713
|
+
|
|
27714
|
+
case 1:
|
|
27715
|
+
_a.sent();
|
|
27716
|
+
|
|
27717
|
+
return [2
|
|
27718
|
+
/*return*/
|
|
27719
|
+
];
|
|
27720
|
+
}
|
|
27721
|
+
});
|
|
27722
|
+
}
|
|
27723
|
+
|
|
27724
|
+
/* *
|
|
27725
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27726
|
+
* you may not use this file except in compliance with the License.
|
|
27727
|
+
* You may obtain a copy of the License at
|
|
27728
|
+
*
|
|
27729
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
27730
|
+
*
|
|
27731
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
27732
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
27733
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27734
|
+
* See the License for the specific language governing permissions and
|
|
27735
|
+
* limitations under the License.
|
|
27736
|
+
*
|
|
27737
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
27738
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
27739
|
+
* */
|
|
27740
|
+
var routerModuleConfig = {
|
|
27741
|
+
id: 'router',
|
|
27742
|
+
reducersMap: {
|
|
27743
|
+
router: reducer$1
|
|
27744
|
+
},
|
|
27745
|
+
sagas: [rootSaga]
|
|
27746
|
+
};
|
|
27747
|
+
|
|
27748
|
+
/* *
|
|
27749
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27750
|
+
* you may not use this file except in compliance with the License.
|
|
27751
|
+
* You may obtain a copy of the License at
|
|
27752
|
+
*
|
|
27753
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
27754
|
+
*
|
|
27755
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
27756
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
27757
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27758
|
+
* See the License for the specific language governing permissions and
|
|
27759
|
+
* limitations under the License.
|
|
27760
|
+
*
|
|
27761
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
27762
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
27763
|
+
* */
|
|
27764
|
+
var NavigateSetter = function NavigateSetter() {
|
|
27765
|
+
// stores navigate hook method to historyDict, so it can be used outside components
|
|
27766
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
27767
|
+
// @ts-ignore
|
|
27768
|
+
historyDict.navigate = reactRouterDom.useNavigate();
|
|
27769
|
+
return null;
|
|
27770
|
+
};
|
|
27771
|
+
|
|
27772
|
+
/* *
|
|
27773
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27774
|
+
* you may not use this file except in compliance with the License.
|
|
27775
|
+
* You may obtain a copy of the License at
|
|
27776
|
+
*
|
|
27777
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
27778
|
+
*
|
|
27779
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
27780
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
27781
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27782
|
+
* See the License for the specific language governing permissions and
|
|
27783
|
+
* limitations under the License.
|
|
27784
|
+
*
|
|
27785
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
27786
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
27787
|
+
* */
|
|
27788
|
+
var RouterWrapperConnect = shared.withEggs([routerModuleConfig])(function (props) {
|
|
27789
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(NavigateSetter, null), props.children);
|
|
27790
|
+
});
|
|
27791
|
+
|
|
27492
27792
|
/* *
|
|
27493
27793
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27494
27794
|
* you may not use this file except in compliance with the License.
|
|
@@ -27643,6 +27943,7 @@
|
|
|
27643
27943
|
exports.MultiMapViewConnect = MultiMapViewConnect;
|
|
27644
27944
|
exports.ReactMapView = ReactMapView;
|
|
27645
27945
|
exports.ReactMapViewLayer = ReactMapViewLayer;
|
|
27946
|
+
exports.RouterWrapperConnect = RouterWrapperConnect;
|
|
27646
27947
|
exports.SnackbarWrapperConnect = SnackbarWrapperConnect;
|
|
27647
27948
|
exports.SyncGroupViewerConnect = SyncGroupViewerConnect;
|
|
27648
27949
|
exports.SyncGroups = index;
|
|
@@ -27678,7 +27979,7 @@
|
|
|
27678
27979
|
exports.getWMJSTimeDimensionForLayerId = getWMJSTimeDimensionForLayerId;
|
|
27679
27980
|
exports.getWMLayerById = getWMLayerById;
|
|
27680
27981
|
exports.layerActions = layerActions;
|
|
27681
|
-
exports.layerReducer = reducer$
|
|
27982
|
+
exports.layerReducer = reducer$8;
|
|
27682
27983
|
exports.layerSelectors = selectors$2;
|
|
27683
27984
|
exports.layerTypes = types$3;
|
|
27684
27985
|
exports.mapActions = mapActions;
|
|
@@ -27693,6 +27994,7 @@
|
|
|
27693
27994
|
exports.registerDrawFunction = registerDrawFunction;
|
|
27694
27995
|
exports.registerWMJSMap = registerWMJSMap;
|
|
27695
27996
|
exports.registerWMLayer = registerWMLayer;
|
|
27997
|
+
exports.routerActions = routerActions;
|
|
27696
27998
|
exports.snackbarActions = snackbarActions;
|
|
27697
27999
|
exports.store = store;
|
|
27698
28000
|
exports.syncGroupActions = genericActions;
|