@opengeoweb/core 1.2.3 → 2.1.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/README.md +11 -12
- package/core.esm.js +12582 -10424
- package/core.umd.js +10347 -7869
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +47 -0
- package/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -0
- package/lib/components/{LayerManager/LayerContainerRow/LayerRow/Menubutton/DeleteLayer/DeleteButton.spec.d.ts → ComponentsLookUp/componentsLookup.spec.d.ts} +0 -0
- package/lib/components/ComponentsLookUp/index.d.ts +1 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +35 -0
- package/lib/components/{LayerManager/LayerContainerRow/LayerRow/Menubutton/DeleteLayer/DeleteLayerConnect.spec.d.ts → ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts} +0 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +6 -0
- package/lib/components/ConfigurableConnectedMap/index.d.ts +1 -0
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +17 -0
- package/lib/components/{LayerManager/LayerContainerRow/LayerRow/Menubutton/DuplicateLayer/DuplicateButton.spec.d.ts → ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.spec.d.ts} +0 -0
- package/lib/components/ConfigurableMapWithSlider/index.d.ts +1 -0
- package/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +1 -0
- package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +12 -0
- package/lib/components/LayerManager/LayerContainerRow/{LayerRow/Menubutton/DuplicateLayer/DuplicateLayerConnect.spec.d.ts → LayerManagerButton.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +9 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/{Menubutton/LayerManagerMenuButton.spec.d.ts → ActivateLayer/ActivateLayer.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.d.ts +16 -0
- package/lib/components/LayerManager/LayerContainerRow/{SortableRowContainer/SortableRowContainer.spec.d.ts → LayerRow/ActivateLayer/ActivateLayerConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/{Menubutton/DeleteLayer/DeleteButton.d.ts → DeleteLayer/DeleteLayer.d.ts} +2 -1
- package/lib/components/{MultiDimensionSelect/MultiDimensionSelectConnect.spec.d.ts → LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayer.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/{Menubutton/DeleteLayer → DeleteLayer}/DeleteLayerConnect.d.ts +1 -0
- package/lib/components/{MultiDimensionSelect/MultiDimensionSelectDialog.spec.d.ts → LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +1 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +7 -3
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayer.d.ts +1 -2
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +4 -2
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +11 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/{LayerManagerMenuButton.d.ts → MenuButton.d.ts} +1 -7
- package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.spec.d.ts → LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.spec.d.ts} +0 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +7 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuItemButton.d.ts +8 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +1 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +1 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +1 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/styles.d.ts +4 -0
- package/lib/components/LayerManager/LayerManager.d.ts +7 -1
- package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -7
- package/lib/components/LayerManager/LayerManagerConnect.d.ts +2 -1
- package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +5 -0
- package/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +2 -0
- package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.d.ts +14 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +9 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectButtonConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +16 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +11 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.stories.d.ts +13 -0
- package/lib/components/LayerManager/{tooltipSelectContainerStyles.d.ts → tooltipContainerStyles.d.ts} +0 -0
- package/lib/components/Legend/LegendConnect.d.ts +1 -2
- package/lib/components/Legend/LegendDialog.d.ts +2 -0
- package/lib/components/MapView/MapView.Error.stories.d.ts +4 -0
- package/lib/components/Mapcontrols/MapControlButton.d.ts +11 -0
- package/lib/components/Mapcontrols/MapControlButton.spec.d.ts +1 -0
- package/lib/components/Mapcontrols/MapControls.d.ts +7 -0
- package/lib/components/Mapcontrols/MapControls.spec.d.ts +1 -0
- package/lib/components/Mapcontrols/ZoomControls.d.ts +0 -8
- package/lib/components/Mapcontrols/ZoomControlsConnect.d.ts +6 -0
- package/lib/components/Mapcontrols/ZoomControlsConnect.spec.d.ts +1 -0
- package/lib/components/Mapcontrols/index.d.ts +4 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButton.d.ts +8 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButton.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +7 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +12 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.stories.d.ts +25 -0
- package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.d.ts → MultiMapDimensionSelect/DimensionSelectSlider.d.ts} +5 -4
- package/lib/components/MultiMapDimensionSelect/DimensionSelectSlider.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectSliderConnect.d.ts +11 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectSliderConnect.spec.d.ts +1 -0
- package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/EnsembleDimensionExample.stories.d.ts +0 -0
- package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/MultiDimensionSelect.stories.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConfig.d.ts +11 -0
- package/lib/components/{MultiDimensionSelect → MultiMapDimensionSelect}/MultiDimensionSelectConnect.stories.d.ts +0 -1
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +6 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelect.stories.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelectConnect.d.ts +9 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapMultiDimensionSelectConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapSingleDimensionSelectConnect.d.ts +8 -0
- package/lib/components/MultiMapDimensionSelect/MultiMapSingleDimensionSelectConnect.spec.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/index.d.ts +2 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.d.ts +9 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmRefTimePreset.spec.d.ts +1 -0
- package/lib/components/MultiMapView/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +11 -0
- package/lib/components/MultiMapView/HarmoniePresets/index.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapView.stories.d.ts +0 -2
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +5 -2
- package/lib/components/MultiMapView/storyUtils/mapPresets.d.ts +23 -11
- package/lib/components/Providers/Providers.d.ts +2 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +9 -9
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +3 -2
- package/lib/components/ReactMapView/types.d.ts +3 -4
- package/lib/components/SyncGroups/SyncGroupList.d.ts +11 -0
- package/lib/components/SyncGroups/SyncGroupListItem.d.ts +10 -0
- package/lib/components/SyncGroups/SyncGroupViewer.d.ts +11 -7
- package/lib/components/SyncGroups/SyncGroupViewer.spec.d.ts +1 -0
- package/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +7 -1
- package/lib/components/SyncGroups/selector.d.ts +10 -0
- package/lib/components/SyncGroups/types.d.ts +17 -0
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +1 -0
- package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButton.d.ts +0 -2
- package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtonComponents.stories.d.ts +5 -0
- package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtons.stories.d.ts +0 -4
- package/lib/components/TimeSlider/TimeSliderButtons/TimeStepButton/TimeStepButton.d.ts +2 -2
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +18 -13
- package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +9 -0
- package/lib/components/ToggleIconButton/ToggleIconButton.spec.d.ts +1 -0
- package/lib/components/ToggleIconButton/ToggleIconButton.stories.d.ts +13 -0
- package/lib/components/ToggleIconButton/index.d.ts +1 -0
- package/lib/components/TooltipSelect/TooltipSelect.d.ts +7 -0
- package/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +1 -0
- package/lib/components/WMSLoader/services.d.ts +0 -1
- package/lib/index.d.ts +18 -5
- package/lib/store/generic/sagas.d.ts +7 -0
- package/lib/store/generic/synchronizationActions/actions.d.ts +5 -4
- package/lib/store/generic/synchronizationActions/constants.d.ts +1 -0
- package/lib/store/generic/synchronizationActions/types.d.ts +25 -11
- package/lib/store/generic/synchronizationGroups/actions.d.ts +4 -0
- package/lib/store/generic/synchronizationGroups/constants.d.ts +2 -0
- package/lib/store/generic/synchronizationGroups/index.d.ts +2 -1
- package/lib/store/generic/synchronizationGroups/selectors.d.ts +2 -1
- package/lib/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -0
- package/lib/store/generic/synchronizationGroups/types.d.ts +7 -3
- package/lib/store/generic/synchronizationGroups/utils.d.ts +81 -0
- package/lib/store/generic/synchronizationGroups/utils.spec.d.ts +1 -0
- package/lib/store/generic/types.d.ts +7 -4
- package/lib/store/mapStore/layers/actions.d.ts +0 -3
- package/lib/store/mapStore/layers/selectors.d.ts +21 -1
- package/lib/store/mapStore/layers/types.d.ts +7 -0
- package/lib/store/mapStore/layers/utils.d.ts +4 -2
- package/lib/store/mapStore/layers/utils.spec.d.ts +1 -0
- package/lib/store/mapStore/map/actions.d.ts +2 -2
- package/lib/store/mapStore/map/reducer.d.ts +7 -0
- package/lib/store/mapStore/map/selectors.d.ts +86 -4
- package/lib/store/mapStore/map/types.d.ts +2 -0
- package/lib/store/mapStore/service/actions.d.ts +1 -10
- package/lib/store/mapStore/service/constants.d.ts +0 -1
- package/lib/store/mapStore/service/reducer.d.ts +4 -2
- package/lib/store/mapStore/service/selectors.d.ts +9 -39
- package/lib/store/mapStore/service/types.d.ts +4 -15
- package/lib/store/mapStore/types.d.ts +1 -1
- package/lib/store/mapStore/utils/helpers.d.ts +2 -0
- package/lib/store/ui/actions.d.ts +12 -5
- package/lib/store/ui/constants.d.ts +1 -0
- package/lib/store/ui/reducer.d.ts +12 -4
- package/lib/store/ui/sagas.d.ts +5 -0
- package/lib/store/ui/sagas.test.d.ts +1 -0
- package/lib/store/ui/selectors.d.ts +21 -4
- package/lib/store/ui/types.d.ts +17 -4
- package/lib/storybookUtils/defaultStorySettings.d.ts +1 -0
- package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/lib/utils/defaultConfigurations.d.ts +21 -0
- package/lib/utils/defaultTestSettings.d.ts +0 -44
- package/lib/utils/dimensionUtils.d.ts +13 -0
- package/lib/utils/dimensionUtils.spec.d.ts +1 -0
- package/lib/utils/getCapabilities.d.ts +8 -0
- package/lib/utils/{exampleLayers.d.ts → publicLayers.d.ts} +148 -70
- package/lib/utils/publicServices.d.ts +100 -0
- package/lib/utils/testLayers.d.ts +17 -0
- package/lib/utils/testUtils.d.ts +1 -0
- package/package.json +12 -12
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/DuplicateLayer/DuplicateButton.d.ts +0 -7
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/DuplicateLayer/DuplicateLayerConnect.d.ts +0 -7
- package/lib/components/LayerManager/LayerContainerRow/SortableRowContainer/SortableRowContainer.d.ts +0 -6
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectConfig.d.ts +0 -3
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectConnect.d.ts +0 -10
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectDialog.d.ts +0 -12
- package/lib/components/MultiDimensionSelect/index.d.ts +0 -2
- package/lib/components/MultiDimensionSelect/types.d.ts +0 -18
- package/lib/components/MultiMapView/MultiMapViewHarmonie.stories.d.ts +0 -2
- package/lib/components/MultiMapView/storyUtils/HarmonieTempAndPrecipPreset.d.ts +0 -6
- package/lib/components/SyncGroups/ConfigurableConnectedMap.d.ts +0 -15
- package/lib/components/SyncGroups/SyncGroupComponent.d.ts +0 -13
- package/lib/components/SyncGroups/SyncGroupDialog.d.ts +0 -7
- package/lib/utils/DimensionUtils.d.ts +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare type ZoomType = 'zoomIn' | 'zoomOut' | 'zoomReset';
|
|
3
|
-
export declare const renderZoomIcon: (zoomType: ZoomType) => React.ReactChild;
|
|
4
|
-
interface ZoomButtonProps {
|
|
5
|
-
zoomType: ZoomType;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
className: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const ZoomButton: React.FC<ZoomButtonProps>;
|
|
10
2
|
interface ZoomControlsProps {
|
|
11
3
|
onZoomIn: () => void;
|
|
12
4
|
onZoomOut: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface DimensionSelectButtonProps {
|
|
3
|
+
dimension: string;
|
|
4
|
+
onClickDimensionButton: () => void;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const DimensionSelectButton: React.FC<DimensionSelectButtonProps>;
|
|
8
|
+
export default DimensionSelectButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface DimensionSelectDialogConnectProps {
|
|
3
|
+
mapId: string;
|
|
4
|
+
dimensionName: string;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
order?: number;
|
|
7
|
+
onMouseDown?: () => void;
|
|
8
|
+
onToggleDialog?: (isDialogOpen: boolean) => void;
|
|
9
|
+
index?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const DimensionSelectDialogConnect: React.FC<DimensionSelectDialogConnectProps>;
|
|
12
|
+
export default DimensionSelectDialogConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const DimensionSelectElevationLight: {
|
|
3
|
+
(): React.ReactElement;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const DimensionSelectElevationDark: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const DimensionSelectEnsembleMemberLight: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const DimensionSelectEnsembleMemberDark: {
|
|
15
|
+
(): React.ReactElement;
|
|
16
|
+
storyName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const DimensionSelectInvalidSyncLight: {
|
|
19
|
+
(): React.ReactElement;
|
|
20
|
+
storyName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const DimensionSelectInvalidSyncDark: {
|
|
23
|
+
(): React.ReactElement;
|
|
24
|
+
storyName: string;
|
|
25
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Mark } from '
|
|
3
|
-
interface
|
|
2
|
+
import { Mark } from '../../utils/dimensionUtils';
|
|
3
|
+
interface DimensionSelectSliderProps {
|
|
4
4
|
marks: Mark[];
|
|
5
|
+
layerName: string;
|
|
5
6
|
reverse?: boolean;
|
|
6
7
|
isDisabled?: boolean;
|
|
7
8
|
managedValue?: number;
|
|
@@ -9,5 +10,5 @@ interface VerticalDimensionSelectProps {
|
|
|
9
10
|
alertColor?: string;
|
|
10
11
|
onChangeDimensionValue: (dimensionValue: string) => void;
|
|
11
12
|
}
|
|
12
|
-
declare const
|
|
13
|
-
export default
|
|
13
|
+
declare const DimensionSelectSlider: React.FC<DimensionSelectSliderProps>;
|
|
14
|
+
export default DimensionSelectSlider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DimensionConfig } from './MultiDimensionSelectConfig';
|
|
3
|
+
export interface DimensionSelectSliderConnectProps {
|
|
4
|
+
layerId: string;
|
|
5
|
+
dimConfig: DimensionConfig;
|
|
6
|
+
dimensionName: string;
|
|
7
|
+
handleDimensionValueChanged: (layerId: string, dimensionName: string, dimensionValue: string) => void;
|
|
8
|
+
handleSyncChanged: (layerId: string, dimensionName: string, dimensionValue: string, synced: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const DimensionSelectSliderConnect: React.FC<DimensionSelectSliderConnectProps>;
|
|
11
|
+
export default DimensionSelectSliderConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export * from './MultiMapMultiDimensionSelect.stories';
|
|
1
2
|
export * from './EnsembleDimensionExample.stories';
|
|
2
3
|
export * from './MultiDimensionSelectConnect.stories';
|
|
4
|
+
export * from './DimensionSelectDialogConnect.stories';
|
|
3
5
|
declare const _default: {
|
|
4
6
|
title: string;
|
|
5
7
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SvgIconProps } from '@material-ui/core';
|
|
3
|
+
export interface DimensionConfig {
|
|
4
|
+
name: string;
|
|
5
|
+
label: string;
|
|
6
|
+
defaultUnit: string;
|
|
7
|
+
reversed: boolean;
|
|
8
|
+
iconType: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const dimensionConfig: DimensionConfig[];
|
|
11
|
+
export declare const getDimensionIcon: (iconType: string) => React.FC<SvgIconProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface MultiDimensionSelectMapButtonsConnectProps {
|
|
3
|
+
mapId: string;
|
|
4
|
+
}
|
|
5
|
+
declare const MultiDimensionSelectMapButtonsConnect: React.FC<MultiDimensionSelectMapButtonsConnectProps>;
|
|
6
|
+
export default MultiDimensionSelectMapButtonsConnect;
|
package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const MultiMapMultiDimensionSelectConnect: React.FC;
|
|
3
|
+
/**
|
|
4
|
+
* Component used to control values for all dimension other than time and ref.time
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ``` <MultiMapMultiDimensionSelectConnect /> ```
|
|
8
|
+
*/
|
|
9
|
+
export default MultiMapMultiDimensionSelectConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const getDimensionType: (dimensionName: string) => string;
|
|
3
|
+
interface MultiMapSingleDimensionSelectConnectProps {
|
|
4
|
+
dimensionName: string;
|
|
5
|
+
index?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const MultiMapSingleDimensionSelectConnect: React.FC<MultiMapSingleDimensionSelectConnectProps>;
|
|
8
|
+
export default MultiMapSingleDimensionSelectConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Layer } from '../../../store/mapStore/types';
|
|
3
|
+
import { MultiMapPreset } from '../MultiMapViewConnect';
|
|
4
|
+
export declare const makeMapPreset: (timeIncrement: number, uniqueId: string, referenceTime: string, layers: Layer[], layerSyncGroupId: string, displayLayerManagerButtonInMap: boolean, displayDimensionSelectButtonInMap: boolean) => MultiMapPreset;
|
|
5
|
+
export interface InitialHarmRefTimeProps {
|
|
6
|
+
layers?: Layer[];
|
|
7
|
+
layerSyncGroupId: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const HarmRefTimePreset: React.FC<InitialHarmRefTimeProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Layer } from '../../../store/mapStore/types';
|
|
3
|
+
export interface InitialHarmTempAndPrecipProps {
|
|
4
|
+
layers: {
|
|
5
|
+
toprow: Layer;
|
|
6
|
+
bottomrow: Layer;
|
|
7
|
+
toprowGroup?: string;
|
|
8
|
+
bottomrowGroup?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare const HarmonieTempAndPrecipPreset: React.FC<InitialHarmTempAndPrecipProps>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { MultiMapViewStory2x2 } from './MultiMapView2x2.stories';
|
|
2
2
|
import { MultiMapViewStory4x3 } from './MultiMapView4x3.stories';
|
|
3
|
-
import { MultiMapViewHarmonie } from './MultiMapViewHarmonie.stories';
|
|
4
3
|
export { MultiMapViewStory2x2 };
|
|
5
4
|
export { MultiMapViewStory4x3 };
|
|
6
|
-
export { MultiMapViewHarmonie };
|
|
7
5
|
declare const _default: {
|
|
8
6
|
title: string;
|
|
9
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
-
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"box">;
|
|
3
|
+
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"box" | "zoomControls">;
|
|
4
4
|
export interface MultiMapPreset {
|
|
5
5
|
title?: string;
|
|
6
6
|
layers: Layer[];
|
|
@@ -9,14 +9,17 @@ export interface MultiMapPreset {
|
|
|
9
9
|
bbox?: Bbox;
|
|
10
10
|
srs?: string;
|
|
11
11
|
displayTimeInMap?: boolean;
|
|
12
|
+
layerSyncGroupId?: string;
|
|
13
|
+
displayLayerManagerButtonInMap?: boolean;
|
|
14
|
+
displayDimensionSelectButtonInMap?: boolean;
|
|
12
15
|
}
|
|
13
16
|
export interface MultiMapViewProps {
|
|
14
|
-
id: string;
|
|
15
17
|
rows: number;
|
|
16
18
|
cols: number;
|
|
17
19
|
maps: MultiMapPreset[];
|
|
18
20
|
syncArea?: boolean;
|
|
19
21
|
syncTime?: boolean;
|
|
20
22
|
showTimeSlider?: boolean;
|
|
23
|
+
showZoomControls?: boolean;
|
|
21
24
|
}
|
|
22
25
|
export declare const MultiMapViewConnect: React.FC<MultiMapViewProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LayerType } from '../../../store/mapStore/layers/types';
|
|
2
1
|
export declare const mapPresetRadar: {
|
|
3
2
|
layers: {
|
|
4
3
|
service: string;
|
|
@@ -7,49 +6,56 @@ export declare const mapPresetRadar: {
|
|
|
7
6
|
enabled: boolean;
|
|
8
7
|
style: string;
|
|
9
8
|
id: string;
|
|
10
|
-
layerType: LayerType;
|
|
9
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
11
10
|
}[];
|
|
12
11
|
};
|
|
13
12
|
export declare const mapPresetObsTA: {
|
|
14
13
|
layers: {
|
|
15
14
|
service: string;
|
|
16
15
|
name: string;
|
|
17
|
-
|
|
16
|
+
id: string;
|
|
17
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
18
18
|
}[];
|
|
19
19
|
};
|
|
20
20
|
export declare const mapPresetObsWind: {
|
|
21
21
|
layers: {
|
|
22
22
|
service: string;
|
|
23
23
|
name: string;
|
|
24
|
-
|
|
24
|
+
id: string;
|
|
25
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
25
26
|
}[];
|
|
26
27
|
};
|
|
27
28
|
export declare const mapPresetObsPP: {
|
|
28
29
|
layers: {
|
|
29
30
|
service: string;
|
|
30
31
|
name: string;
|
|
31
|
-
|
|
32
|
+
id: string;
|
|
33
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
32
34
|
}[];
|
|
33
35
|
};
|
|
34
36
|
export declare const mapPresetObsRH: {
|
|
35
37
|
layers: {
|
|
36
38
|
service: string;
|
|
37
39
|
name: string;
|
|
38
|
-
|
|
40
|
+
id: string;
|
|
41
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
39
42
|
}[];
|
|
40
43
|
};
|
|
41
44
|
export declare const mapPresetObsQG: {
|
|
42
45
|
layers: {
|
|
43
46
|
service: string;
|
|
44
47
|
name: string;
|
|
45
|
-
|
|
48
|
+
id: string;
|
|
49
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
46
50
|
}[];
|
|
47
51
|
};
|
|
48
52
|
export declare const mapPresetEumetsat: {
|
|
49
53
|
layers: {
|
|
50
54
|
service: string;
|
|
51
55
|
name: string;
|
|
52
|
-
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
id: string;
|
|
58
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
53
59
|
}[];
|
|
54
60
|
proj: {
|
|
55
61
|
bbox: {
|
|
@@ -65,20 +71,26 @@ export declare const mapPresetHarmoniePrecipitationFlux: {
|
|
|
65
71
|
layers: {
|
|
66
72
|
service: string;
|
|
67
73
|
name: string;
|
|
68
|
-
|
|
74
|
+
id: string;
|
|
75
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
76
|
+
enabled: boolean;
|
|
69
77
|
}[];
|
|
70
78
|
};
|
|
71
79
|
export declare const mapPresetHarmonieTemperature2m: {
|
|
72
80
|
layers: {
|
|
73
81
|
service: string;
|
|
74
82
|
name: string;
|
|
75
|
-
|
|
83
|
+
id: string;
|
|
84
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
85
|
+
enabled: boolean;
|
|
76
86
|
}[];
|
|
77
87
|
};
|
|
78
88
|
export declare const mapPresetHarmoniePressureMSL: {
|
|
79
89
|
layers: {
|
|
80
90
|
service: string;
|
|
81
91
|
name: string;
|
|
82
|
-
|
|
92
|
+
id: string;
|
|
93
|
+
layerType: import("../../../store/mapStore/types").LayerType;
|
|
94
|
+
enabled: boolean;
|
|
83
95
|
}[];
|
|
84
96
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Theme } from '@material-ui/core';
|
|
3
|
+
import { Store } from 'redux';
|
|
3
4
|
interface CoreThemeProviderProps {
|
|
4
5
|
children?: React.ReactNode;
|
|
5
6
|
theme?: Theme;
|
|
@@ -11,7 +12,7 @@ interface CoreThemeProviderProps {
|
|
|
11
12
|
*/
|
|
12
13
|
export declare const CoreThemeProvider: React.FC<CoreThemeProviderProps>;
|
|
13
14
|
interface CoreThemeStoreProviderProps extends CoreThemeProviderProps {
|
|
14
|
-
store:
|
|
15
|
+
store: Store;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
17
18
|
* A Provider component which provides the GeoWeb theme and store for the core.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { WMLayer } from '@opengeoweb/webmap';
|
|
2
|
+
import { WMJSMap, WMLayer, WMBBOX } from '@opengeoweb/webmap';
|
|
3
3
|
import { FeatureLayer } from './AdagucMapDrawContainer';
|
|
4
4
|
import { ReactMapViewProps } from './types';
|
|
5
5
|
import { Layer } from '../../store/mapStore/layers/types';
|
|
@@ -21,14 +21,15 @@ export declare const isAGeoJSONLayer: (layer: Layer) => boolean;
|
|
|
21
21
|
interface ReactMapViewState {
|
|
22
22
|
adagucInitialised: boolean;
|
|
23
23
|
}
|
|
24
|
+
interface AdagucObjectProp {
|
|
25
|
+
webMapJSCreated: boolean;
|
|
26
|
+
initialized: boolean;
|
|
27
|
+
baseLayers: WMLayer[];
|
|
28
|
+
webMapJS: WMJSMap;
|
|
29
|
+
oldbbox: WMBBOX;
|
|
30
|
+
}
|
|
24
31
|
declare class ReactMapView extends React.Component<ReactMapViewProps, ReactMapViewState> {
|
|
25
|
-
adaguc:
|
|
26
|
-
webMapJSCreated: boolean;
|
|
27
|
-
initialized: boolean;
|
|
28
|
-
baseLayers: any[];
|
|
29
|
-
webMapJS: any;
|
|
30
|
-
oldbbox: any;
|
|
31
|
-
};
|
|
32
|
+
adaguc: AdagucObjectProp;
|
|
32
33
|
currentMapProps: {
|
|
33
34
|
children?: React.ReactNode;
|
|
34
35
|
};
|
|
@@ -59,7 +60,6 @@ declare class ReactMapView extends React.Component<ReactMapViewProps, ReactMapVi
|
|
|
59
60
|
onLayerSetDimensions: () => void;
|
|
60
61
|
onServiceSetLayers: () => void;
|
|
61
62
|
onLayerSetStyles: () => void;
|
|
62
|
-
onSetLayerDimensionsForService: () => void;
|
|
63
63
|
onMapZoomEnd: () => void;
|
|
64
64
|
};
|
|
65
65
|
constructor(props: ReactMapViewProps);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { WMLayer, WMJSMap } from '@opengeoweb/webmap';
|
|
2
|
-
import { SetLayerStylePayload, SetLayersForServicePayload, SetLayerStylesForServicePayload,
|
|
2
|
+
import { SetLayerStylePayload, SetLayersForServicePayload, SetLayerStylesForServicePayload, UpdateAllMapDimensionsPayload, SetLayerDimensionsPayload } from '../../store/mapStore/types';
|
|
3
3
|
import { MapViewProps } from '../MapView/types';
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const ORIGIN_REACTMAPVIEWPARSELAYER = "ReactMapViewParseLayer";
|
|
5
|
+
export declare const setServiceMetadata: (wmLayer: WMLayer, mapId: string, xml2jsonrequestURL: string, webMapJSInstance: WMJSMap, mapProperties: MapViewProps, onMapUpdateAllDimensions?: (payload: UpdateAllMapDimensionsPayload) => void, onLayerChangeStyle?: (payload: SetLayerStylePayload) => void, onServiceSetLayers?: (payload: SetLayersForServicePayload) => void, onLayerSetStyles?: (payload: SetLayerStylesForServicePayload) => void, onLayerSetDimensions?: (payload: SetLayerDimensionsPayload) => void) => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WMJSMap } from '@opengeoweb/webmap';
|
|
3
|
-
import { SetMapDimensionPayload,
|
|
3
|
+
import { SetMapDimensionPayload, SetLayerStylePayload, SetLayerDimensionPayload, SetLayersForServicePayload, SetLayerStylesForServicePayload, UpdateAllMapDimensionsPayload, Dimension, SetBboxPayload, SetLayerDimensionsPayload, Bbox } from '../../store/mapStore/types';
|
|
4
4
|
export interface ReactMapViewProps {
|
|
5
5
|
listeners?: {
|
|
6
6
|
name?: string;
|
|
7
7
|
data: string;
|
|
8
|
-
keep:
|
|
9
|
-
callbackfunction: (
|
|
8
|
+
keep: boolean;
|
|
9
|
+
callbackfunction: (webMap: WMJSMap, value: string) => void;
|
|
10
10
|
}[];
|
|
11
11
|
srs?: string;
|
|
12
12
|
bbox?: Bbox;
|
|
@@ -35,7 +35,6 @@ export interface ReactMapViewProps {
|
|
|
35
35
|
onLayerChangeDimension?: (payload: SetLayerDimensionPayload) => void;
|
|
36
36
|
onServiceSetLayers?: (payload: SetLayersForServicePayload) => void;
|
|
37
37
|
onLayerSetStyles?: (payload: SetLayerStylesForServicePayload) => void;
|
|
38
|
-
onSetLayerDimensionsForService?: (payload: SetLayerDimensionsForServicePayload) => void;
|
|
39
38
|
onMapZoomEnd?: (payload: SetBboxPayload) => void;
|
|
40
39
|
onRegisterAdaguc?: (WMJSMapInstance: WMJSMap) => void;
|
|
41
40
|
onLayerSetDimensions?: (payload: SetLayerDimensionsPayload) => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { GroupsAndSources } from './types';
|
|
3
|
+
interface SyncGroupProps {
|
|
4
|
+
viewStateData: GroupsAndSources;
|
|
5
|
+
title: string;
|
|
6
|
+
handleToggle: (arg1: string, arg2?: string) => void;
|
|
7
|
+
addNewGroup: (number: string) => void;
|
|
8
|
+
removeGroup: (number: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const SyncGroupList: React.FC<SyncGroupProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface SyncGroupListItemProps {
|
|
3
|
+
viewStateData: any;
|
|
4
|
+
groupId: any;
|
|
5
|
+
selected: any;
|
|
6
|
+
sourcesById: any;
|
|
7
|
+
handleToggle: (number: any) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const SyncGroupListItem: React.FC<SyncGroupListItemProps>;
|
|
10
|
+
export {};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { SyncGroupViewState } from './types';
|
|
3
|
+
import * as SyncgroupTypes from '../../store/generic/synchronizationGroups/types';
|
|
4
|
+
interface SyncGroupViewerProps {
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
syncGroupViewState: SyncGroupViewState;
|
|
8
|
+
syncGroupAddTarget: (payload: SyncgroupTypes.SyncGroupAddTargetPayload) => void;
|
|
9
|
+
syncGroupRemoveTarget: (payload: SyncgroupTypes.SyncGroupRemoveTargetPayload) => void;
|
|
10
|
+
syncGroupAddGroup: (payload: SyncgroupTypes.SyncGroupAddGroupPayload) => void;
|
|
11
|
+
syncGroupRemoveGroup: (payload: SyncgroupTypes.SyncGroupRemoveGroupPayload) => void;
|
|
9
12
|
}
|
|
10
13
|
export declare const SyncGroupViewer: React.FC<SyncGroupViewerProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AppStore } from '../../types/types';
|
|
2
|
+
import { SynchronizationGroupState, SyncType } from '../../store/generic/synchronizationGroups/types';
|
|
3
|
+
import { SyncGroupViewState } from './types';
|
|
4
|
+
export declare const groupTypes: {
|
|
5
|
+
title: string;
|
|
6
|
+
syncType: SyncType;
|
|
7
|
+
groupType: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const createSyncGroupViewState: (syncState: SynchronizationGroupState) => SyncGroupViewState;
|
|
10
|
+
export declare const createSyncGroupViewStateSelector: import("reselect").OutputSelector<AppStore, SyncGroupViewState, (res: SynchronizationGroupState) => SyncGroupViewState>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Group {
|
|
2
|
+
id: string;
|
|
3
|
+
selected: number[];
|
|
4
|
+
}
|
|
5
|
+
export interface SourceById {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GroupsAndSources {
|
|
10
|
+
groups: Group[];
|
|
11
|
+
sourcesById: SourceById[];
|
|
12
|
+
}
|
|
13
|
+
export interface SyncGroupViewState {
|
|
14
|
+
timeslider: GroupsAndSources;
|
|
15
|
+
zoompane: GroupsAndSources;
|
|
16
|
+
level: GroupsAndSources;
|
|
17
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Moment } from 'moment';
|
|
3
3
|
import * as mapActions from '../../../../store/mapStore/actions';
|
|
4
|
+
export declare const animationIntervalDefault = 5;
|
|
4
5
|
export interface PlayButtonConnectProps {
|
|
5
6
|
mapId: string;
|
|
6
7
|
isAnimating?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Dimension } from '../../../../store/mapStore/types';
|
|
3
3
|
interface TimeStepProps {
|
|
4
|
-
layers?: Layer[];
|
|
5
4
|
timeStep: number;
|
|
6
5
|
disabled?: boolean;
|
|
7
6
|
isTimestepAuto?: boolean;
|
|
7
|
+
timeDimension?: Dimension;
|
|
8
8
|
onChangeTimeStep: (scale: number) => void;
|
|
9
9
|
onToggleTimestepAuto?: () => void;
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@ import { Scale } from '../../../store/mapStore/types';
|
|
|
4
4
|
interface TimeSliderRailProps {
|
|
5
5
|
centerTime: number;
|
|
6
6
|
secondsPerPx: number;
|
|
7
|
-
selectedTime
|
|
7
|
+
selectedTime?: moment.Moment;
|
|
8
8
|
timeStep?: number;
|
|
9
9
|
animationStartTime?: moment.Moment;
|
|
10
10
|
animationEndTime?: moment.Moment;
|