@opengeoweb/core 2.6.0 → 2.9.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 +6741 -7105
- package/index.umd.js +21864 -22115
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +7 -21
- package/lib/components/{ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts → ConfigurableMap/ConfigurableMapConnect.d.ts} +11 -17
- package/lib/components/{ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts → ConfigurableMap/ConfigurableMapConnect.spec.d.ts} +0 -0
- package/lib/components/ConfigurableMap/ConfigurableMapConnect.stories.d.ts +7 -0
- package/lib/components/ConfigurableMap/index.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +3 -3
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListRow.d.ts +3 -3
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListUtils.d.ts +1 -2
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +4 -3
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +5 -3
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +1 -3
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +3 -2
- package/lib/components/Legend/LegendConnect.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +1 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +1 -0
- package/lib/components/MultiMapView/HarmoniePresets/index.d.ts +0 -1
- package/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.d.ts +12 -0
- package/lib/components/{ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.spec.d.ts → MultiMapView/ModelRunInterval/ModelRunInterval.spec.d.ts} +0 -0
- package/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.stories.d.ts +4 -0
- package/lib/components/MultiMapView/ModelRunInterval/index.d.ts +1 -0
- package/lib/components/MultiMapView/MultiMapView.stories.d.ts +2 -3
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +3 -3
- package/lib/components/ReactMapView/AdagucMapDraw.d.ts +1 -1
- package/lib/components/ReactMapView/AdagucMapDrawTools.d.ts +1 -1
- package/lib/components/SyncGroups/selector.d.ts +0 -1
- package/lib/components/TimeSlider/TimeSlider.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegend.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +2 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +1 -2
- package/lib/components/WMSLoader/WMSServerList/WMSServerList.d.ts +1 -1
- package/lib/index.d.ts +5 -4
- package/lib/store/generic/actions.d.ts +3 -4
- package/lib/store/generic/index.d.ts +2 -0
- package/lib/store/generic/sagas.d.ts +7 -6
- package/lib/store/generic/selectors.d.ts +0 -1
- package/lib/store/generic/synchronizationActions/actions.d.ts +6 -5
- package/lib/store/generic/synchronizationActions/types.d.ts +10 -23
- package/lib/store/generic/synchronizationGroups/constants.d.ts +0 -8
- package/lib/store/generic/synchronizationGroups/index.d.ts +1 -2
- package/lib/store/generic/synchronizationGroups/reducer.d.ts +25 -3
- package/lib/store/generic/synchronizationGroups/sagas.d.ts +3 -3
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +0 -2
- package/lib/store/generic/synchronizationGroups/types.d.ts +1 -38
- package/lib/store/generic/types.d.ts +0 -11
- package/lib/store/layerSelect/selectors.d.ts +0 -6
- package/lib/store/layerSelect/types.d.ts +7 -4
- package/lib/store/mapStore/actions.d.ts +1 -1
- package/lib/store/mapStore/constants.d.ts +0 -1
- package/lib/store/mapStore/layers/actions.d.ts +8 -1
- package/lib/store/mapStore/layers/constants.d.ts +1 -0
- package/lib/store/mapStore/layers/reducer.d.ts +2 -2
- package/lib/store/mapStore/layers/selectors.d.ts +0 -17
- package/lib/store/mapStore/layers/types.d.ts +11 -3
- package/lib/store/mapStore/map/reducer.d.ts +12 -4
- package/lib/store/mapStore/map/sagas.d.ts +7 -5
- package/lib/store/mapStore/map/selectors.d.ts +40 -35
- package/lib/store/mapStore/map/types.d.ts +39 -96
- package/lib/store/mapStore/map/utils.d.ts +2 -1
- package/lib/store/mapStore/service/selectors.d.ts +0 -7
- package/lib/store/mapStore/service/types.d.ts +2 -0
- package/lib/store/mapStore/utils/helpers.d.ts +0 -1
- package/lib/store/ui/actions.d.ts +8 -1
- package/lib/store/ui/constants.d.ts +1 -0
- package/lib/store/ui/reducer.d.ts +2 -8
- package/lib/store/ui/selectors.d.ts +11 -8
- package/lib/store/ui/types.d.ts +13 -3
- package/lib/types/types.d.ts +1 -2
- package/lib/utils/jsonPresetFilter.d.ts +26 -7
- package/lib/utils/types.d.ts +0 -38
- package/package.json +8 -7
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +0 -6
- package/lib/components/ConfigurableConnectedMap/index.d.ts +0 -1
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +0 -22
- package/lib/components/ConfigurableMapWithSlider/index.d.ts +0 -1
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.d.ts +0 -9
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/actions.d.ts +0 -15
- package/lib/store/advancedLayerStore/config.d.ts +0 -4
- package/lib/store/advancedLayerStore/constants.d.ts +0 -2
- package/lib/store/advancedLayerStore/reducer.d.ts +0 -14
- package/lib/store/advancedLayerStore/reducer.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/selectors.d.ts +0 -21
- package/lib/store/advancedLayerStore/selectors.spec.d.ts +0 -1
- package/lib/store/advancedLayerStore/types.d.ts +0 -30
- package/lib/store/generic/constants.d.ts +0 -2
- package/lib/store/generic/synchronizationActions/constants.d.ts +0 -3
- package/lib/store/generic/synchronizationGroups/actions.d.ts +0 -80
- package/lib/store/mapStore/map/actions.d.ts +0 -156
- package/lib/store/mapStore/map/constants.d.ts +0 -23
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { MapActions, SetBboxPayload, MoveLayerPayload, SetMapDimensionPayload, UpdateAllMapDimensionsPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetActiveLayerIdPayload, MoveLayer, SetActiveLayerId, ToggleAutoUpdatePayload, ToggleAutoUpdate, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationDelayPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, ToggleTimestepAutoPayload, ToggleTimestepAuto, ToggleTimeSliderHoverPayload, ToggleTimeSliderHover, SetTimeSliderCenterTimePayload, SetTimeSliderSecondsPerPxPayload, SetTimeSliderDataScaleToSecondsPerPxPayload, MapPinLocationPayload, DisableMapPinPayload } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Registers the map in the store and creates the map state
|
|
4
|
-
*
|
|
5
|
-
* Example: registerMap('mapId1')
|
|
6
|
-
* @param {string} mapId the mapId to register in the store
|
|
7
|
-
*/
|
|
8
|
-
export declare const registerMap: (mapId: string) => MapActions;
|
|
9
|
-
/**
|
|
10
|
-
* Deletes the map from the store (from both allIds and byId)
|
|
11
|
-
*
|
|
12
|
-
* Example: unregisterMap('mapId1')
|
|
13
|
-
* @param {string} mapId the mapId to delete from the store
|
|
14
|
-
*/
|
|
15
|
-
export declare const unregisterMap: (mapId: string) => MapActions;
|
|
16
|
-
/**
|
|
17
|
-
* Set the bbox for a map.
|
|
18
|
-
* If srs passed in as well, this is also set
|
|
19
|
-
*
|
|
20
|
-
* Example: setBbox({mapId: 'mapid_1', bbox: someBboxObject, srs: initialSrs });
|
|
21
|
-
* @param {object} payload Object containing the mapId: string, bbox: Bbox and srs?: string properties
|
|
22
|
-
*/
|
|
23
|
-
export declare const setBbox: (payload: SetBboxPayload) => MapActions;
|
|
24
|
-
/**
|
|
25
|
-
* Set the dimension for the map. Can be used to change the time. All layers in the map will follow (if linking is set) accordingly.
|
|
26
|
-
*
|
|
27
|
-
* Example: mapChangeDimension({mapId:'map_id1', dimension: someDimensionObject})
|
|
28
|
-
* @param {object} payload Object with mapId: string and a dimension: Dimension (containing name and currentValue).
|
|
29
|
-
*/
|
|
30
|
-
export declare const mapChangeDimension: (payload: SetMapDimensionPayload) => MapActions;
|
|
31
|
-
/**
|
|
32
|
-
* Sets all dimensions for the map
|
|
33
|
-
*
|
|
34
|
-
* Example: mapUpdateAllMapDimensions({mapId:'map_id1', dimensions: dimensionObjectsArray})
|
|
35
|
-
* @param {object} payload Object with mapId: string and dimensions: Dimension[] (containing name and currentValue).
|
|
36
|
-
*/
|
|
37
|
-
export declare const mapUpdateAllMapDimensions: (payload: UpdateAllMapDimensionsPayload) => MapActions;
|
|
38
|
-
/**
|
|
39
|
-
* Starts the animation for a map.
|
|
40
|
-
*
|
|
41
|
-
* Example: mapStartAnimation({mapId:'mapId1', start: 'someISOTime', end: 'someISOTime', interval: 15})
|
|
42
|
-
* @param {object} payload Object with mapId: string, start: string, end: string and interval: number (in minutes), timeList?: TimeListType[]
|
|
43
|
-
*/
|
|
44
|
-
export declare const mapStartAnimation: (payload: SetMapAnimationStartPayload) => MapActions;
|
|
45
|
-
/**
|
|
46
|
-
* Stops the animation for a map.
|
|
47
|
-
*
|
|
48
|
-
* Example: mapStopAnimation({ mapId: 'mapId1' })
|
|
49
|
-
* @param {object} payload object with mapId: string
|
|
50
|
-
*/
|
|
51
|
-
export declare const mapStopAnimation: (payload: SetMapAnimationStopPayload) => MapActions;
|
|
52
|
-
/**
|
|
53
|
-
* Moves the layer (for example when sorting the stacking of the layers)
|
|
54
|
-
*
|
|
55
|
-
* Example: layerMoveLayer({ mapId: 'mapId1', oldIndex: 1, newIndex: 2 })
|
|
56
|
-
* @param {object} payload object with mapId: string, oldIndex: number, newIndex: number
|
|
57
|
-
*/
|
|
58
|
-
export declare const layerMoveLayer: (payload: MoveLayerPayload) => MoveLayer;
|
|
59
|
-
/**
|
|
60
|
-
*Sets the active layer id for a map
|
|
61
|
-
*
|
|
62
|
-
* Example: setActiveLayerId({ mapId: 'mapId1', layerId: 'layerId1' })
|
|
63
|
-
* @param {object} payload object with mapId: string, layerId: string
|
|
64
|
-
*/
|
|
65
|
-
export declare const setActiveLayerId: (payload: SetActiveLayerIdPayload) => SetActiveLayerId;
|
|
66
|
-
/**
|
|
67
|
-
* Toggles auto update for map
|
|
68
|
-
*
|
|
69
|
-
* Example: toggleAutoUpdate({ mapId: 'mapId1', shouldAutoUpdate: false })
|
|
70
|
-
* @param {object} payload object with mapId: string, shouldAutoUpdate: boolean
|
|
71
|
-
*/
|
|
72
|
-
export declare const toggleAutoUpdate: (payload: ToggleAutoUpdatePayload) => ToggleAutoUpdate;
|
|
73
|
-
/**
|
|
74
|
-
*Sets the scale of a time slider with id for a map
|
|
75
|
-
*
|
|
76
|
-
* Example: setTimeSliderScale({ mapId: 'mapId1' })
|
|
77
|
-
* @param {object} payload object with mapId: string, timeSliderScale: number
|
|
78
|
-
*/
|
|
79
|
-
export declare const setTimeSliderScale: (payload: SetTimeSliderScalePayload) => MapActions;
|
|
80
|
-
/**
|
|
81
|
-
*Sets the time step with id for a map
|
|
82
|
-
*
|
|
83
|
-
* Example: setTimeStep({ mapId: 'mapId1'})
|
|
84
|
-
* @param {object} payload object with mapId: string, timeStep: number
|
|
85
|
-
*/
|
|
86
|
-
export declare const setTimeStep: (payload: SetTimeStepPayload) => MapActions;
|
|
87
|
-
/**
|
|
88
|
-
*Sets the scale of a time slider with id for a map
|
|
89
|
-
*
|
|
90
|
-
* Example: setAnimationDelay({ mapId: 'mapId1', animationDelay: 100 })
|
|
91
|
-
* @param {object} payload object with mapId: string, animationDelay: number
|
|
92
|
-
*/
|
|
93
|
-
export declare const setAnimationDelay: (payload: SetAnimationDelayPayload) => MapActions;
|
|
94
|
-
/**
|
|
95
|
-
*Sets the animation start time with id for a map
|
|
96
|
-
*
|
|
97
|
-
* Example: setAnimationStartTime({ mapId: 'mapId1'})
|
|
98
|
-
* @param {object} payload object with mapId: string, animationStartTime: string
|
|
99
|
-
*/
|
|
100
|
-
export declare const setAnimationStartTime: (payload: SetAnimationStartTimePayload) => MapActions;
|
|
101
|
-
/**
|
|
102
|
-
*Sets the animation end time with id for a map
|
|
103
|
-
*
|
|
104
|
-
* Example: setAnimationEndTime({ mapId: 'mapId1'})
|
|
105
|
-
* @param {object} payload object with mapId: string, animationEndTime: string
|
|
106
|
-
*/
|
|
107
|
-
export declare const setAnimationEndTime: (payload: SetAnimationEndTimePayload) => MapActions;
|
|
108
|
-
/**
|
|
109
|
-
* Toggles timestep auto for map
|
|
110
|
-
*
|
|
111
|
-
* Example: toggleTimestepAuto({ mapId: 'mapId1', timestepAuto: false })
|
|
112
|
-
* @param {object} payload object with mapId: string, timestepAuto: boolean
|
|
113
|
-
*/
|
|
114
|
-
export declare const toggleTimestepAuto: (payload: ToggleTimestepAutoPayload) => ToggleTimestepAuto;
|
|
115
|
-
/**
|
|
116
|
-
* Toggles time slider hover for map
|
|
117
|
-
*
|
|
118
|
-
* Example: toggleTimeSliderHover({ mapId: 'mapId1', isTimeSliderHoverOn: true })
|
|
119
|
-
* @param {object} payload object with mapId: string, isTimeSliderHoverOn: boolean
|
|
120
|
-
*/
|
|
121
|
-
export declare const toggleTimeSliderHover: (payload: ToggleTimeSliderHoverPayload) => ToggleTimeSliderHover;
|
|
122
|
-
/**
|
|
123
|
-
*Sets the time slider center time with id for a map
|
|
124
|
-
*
|
|
125
|
-
* Example: setTimeSliderCenterTime({ mapId: 'mapId1'})
|
|
126
|
-
* @param {object} payload object with mapId: string, timeSliderCenterTime: number
|
|
127
|
-
*/
|
|
128
|
-
export declare const setTimeSliderCenterTime: (payload: SetTimeSliderCenterTimePayload) => MapActions;
|
|
129
|
-
/**
|
|
130
|
-
*Sets the time slider seconds per pixel with id for a map
|
|
131
|
-
*
|
|
132
|
-
* Example: setTimeSliderSecondsPerPx({ mapId: 'mapId1'})
|
|
133
|
-
* @param {object} payload object with mapId: string, timeSliderSecondsPerPx: number
|
|
134
|
-
*/
|
|
135
|
-
export declare const setTimeSliderSecondsPerPx: (payload: SetTimeSliderSecondsPerPxPayload) => MapActions;
|
|
136
|
-
/**
|
|
137
|
-
*Sets the time slider data scale per pixel with id for a map
|
|
138
|
-
*
|
|
139
|
-
* Example: setTimeSliderDataScaleToPerPx({ mapId: 'mapId1'})
|
|
140
|
-
* @param {object} payload object with mapId: string, timeSliderDataScaleSecondsToPerPx: number
|
|
141
|
-
*/
|
|
142
|
-
export declare const setTimeSliderDataScaleToSecondsPerPx: (payload: SetTimeSliderDataScaleToSecondsPerPxPayload) => MapActions;
|
|
143
|
-
/**
|
|
144
|
-
* Sets current curser location for a map to display the point marker
|
|
145
|
-
*
|
|
146
|
-
* Example: setMapPinLocation({ mapId: 'mapId1', mapPinLocation: {lon: 1.2, lat: 3.4} })
|
|
147
|
-
* @param {object} payload object with mapId: string, mapPinLocation: MapLocation
|
|
148
|
-
*/
|
|
149
|
-
export declare const setMapPinLocation: (payload: MapPinLocationPayload) => MapActions;
|
|
150
|
-
/**
|
|
151
|
-
* Sets the diable map pin boolean
|
|
152
|
-
*
|
|
153
|
-
* Example: setMapPinLocation({ mapId: 'mapId1', diableMapPin: true })
|
|
154
|
-
* @param {object} payload object with mapId: string, diableMapPin: boolean
|
|
155
|
-
*/
|
|
156
|
-
export declare const setDisableMapPin: (payload: DisableMapPinPayload) => MapActions;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const WEBMAP_REGISTER_MAP = "WEBMAP_REGISTER_MAP";
|
|
2
|
-
export declare const WEBMAP_UNREGISTER_MAP = "WEBMAP_UNREGISTER_MAP";
|
|
3
|
-
export declare const WEBMAP_LAYER_MOVE = "WEBMAP_LAYER_MOVE";
|
|
4
|
-
export declare const WEBMAP_MAP_UPDATE_ALL_DIMENSIONS = "WEBMAP_MAP_UPDATE_ALL_DIMENSIONS";
|
|
5
|
-
export declare const WEBMAP_MAP_CHANGE_DIMENSION = "WEBMAP_MAP_CHANGE_DIMENSION";
|
|
6
|
-
export declare const WEBMAP_START_ANIMATION = "WEBMAP_START_ANIMATION";
|
|
7
|
-
export declare const WEBMAP_STOP_ANIMATION = "WEBMAP_STOP_ANIMATION";
|
|
8
|
-
export declare const WEBMAP_SET_BBOX = "WEBMAP_SET_BBOX";
|
|
9
|
-
export declare const WEBMAP_SET_ACTIVELAYERID = "WEBMAP_SET_ACTIVELAYERID";
|
|
10
|
-
export declare const WEBMAP_TOGGLE_AUTO_UPDATE = "WEBMAP_TOGGLE_AUTO_UPDATE";
|
|
11
|
-
export declare const WEBMAP_TOGGLE_LOOP = "WEBMAP_TOGGLE_LOOP";
|
|
12
|
-
export declare const WEBMAP_SET_TIME_SLIDER_SCALE = "WEBMAP_SET_TIME_SLIDER_SCALE";
|
|
13
|
-
export declare const WEBMAP_SET_TIME_STEP = "WEBMAP_SET_TIME_STEP";
|
|
14
|
-
export declare const WEBMAP_SET_ANIMATION_DELAY = "WEBMAP_SET_ANIMATION_DELAY";
|
|
15
|
-
export declare const WEBMAP_SET_ANIMATION_START_TIME = "WEBMAP_SET_ANIMATION_START_TIME";
|
|
16
|
-
export declare const WEBMAP_SET_ANIMATION_END_TIME = "WEBMAP_SET_ANIMATION_END_TIME";
|
|
17
|
-
export declare const WEBMAP_TOGGLE_TIMESTEP_AUTO = "WEBMAP_TOGGLE_TIMESTEP_AUTO";
|
|
18
|
-
export declare const WEBMAP_TOGGLE_TIME_SLIDER_HOVER = "WEBMAP_TOGGLE_TIME_SLIDER_HOVER";
|
|
19
|
-
export declare const WEBMAP_SET_TIME_SLIDER_CENTER_TIME = "WEBMAP_SET_TIME_SLIDER_CENTER_TIME";
|
|
20
|
-
export declare const WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX = "WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX";
|
|
21
|
-
export declare const WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX = "WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX";
|
|
22
|
-
export declare const WEBMAP_SET_PIN = "WEBMAP_SET_PIN";
|
|
23
|
-
export declare const WEBMAP_DISABLE_PIN = "WEBMAP_DISABLE_PIN";
|