@opengeoweb/core 2.12.0 → 2.13.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 +8594 -8439
- package/index.umd.js +12975 -12803
- package/lib/components/Legend/LegendConnect.d.ts +1 -0
- package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +1 -0
- package/lib/components/MapView/MapViewConnect.d.ts +0 -2
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +1 -0
- package/lib/components/ReactMapView/ReactMapViewParseLayer.spec.d.ts +1 -0
- package/lib/components/TimeSlider/TimeSliderButtons/TimeStepButton/TimeStepButton.d.ts +2 -2
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +2 -0
- package/lib/index.d.ts +2 -0
- package/lib/store/mapStore/map/reducer.d.ts +5 -0
- package/lib/store/mapStore/map/sagas.d.ts +3 -2
- package/lib/store/mapStore/map/selectors.d.ts +104 -43
- package/lib/store/mapStore/map/types.d.ts +17 -3
- package/lib/store/mapStore/map/utils.d.ts +3 -1
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/selectors.d.ts +7 -6
- package/lib/store/ui/types.d.ts +6 -2
- package/package.json +5 -5
|
@@ -25,8 +25,10 @@ interface CreateMapProps {
|
|
|
25
25
|
isTimeSliderHoverOn?: boolean;
|
|
26
26
|
isTimeSliderVisible?: boolean;
|
|
27
27
|
activeMapPresetId?: string;
|
|
28
|
+
displayMapPin?: boolean;
|
|
29
|
+
shouldShowZoomControls?: boolean;
|
|
28
30
|
}
|
|
29
|
-
export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, isTimeSliderVisible, activeMapPresetId, }: CreateMapProps) => WebMap;
|
|
31
|
+
export declare const createMap: ({ id, isAnimating, animationStartTime, animationEndTime, isAutoUpdating, bbox, srs, baseLayers, overLayers, mapLayers, featureLayers, dimensions, activeLayerId, timeSliderScale, timeStep, animationDelay, timeSliderCenterTime, timeSliderSecondsPerPx, timeSliderDataScaleToSecondsPerPx, isTimestepAuto, isTimeSliderHoverOn, isTimeSliderVisible, activeMapPresetId, displayMapPin, shouldShowZoomControls, }: CreateMapProps) => WebMap;
|
|
30
32
|
export declare const checkValidLayersPayload: (layers: Layer[], mapId: string) => boolean;
|
|
31
33
|
/**
|
|
32
34
|
* This will get the map from the map draftstate.
|
|
@@ -4,7 +4,6 @@ export declare const dateFormat = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
|
4
4
|
export declare const generateLayerId: () => string;
|
|
5
5
|
export declare const generateMapId: () => string;
|
|
6
6
|
export declare const generateTimesliderId: () => string;
|
|
7
|
-
export declare const generateTimeSeriesId: () => string;
|
|
8
7
|
/**
|
|
9
8
|
* Registers a WMJSLayer in a lookuptable with a layerId
|
|
10
9
|
* @param {WMLayer} wmLayer
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AppStore } from '../../types/types';
|
|
2
|
-
import { UIType } from './types';
|
|
2
|
+
import { UIStoreType, UIType } from './types';
|
|
3
|
+
export declare const getUiStore: (store: AppStore) => UIStoreType;
|
|
3
4
|
/**
|
|
4
5
|
* Gets the active map Id and wether a dialog is open or closed
|
|
5
6
|
*
|
|
@@ -18,7 +19,7 @@ export declare const getDialogDetailsByType: (store: AppStore, dialogType: strin
|
|
|
18
19
|
*/
|
|
19
20
|
export declare const getisDialogOpen: ((state: {
|
|
20
21
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
21
|
-
ui?:
|
|
22
|
+
ui?: UIStoreType;
|
|
22
23
|
webmap?: import("../mapStore/types").WebMapState;
|
|
23
24
|
services?: import("../mapStore/types").ServiceState;
|
|
24
25
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -37,7 +38,7 @@ export declare const getisDialogOpen: ((state: {
|
|
|
37
38
|
*/
|
|
38
39
|
export declare const getDialogMapId: ((state: {
|
|
39
40
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
40
|
-
ui?:
|
|
41
|
+
ui?: UIStoreType;
|
|
41
42
|
webmap?: import("../mapStore/types").WebMapState;
|
|
42
43
|
services?: import("../mapStore/types").ServiceState;
|
|
43
44
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -56,7 +57,7 @@ export declare const getDialogMapId: ((state: {
|
|
|
56
57
|
*/
|
|
57
58
|
export declare const getDialogOrder: ((state: {
|
|
58
59
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
59
|
-
ui?:
|
|
60
|
+
ui?: UIStoreType;
|
|
60
61
|
webmap?: import("../mapStore/types").WebMapState;
|
|
61
62
|
services?: import("../mapStore/types").ServiceState;
|
|
62
63
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -75,7 +76,7 @@ export declare const getDialogOrder: ((state: {
|
|
|
75
76
|
*/
|
|
76
77
|
export declare const getDialogIsOrderedOnTop: ((state: {
|
|
77
78
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
78
|
-
ui?:
|
|
79
|
+
ui?: UIStoreType;
|
|
79
80
|
webmap?: import("../mapStore/types").WebMapState;
|
|
80
81
|
services?: import("../mapStore/types").ServiceState;
|
|
81
82
|
layers?: import("../mapStore/types").LayerState;
|
|
@@ -87,7 +88,7 @@ export declare const getDialogIsOrderedOnTop: ((state: {
|
|
|
87
88
|
};
|
|
88
89
|
export declare const getDialogSource: ((state: {
|
|
89
90
|
syncronizationGroupStore?: import("../generic/synchronizationGroups/types").SynchronizationGroupState;
|
|
90
|
-
ui?:
|
|
91
|
+
ui?: UIStoreType;
|
|
91
92
|
webmap?: import("../mapStore/types").WebMapState;
|
|
92
93
|
services?: import("../mapStore/types").ServiceState;
|
|
93
94
|
layers?: import("../mapStore/types").LayerState;
|
package/lib/store/ui/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MapActionOrigin } from '../mapStore/types';
|
|
1
2
|
declare type LegendDialogType = string;
|
|
2
3
|
export declare type DialogType = 'layerManager' | 'layerSelect' | 'dimensionSelect-elevation' | 'dimensionSelect-ensemble_member' | 'keywordFilter' | 'timeSeriesManager' | 'timeSeriesSelect' | 'syncGroups' | LegendDialogType;
|
|
3
4
|
export declare type Source = 'app' | 'module';
|
|
@@ -17,13 +18,14 @@ export interface UIModuleState {
|
|
|
17
18
|
}
|
|
18
19
|
export interface SetActiveMapIdForDialogPayload {
|
|
19
20
|
type: DialogType;
|
|
20
|
-
|
|
21
|
+
mapId: string;
|
|
21
22
|
setOpen?: boolean;
|
|
22
23
|
source?: Source;
|
|
24
|
+
origin?: MapActionOrigin.map;
|
|
23
25
|
}
|
|
24
26
|
export interface UIRegisterDialogPayload {
|
|
25
27
|
type: DialogType;
|
|
26
|
-
|
|
28
|
+
mapId?: string;
|
|
27
29
|
setOpen?: boolean;
|
|
28
30
|
source?: Source;
|
|
29
31
|
}
|
|
@@ -33,6 +35,8 @@ export interface UIUnRegisterDialogPayload {
|
|
|
33
35
|
export interface UIToggleDialogPayload {
|
|
34
36
|
type: DialogType;
|
|
35
37
|
setOpen: boolean;
|
|
38
|
+
origin?: MapActionOrigin.map;
|
|
39
|
+
mapId?: string;
|
|
36
40
|
}
|
|
37
41
|
export interface UIOrderDialogPayload {
|
|
38
42
|
type: DialogType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^17.0.2",
|
|
16
|
-
"@opengeoweb/theme": "2.
|
|
16
|
+
"@opengeoweb/theme": "2.13.0",
|
|
17
17
|
"@mui/material": "^5.2.8",
|
|
18
18
|
"@mui/styles": "^5.2.3",
|
|
19
19
|
"moment": "^2.29.0",
|
|
20
20
|
"react-redux": "7.2.2",
|
|
21
21
|
"react-intl": "^5.17.5",
|
|
22
|
-
"@opengeoweb/shared": "2.
|
|
22
|
+
"@opengeoweb/shared": "2.13.0",
|
|
23
23
|
"react-draggable": "^4.4.3",
|
|
24
24
|
"re-resizable": "^6.9.0",
|
|
25
25
|
"lodash": "^4.17.20",
|
|
26
|
-
"@opengeoweb/form-fields": "2.
|
|
26
|
+
"@opengeoweb/form-fields": "2.13.0",
|
|
27
27
|
"react-hook-form": "^6.12.1",
|
|
28
28
|
"moment-timezone": "^0.5.31",
|
|
29
29
|
"@mui/lab": "^5.0.0-alpha.64",
|
|
30
30
|
"axios": "^0.25.0",
|
|
31
|
-
"@opengeoweb/webmap": "2.
|
|
31
|
+
"@opengeoweb/webmap": "2.13.0",
|
|
32
32
|
"throttle-debounce": "^3.0.1",
|
|
33
33
|
"proj4": "^2.6.2",
|
|
34
34
|
"react-sortablejs": "^6.0.0",
|