@opengeoweb/store 12.7.0 → 12.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -3528,7 +3528,7 @@ var getDialogMapId = createSelector(getDialogDetailsByType, function (details) {
3528
3528
  * @param {DialogType} dialogType type of the dialog
3529
3529
  * @returns {number} the higher the order number the higher the zIndex
3530
3530
  */
3531
- var getDialogOrder = createSelector(function (store, dialogType) {
3531
+ var getDialogOrder = function getDialogOrder(store, dialogType) {
3532
3532
  if (store && store.ui && store.ui.order) {
3533
3533
  var order = store.ui.order;
3534
3534
  var visibleOrder = order.filter(function (orderedDialogType) {
@@ -3541,9 +3541,7 @@ var getDialogOrder = createSelector(function (store, dialogType) {
3541
3541
  return visibleOrder.length - visibleOrder.indexOf(dialogType);
3542
3542
  }
3543
3543
  return 0;
3544
- }, function (order) {
3545
- return order;
3546
- }, selectorMemoizationOptions);
3544
+ };
3547
3545
  /**
3548
3546
  *For a given ui component: returns if ordered on top
3549
3547
  *
@@ -3551,15 +3549,13 @@ var getDialogOrder = createSelector(function (store, dialogType) {
3551
3549
  * @param {DialogType} dialogType type of the dialog
3552
3550
  * @returns {boolean}
3553
3551
  */
3554
- var getDialogIsOrderedOnTop = createSelector(function (store, dialogType) {
3552
+ var getDialogIsOrderedOnTop = function getDialogIsOrderedOnTop(store, dialogType) {
3555
3553
  if (store && store.ui && store.ui.order) {
3556
3554
  var order = store.ui.order;
3557
3555
  return order.includes(dialogType) && order.indexOf(dialogType) === 0;
3558
3556
  }
3559
3557
  return false;
3560
- }, function (isOrderedOnTop) {
3561
- return isOrderedOnTop;
3562
- }, selectorMemoizationOptions);
3558
+ };
3563
3559
  var getDialogSource = createSelector(getDialogDetailsByType, function (details) {
3564
3560
  if (details && details.source) {
3565
3561
  return details.source;
@@ -4141,9 +4137,10 @@ var syncGroupStore = function syncGroupStore(store) {
4141
4137
  * @param {object} store store: object - Store object
4142
4138
  * @returns {object} returnType: SynchronizationGroupState
4143
4139
  */
4144
- var getSynchronizationGroupState = createSelector(syncGroupStore, function (store) {
4145
- return store || null;
4146
- }, selectorMemoizationOptions);
4140
+ var getSynchronizationGroupState = function getSynchronizationGroupState(store) {
4141
+ var state = syncGroupStore(store);
4142
+ return state || null;
4143
+ };
4147
4144
  var getSynchronizationGroup = createSelector([syncGroupStore, function (syncGroupStore, id) {
4148
4145
  return id;
4149
4146
  }], function (syncGroupState, id) {
@@ -4243,9 +4240,10 @@ var getAllTargetGroupsForSource = createSelector([syncGroupStore, getSourceId],
4243
4240
  var syncGroupGetViewState = createSelector(syncGroupStore, function (store) {
4244
4241
  return store && store.viewState;
4245
4242
  }, selectorMemoizationOptions);
4246
- var isTimeScrollingEnabled = createSelector(syncGroupStore, function (store) {
4247
- return store && store.isTimeScrollingEnabled;
4248
- }, selectorMemoizationOptions);
4243
+ var isTimeScrollingEnabled = function isTimeScrollingEnabled(store) {
4244
+ var state = syncGroupStore(store);
4245
+ return state ? state.isTimeScrollingEnabled : false;
4246
+ };
4249
4247
  var getSyncedMapIdsForTimeslider = createSelector(syncGroupStore, function (store) {
4250
4248
  var _store$viewState$time, _store$viewState$time2;
4251
4249
  return (_store$viewState$time = (_store$viewState$time2 = store.viewState.timeslider.groups[0]) === null || _store$viewState$time2 === void 0 ? void 0 : _store$viewState$time2.selected) !== null && _store$viewState$time !== void 0 ? _store$viewState$time : [];
@@ -4519,9 +4517,9 @@ var types$1 = /*#__PURE__*/Object.freeze({
4519
4517
  var synchronizationGroupStore = function synchronizationGroupStore(store) {
4520
4518
  return store && store.syncGroups ? store.syncGroups : null;
4521
4519
  };
4522
- var getSynchronizationGroupStore = createSelector(synchronizationGroupStore, function (store) {
4523
- return store;
4524
- }, selectorMemoizationOptions);
4520
+ var getSynchronizationGroupStore = function getSynchronizationGroupStore(store) {
4521
+ return store && store.syncGroups ? store.syncGroups : null;
4522
+ };
4525
4523
  /**
4526
4524
  * Returns the synchronization source by id
4527
4525
  * @param store The app store
@@ -4550,12 +4548,15 @@ var getLinkedMaps = createSelector([selectLinkedState, function (store, panelId)
4550
4548
  }], function (linkedState, panelId) {
4551
4549
  return panelId && linkedState.links[panelId] || [];
4552
4550
  }, selectorMemoizationOptions);
4553
- var getLinkedFeatureProviders = function getLinkedFeatureProviders(linkedState, mapId) {
4554
- return linkedState !== null && linkedState !== void 0 && linkedState.links ? Object.keys(linkedState.links).filter(function (panelId) {
4555
- var _linkedState$links;
4556
- return (_linkedState$links = linkedState.links) === null || _linkedState$links === void 0 || (_linkedState$links = _linkedState$links[panelId]) === null || _linkedState$links === void 0 ? void 0 : _linkedState$links.includes(mapId);
4551
+ var getLinkedFeatureProviders = createSelector(function (linkedState) {
4552
+ return linkedState;
4553
+ }, function (linkedState, props) {
4554
+ return props.mapId;
4555
+ }, function (linkedState, mapId) {
4556
+ return linkedState ? Object.keys(linkedState.links).filter(function (panelId) {
4557
+ return linkedState.links[panelId].includes(mapId);
4557
4558
  }) : [];
4558
- };
4559
+ });
4559
4560
  var selectSharedData = createSelector([selectLinkedState, function (store, panelId) {
4560
4561
  return panelId;
4561
4562
  }], function (linkedState, panelId) {
@@ -4675,7 +4676,6 @@ var getSelectedFeatureAsGeoJSON = createSelector([function (state, mapId) {
4675
4676
 
4676
4677
  var selectors$3 = /*#__PURE__*/Object.freeze({
4677
4678
  __proto__: null,
4678
- getLinkedFeatureProviders: getLinkedFeatureProviders,
4679
4679
  getLinkedMaps: getLinkedMaps,
4680
4680
  getSelectedFeature: getSelectedFeature,
4681
4681
  getSelectedFeatureAsGeoJSON: getSelectedFeatureAsGeoJSON,
@@ -4898,11 +4898,10 @@ var getMapStore = function getMapStore(store) {
4898
4898
  * @param {string} mapId Id of the map
4899
4899
  * @returns {object} object containing map state (isAnimating, bbox, baseLayers, layers etc.)
4900
4900
  */
4901
- var getMapById = createSelector([getMapStore, function (getMapStore, mapId) {
4902
- return mapId;
4903
- }], function (mapState, mapId) {
4904
- return mapState && mapState.byId[mapId] ? mapState && mapState.byId[mapId] : undefined;
4905
- }, selectorMemoizationOptions);
4901
+ var getMapById = function getMapById(store, mapId) {
4902
+ var _getMapStore;
4903
+ return (_getMapStore = getMapStore(store)) === null || _getMapStore === void 0 ? void 0 : _getMapStore.byId[mapId];
4904
+ };
4906
4905
  var getAllMapsByIds = createSelector(getMapStore, function (mapState) {
4907
4906
  return mapState && mapState.byId ? mapState && mapState.byId : {};
4908
4907
  }, selectorMemoizationOptions);
@@ -5158,9 +5157,10 @@ var getBbox = createSelector(getMapById, function (store) {
5158
5157
  * @param {string} mapId mapId: string - Id of the map
5159
5158
  * @returns {boolean} returnType: boolean
5160
5159
  */
5161
- var isAnimating = createSelector(getMapById, function (store) {
5162
- return store ? store.isAnimating : false;
5163
- });
5160
+ var isAnimating = function isAnimating(store, mapId) {
5161
+ var map = getMapById(store, mapId);
5162
+ return map ? map.isAnimating : false;
5163
+ };
5164
5164
  /**
5165
5165
  * Gets if any linked map is animating
5166
5166
  *
@@ -5169,7 +5169,7 @@ var isAnimating = createSelector(getMapById, function (store) {
5169
5169
  * @param {string} mapId mapId: string - Id of the map
5170
5170
  * @returns {object} returnType: object - object containing isAnimating boolean and id string
5171
5171
  */
5172
- var linkedMapAnimationInfo = createSelector(function (store, mapId) {
5172
+ var linkedMapAnimationInfo = function linkedMapAnimationInfo(store, mapId) {
5173
5173
  var _genericSelectors$get;
5174
5174
  var animationInfo = {
5175
5175
  isAnimating: isAnimating(store, mapId),
@@ -5186,9 +5186,7 @@ var linkedMapAnimationInfo = createSelector(function (store, mapId) {
5186
5186
  }
5187
5187
  });
5188
5188
  return animationInfo;
5189
- }, function (animationInfo) {
5190
- return animationInfo;
5191
- }, selectorMemoizationOptions);
5189
+ };
5192
5190
  /**
5193
5191
  * Gets start time of animation
5194
5192
  *
@@ -5326,9 +5324,10 @@ var getMapTimeSliderWidth = createSelector(getMapById, function (store) {
5326
5324
  * @param {string} mapId mapId: string - Id of the map
5327
5325
  * @returns {number} returnType: number - center time as a unix timestamp
5328
5326
  */
5329
- var getMapTimeSliderCenterTime = createSelector(getMapById, function (store) {
5330
- return store ? store.timeSliderCenterTime : dateUtils.unix(dateUtils.utc());
5331
- }, selectorMemoizationOptions);
5327
+ var getMapTimeSliderCenterTime = function getMapTimeSliderCenterTime(store, mapId) {
5328
+ var map = getMapById(store, mapId);
5329
+ return map && typeof map.timeSliderCenterTime === 'number' ? map.timeSliderCenterTime : dateUtils.unix(dateUtils.utc());
5330
+ };
5332
5331
  var getMapTimeSliderStartCenterEndAndStep = createSelector(getMapById, function (store) {
5333
5332
  var _store$timeStep2;
5334
5333
  var timeSliderWidth = ((store === null || store === void 0 ? void 0 : store.timeSliderWidth) || 0) * 60;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/store",
3
- "version": "12.7.0",
3
+ "version": "12.9.1",
4
4
  "description": "GeoWeb Store library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,18 +8,19 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/shared": "12.7.0",
11
+ "@opengeoweb/shared": "12.9.1",
12
12
  "react-redux": "^9.2.0",
13
13
  "@reduxjs/toolkit": "^2.6.1",
14
- "@opengeoweb/webmap-react": "12.7.0",
15
- "@opengeoweb/webmap": "12.7.0",
14
+ "@opengeoweb/webmap-react": "12.9.1",
15
+ "@opengeoweb/webmap": "12.9.1",
16
16
  "immer": "^10.0.3",
17
17
  "lodash": "^4.17.21",
18
- "@opengeoweb/metronome": "12.7.0",
19
- "@opengeoweb/timeslider": "12.7.0",
18
+ "@opengeoweb/metronome": "12.9.1",
19
+ "@opengeoweb/timeslider": "12.9.1",
20
20
  "react-router-dom": "^6.23.1",
21
21
  "ol": "^10.4.0",
22
- "@turf/turf": "^7.2.0"
22
+ "@turf/turf": "^7.2.0",
23
+ "@types/geojson": "^7946.0.14"
23
24
  },
24
25
  "peerDependencies": {
25
26
  "react": "18"
@@ -27,5 +28,5 @@
27
28
  "module": "./index.esm.js",
28
29
  "type": "module",
29
30
  "main": "./index.esm.js",
30
- "types": "./index.esm.d.ts"
31
+ "types": "./index.d.ts"
31
32
  }
@@ -4,7 +4,7 @@ export declare const selectDrawToolById: (state: DrawtoolModuleStore, id: string
4
4
  drawToolId: string;
5
5
  geoJSONLayerId: string;
6
6
  activeDrawModeId: string;
7
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
7
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
8
8
  shouldAllowMultipleShapes: boolean;
9
9
  geoJSONIntersectionLayerId?: string | undefined;
10
10
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getActiveDrawToolId: ((state: DrawtoolModuleStore) => strin
30
30
  argsMemoize: typeof import("reselect").weakMapMemoize;
31
31
  memoize: typeof import("reselect").weakMapMemoize;
32
32
  };
33
- export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId: string, drawModeId: string) => import("dist/libs/webmap-react/src").DrawMode | undefined) & {
33
+ export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId: string, drawModeId: string) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
34
34
  clearCache: () => void;
35
35
  resultsCount: () => number;
36
36
  resetResultsCount: () => void;
@@ -39,30 +39,30 @@ export declare const getDrawModeById: ((state: DrawtoolModuleStore, _drawToolId:
39
39
  drawToolId: string;
40
40
  geoJSONLayerId: string;
41
41
  activeDrawModeId: string;
42
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
42
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
43
43
  shouldAllowMultipleShapes: boolean;
44
44
  geoJSONIntersectionLayerId?: string | undefined;
45
45
  geoJSONIntersectionBoundsLayerId?: string | undefined;
46
- }, resultFuncArgs_1: string) => import("dist/libs/webmap-react/src").DrawMode | undefined;
46
+ }, resultFuncArgs_1: string) => import("@opengeoweb/webmap-react").DrawMode | undefined;
47
47
  memoizedResultFunc: ((resultFuncArgs_0: {
48
48
  drawToolId: string;
49
49
  geoJSONLayerId: string;
50
50
  activeDrawModeId: string;
51
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
51
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
52
52
  shouldAllowMultipleShapes: boolean;
53
53
  geoJSONIntersectionLayerId?: string | undefined;
54
54
  geoJSONIntersectionBoundsLayerId?: string | undefined;
55
- }, resultFuncArgs_1: string) => import("dist/libs/webmap-react/src").DrawMode | undefined) & {
55
+ }, resultFuncArgs_1: string) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
56
56
  clearCache: () => void;
57
57
  resultsCount: () => number;
58
58
  resetResultsCount: () => void;
59
59
  };
60
- lastResult: () => import("dist/libs/webmap-react/src").DrawMode | undefined;
60
+ lastResult: () => import("@opengeoweb/webmap-react").DrawMode | undefined;
61
61
  dependencies: [(state: DrawtoolModuleStore, id: string) => {
62
62
  drawToolId: string;
63
63
  geoJSONLayerId: string;
64
64
  activeDrawModeId: string;
65
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
65
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
66
66
  shouldAllowMultipleShapes: boolean;
67
67
  geoJSONIntersectionLayerId?: string | undefined;
68
68
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -84,7 +84,7 @@ export declare const getActiveDrawModeId: ((state: DrawtoolModuleStore, id: stri
84
84
  drawToolId: string;
85
85
  geoJSONLayerId: string;
86
86
  activeDrawModeId: string;
87
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
87
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
88
88
  shouldAllowMultipleShapes: boolean;
89
89
  geoJSONIntersectionLayerId?: string | undefined;
90
90
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -93,7 +93,7 @@ export declare const getActiveDrawModeId: ((state: DrawtoolModuleStore, id: stri
93
93
  drawToolId: string;
94
94
  geoJSONLayerId: string;
95
95
  activeDrawModeId: string;
96
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
96
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
97
97
  shouldAllowMultipleShapes: boolean;
98
98
  geoJSONIntersectionLayerId?: string | undefined;
99
99
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -107,7 +107,7 @@ export declare const getActiveDrawModeId: ((state: DrawtoolModuleStore, id: stri
107
107
  drawToolId: string;
108
108
  geoJSONLayerId: string;
109
109
  activeDrawModeId: string;
110
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
110
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
111
111
  shouldAllowMultipleShapes: boolean;
112
112
  geoJSONIntersectionLayerId?: string | undefined;
113
113
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -129,7 +129,7 @@ export declare const getDrawToolGeoJSONLayerId: ((state: DrawtoolModuleStore, id
129
129
  drawToolId: string;
130
130
  geoJSONLayerId: string;
131
131
  activeDrawModeId: string;
132
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
132
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
133
133
  shouldAllowMultipleShapes: boolean;
134
134
  geoJSONIntersectionLayerId?: string | undefined;
135
135
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -138,7 +138,7 @@ export declare const getDrawToolGeoJSONLayerId: ((state: DrawtoolModuleStore, id
138
138
  drawToolId: string;
139
139
  geoJSONLayerId: string;
140
140
  activeDrawModeId: string;
141
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
141
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
142
142
  shouldAllowMultipleShapes: boolean;
143
143
  geoJSONIntersectionLayerId?: string | undefined;
144
144
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -152,7 +152,7 @@ export declare const getDrawToolGeoJSONLayerId: ((state: DrawtoolModuleStore, id
152
152
  drawToolId: string;
153
153
  geoJSONLayerId: string;
154
154
  activeDrawModeId: string;
155
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
155
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
156
156
  shouldAllowMultipleShapes: boolean;
157
157
  geoJSONIntersectionLayerId?: string | undefined;
158
158
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -174,7 +174,7 @@ export declare const getGeoJSONIntersectionLayerId: ((state: DrawtoolModuleStore
174
174
  drawToolId: string;
175
175
  geoJSONLayerId: string;
176
176
  activeDrawModeId: string;
177
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
177
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
178
178
  shouldAllowMultipleShapes: boolean;
179
179
  geoJSONIntersectionLayerId?: string | undefined;
180
180
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -183,7 +183,7 @@ export declare const getGeoJSONIntersectionLayerId: ((state: DrawtoolModuleStore
183
183
  drawToolId: string;
184
184
  geoJSONLayerId: string;
185
185
  activeDrawModeId: string;
186
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
186
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
187
187
  shouldAllowMultipleShapes: boolean;
188
188
  geoJSONIntersectionLayerId?: string | undefined;
189
189
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -197,7 +197,7 @@ export declare const getGeoJSONIntersectionLayerId: ((state: DrawtoolModuleStore
197
197
  drawToolId: string;
198
198
  geoJSONLayerId: string;
199
199
  activeDrawModeId: string;
200
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
200
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
201
201
  shouldAllowMultipleShapes: boolean;
202
202
  geoJSONIntersectionLayerId?: string | undefined;
203
203
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -219,7 +219,7 @@ export declare const getGeoJSONIntersectionBoundsLayerId: ((state: DrawtoolModul
219
219
  drawToolId: string;
220
220
  geoJSONLayerId: string;
221
221
  activeDrawModeId: string;
222
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
222
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
223
223
  shouldAllowMultipleShapes: boolean;
224
224
  geoJSONIntersectionLayerId?: string | undefined;
225
225
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -228,7 +228,7 @@ export declare const getGeoJSONIntersectionBoundsLayerId: ((state: DrawtoolModul
228
228
  drawToolId: string;
229
229
  geoJSONLayerId: string;
230
230
  activeDrawModeId: string;
231
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
231
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
232
232
  shouldAllowMultipleShapes: boolean;
233
233
  geoJSONIntersectionLayerId?: string | undefined;
234
234
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -242,7 +242,7 @@ export declare const getGeoJSONIntersectionBoundsLayerId: ((state: DrawtoolModul
242
242
  drawToolId: string;
243
243
  geoJSONLayerId: string;
244
244
  activeDrawModeId: string;
245
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
245
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
246
246
  shouldAllowMultipleShapes: boolean;
247
247
  geoJSONIntersectionLayerId?: string | undefined;
248
248
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -264,7 +264,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
264
264
  drawToolId: string;
265
265
  geoJSONLayerId: string;
266
266
  activeDrawModeId: string;
267
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
267
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
268
268
  shouldAllowMultipleShapes: boolean;
269
269
  geoJSONIntersectionLayerId?: string | undefined;
270
270
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -273,7 +273,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
273
273
  drawToolId: string;
274
274
  geoJSONLayerId: string;
275
275
  activeDrawModeId: string;
276
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
276
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
277
277
  shouldAllowMultipleShapes: boolean;
278
278
  geoJSONIntersectionLayerId?: string | undefined;
279
279
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -287,7 +287,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
287
287
  drawToolId: string;
288
288
  geoJSONLayerId: string;
289
289
  activeDrawModeId: string;
290
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
290
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
291
291
  shouldAllowMultipleShapes: boolean;
292
292
  geoJSONIntersectionLayerId?: string | undefined;
293
293
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -300,7 +300,7 @@ export declare const getShouldAllowMultipleShapes: ((state: DrawtoolModuleStore,
300
300
  argsMemoize: typeof import("reselect").weakMapMemoize;
301
301
  memoize: typeof import("reselect").weakMapMemoize;
302
302
  };
303
- export declare const getActiveDrawMode: ((state: DrawtoolModuleStore, id: string) => import("dist/libs/webmap-react/src").DrawMode | undefined) & {
303
+ export declare const getActiveDrawMode: ((state: DrawtoolModuleStore, id: string) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
304
304
  clearCache: () => void;
305
305
  resultsCount: () => number;
306
306
  resetResultsCount: () => void;
@@ -309,30 +309,30 @@ export declare const getActiveDrawMode: ((state: DrawtoolModuleStore, id: string
309
309
  drawToolId: string;
310
310
  geoJSONLayerId: string;
311
311
  activeDrawModeId: string;
312
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
312
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
313
313
  shouldAllowMultipleShapes: boolean;
314
314
  geoJSONIntersectionLayerId?: string | undefined;
315
315
  geoJSONIntersectionBoundsLayerId?: string | undefined;
316
- }) => import("dist/libs/webmap-react/src").DrawMode | undefined;
316
+ }) => import("@opengeoweb/webmap-react").DrawMode | undefined;
317
317
  memoizedResultFunc: ((resultFuncArgs_0: {
318
318
  drawToolId: string;
319
319
  geoJSONLayerId: string;
320
320
  activeDrawModeId: string;
321
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
321
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
322
322
  shouldAllowMultipleShapes: boolean;
323
323
  geoJSONIntersectionLayerId?: string | undefined;
324
324
  geoJSONIntersectionBoundsLayerId?: string | undefined;
325
- }) => import("dist/libs/webmap-react/src").DrawMode | undefined) & {
325
+ }) => import("@opengeoweb/webmap-react").DrawMode | undefined) & {
326
326
  clearCache: () => void;
327
327
  resultsCount: () => number;
328
328
  resetResultsCount: () => void;
329
329
  };
330
- lastResult: () => import("dist/libs/webmap-react/src").DrawMode | undefined;
330
+ lastResult: () => import("@opengeoweb/webmap-react").DrawMode | undefined;
331
331
  dependencies: [(state: DrawtoolModuleStore, id: string) => {
332
332
  drawToolId: string;
333
333
  geoJSONLayerId: string;
334
334
  activeDrawModeId: string;
335
- drawModes: import("dist/libs/webmap-react/src").DrawMode[];
335
+ drawModes: import("@opengeoweb/webmap-react").DrawMode[];
336
336
  shouldAllowMultipleShapes: boolean;
337
337
  geoJSONIntersectionLayerId?: string | undefined;
338
338
  geoJSONIntersectionBoundsLayerId?: string | undefined;
@@ -1,26 +1,6 @@
1
1
  import type { CoreAppStore } from '../types';
2
2
  import type { LinkedState, PotentialData, SynchronizationGroupState, SynchronizationSource } from './syncGroups/types';
3
- export declare const getSynchronizationGroupStore: ((state: CoreAppStore) => SynchronizationGroupState) & {
4
- clearCache: () => void;
5
- resultsCount: () => number;
6
- resetResultsCount: () => void;
7
- } & {
8
- resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState;
9
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState) & {
10
- clearCache: () => void;
11
- resultsCount: () => number;
12
- resetResultsCount: () => void;
13
- };
14
- lastResult: () => SynchronizationGroupState;
15
- dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
16
- recomputations: () => number;
17
- resetRecomputations: () => void;
18
- dependencyRecomputations: () => number;
19
- resetDependencyRecomputations: () => void;
20
- } & {
21
- memoize: typeof import("reselect").weakMapMemoize;
22
- argsMemoize: typeof import("reselect").weakMapMemoize;
23
- };
3
+ export declare const getSynchronizationGroupStore: (store: CoreAppStore) => SynchronizationGroupState;
24
4
  export declare const getTime: ((state: SynchronizationGroupState, id: string) => string | null) & {
25
5
  clearCache: () => void;
26
6
  resultsCount: () => number;
@@ -83,7 +63,6 @@ export declare const getLinkedMaps: ((state: any, panelId?: string | undefined)
83
63
  memoize: typeof import("reselect").weakMapMemoize;
84
64
  argsMemoize: typeof import("reselect").weakMapMemoize;
85
65
  };
86
- export declare const getLinkedFeatureProviders: (linkedState: LinkedState | undefined, mapId: string) => string[];
87
66
  export declare const selectSharedData: ((state: any, panelId: string) => PotentialData) & {
88
67
  clearCache: () => void;
89
68
  resultsCount: () => number;
@@ -187,7 +166,9 @@ export declare const selectMapViewsForPanelId: ((state: LinkedState, panelId: st
187
166
  memoize: typeof import("reselect").weakMapMemoize;
188
167
  argsMemoize: typeof import("reselect").weakMapMemoize;
189
168
  };
190
- export declare const selectLinkedFeatures: ((state: any, mapId: string) => {
169
+ export declare const selectLinkedFeatures: ((state: any, props: {
170
+ mapId: string;
171
+ }) => {
191
172
  id: string;
192
173
  originalId?: string | undefined;
193
174
  geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
@@ -215,7 +196,31 @@ export declare const selectLinkedFeatures: ((state: any, mapId: string) => {
215
196
  originalId?: string | undefined;
216
197
  geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
217
198
  }[];
218
- dependencies: [(linkedState: any) => LinkedState | undefined, (linkedState: LinkedState | undefined, mapId: string) => string[]];
199
+ dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
200
+ mapId: string;
201
+ }) => string[]) & {
202
+ clearCache: () => void;
203
+ resultsCount: () => number;
204
+ resetResultsCount: () => void;
205
+ } & {
206
+ resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[];
207
+ memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[]) & {
208
+ clearCache: () => void;
209
+ resultsCount: () => number;
210
+ resetResultsCount: () => void;
211
+ };
212
+ lastResult: () => string[];
213
+ dependencies: [(linkedState: LinkedState) => LinkedState, (linkedState: LinkedState, props: {
214
+ mapId: string;
215
+ }) => string];
216
+ recomputations: () => number;
217
+ resetRecomputations: () => void;
218
+ dependencyRecomputations: () => number;
219
+ resetDependencyRecomputations: () => void;
220
+ } & {
221
+ memoize: typeof import("reselect").weakMapMemoize;
222
+ argsMemoize: typeof import("reselect").weakMapMemoize;
223
+ }];
219
224
  recomputations: () => number;
220
225
  resetRecomputations: () => void;
221
226
  dependencyRecomputations: () => number;
@@ -224,7 +229,9 @@ export declare const selectLinkedFeatures: ((state: any, mapId: string) => {
224
229
  memoize: typeof import("reselect").weakMapMemoize;
225
230
  argsMemoize: typeof import("reselect").weakMapMemoize;
226
231
  };
227
- export declare const selectLinkedFormFeatures: ((state: any, mapId: string) => {
232
+ export declare const selectLinkedFormFeatures: ((state: any, props: {
233
+ mapId: string;
234
+ }) => {
228
235
  id: string;
229
236
  geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
230
237
  }[]) & {
@@ -248,7 +255,31 @@ export declare const selectLinkedFormFeatures: ((state: any, mapId: string) => {
248
255
  id: string;
249
256
  geoJSON: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
250
257
  }[];
251
- dependencies: [(linkedState: any) => LinkedState | undefined, (linkedState: LinkedState | undefined, mapId: string) => string[]];
258
+ dependencies: [(linkedState: any) => LinkedState | undefined, ((state: LinkedState, props: {
259
+ mapId: string;
260
+ }) => string[]) & {
261
+ clearCache: () => void;
262
+ resultsCount: () => number;
263
+ resetResultsCount: () => void;
264
+ } & {
265
+ resultFunc: (resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[];
266
+ memoizedResultFunc: ((resultFuncArgs_0: LinkedState, resultFuncArgs_1: string) => string[]) & {
267
+ clearCache: () => void;
268
+ resultsCount: () => number;
269
+ resetResultsCount: () => void;
270
+ };
271
+ lastResult: () => string[];
272
+ dependencies: [(linkedState: LinkedState) => LinkedState, (linkedState: LinkedState, props: {
273
+ mapId: string;
274
+ }) => string];
275
+ recomputations: () => number;
276
+ resetRecomputations: () => void;
277
+ dependencyRecomputations: () => number;
278
+ resetDependencyRecomputations: () => void;
279
+ } & {
280
+ memoize: typeof import("reselect").weakMapMemoize;
281
+ argsMemoize: typeof import("reselect").weakMapMemoize;
282
+ }];
252
283
  recomputations: () => number;
253
284
  resetRecomputations: () => void;
254
285
  dependencyRecomputations: () => number;
@@ -10,27 +10,7 @@ export declare const syncGroupStore: (store: CoreAppStore) => SynchronizationGro
10
10
  * @param {object} store store: object - Store object
11
11
  * @returns {object} returnType: SynchronizationGroupState
12
12
  */
13
- export declare const getSynchronizationGroupState: ((state: CoreAppStore) => SynchronizationGroupState) & {
14
- clearCache: () => void;
15
- resultsCount: () => number;
16
- resetResultsCount: () => void;
17
- } & {
18
- resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState;
19
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => SynchronizationGroupState) & {
20
- clearCache: () => void;
21
- resultsCount: () => number;
22
- resetResultsCount: () => void;
23
- };
24
- lastResult: () => SynchronizationGroupState;
25
- dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
26
- recomputations: () => number;
27
- resetRecomputations: () => void;
28
- dependencyRecomputations: () => number;
29
- resetDependencyRecomputations: () => void;
30
- } & {
31
- memoize: typeof import("reselect").weakMapMemoize;
32
- argsMemoize: typeof import("reselect").weakMapMemoize;
33
- };
13
+ export declare const getSynchronizationGroupState: (store: CoreAppStore) => SynchronizationGroupState;
34
14
  export declare const getSynchronizationGroup: ((state: any, id: any) => SynchronizationGroup) & {
35
15
  clearCache: () => void;
36
16
  resultsCount: () => number;
@@ -210,27 +190,7 @@ export declare const syncGroupGetViewState: ((state: CoreAppStore) => import("./
210
190
  memoize: typeof import("reselect").weakMapMemoize;
211
191
  argsMemoize: typeof import("reselect").weakMapMemoize;
212
192
  };
213
- export declare const isTimeScrollingEnabled: ((state: CoreAppStore) => boolean) & {
214
- clearCache: () => void;
215
- resultsCount: () => number;
216
- resetResultsCount: () => void;
217
- } & {
218
- resultFunc: (resultFuncArgs_0: SynchronizationGroupState) => boolean;
219
- memoizedResultFunc: ((resultFuncArgs_0: SynchronizationGroupState) => boolean) & {
220
- clearCache: () => void;
221
- resultsCount: () => number;
222
- resetResultsCount: () => void;
223
- };
224
- lastResult: () => boolean;
225
- dependencies: [(store: CoreAppStore) => SynchronizationGroupState];
226
- recomputations: () => number;
227
- resetRecomputations: () => void;
228
- dependencyRecomputations: () => number;
229
- resetDependencyRecomputations: () => void;
230
- } & {
231
- memoize: typeof import("reselect").weakMapMemoize;
232
- argsMemoize: typeof import("reselect").weakMapMemoize;
233
- };
193
+ export declare const isTimeScrollingEnabled: (store: CoreAppStore) => boolean;
234
194
  export declare const getSyncedMapIdsForTimeslider: ((state: CoreAppStore) => string[]) & {
235
195
  clearCache: () => void;
236
196
  resultsCount: () => number;
@@ -10,8 +10,8 @@ export declare const mapUtils: {
10
10
  produceDraftStateSetWebMapDimension: (draft: mapTypes.WebMapState, mapId: string, dimensionFromAction: mapTypes.Dimension, overwriteCurrentValue: boolean) => void;
11
11
  findMapIdFromLayerId: (mapState?: mapTypes.WebMapState | undefined, layerId?: string | undefined) => string | null;
12
12
  produceDraftStateSetMapDimensionFromLayerChangeDimension: (draft: mapTypes.WebMapState, layerId: string, dimension: mapTypes.Dimension) => void;
13
- getTimeStepFromDataInterval: (timeInterval: import("dist/libs/webmap/src").TimeInterval) => number;
14
- getSpeedFactor: (speedDelay: number) => import("dist/libs/timeslider/src").SpeedFactorType;
13
+ getTimeStepFromDataInterval: (timeInterval: import("@opengeoweb/webmap").TimeInterval) => number;
14
+ getSpeedFactor: (speedDelay: number) => import("@opengeoweb/timeslider").SpeedFactorType;
15
15
  getAnimationDuration: (animationEndTime: string | undefined, animationStartTime: string | undefined) => number;
16
16
  generateAnimationList: (unixAnimationStart: number, unixAnimationEnd: number, timeValues: string | undefined) => mapTypes.WebMapAnimationList;
17
17
  parseTimeDimToISO8601Interval: (timeInterval: string | undefined) => mapTypes.ISO8601Interval[];