@opengeoweb/store 14.3.0 → 14.4.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 +55 -36
- package/package.json +6 -6
- package/src/store/map/map/selectors.d.ts +25 -4
package/index.esm.js
CHANGED
|
@@ -5744,23 +5744,32 @@ var getLegendId = createSelector(getMapById, function (store) {
|
|
|
5744
5744
|
* Example getMapPreset(store, mapId);
|
|
5745
5745
|
* @param {object} store store: object - store object
|
|
5746
5746
|
* @param {string} mapId mapId: string - Id of the map
|
|
5747
|
+
* @param {boolean} keepAllDims? keepAllDims: boolean - default false: whether or not to leave the time and reference_time dimentions
|
|
5747
5748
|
* @returns {MapPreset} returnType: MapPreset
|
|
5748
5749
|
*/
|
|
5749
|
-
var getMapPreset = createSelector(getMapLayers, getMapBaseLayers, getMapOverLayers, getBbox, getSrs, getActiveLayerId, getAutoTimeStepLayerId, getAutoUpdateLayerId, isAnimating, isAutoUpdating, isTimeSliderVisible, getDisplayMapPin, isZoomControlsVisible, getMapTimeStep, getMapAnimationDelay, getAnimationStartTime, getAnimationEndTime, getMapTimeSliderSpan, isTimestepAuto, isTimeSpanAuto, getLegendId, getUiStore, function (_store, mapId) {
|
|
5750
|
+
var getMapPreset = createSelector(getMapLayers, getMapBaseLayers, getMapOverLayers, getBbox, getSrs, getActiveLayerId, getAutoTimeStepLayerId, getAutoUpdateLayerId, isAnimating, isAutoUpdating, isTimeSliderVisible, getDisplayMapPin, isZoomControlsVisible, getMapTimeStep, getMapAnimationDelay, getAnimationStartTime, getAnimationEndTime, getMapTimeSliderSpan, getMapDimensions, isTimestepAuto, isTimeSpanAuto, getLegendId, getUiStore, function (_store, mapId) {
|
|
5750
5751
|
return mapId;
|
|
5751
|
-
}, function (
|
|
5752
|
+
}, function (_store, _mapId) {
|
|
5753
|
+
var keepAllDims = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
5754
|
+
return keepAllDims;
|
|
5755
|
+
}, function (mapLayers, baseLayers, overLayers, bbox, srs, activeLayerId, autoTimeStepLayerId, autoUpdateLayerId, isAnimating, isAutoUpdating, isTimeSliderVisible, displayMapPin, isZoomControlsVisible, mapTimeStep, mapAnimationDelay, animationStartTime, animationEndTime, timeSliderSpan, mapDimensions, isTimestepAuto, isTimeSpanAuto, legendId, uiStore, mapId, keepAllDims) {
|
|
5752
5756
|
var _overLayers$, _uiStore$dialogs$lege;
|
|
5753
|
-
var defaultOverlayer = arguments.length >
|
|
5757
|
+
var defaultOverlayer = arguments.length > 25 && arguments[25] !== undefined ? arguments[25] : ((_overLayers$ = overLayers[0]) === null || _overLayers$ === void 0 ? void 0 : _overLayers$.name) || 'none';
|
|
5754
5758
|
var allLayers = [].concat(_toConsumableArray(baseLayers), _toConsumableArray(overLayers), _toConsumableArray(mapLayers)).map(function (_ref3) {
|
|
5755
5759
|
_ref3.mapId;
|
|
5756
5760
|
var layer = _objectWithoutProperties(_ref3, _excluded$2);
|
|
5757
5761
|
if (layer.dimensions !== undefined) {
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
+
if (!keepAllDims) {
|
|
5763
|
+
// Filter out time dimension as this should not be part of the preset for now
|
|
5764
|
+
var dimensions = layer.dimensions.filter(function (dimension) {
|
|
5765
|
+
return dimension.name !== 'time';
|
|
5766
|
+
});
|
|
5767
|
+
return _objectSpread2(_objectSpread2({}, layer), {}, {
|
|
5768
|
+
dimensions: dimensions
|
|
5769
|
+
});
|
|
5770
|
+
}
|
|
5762
5771
|
return _objectSpread2(_objectSpread2({}, layer), {}, {
|
|
5763
|
-
dimensions: dimensions
|
|
5772
|
+
dimensions: layer.dimensions
|
|
5764
5773
|
});
|
|
5765
5774
|
}
|
|
5766
5775
|
return layer;
|
|
@@ -5798,6 +5807,8 @@ var getMapPreset = createSelector(getMapLayers, getMapBaseLayers, getMapOverLaye
|
|
|
5798
5807
|
timeSliderSpan: timeSliderSpan,
|
|
5799
5808
|
shouldShowDataExplorer: shouldShowDataExplorer,
|
|
5800
5809
|
defaultOverlayer: defaultOverlayer
|
|
5810
|
+
}, keepAllDims && {
|
|
5811
|
+
dimensions: mapDimensions
|
|
5801
5812
|
});
|
|
5802
5813
|
}, selectorMemoizationOptions);
|
|
5803
5814
|
var getMultiMapInitialProps = function getMultiMapInitialProps(store, panelId) {
|
|
@@ -7315,7 +7326,7 @@ mapListener.startListening({
|
|
|
7315
7326
|
actionCreator: mapActions.setMapPreset,
|
|
7316
7327
|
effect: function () {
|
|
7317
7328
|
var _effect2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref6, listenerApi) {
|
|
7318
|
-
var payload, mapId, initialProps, mapPreset, layers, activeLayerId, autoTimeStepLayerId, autoUpdateLayerId, proj, shouldAutoUpdate, shouldAnimate, animationPayload, toggleTimestepAuto, showTimeSlider, displayMapPin, shouldShowZoomControls, shouldShowLegend, shouldShowDataExplorer, dockedLayerManagerSize, timeSliderSpan, toggleTimeSpanAuto, defaultOverlayer, _filterLayers, mapLayers, baseLayers, overLayers, _newLayerIds$layers$f, _newLayerIds$layers$f2, autoTimeStepLayerIdNew, autoUpdateLayerIdNew, onlyActiveLayerIdIsSet, newLayerIds, newAutoTimeStepLayerId, newAutoUpdateLayerId, customLayers, customBaseLayer, customOverLayer, baseLayersWithDefaultLayer, overLayersWithDefaultLayer, allBaseLayers, _overlayersFromStore$, overlayersFromStore, foundOverlayerId, checkIsprojectionSupported, animationLength, animationEndTime, shouldEndtimeOverride, interval, endTime, startTime, centerTimeInSeconds, animationEnd, _startTime, duration, _animationEnd, animationStart, shouldOpenLegend, legendId, fiveMinuteDelayForAnimation, _animationEnd2, _animationStart;
|
|
7329
|
+
var payload, mapId, initialProps, mapPreset, _mapPreset$dimensions, layers, activeLayerId, autoTimeStepLayerId, autoUpdateLayerId, proj, shouldAutoUpdate, shouldAnimate, animationPayload, toggleTimestepAuto, showTimeSlider, displayMapPin, shouldShowZoomControls, shouldShowLegend, shouldShowDataExplorer, dockedLayerManagerSize, timeSliderSpan, toggleTimeSpanAuto, defaultOverlayer, _filterLayers, mapLayers, baseLayers, overLayers, _newLayerIds$layers$f, _newLayerIds$layers$f2, autoTimeStepLayerIdNew, autoUpdateLayerIdNew, onlyActiveLayerIdIsSet, newLayerIds, newAutoTimeStepLayerId, newAutoUpdateLayerId, customLayers, customBaseLayer, customOverLayer, baseLayersWithDefaultLayer, overLayersWithDefaultLayer, allBaseLayers, _overlayersFromStore$, overlayersFromStore, foundOverlayerId, checkIsprojectionSupported, animationLength, animationEndTime, shouldEndtimeOverride, interval, timeAlreadySet, endTime, startTime, centerTimeInSeconds, animationEnd, _startTime, duration, _animationEnd, animationStart, shouldOpenLegend, legendId, fiveMinuteDelayForAnimation, _animationEnd2, _animationStart;
|
|
7319
7330
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
7320
7331
|
while (1) switch (_context2.prev = _context2.next) {
|
|
7321
7332
|
case 0:
|
|
@@ -7324,7 +7335,7 @@ mapListener.startListening({
|
|
|
7324
7335
|
mapId = payload.mapId, initialProps = payload.initialProps;
|
|
7325
7336
|
mapPreset = initialProps.mapPreset;
|
|
7326
7337
|
if (!mapPreset) {
|
|
7327
|
-
_context2.next =
|
|
7338
|
+
_context2.next = 53;
|
|
7328
7339
|
break;
|
|
7329
7340
|
}
|
|
7330
7341
|
layers = mapPreset.layers, activeLayerId = mapPreset.activeLayerId, autoTimeStepLayerId = mapPreset.autoTimeStepLayerId, autoUpdateLayerId = mapPreset.autoUpdateLayerId, proj = mapPreset.proj, shouldAutoUpdate = mapPreset.shouldAutoUpdate, shouldAnimate = mapPreset.shouldAnimate, animationPayload = mapPreset.animationPayload, toggleTimestepAuto = mapPreset.toggleTimestepAuto, showTimeSlider = mapPreset.showTimeSlider, displayMapPin = mapPreset.displayMapPin, shouldShowZoomControls = mapPreset.shouldShowZoomControls, shouldShowLegend = mapPreset.shouldShowLegend, shouldShowDataExplorer = mapPreset.shouldShowDataExplorer, dockedLayerManagerSize = mapPreset.dockedLayerManagerSize, timeSliderSpan = mapPreset.timeSliderSpan, toggleTimeSpanAuto = mapPreset.toggleTimeSpanAuto, defaultOverlayer = mapPreset.defaultOverlayer;
|
|
@@ -7461,7 +7472,11 @@ mapListener.startListening({
|
|
|
7461
7472
|
timeStep: interval
|
|
7462
7473
|
}));
|
|
7463
7474
|
}
|
|
7464
|
-
//
|
|
7475
|
+
// Check if time dim already set (this is the case when duplicating view via Shift + split window)
|
|
7476
|
+
// If set, don't dispatch setTime action
|
|
7477
|
+
timeAlreadySet = (_mapPreset$dimensions = mapPreset.dimensions) === null || _mapPreset$dimensions === void 0 ? void 0 : _mapPreset$dimensions.find(function (dimension) {
|
|
7478
|
+
return dimension.name === 'time';
|
|
7479
|
+
}); // sets animationEndTime by endTime of animationPayload
|
|
7465
7480
|
if (animationEndTime) {
|
|
7466
7481
|
endTime = animationEndTime.includes('NOW') || animationEndTime.includes('TODAY') ? dateUtils.convertNOWandTODAYFormatsToUTC(animationEndTime) : animationEndTime;
|
|
7467
7482
|
listenerApi.dispatch(mapActions.setAnimationEndTime({
|
|
@@ -7475,13 +7490,15 @@ mapListener.startListening({
|
|
|
7475
7490
|
mapId: mapId,
|
|
7476
7491
|
animationStartTime: startTime
|
|
7477
7492
|
}));
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7493
|
+
if (timeAlreadySet === undefined) {
|
|
7494
|
+
listenerApi.dispatch(genericActions.setTime({
|
|
7495
|
+
origin: 'map/listener.ts, setMapPreset',
|
|
7496
|
+
sourceId: mapId,
|
|
7497
|
+
value: {
|
|
7498
|
+
currentTime: startTime
|
|
7499
|
+
}
|
|
7500
|
+
}));
|
|
7501
|
+
}
|
|
7485
7502
|
centerTimeInSeconds = new Date(handleDateUtilsISOString(endTime)).getTime();
|
|
7486
7503
|
listenerApi.dispatch(mapActions.setTimeSliderCenterTime({
|
|
7487
7504
|
mapId: mapId,
|
|
@@ -7498,13 +7515,15 @@ mapListener.startListening({
|
|
|
7498
7515
|
mapId: mapId,
|
|
7499
7516
|
animationStartTime: _startTime
|
|
7500
7517
|
}));
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7518
|
+
if (timeAlreadySet === undefined) {
|
|
7519
|
+
listenerApi.dispatch(genericActions.setTime({
|
|
7520
|
+
origin: 'map/listener.ts, setAnimationStartTime',
|
|
7521
|
+
sourceId: mapId,
|
|
7522
|
+
value: {
|
|
7523
|
+
currentTime: _startTime
|
|
7524
|
+
}
|
|
7525
|
+
}));
|
|
7526
|
+
}
|
|
7508
7527
|
}
|
|
7509
7528
|
// sets animationDelay by speed of animationPayload
|
|
7510
7529
|
if (animationPayload && animationPayload.speed) {
|
|
@@ -7564,15 +7583,15 @@ mapListener.startListening({
|
|
|
7564
7583
|
dockedLayerManagerSize: dockedLayerManagerSize
|
|
7565
7584
|
}));
|
|
7566
7585
|
}
|
|
7567
|
-
case
|
|
7586
|
+
case 43:
|
|
7568
7587
|
if (!(animationEndTime && (shouldEndtimeOverride || !(shouldAutoUpdate || shouldAnimate)))) {
|
|
7569
|
-
_context2.next =
|
|
7588
|
+
_context2.next = 53;
|
|
7570
7589
|
break;
|
|
7571
7590
|
}
|
|
7572
7591
|
fiveMinuteDelayForAnimation = 1000 * 60 * 5; // eslint-disable-next-line no-await-in-loop
|
|
7573
|
-
_context2.next =
|
|
7592
|
+
_context2.next = 47;
|
|
7574
7593
|
return listenerApi.delay(fiveMinuteDelayForAnimation);
|
|
7575
|
-
case
|
|
7594
|
+
case 47:
|
|
7576
7595
|
_animationEnd2 = getAnimationEndTime(listenerApi.getState(), mapId);
|
|
7577
7596
|
listenerApi.dispatch(mapActions.setAnimationEndTime({
|
|
7578
7597
|
mapId: mapId,
|
|
@@ -7587,13 +7606,13 @@ mapListener.startListening({
|
|
|
7587
7606
|
minutes: 5
|
|
7588
7607
|
}).toISOString()
|
|
7589
7608
|
}));
|
|
7590
|
-
_context2.next =
|
|
7609
|
+
_context2.next = 43;
|
|
7591
7610
|
break;
|
|
7592
|
-
case
|
|
7593
|
-
_context2.next =
|
|
7611
|
+
case 53:
|
|
7612
|
+
_context2.next = 58;
|
|
7594
7613
|
break;
|
|
7595
|
-
case
|
|
7596
|
-
_context2.prev =
|
|
7614
|
+
case 55:
|
|
7615
|
+
_context2.prev = 55;
|
|
7597
7616
|
_context2.t0 = _context2["catch"](1);
|
|
7598
7617
|
if (_context2.t0 instanceof Error) {
|
|
7599
7618
|
listenerApi.dispatch(mapActions.setMapPresetError({
|
|
@@ -7601,11 +7620,11 @@ mapListener.startListening({
|
|
|
7601
7620
|
error: _context2.t0.message
|
|
7602
7621
|
}));
|
|
7603
7622
|
}
|
|
7604
|
-
case
|
|
7623
|
+
case 58:
|
|
7605
7624
|
case "end":
|
|
7606
7625
|
return _context2.stop();
|
|
7607
7626
|
}
|
|
7608
|
-
}, _callee2, null, [[1,
|
|
7627
|
+
}, _callee2, null, [[1, 55]]);
|
|
7609
7628
|
}));
|
|
7610
7629
|
function effect(_x3, _x4) {
|
|
7611
7630
|
return _effect2.apply(this, arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/store",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.4.0",
|
|
4
4
|
"description": "GeoWeb Store library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "14.
|
|
11
|
+
"@opengeoweb/shared": "14.4.0",
|
|
12
12
|
"react-redux": "^9.2.0",
|
|
13
13
|
"@reduxjs/toolkit": "^2.6.1",
|
|
14
|
-
"@opengeoweb/webmap-react": "14.
|
|
15
|
-
"@opengeoweb/webmap": "14.
|
|
14
|
+
"@opengeoweb/webmap-react": "14.4.0",
|
|
15
|
+
"@opengeoweb/webmap": "14.4.0",
|
|
16
16
|
"immer": "^10.0.3",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"@opengeoweb/metronome": "14.
|
|
19
|
-
"@opengeoweb/time-slider": "14.
|
|
18
|
+
"@opengeoweb/metronome": "14.4.0",
|
|
19
|
+
"@opengeoweb/time-slider": "14.4.0",
|
|
20
20
|
"react-router-dom": "^6.23.1",
|
|
21
21
|
"ol": "^10.4.0",
|
|
22
22
|
"@turf/turf": "^7.2.0",
|
|
@@ -2073,15 +2073,16 @@ export declare const getLegendId: ((state: CoreAppStore, mapId: string) => strin
|
|
|
2073
2073
|
* Example getMapPreset(store, mapId);
|
|
2074
2074
|
* @param {object} store store: object - store object
|
|
2075
2075
|
* @param {string} mapId mapId: string - Id of the map
|
|
2076
|
+
* @param {boolean} keepAllDims? keepAllDims: boolean - default false: whether or not to leave the time and reference_time dimentions
|
|
2076
2077
|
* @returns {MapPreset} returnType: MapPreset
|
|
2077
2078
|
*/
|
|
2078
|
-
export declare const getMapPreset: ((state: CoreAppStore & uiTypes.UIModuleState,
|
|
2079
|
+
export declare const getMapPreset: ((state: CoreAppStore & uiTypes.UIModuleState, _mapId: string, keepAllDims?: any) => MapPreset) & {
|
|
2079
2080
|
clearCache: () => void;
|
|
2080
2081
|
resultsCount: () => number;
|
|
2081
2082
|
resetResultsCount: () => void;
|
|
2082
2083
|
} & {
|
|
2083
|
-
resultFunc: (resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18:
|
|
2084
|
-
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18:
|
|
2084
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: Dimension[] | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: boolean | undefined, resultFuncArgs_21: string | undefined, resultFuncArgs_22: uiTypes.UIStoreType, resultFuncArgs_23: string, resultFuncArgs_24: any) => MapPreset;
|
|
2085
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: Dimension[] | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: boolean | undefined, resultFuncArgs_21: string | undefined, resultFuncArgs_22: uiTypes.UIStoreType, resultFuncArgs_23: string, resultFuncArgs_24: any) => MapPreset) & {
|
|
2085
2086
|
clearCache: () => void;
|
|
2086
2087
|
resultsCount: () => number;
|
|
2087
2088
|
resetResultsCount: () => void;
|
|
@@ -2547,6 +2548,26 @@ export declare const getMapPreset: ((state: CoreAppStore & uiTypes.UIModuleState
|
|
|
2547
2548
|
} & {
|
|
2548
2549
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
2549
2550
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2551
|
+
}, ((state: CoreAppStore, mapId: string) => Dimension[] | undefined) & {
|
|
2552
|
+
clearCache: () => void;
|
|
2553
|
+
resultsCount: () => number;
|
|
2554
|
+
resetResultsCount: () => void;
|
|
2555
|
+
} & {
|
|
2556
|
+
resultFunc: (resultFuncArgs_0: WebMap | undefined) => Dimension[] | undefined;
|
|
2557
|
+
memoizedResultFunc: ((resultFuncArgs_0: WebMap | undefined) => Dimension[] | undefined) & {
|
|
2558
|
+
clearCache: () => void;
|
|
2559
|
+
resultsCount: () => number;
|
|
2560
|
+
resetResultsCount: () => void;
|
|
2561
|
+
};
|
|
2562
|
+
lastResult: () => Dimension[] | undefined;
|
|
2563
|
+
dependencies: [(store: CoreAppStore, mapId: string) => WebMap | undefined];
|
|
2564
|
+
recomputations: () => number;
|
|
2565
|
+
resetRecomputations: () => void;
|
|
2566
|
+
dependencyRecomputations: () => number;
|
|
2567
|
+
resetDependencyRecomputations: () => void;
|
|
2568
|
+
} & {
|
|
2569
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2570
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2550
2571
|
}, ((state: CoreAppStore, mapId: string) => boolean | undefined) & {
|
|
2551
2572
|
clearCache: () => void;
|
|
2552
2573
|
resultsCount: () => number;
|
|
@@ -2607,7 +2628,7 @@ export declare const getMapPreset: ((state: CoreAppStore & uiTypes.UIModuleState
|
|
|
2607
2628
|
} & {
|
|
2608
2629
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
2609
2630
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2610
|
-
}, (store: uiTypes.UIModuleState) => uiTypes.UIStoreType, (_store: CoreAppStore, mapId: string) => string];
|
|
2631
|
+
}, (store: uiTypes.UIModuleState) => uiTypes.UIStoreType, (_store: CoreAppStore, mapId: string) => string, (_store: CoreAppStore, _mapId: string, keepAllDims?: any) => any];
|
|
2611
2632
|
recomputations: () => number;
|
|
2612
2633
|
resetRecomputations: () => void;
|
|
2613
2634
|
dependencyRecomputations: () => number;
|