@opengeoweb/core 9.28.0 → 9.29.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 +290 -286
- package/package.json +2 -2
- package/src/index.d.ts +4 -4
- package/src/lib/GeoWebDemo.stories.d.ts +6 -6
- package/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +42 -42
- package/src/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -7
- package/src/lib/components/ComponentsLookUp/componentsLookup.spec.d.ts +1 -1
- package/src/lib/components/ComponentsLookUp/index.d.ts +1 -1
- package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.d.ts +45 -45
- package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.spec.d.ts +1 -1
- package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.stories.d.ts +9 -9
- package/src/lib/components/ConfigurableMapConnect/index.d.ts +1 -1
- package/src/lib/components/FeatureInfo/GetFeatureInfoButtonConnect.d.ts +8 -8
- package/src/lib/components/FeatureInfo/GetFeatureInfoButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/FeatureInfo/GetFeatureInfoConnect.d.ts +8 -8
- package/src/lib/components/FeatureInfo/GetFeatureInfoConnect.spec.d.ts +1 -1
- package/src/lib/components/FeatureInfo/GetFeatureInfoDialog.d.ts +16 -16
- package/src/lib/components/FeatureInfo/GetFeatureInfoDialog.spec.d.ts +1 -1
- package/src/lib/components/FeatureInfo/index.d.ts +3 -3
- package/src/lib/components/FeatureInfo/utils.d.ts +17 -17
- package/src/lib/components/FeatureInfo/utils.spec.d.ts +1 -1
- package/src/lib/components/LanguageSelect/DemoLanguages.stories.d.ts +12 -12
- package/src/lib/components/LanguageSelect/LanguageSelect.d.ts +8 -8
- package/src/lib/components/LanguageSelect/LanguageSelect.spec.d.ts +1 -1
- package/src/lib/components/LanguageSelect/Languages.stories.d.ts +10 -10
- package/src/lib/components/LanguageSelect/languageTranslation.d.ts +31 -31
- package/src/lib/components/LanguageSelect/languagesService.d.ts +9 -9
- package/src/lib/components/LanguageSelect/languagesService.spec.d.ts +1 -1
- package/src/lib/components/LayerInfoConnect/LayerInfoButtonConnect.d.ts +11 -11
- package/src/lib/components/LayerInfoConnect/LayerInfoButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerInfoConnect/LayerInfoDialogConnect.d.ts +2 -2
- package/src/lib/components/LayerInfoConnect/index.d.ts +2 -2
- package/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +12 -12
- package/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +12 -12
- package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +13 -13
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.d.ts +11 -11
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.d.ts +22 -22
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +12 -12
- package/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +18 -18
- package/src/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTime.d.ts +9 -9
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTimeConnect.d.ts +7 -7
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTimeConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +14 -14
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.d.ts +16 -16
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.d.ts +9 -9
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +18 -18
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +26 -26
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +8 -8
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectName.d.ts +13 -13
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectValue.d.ts +16 -16
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/dimensionSelectHooks.d.ts +15 -15
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +10 -10
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +19 -19
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +66 -66
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +10 -10
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.d.ts +10 -10
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +13 -13
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +9 -9
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingData.d.ts +16 -16
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingDataConnect.d.ts +5 -5
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingDataConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +9 -9
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +16 -16
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +12 -12
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +9 -9
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +13 -13
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +10 -10
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManager.custom.stories.d.ts +6 -6
- package/src/lib/components/LayerManager/LayerManager.d.ts +29 -29
- package/src/lib/components/LayerManager/LayerManager.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManager.stories.d.ts +82 -82
- package/src/lib/components/LayerManager/LayerManagerConnect.d.ts +29 -29
- package/src/lib/components/LayerManager/LayerManagerConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +25 -25
- package/src/lib/components/LayerManager/LayerManagerHeaderOptions.d.ts +50 -50
- package/src/lib/components/LayerManager/LayerManagerHeaderOptions.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerHeaderOptionsConnect.d.ts +12 -12
- package/src/lib/components/LayerManager/LayerManagerHeaderOptionsConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +9 -9
- package/src/lib/components/LayerManager/LayerManagerMapButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerUtils.d.ts +266 -266
- package/src/lib/components/LayerManager/LayerManagerUtils.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectButton.d.ts +8 -8
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +7 -7
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.d.ts +14 -14
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.stories.d.ts +6 -6
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelectConnect.d.ts +6 -6
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelectConnect.integration.spec.d.ts +1 -1
- package/src/lib/components/LayerManager/index.d.ts +8 -8
- package/src/lib/components/LayerManager/useFetchServices.d.ts +4 -4
- package/src/lib/components/LayerManager/useFetchServices.spec.d.ts +1 -1
- package/src/lib/components/LegendConnect/LegendConnect.d.ts +20 -20
- package/src/lib/components/LegendConnect/LegendConnect.spec.d.ts +1 -1
- package/src/lib/components/LegendConnect/LegendConnect.stories.d.ts +6 -6
- package/src/lib/components/LegendConnect/LegendMapButtonConnect.d.ts +9 -9
- package/src/lib/components/LegendConnect/LegendMapButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/LegendConnect/index.d.ts +2 -2
- package/src/lib/components/MapControlsConnect/ZoomControlsConnect.d.ts +6 -6
- package/src/lib/components/MapControlsConnect/ZoomControlsConnect.spec.d.ts +1 -1
- package/src/lib/components/MapControlsConnect/index.d.ts +1 -1
- package/src/lib/components/MapDrawToolRedux/MapDrawToolRedux.stories.d.ts +9 -9
- package/src/lib/components/MapDrawToolRedux/MapDrawToolReduxIntersection.stories.d.ts +7 -7
- package/src/lib/components/MapDrawToolRedux/MapDrawToolReduxMultipleDrawTools.stories.d.ts +6 -6
- package/src/lib/components/MapViewConnect/MapViewConnect.DoubleMap.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.Errors.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.FeatureLayers.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.InitialBBoxAndWithout.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.LayerActions.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +13 -13
- package/src/lib/components/MapViewConnect/MapViewConnect.MapModuleOverDefaultMap.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.MapPin.stories.d.ts +15 -15
- package/src/lib/components/MapViewConnect/MapViewConnect.MultiMapLayerManager.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.SelectorTest.stories.d.ts +8 -8
- package/src/lib/components/MapViewConnect/MapViewConnect.SetBaseLayers.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.ToggleControls.stories.d.ts +7 -7
- package/src/lib/components/MapViewConnect/MapViewConnect.d.ts +29 -29
- package/src/lib/components/MapViewConnect/MapViewConnect.spec.d.ts +1 -1
- package/src/lib/components/MapViewConnect/index.d.ts +1 -1
- package/src/lib/components/MapViewConnect/types.d.ts +8 -8
- package/src/lib/components/MapViewConnect/useKeyboardZoomAndPan.d.ts +1 -1
- package/src/lib/components/MapViewConnect/useKeyboardZoomAndPan.spec.d.ts +1 -1
- package/src/lib/components/MapViewConnect/useTouchZoomPan.d.ts +1 -1
- package/src/lib/components/MapViewConnect/useTouchZoomPan.spec.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectButtonConnect.d.ts +9 -9
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectDialogConnect.d.ts +14 -14
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectDialogConnect.spec.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectSliderConnect.d.ts +9 -9
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectSliderConnect.spec.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/EnsembleDimensionExample.stories.d.ts +6 -6
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectConnect.stories.d.ts +6 -6
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectMapButtonsConnect.d.ts +8 -8
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectMapButtonsConnect.spec.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelect.stories.d.ts +6 -6
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelectConnect.d.ts +9 -9
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelectConnect.spec.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapSingleDimensionSelectConnect.d.ts +8 -8
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapSingleDimensionSelectConnect.spec.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/index.d.ts +2 -2
- package/src/lib/components/MultiMapViewConnect/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +12 -12
- package/src/lib/components/MultiMapViewConnect/HarmoniePresets/index.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.d.ts +18 -18
- package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.spec.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.stories.d.ts +8 -8
- package/src/lib/components/MultiMapViewConnect/ModelRunInterval/index.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/MultiMapView.stories.d.ts +9 -9
- package/src/lib/components/MultiMapViewConnect/MultiMapView10x10.stories.d.ts +6 -6
- package/src/lib/components/MultiMapViewConnect/MultiMapView2x2.stories.d.ts +6 -6
- package/src/lib/components/MultiMapViewConnect/MultiMapView4x3.stories.d.ts +6 -6
- package/src/lib/components/MultiMapViewConnect/MultiMapViewConnect.d.ts +29 -29
- package/src/lib/components/MultiMapViewConnect/MultiMapViewConnect.spec.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/storyUtils/mapPresets.d.ts +177 -177
- package/src/lib/components/Providers/Providers.d.ts +28 -28
- package/src/lib/components/RouterWrapper/NavigateSetter.d.ts +1 -1
- package/src/lib/components/RouterWrapper/NavigateSetter.spec.d.ts +1 -1
- package/src/lib/components/RouterWrapper/RouterWrapperConnect.d.ts +6 -6
- package/src/lib/components/RouterWrapper/RouterWrapperConnect.spec.d.ts +1 -1
- package/src/lib/components/RouterWrapper/index.d.ts +1 -1
- package/src/lib/components/Search/MyMapLocation.d.ts +10 -10
- package/src/lib/components/Search/MyMapLocation.spec.d.ts +1 -1
- package/src/lib/components/Search/SearchControl.stories.d.ts +13 -13
- package/src/lib/components/Search/SearchControlButtonConnect.d.ts +8 -8
- package/src/lib/components/Search/SearchControlConnect.d.ts +5 -5
- package/src/lib/components/Search/SearchControlConnect.spec.d.ts +1 -1
- package/src/lib/components/Search/SearchDialog.d.ts +7 -7
- package/src/lib/components/Search/index.d.ts +4 -4
- package/src/lib/components/SentryRecordButton/SentryRecordButton.d.ts +3 -3
- package/src/lib/components/SentryRecordButton/SentryRecordButton.spec.d.ts +1 -1
- package/src/lib/components/SentryRecordButton/index.d.ts +1 -1
- package/src/lib/components/SyncGroups/DraggableThings.d.ts +13 -13
- package/src/lib/components/SyncGroups/SimpleTimeSlider.d.ts +8 -8
- package/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +19 -19
- package/src/lib/components/SyncGroups/SyncGroupList.d.ts +11 -11
- package/src/lib/components/SyncGroups/SyncGroupListItem.d.ts +11 -11
- package/src/lib/components/SyncGroups/SyncGroupViewer.d.ts +15 -15
- package/src/lib/components/SyncGroups/SyncGroupViewer.spec.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +2 -2
- package/src/lib/components/SyncGroups/SyncGroups.FourMapsSynced.stories.d.ts +6 -6
- package/src/lib/components/SyncGroups/SyncGroups.SyncMany.stories.d.ts +6 -6
- package/src/lib/components/SyncGroups/SyncGroups.SyncMaps.stories.d.ts +6 -6
- package/src/lib/components/SyncGroups/SyncGroups.TwoMapsSynced.stories.d.ts +6 -6
- package/src/lib/components/TimeSliderClockConnect/TimeSliderClockConnect.d.ts +4 -4
- package/src/lib/components/TimeSliderClockConnect/TimeSliderClockConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderClockConnect/index.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/AutoUpdate.stories.d.ts +6 -6
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.d.ts +5 -5
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.spec.d.ts +2 -2
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +21 -21
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/BackwardForwardStepButtonConnect.d.ts +5 -5
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/BackwardForwardStepButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/ControlButtonsConnect.d.ts +5 -5
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/ControlButtonsConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/NowButtonConnect.d.ts +8 -8
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuButtonConnect.d.ts +14 -14
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuConnect.d.ts +4 -4
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +45 -45
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/SpeedButtonConnect.d.ts +5 -5
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/SpeedButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeSpanButtonConnect.d.ts +4 -4
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeSpanButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeStepButtonConnect.d.ts +6 -6
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeStepButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect.d.ts +7 -7
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect.integration.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderConnect.d.ts +10 -10
- package/src/lib/components/TimeSliderConnect/TimeSliderConnect.integration.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderConnect.stories.d.ts +15 -15
- package/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +27 -27
- package/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderLegendConnect.d.ts +9 -9
- package/src/lib/components/TimeSliderConnect/TimeSliderLegendConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/index.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/timeSliderUtils.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/timesliderUtils.d.ts +7 -7
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTree.d.ts +9 -9
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTree.spec.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +24 -24
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.spec.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeHeader.d.ts +7 -7
- package/src/lib/components/WMSLoader/WMSLoader.d.ts +11 -11
- package/src/lib/components/WMSLoader/WMSLoader.spec.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +6 -6
- package/src/lib/components/WMSLoader/WMSLoaderConnect.d.ts +21 -21
- package/src/lib/components/WMSLoader/WMSServerList/WMSServerList.d.ts +9 -9
- package/src/lib/components/WMSLoader/WMSServerList/WMSServerList.spec.d.ts +1 -1
- package/src/lib/index.d.ts +21 -21
- package/src/lib/utils/defaultConfigurations.d.ts +3 -3
- package/src/lib/utils/defaultTestSettings.d.ts +11 -11
- package/src/lib/utils/i18n.d.ts +6 -6
- package/src/lib/utils/jsonPresetFilter.d.ts +26 -26
- package/src/lib/utils/jsonPresetFilter.spec.d.ts +1 -1
- package/src/lib/utils/sanitizeHTML.d.ts +3 -3
- package/src/lib/utils/sanitizeHTML.spec.d.ts +1 -1
- package/src/lib/utils/testDimensionData.d.ts +39 -39
- package/src/lib/utils/testLayers.d.ts +70 -70
- package/src/lib/utils/testUtils.d.ts +3 -3
- package/src/lib/utils/verticalLevels.d.ts +4 -4
package/index.esm.js
CHANGED
|
@@ -2081,22 +2081,22 @@ const HeaderOptions = ({
|
|
|
2081
2081
|
});
|
|
2082
2082
|
};
|
|
2083
2083
|
|
|
2084
|
-
/* *
|
|
2085
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2086
|
-
* you may not use this file except in compliance with the License.
|
|
2087
|
-
* You may obtain a copy of the License at
|
|
2088
|
-
*
|
|
2089
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2090
|
-
*
|
|
2091
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
2092
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2093
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2094
|
-
* See the License for the specific language governing permissions and
|
|
2095
|
-
* limitations under the License.
|
|
2096
|
-
*
|
|
2097
|
-
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2098
|
-
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
2099
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
2084
|
+
/* *
|
|
2085
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2086
|
+
* you may not use this file except in compliance with the License.
|
|
2087
|
+
* You may obtain a copy of the License at
|
|
2088
|
+
*
|
|
2089
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2090
|
+
*
|
|
2091
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2092
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2093
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2094
|
+
* See the License for the specific language governing permissions and
|
|
2095
|
+
* limitations under the License.
|
|
2096
|
+
*
|
|
2097
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2098
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
2099
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
2100
2100
|
* */
|
|
2101
2101
|
const iconButtonSize = 30;
|
|
2102
2102
|
const columnClasses = {
|
|
@@ -3799,12 +3799,12 @@ const roundToDecimals = (num, decimals) => {
|
|
|
3799
3799
|
useGrouping: false
|
|
3800
3800
|
});
|
|
3801
3801
|
};
|
|
3802
|
-
/**
|
|
3803
|
-
* Hook to subscribe to changes in the load duration for a map layer.
|
|
3804
|
-
* This will only trigger a render when the load duration rounded down to seconds changes for the given layer and map combination
|
|
3805
|
-
* @param mapId
|
|
3806
|
-
* @param layerId
|
|
3807
|
-
* @returns {number}
|
|
3802
|
+
/**
|
|
3803
|
+
* Hook to subscribe to changes in the load duration for a map layer.
|
|
3804
|
+
* This will only trigger a render when the load duration rounded down to seconds changes for the given layer and map combination
|
|
3805
|
+
* @param mapId
|
|
3806
|
+
* @param layerId
|
|
3807
|
+
* @returns {number}
|
|
3808
3808
|
*/
|
|
3809
3809
|
const useLoadDurationLabel = (mapId, layerId) => {
|
|
3810
3810
|
const subscribe = React.useCallback(onStoreChange => {
|
|
@@ -4384,22 +4384,22 @@ const OpacitySelectConnect = ({
|
|
|
4384
4384
|
});
|
|
4385
4385
|
};
|
|
4386
4386
|
|
|
4387
|
-
/* *
|
|
4388
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4389
|
-
* you may not use this file except in compliance with the License.
|
|
4390
|
-
* You may obtain a copy of the License at
|
|
4391
|
-
*
|
|
4392
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4393
|
-
*
|
|
4394
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
4395
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4396
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4397
|
-
* See the License for the specific language governing permissions and
|
|
4398
|
-
* limitations under the License.
|
|
4399
|
-
*
|
|
4400
|
-
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
4401
|
-
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
4402
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
4387
|
+
/* *
|
|
4388
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4389
|
+
* you may not use this file except in compliance with the License.
|
|
4390
|
+
* You may obtain a copy of the License at
|
|
4391
|
+
*
|
|
4392
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
4393
|
+
*
|
|
4394
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
4395
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
4396
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
4397
|
+
* See the License for the specific language governing permissions and
|
|
4398
|
+
* limitations under the License.
|
|
4399
|
+
*
|
|
4400
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
4401
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
4402
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
4403
4403
|
* */
|
|
4404
4404
|
const useLayerDimensions = (layerId, mapId) => {
|
|
4405
4405
|
const dispatch = useDispatch();
|
|
@@ -5966,22 +5966,22 @@ const ConnectedTree = ({
|
|
|
5966
5966
|
};
|
|
5967
5967
|
const WMSLayerTreeConnect = connectRedux$3(ConnectedTree);
|
|
5968
5968
|
|
|
5969
|
-
/* *
|
|
5970
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5971
|
-
* you may not use this file except in compliance with the License.
|
|
5972
|
-
* You may obtain a copy of the License at
|
|
5973
|
-
*
|
|
5974
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5975
|
-
*
|
|
5976
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
5977
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5978
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5979
|
-
* See the License for the specific language governing permissions and
|
|
5980
|
-
* limitations under the License.
|
|
5981
|
-
*
|
|
5982
|
-
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
5983
|
-
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
5984
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
5969
|
+
/* *
|
|
5970
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5971
|
+
* you may not use this file except in compliance with the License.
|
|
5972
|
+
* You may obtain a copy of the License at
|
|
5973
|
+
*
|
|
5974
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5975
|
+
*
|
|
5976
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
5977
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5978
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5979
|
+
* See the License for the specific language governing permissions and
|
|
5980
|
+
* limitations under the License.
|
|
5981
|
+
*
|
|
5982
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
5983
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
5984
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
5985
5985
|
* */
|
|
5986
5986
|
const isValidService = service => Object.prototype.hasOwnProperty.call(service, 'url');
|
|
5987
5987
|
const filterServices = presetArray => {
|
|
@@ -6149,22 +6149,22 @@ var initialPreset = {
|
|
|
6149
6149
|
preset: preset
|
|
6150
6150
|
};
|
|
6151
6151
|
|
|
6152
|
-
/* *
|
|
6153
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6154
|
-
* you may not use this file except in compliance with the License.
|
|
6155
|
-
* You may obtain a copy of the License at
|
|
6156
|
-
*
|
|
6157
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
6158
|
-
*
|
|
6159
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
6160
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
6161
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
6162
|
-
* See the License for the specific language governing permissions and
|
|
6163
|
-
* limitations under the License.
|
|
6164
|
-
*
|
|
6165
|
-
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
6166
|
-
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
6167
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
6152
|
+
/* *
|
|
6153
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6154
|
+
* you may not use this file except in compliance with the License.
|
|
6155
|
+
* You may obtain a copy of the License at
|
|
6156
|
+
*
|
|
6157
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
6158
|
+
*
|
|
6159
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
6160
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
6161
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
6162
|
+
* See the License for the specific language governing permissions and
|
|
6163
|
+
* limitations under the License.
|
|
6164
|
+
*
|
|
6165
|
+
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
6166
|
+
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
6167
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
6168
6168
|
* */
|
|
6169
6169
|
const {
|
|
6170
6170
|
services,
|
|
@@ -6301,24 +6301,26 @@ const AddLayersPopup = ({
|
|
|
6301
6301
|
error: urlError !== '',
|
|
6302
6302
|
helperText: urlError,
|
|
6303
6303
|
variant: "filled",
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
children: loading ? jsx(CircularProgress, {
|
|
6309
|
-
size: 24,
|
|
6310
|
-
sx: {
|
|
6311
|
-
zIndex: 1
|
|
6312
|
-
}
|
|
6313
|
-
}) : jsx(CustomIconButton, Object.assign({
|
|
6314
|
-
"data-testid": "add-service",
|
|
6315
|
-
onClick: handleAddServiceURL,
|
|
6316
|
-
disabled: loading,
|
|
6317
|
-
size: "large"
|
|
6304
|
+
slotProps: {
|
|
6305
|
+
input: {
|
|
6306
|
+
endAdornment: jsx(InputAdornment, Object.assign({
|
|
6307
|
+
position: "end"
|
|
6318
6308
|
}, {
|
|
6319
|
-
children: jsx(
|
|
6309
|
+
children: loading ? jsx(CircularProgress, {
|
|
6310
|
+
size: 24,
|
|
6311
|
+
sx: {
|
|
6312
|
+
zIndex: 1
|
|
6313
|
+
}
|
|
6314
|
+
}) : jsx(CustomIconButton, Object.assign({
|
|
6315
|
+
"data-testid": "add-service",
|
|
6316
|
+
onClick: handleAddServiceURL,
|
|
6317
|
+
disabled: loading,
|
|
6318
|
+
size: "large"
|
|
6319
|
+
}, {
|
|
6320
|
+
children: jsx(Add, {})
|
|
6321
|
+
}))
|
|
6320
6322
|
}))
|
|
6321
|
-
}
|
|
6323
|
+
}
|
|
6322
6324
|
}
|
|
6323
6325
|
})
|
|
6324
6326
|
}))
|
|
@@ -6869,16 +6871,16 @@ const getDialogType = (mapId, isMultiMap, isDocked) => {
|
|
|
6869
6871
|
}
|
|
6870
6872
|
return uiTypes.DialogTypes.LayerManager;
|
|
6871
6873
|
};
|
|
6872
|
-
/**
|
|
6873
|
-
* Layer Managerconnected to the store displaying the layers forthe active map Id
|
|
6874
|
-
* Please note that in order to use this and open/close the dialog, every map on the screen that should be able to show
|
|
6875
|
-
* a dialog should have the <LayerManagerMapButtonConnect/> which is used to focus the correct map and open the dialog
|
|
6876
|
-
*
|
|
6877
|
-
* Expects the following props:
|
|
6878
|
-
* @param {serviceTypes.InitialService[]} preloadedMapServices preloadedMapServices: array of Service objects - contains an array of Service objects that are preloaded into in the WMS Loader for maplayers
|
|
6879
|
-
* @param {serviceTypes.InitialService[]} preloadedBaseServices preloadedBaseServices: array of Service objects - contains an array of Service objects that are preloaded into in the WMS Loader fpr baselayers
|
|
6880
|
-
* @param {Layer[]} preloadedAvailableBaseLayers preloadedAvailableBaseLayers: array of Layer objects - contains an array of Layer objects (consisting solely of type baseLayer) that are available to be shown as basemaps
|
|
6881
|
-
* ``` <LayerManagerConnect />```
|
|
6874
|
+
/**
|
|
6875
|
+
* Layer Managerconnected to the store displaying the layers forthe active map Id
|
|
6876
|
+
* Please note that in order to use this and open/close the dialog, every map on the screen that should be able to show
|
|
6877
|
+
* a dialog should have the <LayerManagerMapButtonConnect/> which is used to focus the correct map and open the dialog
|
|
6878
|
+
*
|
|
6879
|
+
* Expects the following props:
|
|
6880
|
+
* @param {serviceTypes.InitialService[]} preloadedMapServices preloadedMapServices: array of Service objects - contains an array of Service objects that are preloaded into in the WMS Loader for maplayers
|
|
6881
|
+
* @param {serviceTypes.InitialService[]} preloadedBaseServices preloadedBaseServices: array of Service objects - contains an array of Service objects that are preloaded into in the WMS Loader fpr baselayers
|
|
6882
|
+
* @param {Layer[]} preloadedAvailableBaseLayers preloadedAvailableBaseLayers: array of Layer objects - contains an array of Layer objects (consisting solely of type baseLayer) that are available to be shown as basemaps
|
|
6883
|
+
* ``` <LayerManagerConnect />```
|
|
6882
6884
|
*/
|
|
6883
6885
|
const LayerManagerConnect = ({
|
|
6884
6886
|
preloadedAvailableBaseLayers,
|
|
@@ -7734,22 +7736,22 @@ const useTouchZoomPan = (mapIsActive, mapId) => {
|
|
|
7734
7736
|
};
|
|
7735
7737
|
const TOUCH_PAN_STEP_PERCENTAGE = 0.02;
|
|
7736
7738
|
|
|
7737
|
-
/* *
|
|
7738
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7739
|
-
* you may not use this file except in compliance with the License.
|
|
7740
|
-
* You may obtain a copy of the License at
|
|
7741
|
-
*
|
|
7742
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7743
|
-
*
|
|
7744
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
7745
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
7746
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
7747
|
-
* See the License for the specific language governing permissions and
|
|
7748
|
-
* limitations under the License.
|
|
7749
|
-
*
|
|
7750
|
-
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
7751
|
-
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
7752
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
7739
|
+
/* *
|
|
7740
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7741
|
+
* you may not use this file except in compliance with the License.
|
|
7742
|
+
* You may obtain a copy of the License at
|
|
7743
|
+
*
|
|
7744
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7745
|
+
*
|
|
7746
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7747
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
7748
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
7749
|
+
* See the License for the specific language governing permissions and
|
|
7750
|
+
* limitations under the License.
|
|
7751
|
+
*
|
|
7752
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
7753
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
7754
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
7753
7755
|
* */
|
|
7754
7756
|
const useKeyboardZoomAndPan = (mapIsActive, mapId) => {
|
|
7755
7757
|
React.useEffect(() => {
|
|
@@ -7803,17 +7805,17 @@ const useKeyboardZoomAndPan = (mapIsActive, mapId) => {
|
|
|
7803
7805
|
const PAN_STEP_PERCENTAGE = 0.02;
|
|
7804
7806
|
|
|
7805
7807
|
const ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION = 'ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION';
|
|
7806
|
-
/**
|
|
7807
|
-
* Connected component used to display the map and selected layers.
|
|
7808
|
-
* Includes options to disable the map controls and legend.
|
|
7809
|
-
*
|
|
7810
|
-
* Expects the following props:
|
|
7811
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
7812
|
-
* @param {object} [controls.zoomControls] **optional** controls: object - toggle the map controls, zoomControls defaults to true
|
|
7813
|
-
* @param {boolean} [displayTimeInMap] **optional** displayTimeInMap: boolean, toggles the mapTime, defaults to true
|
|
7814
|
-
* @param {boolean} [showScaleBar] **optional** showScaleBar: boolean, toggles the scaleBar, defaults to true
|
|
7815
|
-
* @example
|
|
7816
|
-
* ```<MapViewConnect mapId={mapId} controls={{ zoomControls: false }} displayTimeInMap={false} showScaleBar={false}/>```
|
|
7808
|
+
/**
|
|
7809
|
+
* Connected component used to display the map and selected layers.
|
|
7810
|
+
* Includes options to disable the map controls and legend.
|
|
7811
|
+
*
|
|
7812
|
+
* Expects the following props:
|
|
7813
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
7814
|
+
* @param {object} [controls.zoomControls] **optional** controls: object - toggle the map controls, zoomControls defaults to true
|
|
7815
|
+
* @param {boolean} [displayTimeInMap] **optional** displayTimeInMap: boolean, toggles the mapTime, defaults to true
|
|
7816
|
+
* @param {boolean} [showScaleBar] **optional** showScaleBar: boolean, toggles the scaleBar, defaults to true
|
|
7817
|
+
* @example
|
|
7818
|
+
* ```<MapViewConnect mapId={mapId} controls={{ zoomControls: false }} displayTimeInMap={false} showScaleBar={false}/>```
|
|
7817
7819
|
*/
|
|
7818
7820
|
const MapViewConnect = _a => {
|
|
7819
7821
|
var {
|
|
@@ -8140,16 +8142,16 @@ const LegendConnectComponent = ({
|
|
|
8140
8142
|
source: uiSource
|
|
8141
8143
|
});
|
|
8142
8144
|
};
|
|
8143
|
-
/**
|
|
8144
|
-
* Legend component connected to the store displaying a legend for every layer shown on the active map Id
|
|
8145
|
-
* Please note that in order to use this and open/close the dialog, every map on the screen that should be able to show
|
|
8146
|
-
* a dialog should have the <LegendMapButtonConnect/> which is used to focus the correct map and open the dialog
|
|
8147
|
-
*
|
|
8148
|
-
* Expects the following props:
|
|
8149
|
-
* @param {boolean} showMapId (optional) showMapId: boolean - show the id of the map in the dialog title of which the legend is shown in te dialog
|
|
8150
|
-
* @param {uiTypes.Source} source (optional) source: uiTypes.Source - default is 'app', 'module' makes sure it will be shown on top of the module
|
|
8145
|
+
/**
|
|
8146
|
+
* Legend component connected to the store displaying a legend for every layer shown on the active map Id
|
|
8147
|
+
* Please note that in order to use this and open/close the dialog, every map on the screen that should be able to show
|
|
8148
|
+
* a dialog should have the <LegendMapButtonConnect/> which is used to focus the correct map and open the dialog
|
|
8149
|
+
*
|
|
8150
|
+
* Expects the following props:
|
|
8151
|
+
* @param {boolean} showMapId (optional) showMapId: boolean - show the id of the map in the dialog title of which the legend is shown in te dialog
|
|
8152
|
+
* @param {uiTypes.Source} source (optional) source: uiTypes.Source - default is 'app', 'module' makes sure it will be shown on top of the module
|
|
8151
8153
|
|
|
8152
|
-
* ``` <LegendConnect legendDialogId={legendDialogId} />```
|
|
8154
|
+
* ``` <LegendConnect legendDialogId={legendDialogId} />```
|
|
8153
8155
|
*/
|
|
8154
8156
|
const LegendConnect = _a => {
|
|
8155
8157
|
var {
|
|
@@ -8186,37 +8188,37 @@ const LegendMapButtonConnect = ({
|
|
|
8186
8188
|
});
|
|
8187
8189
|
};
|
|
8188
8190
|
|
|
8189
|
-
/* *
|
|
8190
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8191
|
-
* you may not use this file except in compliance with the License.
|
|
8192
|
-
* You may obtain a copy of the License at
|
|
8193
|
-
*
|
|
8194
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8195
|
-
*
|
|
8196
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
8197
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
8198
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8199
|
-
* See the License for the specific language governing permissions and
|
|
8200
|
-
* limitations under the License.
|
|
8201
|
-
*
|
|
8202
|
-
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8203
|
-
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
8204
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8191
|
+
/* *
|
|
8192
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8193
|
+
* you may not use this file except in compliance with the License.
|
|
8194
|
+
* You may obtain a copy of the License at
|
|
8195
|
+
*
|
|
8196
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8197
|
+
*
|
|
8198
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
8199
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
8200
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8201
|
+
* See the License for the specific language governing permissions and
|
|
8202
|
+
* limitations under the License.
|
|
8203
|
+
*
|
|
8204
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8205
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
8206
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8205
8207
|
* */
|
|
8206
|
-
/**
|
|
8207
|
-
* Get the title for this WMS layer based on its layerId. If not defined, layerId is used instead.
|
|
8208
|
-
* @param layerId
|
|
8209
|
-
* @returns Title for the layer
|
|
8208
|
+
/**
|
|
8209
|
+
* Get the title for this WMS layer based on its layerId. If not defined, layerId is used instead.
|
|
8210
|
+
* @param layerId
|
|
8211
|
+
* @returns Title for the layer
|
|
8210
8212
|
*/
|
|
8211
8213
|
const getTitle = layerId => {
|
|
8212
8214
|
const wmjsLayer = webmapUtils.getWMLayerById(layerId);
|
|
8213
8215
|
return wmjsLayer ? wmjsLayer.title || wmjsLayer.name : layerId;
|
|
8214
8216
|
};
|
|
8215
|
-
/**
|
|
8216
|
-
* Make a list of GFI Layers to display.
|
|
8217
|
-
* @param layers
|
|
8218
|
-
* @param mapId
|
|
8219
|
-
* @returns
|
|
8217
|
+
/**
|
|
8218
|
+
* Make a list of GFI Layers to display.
|
|
8219
|
+
* @param layers
|
|
8220
|
+
* @param mapId
|
|
8221
|
+
* @returns
|
|
8220
8222
|
*/
|
|
8221
8223
|
const getLayersToUpdate = (layers, mapId) => {
|
|
8222
8224
|
const wmjsMap = webmapUtils.getWMJSMapById(mapId);
|
|
@@ -8224,11 +8226,11 @@ const getLayersToUpdate = (layers, mapId) => {
|
|
|
8224
8226
|
return [];
|
|
8225
8227
|
}
|
|
8226
8228
|
return layers.filter(layer => layer && layer.enabled && !!webmapUtils.getWMLayerById(layer.id)).map(layer => {
|
|
8227
|
-
/*
|
|
8228
|
-
We need a wmjsLayer to build the getfeatureinfo url (getWMSGetFeatureInfoRequestURL function).
|
|
8229
|
-
But it seems that its dimension are lazely updated (by ReactMapView).
|
|
8230
|
-
Therefore make a clone of this layer and set its dimensions based on the layer object.
|
|
8231
|
-
Otherwise we risk making a getfeatureinfo call with outdated dimension values.
|
|
8229
|
+
/*
|
|
8230
|
+
We need a wmjsLayer to build the getfeatureinfo url (getWMSGetFeatureInfoRequestURL function).
|
|
8231
|
+
But it seems that its dimension are lazely updated (by ReactMapView).
|
|
8232
|
+
Therefore make a clone of this layer and set its dimensions based on the layer object.
|
|
8233
|
+
Otherwise we risk making a getfeatureinfo call with outdated dimension values.
|
|
8232
8234
|
*/
|
|
8233
8235
|
const wmjsLayer = webmapUtils.getWMLayerById(layer.id).cloneLayer();
|
|
8234
8236
|
return {
|
|
@@ -8239,22 +8241,22 @@ const getLayersToUpdate = (layers, mapId) => {
|
|
|
8239
8241
|
});
|
|
8240
8242
|
};
|
|
8241
8243
|
|
|
8242
|
-
/* *
|
|
8243
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8244
|
-
* you may not use this file except in compliance with the License.
|
|
8245
|
-
* You may obtain a copy of the License at
|
|
8246
|
-
*
|
|
8247
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8248
|
-
*
|
|
8249
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
8250
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
8251
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8252
|
-
* See the License for the specific language governing permissions and
|
|
8253
|
-
* limitations under the License.
|
|
8254
|
-
*
|
|
8255
|
-
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8256
|
-
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
8257
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8244
|
+
/* *
|
|
8245
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8246
|
+
* you may not use this file except in compliance with the License.
|
|
8247
|
+
* You may obtain a copy of the License at
|
|
8248
|
+
*
|
|
8249
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8250
|
+
*
|
|
8251
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
8252
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
8253
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8254
|
+
* See the License for the specific language governing permissions and
|
|
8255
|
+
* limitations under the License.
|
|
8256
|
+
*
|
|
8257
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8258
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
8259
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8258
8260
|
* */
|
|
8259
8261
|
const sanitizeHTML = htmlToBeSanitezed => ({
|
|
8260
8262
|
__html: DOMPurify.sanitize(htmlToBeSanitezed, {
|
|
@@ -8296,9 +8298,9 @@ const GetFeatureInfoDialog = ({
|
|
|
8296
8298
|
};
|
|
8297
8299
|
/* Build a layerlist array with a set of arguments per layer to do the query for */
|
|
8298
8300
|
const layerToUpdateList = isOpen ? getLayersToUpdate(layers, mapId) : [];
|
|
8299
|
-
/*
|
|
8300
|
-
Build a string based on the GFI urls. If this changes for whatever reason we need to update.
|
|
8301
|
-
These strings can change very often, therefore they need to be debounced and only use the most recent result must be used.
|
|
8301
|
+
/*
|
|
8302
|
+
Build a string based on the GFI urls. If this changes for whatever reason we need to update.
|
|
8303
|
+
These strings can change very often, therefore they need to be debounced and only use the most recent result must be used.
|
|
8302
8304
|
*/
|
|
8303
8305
|
const debouncedlayerListString = useDebounce(layerToUpdateList.map(layer => layer.url).join(','), 100);
|
|
8304
8306
|
/* Do a GFI call to the server and use the updateLayerResult to provide the results. */
|
|
@@ -8684,7 +8686,7 @@ const MyMapLocation = ({
|
|
|
8684
8686
|
sx: {
|
|
8685
8687
|
height: '100%',
|
|
8686
8688
|
width: '100%',
|
|
8687
|
-
color: theme => theme.palette.mode === 'light' ? '#bad4ff' : '#
|
|
8689
|
+
color: theme => theme.palette.mode === 'light' ? '#bad4ff' : '#45556F',
|
|
8688
8690
|
animationDuration: '1000ms',
|
|
8689
8691
|
position: 'absolute',
|
|
8690
8692
|
left: 0,
|
|
@@ -8741,20 +8743,22 @@ const SearchDialog = ({
|
|
|
8741
8743
|
id: "dummy-search-field",
|
|
8742
8744
|
label: t('search-title'),
|
|
8743
8745
|
variant: "filled",
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
children: jsx(CustomIconButton, Object.assign({
|
|
8750
|
-
tooltipTitle: t('actions-close'),
|
|
8751
|
-
edge: "end",
|
|
8752
|
-
onClick: onClose,
|
|
8753
|
-
size: "large"
|
|
8746
|
+
slotProps: {
|
|
8747
|
+
input: {
|
|
8748
|
+
disableUnderline: true,
|
|
8749
|
+
endAdornment: jsx(InputAdornment, Object.assign({
|
|
8750
|
+
position: "end"
|
|
8754
8751
|
}, {
|
|
8755
|
-
children: jsx(
|
|
8752
|
+
children: jsx(CustomIconButton, Object.assign({
|
|
8753
|
+
tooltipTitle: t('actions-close'),
|
|
8754
|
+
edge: "end",
|
|
8755
|
+
onClick: onClose,
|
|
8756
|
+
size: "large"
|
|
8757
|
+
}, {
|
|
8758
|
+
children: jsx(Close, {})
|
|
8759
|
+
}))
|
|
8756
8760
|
}))
|
|
8757
|
-
}
|
|
8761
|
+
}
|
|
8758
8762
|
}
|
|
8759
8763
|
})]
|
|
8760
8764
|
})) : null;
|
|
@@ -8775,22 +8779,22 @@ const SearchControlConnect = ({
|
|
|
8775
8779
|
});
|
|
8776
8780
|
};
|
|
8777
8781
|
|
|
8778
|
-
/* *
|
|
8779
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8780
|
-
* you may not use this file except in compliance with the License.
|
|
8781
|
-
* You may obtain a copy of the License at
|
|
8782
|
-
*
|
|
8783
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8784
|
-
*
|
|
8785
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
8786
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
8787
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8788
|
-
* See the License for the specific language governing permissions and
|
|
8789
|
-
* limitations under the License.
|
|
8790
|
-
*
|
|
8791
|
-
* Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8792
|
-
* Copyright 2024 - Finnish Meteorological Institute (FMI)
|
|
8793
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8782
|
+
/* *
|
|
8783
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8784
|
+
* you may not use this file except in compliance with the License.
|
|
8785
|
+
* You may obtain a copy of the License at
|
|
8786
|
+
*
|
|
8787
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8788
|
+
*
|
|
8789
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
8790
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
8791
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
8792
|
+
* See the License for the specific language governing permissions and
|
|
8793
|
+
* limitations under the License.
|
|
8794
|
+
*
|
|
8795
|
+
* Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
8796
|
+
* Copyright 2024 - Finnish Meteorological Institute (FMI)
|
|
8797
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
8794
8798
|
* */
|
|
8795
8799
|
const useTurnOffAutoUpdateIfItsOn = mapId => {
|
|
8796
8800
|
const isAutoUpdating = useSelector(store => mapSelectors.isAutoUpdating(store, mapId));
|
|
@@ -8805,8 +8809,8 @@ const useTurnOffAutoUpdateIfItsOn = mapId => {
|
|
|
8805
8809
|
};
|
|
8806
8810
|
return turnOffAutoUpdateIfItsOn;
|
|
8807
8811
|
};
|
|
8808
|
-
/**
|
|
8809
|
-
* Returns time bounds from the given dimension. If no time dimension given, current time is returned as default
|
|
8812
|
+
/**
|
|
8813
|
+
* Returns time bounds from the given dimension. If no time dimension given, current time is returned as default
|
|
8810
8814
|
*/
|
|
8811
8815
|
const getTimeBounds = dimensions => {
|
|
8812
8816
|
const defaultStartEnd = dateUtils.unix(dateUtils.set(dateUtils.utc(), {
|
|
@@ -8974,13 +8978,13 @@ const TimeSpanButtonConnect = ({
|
|
|
8974
8978
|
});
|
|
8975
8979
|
};
|
|
8976
8980
|
|
|
8977
|
-
/**
|
|
8978
|
-
* OptionsMenuButtonConnect component with components connected to the store displaying the options menu button
|
|
8979
|
-
*
|
|
8980
|
-
* Expects the following props:
|
|
8981
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
8982
|
-
* @example
|
|
8983
|
-
* ``` <OptionsMenuButtonConnect mapId={mapId} />```
|
|
8981
|
+
/**
|
|
8982
|
+
* OptionsMenuButtonConnect component with components connected to the store displaying the options menu button
|
|
8983
|
+
*
|
|
8984
|
+
* Expects the following props:
|
|
8985
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
8986
|
+
* @example
|
|
8987
|
+
* ``` <OptionsMenuButtonConnect mapId={mapId} />```
|
|
8984
8988
|
*/
|
|
8985
8989
|
const OptionsMenuButtonConnect = ({
|
|
8986
8990
|
mapId
|
|
@@ -9125,14 +9129,14 @@ const NowButtonConnect = ({
|
|
|
9125
9129
|
});
|
|
9126
9130
|
};
|
|
9127
9131
|
|
|
9128
|
-
/**
|
|
9129
|
-
* TimeSliderButtons component with components connected to the store displaying the time slider buttons
|
|
9130
|
-
*
|
|
9131
|
-
* Expects the following props:
|
|
9132
|
-
* @param {string} mapId mapId: string - Id of the map
|
|
9133
|
-
* @param {string} sourceId mapId: string - Id of the source
|
|
9134
|
-
* @example
|
|
9135
|
-
* ``` <TimeSliderButtonsConnect mapId={mapId} sourceId={sourceId} />```
|
|
9132
|
+
/**
|
|
9133
|
+
* TimeSliderButtons component with components connected to the store displaying the time slider buttons
|
|
9134
|
+
*
|
|
9135
|
+
* Expects the following props:
|
|
9136
|
+
* @param {string} mapId mapId: string - Id of the map
|
|
9137
|
+
* @param {string} sourceId mapId: string - Id of the source
|
|
9138
|
+
* @example
|
|
9139
|
+
* ``` <TimeSliderButtonsConnect mapId={mapId} sourceId={sourceId} />```
|
|
9136
9140
|
*/
|
|
9137
9141
|
const TimeSliderButtonsConnectComponent = ({
|
|
9138
9142
|
sourceId,
|
|
@@ -10055,10 +10059,10 @@ const useGetLatestReferenceTime = inputLayer => {
|
|
|
10055
10059
|
}, [inputLayer]);
|
|
10056
10060
|
return latestReferenceTime;
|
|
10057
10061
|
};
|
|
10058
|
-
/**
|
|
10059
|
-
* Custom hook to find out if the list of syncgroup id's contains a group which is of type SYNCGROUPS_TYPE_SETLAYERACTIONS
|
|
10060
|
-
* @param syncGroupsIds A string array of syncgroup ids
|
|
10061
|
-
* @returns True if indeed a group is included which is of type SYNCGROUPS_TYPE_SETLAYERACTIONS
|
|
10062
|
+
/**
|
|
10063
|
+
* Custom hook to find out if the list of syncgroup id's contains a group which is of type SYNCGROUPS_TYPE_SETLAYERACTIONS
|
|
10064
|
+
* @param syncGroupsIds A string array of syncgroup ids
|
|
10065
|
+
* @returns True if indeed a group is included which is of type SYNCGROUPS_TYPE_SETLAYERACTIONS
|
|
10062
10066
|
*/
|
|
10063
10067
|
const useHasSyncGroupWithLayerActions = syncGroupsIds => {
|
|
10064
10068
|
/* Get Syncgroupstate */
|
|
@@ -10145,7 +10149,7 @@ const useGetReferenceTimes = inputLayer => {
|
|
|
10145
10149
|
const wmLayer = new WMLayer(Object.assign({}, inputLayer));
|
|
10146
10150
|
wmLayer.parseLayerPromise().then(layer => {
|
|
10147
10151
|
const refTimeDim = layer.getDimension('reference_time');
|
|
10148
|
-
/* Loop through all values of the dimension.
|
|
10152
|
+
/* Loop through all values of the dimension.
|
|
10149
10153
|
A map cannot be used for iterating, as the dimension values are not in an array (it is an API). */
|
|
10150
10154
|
for (let j = 0; j < refTimeDim.size(); j += 1) {
|
|
10151
10155
|
const referenceTimeValue = refTimeDim.getValueForIndex(j);
|
|
@@ -10436,11 +10440,11 @@ const SyncGroupViewer = ({
|
|
|
10436
10440
|
const {
|
|
10437
10441
|
t
|
|
10438
10442
|
} = useCoreTranslation();
|
|
10439
|
-
/*
|
|
10440
|
-
_____ Handle Toggle _____
|
|
10441
|
-
- Handles checking, unchecking and toggling between in groups
|
|
10442
|
-
1. If checkbox is checked -> uncheck it
|
|
10443
|
-
2. If checkbox is not checked -> check if its checked elsewhere and uncheck it if found
|
|
10443
|
+
/*
|
|
10444
|
+
_____ Handle Toggle _____
|
|
10445
|
+
- Handles checking, unchecking and toggling between in groups
|
|
10446
|
+
1. If checkbox is checked -> uncheck it
|
|
10447
|
+
2. If checkbox is not checked -> check if its checked elsewhere and uncheck it if found
|
|
10444
10448
|
*/
|
|
10445
10449
|
const handleToggle = (groupCategory, groupId, sourceId) => {
|
|
10446
10450
|
const {
|
|
@@ -10475,10 +10479,10 @@ const SyncGroupViewer = ({
|
|
|
10475
10479
|
});
|
|
10476
10480
|
}
|
|
10477
10481
|
};
|
|
10478
|
-
/*
|
|
10479
|
-
_____ Add new group _____
|
|
10480
|
-
- Called when user clicks on + in the sidepane
|
|
10481
|
-
- Sends an action to add a new group in Redux
|
|
10482
|
+
/*
|
|
10483
|
+
_____ Add new group _____
|
|
10484
|
+
- Called when user clicks on + in the sidepane
|
|
10485
|
+
- Sends an action to add a new group in Redux
|
|
10482
10486
|
*/
|
|
10483
10487
|
const addNewGroup = (groupCategory, groupId) => {
|
|
10484
10488
|
syncGroupsSelector.groupTypes.forEach(({
|
|
@@ -10496,10 +10500,10 @@ const SyncGroupViewer = ({
|
|
|
10496
10500
|
}
|
|
10497
10501
|
});
|
|
10498
10502
|
};
|
|
10499
|
-
/*
|
|
10500
|
-
_____ Remove Group _____
|
|
10501
|
-
- Called when user clicks on the trashcan icon in sidepane
|
|
10502
|
-
- Send an action to remove the group in Redux
|
|
10503
|
+
/*
|
|
10504
|
+
_____ Remove Group _____
|
|
10505
|
+
- Called when user clicks on the trashcan icon in sidepane
|
|
10506
|
+
- Send an action to remove the group in Redux
|
|
10503
10507
|
*/
|
|
10504
10508
|
const removeGroup = (groupCategory, groupId) => {
|
|
10505
10509
|
syncGroupsSelector.groupTypes.forEach(({
|
|
@@ -10588,22 +10592,22 @@ const SyncGroupViewerConnect = () => {
|
|
|
10588
10592
|
});
|
|
10589
10593
|
};
|
|
10590
10594
|
|
|
10591
|
-
/* *
|
|
10592
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10593
|
-
* you may not use this file except in compliance with the License.
|
|
10594
|
-
* You may obtain a copy of the License at
|
|
10595
|
-
*
|
|
10596
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10597
|
-
*
|
|
10598
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
10599
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
10600
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10601
|
-
* See the License for the specific language governing permissions and
|
|
10602
|
-
* limitations under the License.
|
|
10603
|
-
*
|
|
10604
|
-
* Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
10605
|
-
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
10606
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
10595
|
+
/* *
|
|
10596
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10597
|
+
* you may not use this file except in compliance with the License.
|
|
10598
|
+
* You may obtain a copy of the License at
|
|
10599
|
+
*
|
|
10600
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10601
|
+
*
|
|
10602
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10603
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
10604
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10605
|
+
* See the License for the specific language governing permissions and
|
|
10606
|
+
* limitations under the License.
|
|
10607
|
+
*
|
|
10608
|
+
* Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
10609
|
+
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
10610
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
10607
10611
|
* */
|
|
10608
10612
|
const baseLayer = {
|
|
10609
10613
|
name: 'arcGisSat',
|
|
@@ -10705,10 +10709,10 @@ var testLayers = /*#__PURE__*/Object.freeze({
|
|
|
10705
10709
|
simplePolygonGeoJSON: simplePolygonGeoJSON
|
|
10706
10710
|
});
|
|
10707
10711
|
|
|
10708
|
-
/**
|
|
10709
|
-
* A Provider component which provides the GeoWeb theme
|
|
10710
|
-
* @param children
|
|
10711
|
-
* @returns
|
|
10712
|
+
/**
|
|
10713
|
+
* A Provider component which provides the GeoWeb theme
|
|
10714
|
+
* @param children
|
|
10715
|
+
* @returns
|
|
10712
10716
|
*/
|
|
10713
10717
|
const CoreThemeProvider = ({
|
|
10714
10718
|
children,
|
|
@@ -10726,11 +10730,11 @@ const ThemeWrapperWithModules = withEggs([...coreModuleConfig, layerSelectConfig
|
|
|
10726
10730
|
}, {
|
|
10727
10731
|
children: children
|
|
10728
10732
|
})));
|
|
10729
|
-
/**
|
|
10730
|
-
* A Provider component which provides the GeoWeb theme and store for the core.
|
|
10731
|
-
* Note: Should only be used with core components, as the provided store is only for core.
|
|
10732
|
-
* @param children
|
|
10733
|
-
* @returns
|
|
10733
|
+
/**
|
|
10734
|
+
* A Provider component which provides the GeoWeb theme and store for the core.
|
|
10735
|
+
* Note: Should only be used with core components, as the provided store is only for core.
|
|
10736
|
+
* @param children
|
|
10737
|
+
* @returns
|
|
10734
10738
|
*/
|
|
10735
10739
|
const CoreThemeStoreProvider = ({
|
|
10736
10740
|
children,
|
|
@@ -10766,22 +10770,22 @@ const DemoWrapperConnect = props => jsx(CoreI18nProvider, {
|
|
|
10766
10770
|
children: jsx(CoreThemeStoreProvider, Object.assign({}, props))
|
|
10767
10771
|
});
|
|
10768
10772
|
|
|
10769
|
-
/* *
|
|
10770
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10771
|
-
* you may not use this file except in compliance with the License.
|
|
10772
|
-
* You may obtain a copy of the License at
|
|
10773
|
-
*
|
|
10774
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10775
|
-
*
|
|
10776
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
10777
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
10778
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10779
|
-
* See the License for the specific language governing permissions and
|
|
10780
|
-
* limitations under the License.
|
|
10781
|
-
*
|
|
10782
|
-
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
10783
|
-
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
10784
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
10773
|
+
/* *
|
|
10774
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
10775
|
+
* you may not use this file except in compliance with the License.
|
|
10776
|
+
* You may obtain a copy of the License at
|
|
10777
|
+
*
|
|
10778
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10779
|
+
*
|
|
10780
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10781
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
10782
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10783
|
+
* See the License for the specific language governing permissions and
|
|
10784
|
+
* limitations under the License.
|
|
10785
|
+
*
|
|
10786
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
10787
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
10788
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
10785
10789
|
* */
|
|
10786
10790
|
const NavigateSetter = () => {
|
|
10787
10791
|
// stores navigate hook method to historyDict, so it can be used outside components
|