@opengeoweb/core 5.2.0 → 6.0.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.js +19316 -27100
- package/package.json +8 -9
- package/src/lib/components/CanvasComponent/CanvasComponent.d.ts +8 -8
- package/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +1 -1
- package/src/lib/components/ConfigurableMap/ConfigurableMapConnect.d.ts +3 -2
- package/src/lib/components/ConfigurableMap/ConfigurableMapConnect.stories.d.ts +1 -0
- package/src/lib/components/FeatureInfo/GetFeatureInfoButtonConnect.d.ts +1 -1
- package/src/lib/components/FeatureInfo/GetFeatureInfoDialog.d.ts +1 -1
- package/src/lib/components/FeatureInfo/utils.d.ts +1 -1
- package/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +1 -1
- package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +1 -1
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +1 -1
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.d.ts +1 -1
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.d.ts +9 -0
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +9 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +10 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManager.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerUtils.d.ts +20 -6
- package/src/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItemConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerInfo/LayerInfoButtonConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerInfo/LayerInfoDialog.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerInfo/LayerInfoLegend.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerInfo/LayerInfoUtils.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerList/LayerListRow.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerSelect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectUtils.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopupDialogConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/ServicePopup/utils.d.ts +1 -1
- package/src/lib/components/LayerManager/useFetchServices.d.ts +1 -1
- package/src/lib/components/Legend/Legend.d.ts +1 -1
- package/src/lib/components/Legend/LegendConnect.d.ts +1 -1
- package/src/lib/components/Legend/LegendDialog.d.ts +1 -1
- package/src/lib/components/Legend/LegendLayout.d.ts +1 -1
- package/src/lib/components/Legend/LegendMapButtonConnect.d.ts +1 -1
- package/src/lib/components/MapDraw/DrawingTool/DrawingTool.d.ts +31 -0
- package/src/lib/components/MapDraw/DrawingTool/DrawingTool.stories.d.ts +25 -0
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolConnect.d.ts +14 -0
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolConnect.stories.d.ts +25 -0
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolMapButtonConnect.d.ts +8 -0
- package/src/lib/components/MapDraw/DrawingToolForm/DrawingToolForm.d.ts +14 -0
- package/src/lib/components/MapDraw/DrawingToolForm/DrawingToolFormConnect.d.ts +2 -0
- package/src/lib/components/MapDraw/MapDraw.d.ts +7 -8
- package/src/lib/components/MapDraw/MapDrawContext.d.ts +11 -0
- package/src/lib/components/MapDraw/MapDrawContext.stories.d.ts +6 -0
- package/src/lib/components/MapDraw/MapDrawTool.stories.d.ts +7 -1
- package/src/lib/components/MapDraw/index.d.ts +3 -2
- package/src/lib/components/MapDraw/mapDrawUtils.d.ts +1 -1
- package/src/lib/components/MapDraw/useMapDrawTool.d.ts +3 -1
- package/src/lib/components/MapTime/MapTime.d.ts +1 -1
- package/src/lib/components/MapView/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +1 -1
- package/src/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +1 -1
- package/src/lib/components/MultiMapView/ModelRunInterval/ModelRunInterval.d.ts +1 -1
- package/src/lib/components/MultiMapView/MultiMapViewConnect.d.ts +1 -1
- package/src/lib/components/MultiMapView/storyUtils/mapPresets.d.ts +10 -10
- package/src/lib/components/ReactMapView/ReactMapView.d.ts +2 -4
- package/src/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +2 -2
- package/src/lib/components/ReactMapView/types.d.ts +1 -1
- package/src/lib/components/ReactMapView/utils.d.ts +1 -1
- package/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +4 -4
- package/src/lib/components/SyncGroups/SyncGroupList.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroupViewer.d.ts +1 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/AnimationLengthButton/AnimationLengthButton.d.ts +1 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/AutoUpdateButton/AutoUpdateButtonConnect.d.ts +3 -3
- package/src/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +5 -5
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSliderMenu/TimeSliderMenu.d.ts +3 -3
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButton.d.ts +6 -4
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeStepButton/TimeStepButton.d.ts +1 -1
- package/src/lib/components/TimeSlider/TimeSliderConnect.d.ts +1 -0
- package/src/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBox.d.ts +1 -2
- package/src/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxConnect.d.ts +4 -4
- package/src/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxRenderFunctions.d.ts +1 -2
- package/src/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegend.d.ts +0 -2
- package/src/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawBackground.d.ts +1 -1
- package/src/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawTimeScale.d.ts +1 -1
- package/src/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawTimeSliderLegend.d.ts +1 -2
- package/src/lib/components/TimeSlider/constants.d.ts +1 -1
- package/src/lib/components/TimeSlider/timeSliderUtils.d.ts +2 -2
- package/src/lib/components/TimeSliderLite/TimeSliderLite.d.ts +1 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderDraggableNeedle.d.ts +2 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteBackground.d.ts +1 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteBackgroundSvg.d.ts +1 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteConnect.d.ts +7 -0
- package/src/lib/components/TimeSliderLite/timeSliderLiteUtils.d.ts +5 -1
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTree.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLoader.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLoaderConnect.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSServerList/WMSServerList.d.ts +1 -1
- package/src/lib/hooks/useSetupDialog/useSetupDialog.d.ts +1 -1
- package/src/lib/index.d.ts +4 -92
- package/src/lib/storybookUtils/HelperComponents.d.ts +1 -1
- package/src/lib/storybookUtils/defaultStorySettings.d.ts +1 -2
- package/src/lib/utils/defaultConfigurations.d.ts +3 -3
- package/src/lib/utils/defaultTestSettings.d.ts +4 -4
- package/src/lib/utils/jsonPresetFilter.d.ts +2 -3
- package/src/lib/utils/publicLayers.d.ts +2 -2
- package/src/lib/utils/testLayers.d.ts +1 -1
- package/src/lib/utils/testUtils.d.ts +2 -2
- package/src/lib/store/app/config.d.ts +0 -5
- package/src/lib/store/app/index.d.ts +0 -1
- package/src/lib/store/app/reducer.d.ts +0 -15
- package/src/lib/store/app/types.d.ts +0 -6
- package/src/lib/store/coreModuleConfig.d.ts +0 -2
- package/src/lib/store/generic/actions.d.ts +0 -28
- package/src/lib/store/generic/config.d.ts +0 -5
- package/src/lib/store/generic/index.d.ts +0 -16
- package/src/lib/store/generic/sagas.d.ts +0 -14
- package/src/lib/store/generic/selectors.d.ts +0 -22
- package/src/lib/store/generic/synchronizationActions/actions.d.ts +0 -11
- package/src/lib/store/generic/synchronizationActions/types.d.ts +0 -34
- package/src/lib/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +0 -2
- package/src/lib/store/generic/synchronizationGroups/constants.d.ts +0 -4
- package/src/lib/store/generic/synchronizationGroups/index.d.ts +0 -5
- package/src/lib/store/generic/synchronizationGroups/reducer.d.ts +0 -26
- package/src/lib/store/generic/synchronizationGroups/sagas.d.ts +0 -8
- package/src/lib/store/generic/synchronizationGroups/selector.d.ts +0 -19
- package/src/lib/store/generic/synchronizationGroups/selectors.d.ts +0 -76
- package/src/lib/store/generic/synchronizationGroups/types.d.ts +0 -98
- package/src/lib/store/generic/synchronizationGroups/utils.d.ts +0 -76
- package/src/lib/store/generic/types.d.ts +0 -22
- package/src/lib/store/generic/utils.d.ts +0 -9
- package/src/lib/store/generic/utils.spec.d.ts +0 -1
- package/src/lib/store/index.d.ts +0 -7
- package/src/lib/store/layerSelect/config.d.ts +0 -5
- package/src/lib/store/layerSelect/index.d.ts +0 -3
- package/src/lib/store/layerSelect/localStorage.d.ts +0 -3
- package/src/lib/store/layerSelect/localStorage.spec.d.ts +0 -1
- package/src/lib/store/layerSelect/reducer.d.ts +0 -21
- package/src/lib/store/layerSelect/reducer.spec.d.ts +0 -1
- package/src/lib/store/layerSelect/sagas.d.ts +0 -10
- package/src/lib/store/layerSelect/sagas.spec.d.ts +0 -1
- package/src/lib/store/layerSelect/selectors.d.ts +0 -165
- package/src/lib/store/layerSelect/selectors.spec.d.ts +0 -1
- package/src/lib/store/layerSelect/types.d.ts +0 -95
- package/src/lib/store/layerSelect/utils.d.ts +0 -6
- package/src/lib/store/layerSelect/utils.spec.d.ts +0 -1
- package/src/lib/store/mapStore/config.d.ts +0 -5
- package/src/lib/store/mapStore/index.d.ts +0 -5
- package/src/lib/store/mapStore/layers/index.d.ts +0 -3
- package/src/lib/store/mapStore/layers/reducer.d.ts +0 -56
- package/src/lib/store/mapStore/layers/reducer.spec.d.ts +0 -1
- package/src/lib/store/mapStore/layers/selectors.d.ts +0 -443
- package/src/lib/store/mapStore/layers/selectors.spec.d.ts +0 -1
- package/src/lib/store/mapStore/layers/types.d.ts +0 -165
- package/src/lib/store/mapStore/layers/utils.d.ts +0 -12
- package/src/lib/store/mapStore/layers/utils.spec.d.ts +0 -1
- package/src/lib/store/mapStore/map/actions.d.ts +0 -8
- package/src/lib/store/mapStore/map/constants.d.ts +0 -5
- package/src/lib/store/mapStore/map/defaultLayers.d.ts +0 -15
- package/src/lib/store/mapStore/map/enums.d.ts +0 -37
- package/src/lib/store/mapStore/map/filterLayers.d.ts +0 -10
- package/src/lib/store/mapStore/map/filterLayers.spec.d.ts +0 -1
- package/src/lib/store/mapStore/map/index.d.ts +0 -7
- package/src/lib/store/mapStore/map/reducer.d.ts +0 -96
- package/src/lib/store/mapStore/map/reducer.spec.d.ts +0 -1
- package/src/lib/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +0 -7
- package/src/lib/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +0 -1
- package/src/lib/store/mapStore/map/sagas.d.ts +0 -24
- package/src/lib/store/mapStore/map/sagas.spec.d.ts +0 -1
- package/src/lib/store/mapStore/map/selectors.d.ts +0 -983
- package/src/lib/store/mapStore/map/selectors.spec.d.ts +0 -1
- package/src/lib/store/mapStore/map/types.d.ts +0 -236
- package/src/lib/store/mapStore/map/utils.d.ts +0 -98
- package/src/lib/store/mapStore/map/utils.spec.d.ts +0 -1
- package/src/lib/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
- package/src/lib/store/mapStore/service/index.d.ts +0 -3
- package/src/lib/store/mapStore/service/reducer.d.ts +0 -11
- package/src/lib/store/mapStore/service/reducer.spec.d.ts +0 -1
- package/src/lib/store/mapStore/service/sagas.d.ts +0 -7
- package/src/lib/store/mapStore/service/sagas.spec.d.ts +0 -1
- package/src/lib/store/mapStore/service/selectors.d.ts +0 -121
- package/src/lib/store/mapStore/service/selectors.spec.d.ts +0 -1
- package/src/lib/store/mapStore/service/types.d.ts +0 -49
- package/src/lib/store/mapStore/storeTestSettings.d.ts +0 -8
- package/src/lib/store/mapStore/storeTestUtils.d.ts +0 -9
- package/src/lib/store/mapStore/types.d.ts +0 -11
- package/src/lib/store/mapStore/utils/helpers.d.ts +0 -68
- package/src/lib/store/mapStore/utils/helpers.spec.d.ts +0 -1
- package/src/lib/store/mapStore/utils/index.d.ts +0 -1
- package/src/lib/store/mapStore/utils/tilesettings.d.ts +0 -335
- package/src/lib/store/router/config.d.ts +0 -5
- package/src/lib/store/router/index.d.ts +0 -1
- package/src/lib/store/router/reducer.d.ts +0 -9
- package/src/lib/store/router/reducer.spec.d.ts +0 -1
- package/src/lib/store/router/sagas.d.ts +0 -5
- package/src/lib/store/router/sagas.spec.d.ts +0 -1
- package/src/lib/store/router/types.d.ts +0 -8
- package/src/lib/store/router/utils.d.ts +0 -3
- package/src/lib/store/snackbar/config.d.ts +0 -5
- package/src/lib/store/snackbar/index.d.ts +0 -3
- package/src/lib/store/snackbar/reducer.d.ts +0 -11
- package/src/lib/store/snackbar/reducer.spec.d.ts +0 -1
- package/src/lib/store/snackbar/sagas.d.ts +0 -5
- package/src/lib/store/snackbar/sagas.spec.d.ts +0 -1
- package/src/lib/store/snackbar/selectors.d.ts +0 -10
- package/src/lib/store/snackbar/selectors.spec.d.ts +0 -1
- package/src/lib/store/snackbar/types.d.ts +0 -15
- package/src/lib/store/types.d.ts +0 -5
- package/src/lib/store/ui/config.d.ts +0 -5
- package/src/lib/store/ui/index.d.ts +0 -3
- package/src/lib/store/ui/reducer.d.ts +0 -35
- package/src/lib/store/ui/reducer.spec.d.ts +0 -1
- package/src/lib/store/ui/sagas.d.ts +0 -5
- package/src/lib/store/ui/sagas.test.d.ts +0 -1
- package/src/lib/store/ui/selectors.d.ts +0 -144
- package/src/lib/store/ui/selectors.spec.d.ts +0 -1
- package/src/lib/store/ui/types.d.ts +0 -77
- package/src/lib/store/utils.d.ts +0 -8
- package/src/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
- package/src/lib/utils/__mocks__/getCapabilities.d.ts +0 -88
- package/src/lib/utils/getCapabilities.d.ts +0 -18
- package/src/lib/utils/getCapabilities.spec.d.ts +0 -1
- /package/src/lib/{store/app/reducer.spec.d.ts → components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.spec.d.ts} +0 -0
- /package/src/lib/{store/generic/sagas.spec.d.ts → components/MapDraw/DrawingTool/DrawingTool.spec.d.ts} +0 -0
- /package/src/lib/{store/generic/selectors.spec.d.ts → components/MapDraw/DrawingTool/DrawingToolConnect.spec.d.ts} +0 -0
- /package/src/lib/{store/generic/synchronizationGroups/reducer.spec.d.ts → components/MapDraw/DrawingTool/DrawingToolMapButtonConnect.spec.d.ts} +0 -0
- /package/src/lib/{store/generic/synchronizationGroups/sagas.spec.d.ts → components/MapDraw/DrawingToolForm/DrawingToolForm.spec.d.ts} +0 -0
- /package/src/lib/{store/generic/synchronizationGroups/selectors.spec.d.ts → components/MapDraw/DrawingToolForm/DrawingToolFormConnect.spec.d.ts} +0 -0
- /package/src/lib/{store/generic/synchronizationGroups/utils.spec.d.ts → components/MapDraw/MapDrawContext.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@mui/material": "5.12.0",
|
|
17
17
|
"@mui/system": "5.12.0",
|
|
18
|
-
"@opengeoweb/api": "
|
|
19
|
-
"@opengeoweb/form-fields": "
|
|
20
|
-
"@opengeoweb/shared": "
|
|
21
|
-
"@opengeoweb/
|
|
22
|
-
"@opengeoweb/
|
|
23
|
-
"@
|
|
18
|
+
"@opengeoweb/api": "6.0.0",
|
|
19
|
+
"@opengeoweb/form-fields": "6.0.0",
|
|
20
|
+
"@opengeoweb/shared": "6.0.0",
|
|
21
|
+
"@opengeoweb/store": "6.0.0",
|
|
22
|
+
"@opengeoweb/theme": "6.0.0",
|
|
23
|
+
"@opengeoweb/webmap": "6.0.0",
|
|
24
24
|
"@redux-eggs/redux-toolkit": "2.2.0",
|
|
25
25
|
"@redux-eggs/saga-extension": "2.2.0",
|
|
26
26
|
"@reduxjs/toolkit": "1.9.5",
|
|
@@ -40,10 +40,9 @@
|
|
|
40
40
|
"react-intl": "6.4.4",
|
|
41
41
|
"react-redux": "8.1.1",
|
|
42
42
|
"react-resize-detector": "9.1.0",
|
|
43
|
-
"react-router-dom": "6.
|
|
43
|
+
"react-router-dom": "6.14.2",
|
|
44
44
|
"react-sortablejs": "6.1.4",
|
|
45
45
|
"react-window": "1.8.9",
|
|
46
|
-
"redux-saga": "1.2.3",
|
|
47
46
|
"sortablejs": "1.15.0",
|
|
48
47
|
"throttle-debounce": "5.0.0"
|
|
49
48
|
}
|
|
@@ -50,14 +50,6 @@ export default class CanvasComponent extends Component<CanvasComponentProps> {
|
|
|
50
50
|
componentDidMount(): void;
|
|
51
51
|
shouldComponentUpdate(): boolean;
|
|
52
52
|
componentWillUnmount(): void;
|
|
53
|
-
onFocus(): void;
|
|
54
|
-
onBlur(): void;
|
|
55
|
-
onKeyUp(event: KeyboardEvent): void;
|
|
56
|
-
_documentKeyDown(event: KeyboardEvent): void;
|
|
57
|
-
_handleWindowResize(): void;
|
|
58
|
-
startLoop(): void;
|
|
59
|
-
updateCanvas(): void;
|
|
60
|
-
resize(): void;
|
|
61
53
|
handleMouseMoveEvent(event: MouseEvent): void;
|
|
62
54
|
handleMouseUpEvent(event: MouseEvent): void;
|
|
63
55
|
handleMouseDownEvent(event: MouseEvent): void;
|
|
@@ -66,6 +58,14 @@ export default class CanvasComponent extends Component<CanvasComponentProps> {
|
|
|
66
58
|
handleTouchMoveEvent(event: TouchEvent): void;
|
|
67
59
|
handleClickEvent(event: MouseEvent): void;
|
|
68
60
|
handleWheelEvent(event: WheelEvent): void;
|
|
61
|
+
onFocus(): void;
|
|
62
|
+
onBlur(): void;
|
|
63
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
64
|
+
_documentKeyDown(event: KeyboardEvent): void;
|
|
65
|
+
_handleWindowResize(): void;
|
|
66
|
+
startLoop(): void;
|
|
67
|
+
updateCanvas(): void;
|
|
68
|
+
resize(): void;
|
|
69
69
|
render(): React.ReactElement;
|
|
70
70
|
}
|
|
71
71
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { mapTypes } from '
|
|
2
|
+
import { mapTypes } from '@opengeoweb/store';
|
|
3
3
|
import { InitialHarmTempAndPrecipProps } from '../MultiMapView/HarmoniePresets';
|
|
4
4
|
import { ModelRunIntervalProps } from '../MultiMapView/ModelRunInterval';
|
|
5
5
|
interface InitialMultiMapProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { mapTypes, layerTypes } from '
|
|
2
|
+
import { mapTypes, layerTypes } from '@opengeoweb/store';
|
|
3
3
|
export declare const defaultBbox: {
|
|
4
4
|
srs: string;
|
|
5
5
|
bbox: {
|
|
@@ -35,6 +35,7 @@ export interface ConfigurableMapConnectProps {
|
|
|
35
35
|
shouldShowDockedLayerManager?: boolean;
|
|
36
36
|
showClock?: boolean;
|
|
37
37
|
displayGetFeatureInfoButtonInMap?: boolean;
|
|
38
|
+
shouldDisplayDrawControls?: boolean;
|
|
38
39
|
children?: React.ReactNode;
|
|
39
40
|
}
|
|
40
|
-
export declare const ConfigurableMapConnect: React.
|
|
41
|
+
export declare const ConfigurableMapConnect: (props: ConfigurableMapConnectProps) => React.ReactElement;
|
|
@@ -5,3 +5,4 @@ declare const _default: {
|
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const ConfigurableMapDefault: () => React.ReactElement;
|
|
7
7
|
export declare const ConfigurableMapCustomized: () => React.ReactElement;
|
|
8
|
+
export declare const ConfigurableMapDrawControls: () => React.ReactElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerSelectTypes, layerTypes } from '
|
|
2
|
+
import { layerSelectTypes, layerTypes } from '@opengeoweb/store';
|
|
3
3
|
interface AddLayerButtonProps {
|
|
4
4
|
onRenderTree?: (service: layerSelectTypes.LayerSelectService) => React.ReactChild;
|
|
5
5
|
preloadedServices?: layerSelectTypes.LayerSelectService[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerSelectTypes, layerTypes } from '
|
|
2
|
+
import { layerSelectTypes, layerTypes } from '@opengeoweb/store';
|
|
3
3
|
interface AddLayerPopupProps {
|
|
4
4
|
onRenderTree?: (service: layerSelectTypes.LayerSelectService) => React.ReactChild;
|
|
5
5
|
preloadedServices?: layerSelectTypes.LayerSelectService[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { layerSelectTypes, layerTypes } from '@opengeoweb/store';
|
|
2
3
|
import { LayerManagerCustomSettings } from '../LayerManagerUtils';
|
|
3
|
-
import { layerSelectTypes, layerTypes } from '../../../store';
|
|
4
4
|
interface BaseLayerRowProps {
|
|
5
5
|
mapId: string;
|
|
6
6
|
preloadedAvailableBaseLayers?: layerTypes.Layer[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerTypes } from '
|
|
2
|
+
import { layerTypes } from '@opengeoweb/store';
|
|
3
3
|
export declare const constructLayerId: (baseLayer: layerTypes.Layer, selectedBaseLayers: layerTypes.Layer[]) => string;
|
|
4
4
|
export declare const constructListAvailableBaseLayers: (selectedBaseLayers: layerTypes.Layer[], preloadedAvailableBaseLayers: layerTypes.Layer[], mapId: string) => layerTypes.Layer[];
|
|
5
5
|
export declare const areAvailableBaseLayersSame: (availableBaseLayerList: layerTypes.Layer[], newBaseLayerList: layerTypes.Layer[]) => boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DimensionSelectProps } from '../DimensionSelect/DimensionSelectConnect';
|
|
3
|
+
import { LayerManagerCustomSettings } from '../../../LayerManagerUtils';
|
|
4
|
+
declare type Content = NonNullable<LayerManagerCustomSettings['content']>;
|
|
5
|
+
declare type Dimensions = NonNullable<Content['dimensions']>;
|
|
6
|
+
declare type DimensionsSettingsProps = Omit<Dimensions, 'nameMappings'>;
|
|
7
|
+
declare type CustomDimensionSelectProps = DimensionSelectProps & DimensionsSettingsProps;
|
|
8
|
+
declare const CustomDimensionSelectConnect: React.FC<CustomDimensionSelectProps>;
|
|
9
|
+
export default CustomDimensionSelectConnect;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { mapTypes, layerTypes } from '
|
|
2
|
+
import { mapTypes, layerTypes } from '@opengeoweb/store';
|
|
3
3
|
interface DimensionSelectProps {
|
|
4
4
|
layerId: string;
|
|
5
5
|
layerDimensions?: mapTypes.Dimension[];
|
|
6
6
|
onLayerChangeDimension: (dimensionName: string, dimensionValue: string, origin?: layerTypes.LayerActionOrigin.layerManager) => void;
|
|
7
7
|
isEnabled?: boolean;
|
|
8
|
+
icon?: React.ElementType;
|
|
9
|
+
nameMappings?: {
|
|
10
|
+
[dimensionName: string]: string;
|
|
11
|
+
};
|
|
12
|
+
valueMappings?: {
|
|
13
|
+
[dimensionName: string]: (value: string) => string;
|
|
14
|
+
};
|
|
15
|
+
tooltipPrefix?: string;
|
|
8
16
|
}
|
|
9
17
|
declare const DimensionSelect: React.FC<DimensionSelectProps>;
|
|
10
18
|
export default DimensionSelect;
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
import { mapTypes } from '@opengeoweb/store';
|
|
3
|
+
export interface DimensionSelectProps {
|
|
3
4
|
layerId: string;
|
|
4
5
|
mapId: string;
|
|
5
6
|
}
|
|
7
|
+
export declare const useLayerDimensions: (layerId: string, mapId: string) => {
|
|
8
|
+
layerDimensions: mapTypes.Dimension[];
|
|
9
|
+
isLayerEnabled: boolean;
|
|
10
|
+
layerChangeDimension: ({ dimension, origin, }: {
|
|
11
|
+
dimension: mapTypes.Dimension;
|
|
12
|
+
origin: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
};
|
|
6
15
|
declare const DimensionSelectConnect: React.FC<DimensionSelectProps>;
|
|
7
16
|
export default DimensionSelectConnect;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
|
-
import { mapTypes, layerTypes } from '
|
|
3
|
-
import type { serviceTypes } from '
|
|
2
|
+
import { mapTypes, layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import type { serviceTypes } from '@opengeoweb/store';
|
|
4
4
|
interface LayerRowProps {
|
|
5
5
|
layerId?: string;
|
|
6
6
|
layer?: layerTypes.Layer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { HeaderSize } from '@opengeoweb/shared';
|
|
3
|
-
import { layerTypes } from '
|
|
4
|
-
import type { layerSelectTypes, uiTypes } from '
|
|
3
|
+
import { layerTypes } from '@opengeoweb/store';
|
|
4
|
+
import type { layerSelectTypes, uiTypes } from '@opengeoweb/store';
|
|
5
5
|
import { LayerManagerCustomSettings } from './LayerManagerUtils';
|
|
6
6
|
import { Size } from './LayerManagerHeaderOptions';
|
|
7
7
|
export declare type Position = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerTypes, uiTypes, layerSelectTypes } from '
|
|
2
|
+
import { layerTypes, uiTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
3
|
export declare const getDialogType: (mapId: any, isMultiMap: boolean, isDocked: boolean) => string;
|
|
4
4
|
interface LayerManagerConnectProps {
|
|
5
5
|
mapId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { mapTypes } from '
|
|
2
|
+
import { mapTypes } from '@opengeoweb/store';
|
|
3
3
|
import { Size, ToolbarButtonSettings } from './LayerManagerHeaderOptions';
|
|
4
4
|
export declare const columnClasses: {
|
|
5
5
|
column1: string;
|
|
@@ -11,6 +11,11 @@ export declare const columnClasses: {
|
|
|
11
11
|
column7: string;
|
|
12
12
|
acceptanceTime: string;
|
|
13
13
|
};
|
|
14
|
+
export declare const leftButtonsStyle: {
|
|
15
|
+
width: number;
|
|
16
|
+
display: string;
|
|
17
|
+
background: string;
|
|
18
|
+
};
|
|
14
19
|
export declare const layerManagerStyle: {
|
|
15
20
|
'.layerManagerContainer': {
|
|
16
21
|
containerType: string;
|
|
@@ -18,11 +23,6 @@ export declare const layerManagerStyle: {
|
|
|
18
23
|
'.is-dragging header+.MuiBox-root': {
|
|
19
24
|
overflow: string;
|
|
20
25
|
};
|
|
21
|
-
'.column-1': {
|
|
22
|
-
width: number;
|
|
23
|
-
display: string;
|
|
24
|
-
background: string;
|
|
25
|
-
};
|
|
26
26
|
'.column-2': {
|
|
27
27
|
width: string;
|
|
28
28
|
};
|
|
@@ -221,6 +221,20 @@ export interface LayerManagerCustomSettings {
|
|
|
221
221
|
tooltipTitle?: string;
|
|
222
222
|
icon?: React.ElementType;
|
|
223
223
|
};
|
|
224
|
+
dimensions?: {
|
|
225
|
+
dimensionsToShow?: string[];
|
|
226
|
+
SingleValueComponent?: React.FC<{
|
|
227
|
+
value: string;
|
|
228
|
+
}>;
|
|
229
|
+
icon?: React.ElementType;
|
|
230
|
+
tooltipPrefix?: string;
|
|
231
|
+
nameMappings?: {
|
|
232
|
+
[dimensionName: string]: string;
|
|
233
|
+
};
|
|
234
|
+
valueMappings?: {
|
|
235
|
+
[dimensionName: string]: (value: string) => string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
224
238
|
deleteLayer?: {
|
|
225
239
|
tooltipTitle?: string;
|
|
226
240
|
icon?: React.ReactNode;
|
package/src/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { uiTypes, layerSelectTypes } from '
|
|
2
|
+
import { uiTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
3
|
export declare const DIALOG_TITLE = "Groups & Keywords";
|
|
4
4
|
export interface KeywordFilterResultsProps {
|
|
5
5
|
bounds?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { mapTypes, layerSelectTypes } from '
|
|
2
|
+
import { mapTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
3
|
import { ListItem } from './LayerInfoList';
|
|
4
4
|
export declare const getLayerStyles: (layer: layerSelectTypes.ActiveLayerObject) => string;
|
|
5
5
|
export declare const getDimensionValue: (name: string, dimensions: mapTypes.Dimension[]) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerTypes, serviceTypes, layerSelectTypes } from '
|
|
2
|
+
import { layerTypes, serviceTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
3
|
export interface LayerListProps {
|
|
4
4
|
services: serviceTypes.Services;
|
|
5
5
|
filteredLayers: layerSelectTypes.ActiveLayerObject[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerSelectTypes } from '
|
|
2
|
+
import { layerSelectTypes } from '@opengeoweb/store';
|
|
3
3
|
interface ServiceListProps {
|
|
4
4
|
activeServices: layerSelectTypes.ActiveServiceObjectEntities;
|
|
5
5
|
setHeight: (height: number) => void;
|
package/src/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerTypes, layerSelectTypes } from '
|
|
2
|
+
import { layerTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
3
|
interface ServiceOptionsDialogProps {
|
|
4
4
|
services: layerSelectTypes.ActiveServiceObjectEntities;
|
|
5
5
|
layerSelectRemoveService?: (serviceId: string, serviceUrl: string, serviceName: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { serviceTypes, layerSelectTypes } from '
|
|
2
|
+
import { serviceTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
3
|
export interface ServicePopupProps {
|
|
4
4
|
servicePopupVariant: layerSelectTypes.PopupVariant;
|
|
5
5
|
hideBackdrop?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { serviceTypes, layerSelectTypes } from '
|
|
1
|
+
import { serviceTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
2
2
|
export declare type ValidationResult = string | boolean;
|
|
3
3
|
export declare const VALIDATIONS_NAME_EXISTING = "This name already exists. Choose another name.";
|
|
4
4
|
export declare const VALIDATIONS_SERVICE_EXISTING = "URL already exists.";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { layerSelectTypes, serviceTypes } from '
|
|
1
|
+
import { layerSelectTypes, serviceTypes } from '@opengeoweb/store';
|
|
2
2
|
export declare const getServicesToLoad: (services: layerSelectTypes.NoIdService[]) => serviceTypes.InitialService[];
|
|
3
3
|
export declare const useFetchServices: (dialogType: string, preloadedServices?: layerSelectTypes.LayerSelectService[] | undefined, shouldDisableFetch?: boolean) => void;
|
|
4
4
|
export declare const mergePresetsAndUserAddedServices: (presets: layerSelectTypes.LayerSelectService[], userAddedServices: layerSelectTypes.UserAddedServices) => layerSelectTypes.NoIdService[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { HeaderSize } from '@opengeoweb/shared';
|
|
3
|
+
import { uiTypes } from '@opengeoweb/store';
|
|
4
|
+
export declare type Size = {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
export declare type Position = {
|
|
9
|
+
top: number;
|
|
10
|
+
left?: number;
|
|
11
|
+
right?: number;
|
|
12
|
+
};
|
|
13
|
+
interface DrawingToolProps {
|
|
14
|
+
bounds?: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
onMouseDown?: () => void;
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
order?: number;
|
|
20
|
+
source?: uiTypes.Source;
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
error?: string;
|
|
23
|
+
isDocked?: boolean;
|
|
24
|
+
size?: Size;
|
|
25
|
+
startPosition?: Position;
|
|
26
|
+
setFocused?: (focused: boolean) => void;
|
|
27
|
+
headerSize?: HeaderSize;
|
|
28
|
+
}
|
|
29
|
+
export declare const calculateStartSize: (minSize: Size, prefSize: Size, startPosition: Position) => Size;
|
|
30
|
+
declare const DrawingTool: React.FC<DrawingToolProps>;
|
|
31
|
+
export default DrawingTool;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const DrawingToolDockedLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
storyName: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const DrawingToolDockedDark: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
parameters: {
|
|
19
|
+
zeplinLink: {
|
|
20
|
+
name: string;
|
|
21
|
+
link: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
storyName: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { uiTypes } from '@opengeoweb/store';
|
|
3
|
+
export declare const getDialogType: (mapId: any, isMultiMap: boolean, isDocked: boolean) => string;
|
|
4
|
+
interface DrawingToolConnectProps {
|
|
5
|
+
mapId?: string;
|
|
6
|
+
bounds?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
showMapIdInTitle?: boolean;
|
|
9
|
+
isMultiMap?: boolean;
|
|
10
|
+
isDocked?: boolean;
|
|
11
|
+
source?: uiTypes.Source;
|
|
12
|
+
}
|
|
13
|
+
declare const DrawingToolConnect: React.FC<DrawingToolConnectProps>;
|
|
14
|
+
export default DrawingToolConnect;
|