@opengeoweb/core 5.2.1 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +19771 -27583
- package/package.json +9 -10
- 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/ServicePopup.stories.d.ts +1 -3
- 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/DrawingTool/index.d.ts +2 -0
- package/src/lib/components/MapDraw/DrawingToolForm/DrawingToolForm.d.ts +15 -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 +4 -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/ModelRunInterval/ModelRunInterval.stories.d.ts +4 -0
- package/src/lib/components/MultiMapView/MultiMapView10x10.stories.d.ts +4 -0
- package/src/lib/components/MultiMapView/MultiMapView2x2.stories.d.ts +4 -0
- package/src/lib/components/MultiMapView/MultiMapView4x3.stories.d.ts +4 -0
- 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/TimeSliderButtons.stories.d.ts +4 -0
- 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 +2 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderDraggableNeedle.d.ts +2 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteBackground.d.ts +2 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteBackgroundSvg.d.ts +1 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteClickableTimeline.d.ts +12 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteConnect.d.ts +7 -0
- package/src/lib/components/TimeSliderLite/timeSliderLiteUtils.d.ts +6 -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 +3 -1
- 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/getCapabilities/getCapabilities.d.ts +0 -18
- package/src/lib/store/getCapabilities/getCapabilities.spec.d.ts +0 -1
- package/src/lib/store/getCapabilities/mocks/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -2
- package/src/lib/store/getCapabilities/mocks/mockGetCapabilities.d.ts +0 -88
- 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 -10
- 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/{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/src/lib/{store/generic/utils.spec.d.ts → components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteClickableTimeline.spec.d.ts} +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SetBboxPayload, SetTimePayload, SyncLayerPayloads } from '../types';
|
|
2
|
-
import type { SetBboxSyncActionPayload, SetBboxSyncPayload, SetLayerActionsSyncPayload, SetTimeSyncActionPayload, SetTimeSyncPayload } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* These actions are fired by the generic/saga.ts, based on generic actions and the synchronizationGroup state.
|
|
5
|
-
*
|
|
6
|
-
* These actions should not be used by components directly. Components should only use the generic actions.
|
|
7
|
-
*/
|
|
8
|
-
export declare const setTimeSync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SetTimePayload, targets: SetTimeSyncPayload[], groups: string[]], SetTimeSyncActionPayload, "GENERIC_SYNC_SETTIME", never, never>;
|
|
9
|
-
export declare const setBboxSync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SetBboxPayload, targets: SetBboxSyncPayload[], groups: string[]], SetBboxSyncActionPayload, "GENERIC_SYNC_SETBBOX", never, never>;
|
|
10
|
-
export declare const setLayerActionSync: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SyncLayerPayloads, targets: SyncLayerPayloads[], type: string], SetLayerActionsSyncPayload, "GENERIC_SYNC_SETLAYERACTIONS", never, never>;
|
|
11
|
-
export declare type GenericSyncActions = ReturnType<typeof setTimeSync> | ReturnType<typeof setBboxSync> | ReturnType<typeof setLayerActionSync>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { setBbox, setTime } from '../actions';
|
|
2
|
-
import { SyncLayerPayloads } from '../types';
|
|
3
|
-
export interface SetTimeSyncPayload {
|
|
4
|
-
targetId: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}
|
|
7
|
-
export interface SetBboxSyncPayload {
|
|
8
|
-
targetId: string;
|
|
9
|
-
bbox: {
|
|
10
|
-
left: number;
|
|
11
|
-
bottom: number;
|
|
12
|
-
right: number;
|
|
13
|
-
top: number;
|
|
14
|
-
};
|
|
15
|
-
srs: string;
|
|
16
|
-
}
|
|
17
|
-
export interface SetLayerActionsSyncPayload {
|
|
18
|
-
source: {
|
|
19
|
-
type: string;
|
|
20
|
-
payload: SyncLayerPayloads;
|
|
21
|
-
};
|
|
22
|
-
targets: SyncLayerPayloads[];
|
|
23
|
-
}
|
|
24
|
-
export interface SetTimeSyncActionPayload {
|
|
25
|
-
source: ReturnType<typeof setTime>;
|
|
26
|
-
groups: string[];
|
|
27
|
-
targets: SetTimeSyncPayload[];
|
|
28
|
-
}
|
|
29
|
-
export interface SetBboxSyncActionPayload {
|
|
30
|
-
source: ReturnType<typeof setBbox>;
|
|
31
|
-
groups: string[];
|
|
32
|
-
targets: SetBboxSyncPayload[];
|
|
33
|
-
}
|
|
34
|
-
export declare type GenericSyncActionPayload = SetBboxSyncPayload | SetTimeSyncPayload | SetLayerActionsSyncPayload;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const SYNCGROUPS_TYPE_SETTIME = "SYNCGROUPS_TYPE_SETTIME";
|
|
2
|
-
export declare const SYNCGROUPS_TYPE_SETBBOX = "SYNCGROUPS_TYPE_SETBBOX";
|
|
3
|
-
export declare const SYNCGROUPS_TYPE_SETLAYERACTIONS = "SYNCGROUPS_TYPE_SETLAYERACTIONS";
|
|
4
|
-
export declare const SYNCGROUPS_SET_VIEW_STATE = "SYNCGROUPS_SET_VIEW_STATE";
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { SynchronizationGroupState, SyncGroupAddTargetPayload, SyncGroupAddGroupPayload, SyncGroupRemoveTargetPayload, SyncGroupRemoveGroupPayload, SyncGroupSetViewStatePayload, SyncGroupLinkTargetPayload, SyncGroupRemoveSourcePayload, SyncGroupsAddSourcePayload } from './types';
|
|
3
|
-
export declare const initialState: SynchronizationGroupState;
|
|
4
|
-
export declare const slice: import("@reduxjs/toolkit").Slice<SynchronizationGroupState, {
|
|
5
|
-
syncGroupAddSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
|
|
6
|
-
syncGroupRemoveSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveSourcePayload>) => void;
|
|
7
|
-
syncGroupAddTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddTargetPayload>) => void;
|
|
8
|
-
syncGroupRemoveTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveTargetPayload>) => void;
|
|
9
|
-
syncGroupLinkTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupLinkTargetPayload>) => void;
|
|
10
|
-
syncGroupAddGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddGroupPayload>) => void;
|
|
11
|
-
syncGroupRemoveGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveGroupPayload>) => void;
|
|
12
|
-
syncGroupClear: () => SynchronizationGroupState;
|
|
13
|
-
syncGroupSetViewState: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupSetViewStatePayload>) => void;
|
|
14
|
-
}, "synchronizationGroupsReducer">;
|
|
15
|
-
export declare const syncGroupAddGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupAddGroupPayload, "synchronizationGroupsReducer/syncGroupAddGroup">, syncGroupAddSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupsAddSourcePayload, "synchronizationGroupsReducer/syncGroupAddSource">, syncGroupAddTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupAddTargetPayload, "synchronizationGroupsReducer/syncGroupAddTarget">, syncGroupClear: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"synchronizationGroupsReducer/syncGroupClear">, syncGroupLinkTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupLinkTargetPayload, "synchronizationGroupsReducer/syncGroupLinkTarget">, syncGroupRemoveGroup: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupRemoveGroupPayload, "synchronizationGroupsReducer/syncGroupRemoveGroup">, syncGroupRemoveSource: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupRemoveSourcePayload, "synchronizationGroupsReducer/syncGroupRemoveSource">, syncGroupRemoveTarget: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupRemoveTargetPayload, "synchronizationGroupsReducer/syncGroupRemoveTarget">, syncGroupSetViewState: import("@reduxjs/toolkit").ActionCreatorWithPayload<SyncGroupSetViewStatePayload, "synchronizationGroupsReducer/syncGroupSetViewState">;
|
|
16
|
-
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
17
|
-
syncGroupAddSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupsAddSourcePayload>) => void;
|
|
18
|
-
syncGroupRemoveSource: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveSourcePayload>) => void;
|
|
19
|
-
syncGroupAddTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddTargetPayload>) => void;
|
|
20
|
-
syncGroupRemoveTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveTargetPayload>) => void;
|
|
21
|
-
syncGroupLinkTarget: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupLinkTargetPayload>) => void;
|
|
22
|
-
syncGroupAddGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupAddGroupPayload>) => void;
|
|
23
|
-
syncGroupRemoveGroup: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupRemoveGroupPayload>) => void;
|
|
24
|
-
syncGroupClear: () => SynchronizationGroupState;
|
|
25
|
-
syncGroupSetViewState: (draft: Draft<SynchronizationGroupState>, action: PayloadAction<SyncGroupSetViewStatePayload>) => void;
|
|
26
|
-
}, "synchronizationGroupsReducer">, reducer: import("redux").Reducer<SynchronizationGroupState, import("redux").AnyAction>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SagaIterator } from 'redux-saga';
|
|
2
|
-
import * as synchronizationGroupActions from './reducer';
|
|
3
|
-
export declare function updateSourceValueWhenLinkingComponentToGroupSaga(groupId: string, targetToUpdate: string): SagaIterator;
|
|
4
|
-
export declare function addGroupTargetSaga({ payload, }: ReturnType<typeof synchronizationGroupActions.syncGroupAddTarget>): SagaIterator;
|
|
5
|
-
export declare function linkGroupTargetSaga({ payload, }: ReturnType<typeof synchronizationGroupActions.syncGroupLinkTarget>): SagaIterator;
|
|
6
|
-
export declare function updateViewStateSaga(): SagaIterator;
|
|
7
|
-
declare function rootSaga(): SagaIterator;
|
|
8
|
-
export default rootSaga;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SyncGroupViewState, SynchronizationGroups, SynchronizationSources, SyncType } from './types';
|
|
2
|
-
export declare const groupTypes: {
|
|
3
|
-
title: string;
|
|
4
|
-
syncType: SyncType;
|
|
5
|
-
groupType: string;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const createSyncGroupViewState: (groups: SynchronizationGroups, sources: SynchronizationSources) => SyncGroupViewState;
|
|
8
|
-
export declare const createSyncGroupViewStateSelector: ((state: {
|
|
9
|
-
syncronizationGroupStore?: import("./types").SynchronizationGroupState | undefined;
|
|
10
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
11
|
-
webmap?: import("../../mapStore/types").WebMapState | undefined;
|
|
12
|
-
services?: import("../../mapStore/types").ServiceState | undefined;
|
|
13
|
-
layers?: import("../../mapStore/types").LayerState | undefined;
|
|
14
|
-
layerSelect?: import("../../..").LayerSelectStoreType | undefined;
|
|
15
|
-
}) => SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroups, args_1: SynchronizationSources) => SyncGroupViewState, {
|
|
16
|
-
clearCache: () => void;
|
|
17
|
-
}> & {
|
|
18
|
-
clearCache: () => void;
|
|
19
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { AppStore } from '../../types';
|
|
2
|
-
import type { GenericSyncActionPayload } from '../synchronizationActions/types';
|
|
3
|
-
import type { GenericActionPayload } from '../types';
|
|
4
|
-
import type { SyncGroupTarget, SynchronizationGroup, SynchronizationGroupState, SynchronizationSource, SyncType } from './types';
|
|
5
|
-
export declare const syncGroupStore: (store: AppStore) => SynchronizationGroupState;
|
|
6
|
-
/**
|
|
7
|
-
* Gets synchronization group state
|
|
8
|
-
*
|
|
9
|
-
* Example: synchronizationGroupState = getSynchronizationGroupState(store)
|
|
10
|
-
* @param {object} store store: object - Store object
|
|
11
|
-
* @returns {object} returnType: SynchronizationGroupState
|
|
12
|
-
*/
|
|
13
|
-
export declare const getSynchronizationGroupState: ((state: {
|
|
14
|
-
syncronizationGroupStore?: SynchronizationGroupState | undefined;
|
|
15
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
16
|
-
webmap?: import("../../mapStore/types").WebMapState | undefined;
|
|
17
|
-
services?: import("../../mapStore/types").ServiceState | undefined;
|
|
18
|
-
layers?: import("../../mapStore/types").LayerState | undefined;
|
|
19
|
-
layerSelect?: import("../../..").LayerSelectStoreType | undefined;
|
|
20
|
-
}) => SynchronizationGroupState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => SynchronizationGroupState, {
|
|
21
|
-
clearCache: () => void;
|
|
22
|
-
}> & {
|
|
23
|
-
clearCache: () => void;
|
|
24
|
-
};
|
|
25
|
-
export declare const getSynchronizationGroup: (state: AppStore, id: string) => SynchronizationGroup;
|
|
26
|
-
export declare const getSynchronizationGroupSource: (state: AppStore, id: string) => SynchronizationSource;
|
|
27
|
-
export declare const getTargets: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => GenericSyncActionPayload[];
|
|
28
|
-
export declare const getTargetGroups: (state: AppStore, payload: GenericActionPayload, actionType: SyncType) => string[];
|
|
29
|
-
export declare const getAllTargetGroupsForSource: ((state: {
|
|
30
|
-
syncronizationGroupStore?: SynchronizationGroupState | undefined;
|
|
31
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
32
|
-
webmap?: import("../../mapStore/types").WebMapState | undefined;
|
|
33
|
-
services?: import("../../mapStore/types").ServiceState | undefined;
|
|
34
|
-
layers?: import("../../mapStore/types").LayerState | undefined;
|
|
35
|
-
layerSelect?: import("../../..").LayerSelectStoreType | undefined;
|
|
36
|
-
}, params_0: string) => string[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState, args_1: string) => string[], {
|
|
37
|
-
clearCache: () => void;
|
|
38
|
-
}> & {
|
|
39
|
-
clearCache: () => void;
|
|
40
|
-
};
|
|
41
|
-
export declare const syncGroupGetViewState: ((state: {
|
|
42
|
-
syncronizationGroupStore?: SynchronizationGroupState | undefined;
|
|
43
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
44
|
-
webmap?: import("../../mapStore/types").WebMapState | undefined;
|
|
45
|
-
services?: import("../../mapStore/types").ServiceState | undefined;
|
|
46
|
-
layers?: import("../../mapStore/types").LayerState | undefined;
|
|
47
|
-
layerSelect?: import("../../..").LayerSelectStoreType | undefined;
|
|
48
|
-
}) => import("./types").SyncGroupViewState) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => import("./types").SyncGroupViewState, {
|
|
49
|
-
clearCache: () => void;
|
|
50
|
-
}> & {
|
|
51
|
-
clearCache: () => void;
|
|
52
|
-
};
|
|
53
|
-
export declare const getSyncedMapIdsForTimeslider: ((state: {
|
|
54
|
-
syncronizationGroupStore?: SynchronizationGroupState | undefined;
|
|
55
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
56
|
-
webmap?: import("../../mapStore/types").WebMapState | undefined;
|
|
57
|
-
services?: import("../../mapStore/types").ServiceState | undefined;
|
|
58
|
-
layers?: import("../../mapStore/types").LayerState | undefined;
|
|
59
|
-
layerSelect?: import("../../..").LayerSelectStoreType | undefined;
|
|
60
|
-
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => string[], {
|
|
61
|
-
clearCache: () => void;
|
|
62
|
-
}> & {
|
|
63
|
-
clearCache: () => void;
|
|
64
|
-
};
|
|
65
|
-
export declare const getSyncGroupTargets: ((state: {
|
|
66
|
-
syncronizationGroupStore?: SynchronizationGroupState | undefined;
|
|
67
|
-
ui?: import("../../ui/types").UIStoreType | undefined;
|
|
68
|
-
webmap?: import("../../mapStore/types").WebMapState | undefined;
|
|
69
|
-
services?: import("../../mapStore/types").ServiceState | undefined;
|
|
70
|
-
layers?: import("../../mapStore/types").LayerState | undefined;
|
|
71
|
-
layerSelect?: import("../../..").LayerSelectStoreType | undefined;
|
|
72
|
-
}) => SyncGroupTarget[]) & import("reselect").OutputSelectorFields<(args_0: SynchronizationGroupState) => SyncGroupTarget[], {
|
|
73
|
-
clearCache: () => void;
|
|
74
|
-
}> & {
|
|
75
|
-
clearCache: () => void;
|
|
76
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import type { GenericActionPayload } from '../types';
|
|
2
|
-
import { SYNCGROUPS_TYPE_SETBBOX, SYNCGROUPS_TYPE_SETTIME, SYNCGROUPS_TYPE_SETLAYERACTIONS } from './constants';
|
|
3
|
-
export interface Group {
|
|
4
|
-
id: string;
|
|
5
|
-
selected: string[];
|
|
6
|
-
}
|
|
7
|
-
export interface SourceById {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
}
|
|
11
|
-
export interface GroupsAndSources {
|
|
12
|
-
groups: Group[];
|
|
13
|
-
sourcesById: SourceById[];
|
|
14
|
-
}
|
|
15
|
-
export interface SyncGroupViewState {
|
|
16
|
-
timeslider: GroupsAndSources;
|
|
17
|
-
zoompane: GroupsAndSources;
|
|
18
|
-
level: GroupsAndSources;
|
|
19
|
-
}
|
|
20
|
-
export interface SynchronizationGroup {
|
|
21
|
-
type: SyncType;
|
|
22
|
-
title?: string;
|
|
23
|
-
payloadByType: SynchronizationSourcePayLoadByType;
|
|
24
|
-
targets: {
|
|
25
|
-
byId: Record<string, {
|
|
26
|
-
linked: boolean;
|
|
27
|
-
}>;
|
|
28
|
-
allIds: string[];
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
declare type Origin = 'user' | 'system';
|
|
32
|
-
export declare type SynchronizationSourcePayLoadByType = Record<string, GenericActionPayload>;
|
|
33
|
-
export interface SynchronizationSource {
|
|
34
|
-
types: SyncType[];
|
|
35
|
-
payloadByType: SynchronizationSourcePayLoadByType;
|
|
36
|
-
}
|
|
37
|
-
export interface SynchronizationSources {
|
|
38
|
-
byId: Record<string, SynchronizationSource>;
|
|
39
|
-
allIds: string[];
|
|
40
|
-
}
|
|
41
|
-
export interface SynchronizationGroups {
|
|
42
|
-
byId: Record<string, SynchronizationGroup>;
|
|
43
|
-
allIds: string[];
|
|
44
|
-
}
|
|
45
|
-
export interface SynchronizationGroupState {
|
|
46
|
-
sources: SynchronizationSources;
|
|
47
|
-
groups: SynchronizationGroups;
|
|
48
|
-
viewState: SyncGroupViewState;
|
|
49
|
-
}
|
|
50
|
-
export interface SynchronizationGroupModuleState {
|
|
51
|
-
syncronizationGroupStore?: SynchronizationGroupState;
|
|
52
|
-
}
|
|
53
|
-
export declare type SyncType = typeof SYNCGROUPS_TYPE_SETBBOX | typeof SYNCGROUPS_TYPE_SETTIME | typeof SYNCGROUPS_TYPE_SETLAYERACTIONS;
|
|
54
|
-
export interface SyncGroupsAddSourcePayload {
|
|
55
|
-
id: string;
|
|
56
|
-
type: SyncType[];
|
|
57
|
-
defaultPayload?: GenericActionPayload;
|
|
58
|
-
}
|
|
59
|
-
export interface SyncGroupRemoveSourcePayload {
|
|
60
|
-
id: string;
|
|
61
|
-
}
|
|
62
|
-
export interface SyncGroupTarget {
|
|
63
|
-
groupId: string;
|
|
64
|
-
targetId: string;
|
|
65
|
-
linked?: boolean;
|
|
66
|
-
}
|
|
67
|
-
export interface SyncGroupAddTargetPayload extends SyncGroupTarget {
|
|
68
|
-
origin?: Origin;
|
|
69
|
-
}
|
|
70
|
-
export interface SyncGroupRemoveTargetPayload {
|
|
71
|
-
groupId: string;
|
|
72
|
-
targetId: string;
|
|
73
|
-
origin?: Origin;
|
|
74
|
-
}
|
|
75
|
-
export interface SyncGroupLinkTargetPayload extends SyncGroupTarget {
|
|
76
|
-
linked: boolean;
|
|
77
|
-
}
|
|
78
|
-
export interface SyncGroupAddGroupPayload {
|
|
79
|
-
groupId: string;
|
|
80
|
-
title: string;
|
|
81
|
-
type: SyncType;
|
|
82
|
-
origin?: Origin;
|
|
83
|
-
}
|
|
84
|
-
export interface SyncGroupRemoveGroupPayload {
|
|
85
|
-
groupId: string;
|
|
86
|
-
}
|
|
87
|
-
export interface SyncGroupSetViewStatePayload {
|
|
88
|
-
viewState: SyncGroupViewState;
|
|
89
|
-
}
|
|
90
|
-
export declare const SyncGroupTypeList: string[];
|
|
91
|
-
export declare enum SyncGroupActionOrigin {
|
|
92
|
-
delete = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_DELETEACTION",
|
|
93
|
-
layerActions = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_LAYERACTIONS",
|
|
94
|
-
move = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_MOVEACTION",
|
|
95
|
-
add = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_ADDACTION",
|
|
96
|
-
activateLayerId = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_ACTIVELAYERIDACTION"
|
|
97
|
-
}
|
|
98
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { AppStore } from '../../types';
|
|
2
|
-
import { AddLayerPayload, DeleteLayerPayload, MoveLayerPayload, SetBaseLayersPayload } from '../../mapStore/types';
|
|
3
|
-
import { SyncLayerPayloads, LayerActionPayloadsWithLayerIds } from '../types';
|
|
4
|
-
import { SyncType } from './types';
|
|
5
|
-
interface FoundTargets {
|
|
6
|
-
payload: SyncLayerPayloads;
|
|
7
|
-
targetId: string;
|
|
8
|
-
layerId: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Tries to find the layerId's in the other map based on the payload of the action. It works for all layer actions.
|
|
12
|
-
* @param state
|
|
13
|
-
* @param mapId
|
|
14
|
-
* @param targetMapId
|
|
15
|
-
* @param payload
|
|
16
|
-
* @returns
|
|
17
|
-
*/
|
|
18
|
-
export declare const getTargetLayerIdFromPayload: (state: AppStore, mapId: string, targetMapId: string, payload: SyncLayerPayloads) => string;
|
|
19
|
-
/**
|
|
20
|
-
* Local helper function used by getLayerDeleteActionsTargets, getLayerActionsTargets, getAddLayerActionsTargets, getTargetLayerIdFromPayload to find the targets
|
|
21
|
-
* @param state
|
|
22
|
-
* @param payload
|
|
23
|
-
* @param actionType
|
|
24
|
-
* @param sourceMapId
|
|
25
|
-
* @returns The found targets
|
|
26
|
-
*/
|
|
27
|
-
export declare const findTargets: (state: AppStore, payload: SyncLayerPayloads, actionType: SyncType, sourceMapId: string) => FoundTargets[];
|
|
28
|
-
/**
|
|
29
|
-
* These targets are found for layer actions that work with a layerId like: SetLayerName, SetLayerEnabled, SetLayerOpacity, SetLayerDimension and SetLayerStyle
|
|
30
|
-
* @param state
|
|
31
|
-
* @param payload
|
|
32
|
-
* @param actionType
|
|
33
|
-
* @returns
|
|
34
|
-
*/
|
|
35
|
-
export declare const getLayerActionsTargets: (state: AppStore, payload: LayerActionPayloadsWithLayerIds, actionType: SyncType) => LayerActionPayloadsWithLayerIds[];
|
|
36
|
-
/**
|
|
37
|
-
* These targets are found for the layer/map action AddLayer. AddLayer does not have a layerId (because it's new)
|
|
38
|
-
* @param state
|
|
39
|
-
* @param payload
|
|
40
|
-
* @param actionType
|
|
41
|
-
* @returns
|
|
42
|
-
*/
|
|
43
|
-
export declare const getAddLayerActionsTargets: (state: AppStore, payload: AddLayerPayload, actionType: SyncType) => AddLayerPayload[];
|
|
44
|
-
/**
|
|
45
|
-
* These targets are found for the layer/map action DeleteLayer. The layer is already gone, so there is no layerId anymore. Using layerIndex instead.
|
|
46
|
-
* @param state
|
|
47
|
-
* @param payload
|
|
48
|
-
* @param actionType
|
|
49
|
-
* @returns
|
|
50
|
-
*/
|
|
51
|
-
export declare const getLayerDeleteActionsTargets: (state: AppStore, payload: DeleteLayerPayload, actionType: SyncType) => DeleteLayerPayload[];
|
|
52
|
-
/**
|
|
53
|
-
* These targets are found for the layer/map action MoveLayer. Here layers are referenced by newIndex and oldIndex.
|
|
54
|
-
* @param state
|
|
55
|
-
* @param payload
|
|
56
|
-
* @param actionType
|
|
57
|
-
* @returns
|
|
58
|
-
*/
|
|
59
|
-
export declare const getLayerMoveActionsTargets: (state: AppStore, payload: MoveLayerPayload, actionType: SyncType) => MoveLayerPayload[];
|
|
60
|
-
/**
|
|
61
|
-
* These targets are found for the layer/map action SetActiveLayerId. It needs both a target mapId and layerId
|
|
62
|
-
* @param state
|
|
63
|
-
* @param payload
|
|
64
|
-
* @param actionType
|
|
65
|
-
* @returns
|
|
66
|
-
*/
|
|
67
|
-
export declare const getSetActiveLayerIdActionsTargets: (state: AppStore, payload: LayerActionPayloadsWithLayerIds, actionType: SyncType) => LayerActionPayloadsWithLayerIds[];
|
|
68
|
-
/**
|
|
69
|
-
* These targets are found for baselayer actions that work with a mapId like: setBaseLayers
|
|
70
|
-
* @param state
|
|
71
|
-
* @param payload
|
|
72
|
-
* @param actionType
|
|
73
|
-
* @returns
|
|
74
|
-
*/
|
|
75
|
-
export declare const getMapBaseLayerActionsTargets: (state: AppStore, payload: SetBaseLayersPayload, actionType: SyncType) => SetBaseLayersPayload[];
|
|
76
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MapActionOrigin } from '../mapStore/map/enums';
|
|
2
|
-
import { AddLayerPayload, DeleteLayerPayload, MoveLayerPayload, SetAutoLayerIdPayload, SetBaseLayersPayload, SetLayerDimensionPayload, SetLayerEnabledPayload, SetLayerNamePayload, SetLayerOpacityPayload, SetLayerStylePayload } from '../mapStore/types';
|
|
3
|
-
export interface SetTimePayload {
|
|
4
|
-
sourceId: string;
|
|
5
|
-
origin: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}
|
|
8
|
-
export interface SetBboxPayload {
|
|
9
|
-
sourceId: string;
|
|
10
|
-
bbox: {
|
|
11
|
-
left: number;
|
|
12
|
-
bottom: number;
|
|
13
|
-
right: number;
|
|
14
|
-
top: number;
|
|
15
|
-
};
|
|
16
|
-
srs: string;
|
|
17
|
-
origin?: MapActionOrigin | string;
|
|
18
|
-
mapId?: string;
|
|
19
|
-
}
|
|
20
|
-
export declare type GenericActionPayload = SetBboxPayload | SetTimePayload;
|
|
21
|
-
export declare type LayerActionPayloadsWithLayerIds = SetLayerOpacityPayload | SetLayerNamePayload | SetLayerEnabledPayload | SetLayerDimensionPayload | SetLayerStylePayload | SetAutoLayerIdPayload;
|
|
22
|
-
export declare type SyncLayerPayloads = LayerActionPayloadsWithLayerIds | AddLayerPayload | MoveLayerPayload | DeleteLayerPayload | SetBaseLayersPayload;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The removeInPlace() method modifies an array in place, by removing elements that pass the test implemented by the provided function.
|
|
3
|
-
*
|
|
4
|
-
* NOTE: This should only be used on draft properties as provided by the immer produce library, as modifying elements in place is bad practice on non draft variables.
|
|
5
|
-
*
|
|
6
|
-
* @param inDraftArray The draft array to filter, will be modified in place.
|
|
7
|
-
* @param condition Function to check each element in the array
|
|
8
|
-
*/
|
|
9
|
-
export declare const removeInPlace: <T>(inDraftArray: T[], condition: (c: T) => boolean) => void;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { LayerTree } from '@opengeoweb/webmap';
|
|
2
|
-
/**
|
|
3
|
-
* Converts webmapjs node structure to LayerTree
|
|
4
|
-
* @param nodesToRecur THe WebMapJS node structure from service.getNodes();
|
|
5
|
-
*/
|
|
6
|
-
export declare const recurseNodes: (nodesToRecur: LayerTree) => LayerTree;
|
|
7
|
-
/**
|
|
8
|
-
* Returns a promise with a hierarchical tree of layers from the WMS GetCapabilities document.
|
|
9
|
-
* @param serviceUrl The URL of the WMS service
|
|
10
|
-
* @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
|
|
11
|
-
*/
|
|
12
|
-
export declare const getLayersFromService: (serviceUrl: string, forceReload?: boolean) => Promise<LayerTree>;
|
|
13
|
-
/**
|
|
14
|
-
* Returns a promise with an array of flattened layerobjects from the WMS GetCapabilities document.
|
|
15
|
-
* @param serviceUrl The URL of the WMS service
|
|
16
|
-
* @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
|
|
17
|
-
*/
|
|
18
|
-
export declare const getLayersFlattenedFromService: (serviceUrl: string, forceReload?: boolean) => Promise<[]>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE WMT_MS_Capabilities SYSTEM \"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd\" [\n <!ELEMENT VendorSpecificCapabilities EMPTY>\n]>\n<!-- end of DOCTYPE declaration -->\n<WMT_MS_Capabilities version=\"1.1.1\">\n <Service>\n <Name>OGC:WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <ServerInfo>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</ServerInfo>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n <ContactInformation />\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>application/vnd.ogc.wms_xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/vnd.ogc.gml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n <DescribeLayer>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </DescribeLayer>\n <GetLegendGraphic>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetLegendGraphic>\n <GetStyles>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetStyles>\n </Request>\n <Exception>\n <Format>application/vnd.ogc.se_xml</Format>\n <Format>application/vnd.ogc.se_inimage</Format>\n <Format>application/vnd.ogc.se_blank</Format>\n </Exception>\n <VendorSpecificCapabilities />\n <UserDefinedSymbolization SupportSLD=\"1\" UserLayer=\"0\" UserStyle=\"1\" RemoteWFS=\"0\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <SRS>EPSG:3411</SRS>\n <SRS>EPSG:3412</SRS>\n <SRS>EPSG:3575</SRS>\n <SRS>EPSG:3857</SRS>\n <SRS>EPSG:4258</SRS>\n <SRS>EPSG:4326</SRS>\n <SRS>CRS:84</SRS>\n <SRS>EPSG:25831</SRS>\n <SRS>EPSG:25832</SRS>\n <SRS>EPSG:28992</SRS>\n <SRS>EPSG:7399</SRS>\n <SRS>EPSG:50001</SRS>\n <SRS>EPSG:54030</SRS>\n <SRS>EPSG:32661</SRS>\n <SRS>EPSG:40000</SRS>\n <SRS>EPSG:900913</SRS>\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <Abstract>Radar NL</Abstract>\n <KeywordList>\n <Keyword>Radar</Keyword>\n </KeywordList>\n <SRS>EPSG:3411</SRS>\n <BoundingBox SRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <SRS>EPSG:3412</SRS>\n <BoundingBox SRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <SRS>EPSG:3575</SRS>\n <BoundingBox SRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <SRS>EPSG:3857</SRS>\n <BoundingBox SRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>EPSG:4258</SRS>\n <BoundingBox SRS=\"EPSG:4258\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:4326</SRS>\n <BoundingBox SRS=\"EPSG:4326\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>CRS:84</SRS>\n <BoundingBox SRS=\"CRS:84\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:25831</SRS>\n <BoundingBox SRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <SRS>EPSG:25832</SRS>\n <BoundingBox SRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <SRS>EPSG:28992</SRS>\n <BoundingBox SRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <SRS>EPSG:7399</SRS>\n <BoundingBox SRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <SRS>EPSG:50001</SRS>\n <BoundingBox SRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <SRS>EPSG:54030</SRS>\n <BoundingBox SRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <SRS>EPSG:32661</SRS>\n <BoundingBox SRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <SRS>EPSG:40000</SRS>\n <BoundingBox SRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <SRS>EPSG:900913</SRS>\n <BoundingBox SRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <BoundingBox SRS=\"PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0\" minx=\"0.000000\" miny=\"-3649.999338\" maxx=\"700.002420\" maxy=\"-4415.002986\" />\n <LatLonBoundingBox minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <Dimension name=\"time\" units=\"ISO8601\" />\n <Extent name=\"time\" default=\"2021-05-17T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\">2021-03-31T09:25:00Z/2021-05-18T07:45:00Z/PT5M</Extent>\n <Style>\n <Name>radar/nearest</Name>\n <Title>radar/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=radar/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-rainbow/nearest</Name>\n <Title>precip-rainbow/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-gray/nearest</Name>\n <Title>precip-gray/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-gray/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue/nearest</Name>\n <Title>precip-blue/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue-transparent/nearest</Name>\n <Title>precip-blue-transparent/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue-transparent/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-with-range/nearest</Name>\n <Title>precip-with-range/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n <ScaleHint min=\"0\" max=\"10000\" />\n </Layer>\n </Layer>\n </Capability>\n</WMT_MS_Capabilities>";
|
|
2
|
-
export default _default;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { LayerTree } from '@opengeoweb/webmap';
|
|
2
|
-
import { serviceTypes } from '../../mapStore';
|
|
3
|
-
export declare const MOCK_URL_WITH_CHILDREN = "https://mockUrlWithChildren.nl";
|
|
4
|
-
export declare const MOCK_URL_NO_CHILDREN = "https://mockUrlNoChildren.nl";
|
|
5
|
-
export declare const MOCK_URL_WITH_NO_TITLE = "https://mockUrlWithNoTitle.nl";
|
|
6
|
-
export declare const MOCK_URL_WITH_NO_TITLE_OR_NAME = "https://mockUrlWithNoTitleOrName.nl/wms?";
|
|
7
|
-
export declare const MOCK_URL_WITH_SUBCATEGORY = "https://mockUrlWithSubcategory.nl";
|
|
8
|
-
export declare const MOCK_URL_INVALID = "https://notawmsservice.nl";
|
|
9
|
-
export declare const MOCK_URL_SLOW = "https://slowresolve.nl";
|
|
10
|
-
export declare const MOCK_URL_SLOW_FAILS = "https://slowreject.nl";
|
|
11
|
-
export declare const MOCK_URL_DEFAULT = "https://defaultservice.nl";
|
|
12
|
-
export declare const MOCK_URL_DEFAULT2 = "https://defaultservice2.nl";
|
|
13
|
-
export declare const MOCK_URL_HTTP = "http://wmsservice.nl";
|
|
14
|
-
export declare const mockLayersNoChildren: {
|
|
15
|
-
leaf: boolean;
|
|
16
|
-
name: null;
|
|
17
|
-
title: string;
|
|
18
|
-
path: never[];
|
|
19
|
-
children: never[];
|
|
20
|
-
};
|
|
21
|
-
export declare const mockLayersWithChildren: {
|
|
22
|
-
leaf: boolean;
|
|
23
|
-
name: null;
|
|
24
|
-
title: string;
|
|
25
|
-
path: never[];
|
|
26
|
-
children: {
|
|
27
|
-
leaf: boolean;
|
|
28
|
-
name: string;
|
|
29
|
-
title: string;
|
|
30
|
-
path: never[];
|
|
31
|
-
children: never[];
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
export declare const mockLayersWithNoTitle: LayerTree;
|
|
35
|
-
export declare const mockLayersWithNoTitleOrName: LayerTree;
|
|
36
|
-
export declare const mockLayersWithSubcategory: {
|
|
37
|
-
leaf: boolean;
|
|
38
|
-
name: null;
|
|
39
|
-
title: string;
|
|
40
|
-
path: never[];
|
|
41
|
-
children: ({
|
|
42
|
-
leaf: boolean;
|
|
43
|
-
name: string;
|
|
44
|
-
title: string;
|
|
45
|
-
path: never[];
|
|
46
|
-
children: never[];
|
|
47
|
-
} | {
|
|
48
|
-
leaf: boolean;
|
|
49
|
-
name: null;
|
|
50
|
-
title: string;
|
|
51
|
-
path: never[];
|
|
52
|
-
children: ({
|
|
53
|
-
leaf: boolean;
|
|
54
|
-
name: string;
|
|
55
|
-
title: string;
|
|
56
|
-
path: string[];
|
|
57
|
-
children: never[];
|
|
58
|
-
} | {
|
|
59
|
-
leaf: boolean;
|
|
60
|
-
name: null;
|
|
61
|
-
title: string;
|
|
62
|
-
path: string[];
|
|
63
|
-
children: {
|
|
64
|
-
leaf: boolean;
|
|
65
|
-
name: string;
|
|
66
|
-
title: string;
|
|
67
|
-
path: string[];
|
|
68
|
-
children: never[];
|
|
69
|
-
}[];
|
|
70
|
-
})[];
|
|
71
|
-
})[];
|
|
72
|
-
};
|
|
73
|
-
export declare const mockLayersDefault: {
|
|
74
|
-
leaf: boolean;
|
|
75
|
-
name: null;
|
|
76
|
-
title: string;
|
|
77
|
-
path: never[];
|
|
78
|
-
children: never[];
|
|
79
|
-
};
|
|
80
|
-
export declare const mockLayersDefault2: {
|
|
81
|
-
leaf: boolean;
|
|
82
|
-
name: null;
|
|
83
|
-
title: string;
|
|
84
|
-
path: never[];
|
|
85
|
-
children: never[];
|
|
86
|
-
};
|
|
87
|
-
export declare const mockGetLayersFromService: (url: string) => Promise<LayerTree>;
|
|
88
|
-
export declare const mockGetLayersFlattenedFromService: (url: string) => Promise<serviceTypes.ServiceLayer[]>;
|
package/src/lib/store/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { uiTypes } from '../ui';
|
|
3
|
-
import { DisableActiveServicePayload, EnableActiveServicePayload, EnableOnlyOneKeywordPayload, LayerSelectRemoveServicePayload, LayerSelectStoreType, SetAllServicesEnabledPayload, SetActiveLayerInfoPayload, SetSearchFilterPayload, ToggleKeywordsPayload, Filter, ActiveServiceObject, ToggleServicePopupPayload, ServicePopupObject } from './types';
|
|
4
|
-
export declare const layerSelectFilterAdapter: import("@reduxjs/toolkit").EntityAdapter<Filter>;
|
|
5
|
-
export declare const layerSelectActiveServicesAdapter: import("@reduxjs/toolkit").EntityAdapter<ActiveServiceObject>;
|
|
6
|
-
export declare const initialServicePopupState: ServicePopupObject;
|
|
7
|
-
export declare const initialState: LayerSelectStoreType;
|
|
8
|
-
export declare const reducer: import("redux").Reducer<LayerSelectStoreType, import("redux").AnyAction>;
|
|
9
|
-
export declare const layerSelectActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
10
|
-
setSearchFilter: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<SetSearchFilterPayload>) => void;
|
|
11
|
-
setAllServicesEnabled: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<SetAllServicesEnabledPayload>) => void;
|
|
12
|
-
closeServicePopupOpen: (draft: Draft<LayerSelectStoreType>) => void;
|
|
13
|
-
toggleServicePopup: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<ToggleServicePopupPayload>) => void;
|
|
14
|
-
layerSelectRemoveService: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<LayerSelectRemoveServicePayload>) => void;
|
|
15
|
-
enableActiveService: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<EnableActiveServicePayload>) => void;
|
|
16
|
-
disableActiveService: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<DisableActiveServicePayload>) => void;
|
|
17
|
-
toggleFilter: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<ToggleKeywordsPayload>) => void;
|
|
18
|
-
enableOnlyOneFilter: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<EnableOnlyOneKeywordPayload>) => void;
|
|
19
|
-
setActiveLayerInfo: (draft: Draft<LayerSelectStoreType>, action: PayloadAction<SetActiveLayerInfoPayload>) => void;
|
|
20
|
-
}, uiTypes.DialogTypes.LayerSelect>;
|
|
21
|
-
export declare type LayerSelectActions = ReturnType<typeof layerSelectActions.setSearchFilter> | ReturnType<typeof layerSelectActions.layerSelectRemoveService> | ReturnType<typeof layerSelectActions.enableActiveService> | ReturnType<typeof layerSelectActions.disableActiveService> | ReturnType<typeof layerSelectActions.toggleFilter> | ReturnType<typeof layerSelectActions.enableOnlyOneFilter> | ReturnType<typeof layerSelectActions.setActiveLayerInfo>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SagaIterator } from 'redux-saga';
|
|
2
|
-
import { serviceActions } from '../mapStore/service/reducer';
|
|
3
|
-
import { layerSelectActions, LayerSelectActions } from './reducer';
|
|
4
|
-
import { uiActions } from '../ui';
|
|
5
|
-
export declare function layerSelectCloseInfoDialogSaga({ type, payload, }: ReturnType<typeof uiActions.setToggleOpenDialog | typeof uiActions.setActiveMapIdForDialog | typeof layerSelectActions.disableActiveService | typeof layerSelectActions.toggleFilter | typeof layerSelectActions.setSearchFilter>): SagaIterator;
|
|
6
|
-
export declare function layerSelectRemoveServiceSaga(capturedAction: LayerSelectActions): SagaIterator;
|
|
7
|
-
export declare function addServiceToLocalStorageSaga({ payload, }: ReturnType<typeof serviceActions.serviceSetLayers>): void;
|
|
8
|
-
export declare function removeServiceFromLocalStorageSaga({ payload, }: ReturnType<typeof serviceActions.mapStoreRemoveService>): void;
|
|
9
|
-
export declare function rootSaga(): SagaIterator;
|
|
10
|
-
export default rootSaga;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|