@opengeoweb/core 1.2.5 → 2.1.2
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 +15290 -24004
- package/core.umd.js +9701 -18210
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +48 -0
- package/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -0
- package/lib/components/{MultiDimensionSelect/MultiDimensionSelectConnect.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 +36 -0
- package/lib/components/{MultiDimensionSelect/MultiDimensionSelectDialog.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 +18 -0
- package/lib/components/{MultiDimensionSelect/VerticalDimensionSelect.spec.d.ts → ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.spec.d.ts} +0 -0
- package/lib/components/ConfigurableMapWithSlider/index.d.ts +1 -0
- package/lib/components/CustomSwitch/CustomSwitch.d.ts +3 -0
- package/lib/components/CustomSwitch/CustomSwitch.spec.d.ts +1 -0
- package/lib/components/CustomSwitch/CustomSwitch.stories.d.ts +3 -0
- package/lib/components/CustomSwitch/index.d.ts +1 -0
- package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +4 -5
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +5 -5
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerManager.d.ts +3 -1
- package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -6
- package/lib/components/LayerManager/LayerManagerConnect.d.ts +2 -1
- package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +5 -0
- package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.stories.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +11 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.stories.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/mockServices.d.ts +42 -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/LayerSelectConnect.stories.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.stories.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +10 -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/Legend/LegendConnect.d.ts +1 -2
- package/lib/components/MapView/MapView.Error.stories.d.ts +4 -0
- package/lib/components/MapView/{MapView.MapCursor.stories.d.ts → MapView.MapPin.stories.d.ts} +1 -1
- package/lib/components/MapView/MapView.ShowLayerInfo.stories.d.ts +5 -0
- package/lib/components/MapView/MapView.stories.d.ts +2 -1
- package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.d.ts +5 -3
- package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -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/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/MultiMapViewConnect.d.ts +2 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +14 -10
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +3 -2
- package/lib/components/ReactMapView/types.d.ts +8 -14
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +3 -3
- 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/TimeSliderRail/TimeSliderRail.d.ts +4 -4
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +10 -1
- 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/WMSLoader/services.d.ts +0 -1
- package/lib/index.d.ts +13 -10
- package/lib/store/coreModuleConfig.d.ts +1 -1
- package/lib/store/generic/sagas.d.ts +8 -2
- package/lib/store/generic/synchronizationGroups/index.d.ts +2 -1
- package/lib/store/generic/synchronizationGroups/sagas.d.ts +0 -1
- package/lib/store/generic/synchronizationGroups/utils.d.ts +79 -2
- package/lib/store/generic/types.d.ts +3 -3
- package/lib/store/layerSelect/actions.d.ts +8 -0
- package/lib/store/layerSelect/config.d.ts +4 -0
- package/lib/store/layerSelect/constants.d.ts +1 -0
- package/lib/store/layerSelect/reducer.d.ts +3 -0
- package/lib/store/layerSelect/reducer.spec.d.ts +1 -0
- package/lib/store/layerSelect/selectors.d.ts +2 -0
- package/lib/store/layerSelect/selectors.spec.d.ts +1 -0
- package/lib/store/layerSelect/types.d.ts +19 -0
- package/lib/store/mapStore/layers/actions.d.ts +8 -4
- package/lib/store/mapStore/layers/constants.d.ts +1 -0
- package/lib/store/mapStore/layers/selectors.d.ts +39 -1
- package/lib/store/mapStore/layers/types.d.ts +28 -10
- 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 +12 -5
- package/lib/store/mapStore/map/constants.d.ts +1 -0
- package/lib/store/mapStore/map/reducer.d.ts +7 -0
- package/lib/store/mapStore/map/selectors.d.ts +56 -6
- package/lib/store/mapStore/map/types.d.ts +21 -7
- package/lib/store/mapStore/service/actions.d.ts +1 -17
- package/lib/store/mapStore/service/constants.d.ts +0 -2
- package/lib/store/mapStore/service/reducer.d.ts +4 -2
- package/lib/store/mapStore/service/selectors.d.ts +13 -35
- package/lib/store/mapStore/service/types.d.ts +10 -30
- package/lib/store/mapStore/types.d.ts +1 -1
- package/lib/store/mapStore/utils/helpers.d.ts +5 -3
- package/lib/store/ui/actions.d.ts +5 -5
- 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 +5 -5
- package/lib/store/ui/types.d.ts +1 -1
- package/lib/storybookUtils/defaultStorySettings.d.ts +1 -0
- package/lib/types/types.d.ts +2 -1
- package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/lib/utils/defaultConfigurations.d.ts +21 -0
- package/lib/utils/defaultTestSettings.d.ts +45 -231
- 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/publicServices.d.ts +15 -1
- package/lib/utils/testUtils.d.ts +1 -0
- package/package.json +9 -9
- 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 -15
- package/lib/components/MultiDimensionSelect/MultiDimensionSelectDialogConnect.d.ts +0 -8
- package/lib/components/MultiDimensionSelect/index.d.ts +0 -2
- package/lib/components/MultiDimensionSelect/types.d.ts +0 -18
- package/lib/components/MultiMapView/storyUtils/HarmonieTempAndPrecipPreset.d.ts +0 -7
- package/lib/components/MultiMapView/storyUtils/types.d.ts +0 -9
- package/lib/components/SyncGroups/ConfigurableConnectedMap.d.ts +0 -16
- package/lib/components/SyncGroups/SyncGroupDialog.d.ts +0 -7
- package/lib/utils/DimensionUtils.d.ts +0 -3
- package/lib/utils/KNMIlayers.d.ts +0 -378
- package/lib/utils/KNMIservices.d.ts +0 -65
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
+
import { AnimationPayloadType } from '../ConfigurableConnectedMap';
|
|
4
|
+
import { InitialHarmRefTimeProps, InitialHarmTempAndPrecipProps } from '../MultiMapView/HarmoniePresets';
|
|
5
|
+
export interface MapPreset {
|
|
6
|
+
layers?: Layer[];
|
|
7
|
+
activeLayerId?: string;
|
|
8
|
+
baseLayer?: Layer;
|
|
9
|
+
proj?: {
|
|
10
|
+
bbox: Bbox;
|
|
11
|
+
srs: string;
|
|
12
|
+
};
|
|
13
|
+
shouldAutoUpdate?: boolean;
|
|
14
|
+
shouldAnimate?: boolean;
|
|
15
|
+
animationPayload?: AnimationPayloadType;
|
|
16
|
+
displayMapPin?: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface InitialMultiMapProps {
|
|
19
|
+
mapPreset: MapPreset[];
|
|
20
|
+
syncGroupsIds: string[];
|
|
21
|
+
shouldShowZoomControls?: boolean;
|
|
22
|
+
}
|
|
23
|
+
interface InitialMapProps {
|
|
24
|
+
mapPreset: MapPreset;
|
|
25
|
+
syncGroupsIds: string[];
|
|
26
|
+
shouldShowZoomControls?: boolean;
|
|
27
|
+
}
|
|
28
|
+
interface InitialSliderProps {
|
|
29
|
+
sliderPreset: {
|
|
30
|
+
mapId: string;
|
|
31
|
+
};
|
|
32
|
+
syncGroupsIds: string[];
|
|
33
|
+
}
|
|
34
|
+
export declare type InitialProps = InitialMultiMapProps | InitialMapProps | InitialSliderProps | InitialHarmTempAndPrecipProps | InitialHarmRefTimeProps;
|
|
35
|
+
/**
|
|
36
|
+
* The lookup table is for registering your own components with the screenmanager.
|
|
37
|
+
* @param payload
|
|
38
|
+
* @returns
|
|
39
|
+
*/
|
|
40
|
+
export declare type SupportedComponentTypes = 'ConfigurableMap' | 'ConfigurableMapWithSlider' | 'HarmRefTimePreset' | 'HarmonieTempAndPrecipPreset' | 'ConfigurableMultiMapWithSlider' | 'TimeSlider';
|
|
41
|
+
export interface ComponentsLookUpPayload {
|
|
42
|
+
componentType: SupportedComponentTypes;
|
|
43
|
+
id: string;
|
|
44
|
+
title?: string;
|
|
45
|
+
initialProps: InitialProps;
|
|
46
|
+
}
|
|
47
|
+
export declare const componentsLookUp: ({ componentType, initialProps, id, }: ComponentsLookUpPayload) => React.ReactElement;
|
|
48
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './componentsLookUp';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
+
import { SpeedFactorType } from '../TimeSlider/TimeSliderUtils';
|
|
4
|
+
export declare const defaultBbox: {
|
|
5
|
+
srs: string;
|
|
6
|
+
bbox: {
|
|
7
|
+
left: number;
|
|
8
|
+
bottom: number;
|
|
9
|
+
right: number;
|
|
10
|
+
top: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export interface AnimationPayloadType {
|
|
14
|
+
duration?: number;
|
|
15
|
+
interval?: number;
|
|
16
|
+
speed?: SpeedFactorType;
|
|
17
|
+
}
|
|
18
|
+
export interface ConfigurableConnectedMapProps {
|
|
19
|
+
title?: string;
|
|
20
|
+
id?: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
layers: Layer[];
|
|
23
|
+
activeLayerId?: string;
|
|
24
|
+
baseLayer?: Layer;
|
|
25
|
+
bbox?: Bbox;
|
|
26
|
+
srs?: string;
|
|
27
|
+
displayTimeInMap?: boolean;
|
|
28
|
+
displayLayerManagerButtonInMap?: boolean;
|
|
29
|
+
displayDimensionSelectButtonInMap?: boolean;
|
|
30
|
+
shouldAutoUpdate?: boolean;
|
|
31
|
+
shouldAnimate?: boolean;
|
|
32
|
+
animationPayload?: AnimationPayloadType;
|
|
33
|
+
shouldShowZoomControls?: boolean;
|
|
34
|
+
displayMapPin?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare const ConfigurableConnectedMap: React.FC<ConfigurableConnectedMapProps>;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ConfigurableConnectedMap';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
+
import { AnimationPayloadType } from '../ConfigurableConnectedMap';
|
|
4
|
+
export interface ConfigurableMapWithSliderConnectProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
activeLayerId?: string;
|
|
7
|
+
shouldAutoUpdate?: boolean;
|
|
8
|
+
shouldAnimate?: boolean;
|
|
9
|
+
title?: string;
|
|
10
|
+
layers: Layer[];
|
|
11
|
+
baseLayer?: Layer;
|
|
12
|
+
bbox?: Bbox;
|
|
13
|
+
srs?: string;
|
|
14
|
+
shouldShowZoomControls?: boolean;
|
|
15
|
+
animationPayload?: AnimationPayloadType;
|
|
16
|
+
displayMapPin?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const ConfigurableMapWithSliderConnect: React.FC<ConfigurableMapWithSliderConnectProps>;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ConfigurableMapWithSliderConnect';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CustomSwitch: import("react").ComponentType<Pick<import("@material-ui/core").SwitchProps, "color" | "translate" | "hidden" | "size" | "style" | "icon" | "disabled" | "title" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "form" | "innerRef" | "key" | "name" | "type" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "readOnly" | "required" | "action" | "checked" | "disableFocusRipple" | "disableRipple" | "buttonRef" | "centerRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "inputProps" | "inputRef" | "checkedIcon" | "edge"> & import("@material-ui/core").StyledComponentProps<"track" | "checked" | "switchBase">>;
|
|
3
|
+
export default CustomSwitch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CustomSwitch } from './CustomSwitch';
|
package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Dimension
|
|
2
|
+
import { Dimension } from '../../../../../store/mapStore/types';
|
|
3
3
|
interface DimensionSelectProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
onLayerChangeDimension: (mapId: string, layerId: string, dimensionName: string, dimensionValue: string) => void;
|
|
4
|
+
layerId: string;
|
|
5
|
+
layerDimensions?: Dimension[];
|
|
6
|
+
onLayerChangeDimension: (dimensionName: string, dimensionValue: string) => void;
|
|
8
7
|
isEnabled?: boolean;
|
|
9
8
|
}
|
|
10
9
|
declare const DimensionSelect: React.FC<DimensionSelectProps>;
|
package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Style } from '@opengeoweb/webmap';
|
|
3
3
|
interface RenderStylesProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
onChangeLayerStyle: (
|
|
4
|
+
layerStyles: Style[];
|
|
5
|
+
layerName: string;
|
|
6
|
+
currentLayerStyle: string;
|
|
7
|
+
onChangeLayerStyle: (style: string) => void;
|
|
8
8
|
isEnabled?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare const RenderStyles: React.FC<RenderStylesProps>;
|
|
@@ -7,13 +7,15 @@ interface LayerManagerProps {
|
|
|
7
7
|
preloadedAvailableBaseLayers?: Layer[];
|
|
8
8
|
preloadedMapServices?: Service[];
|
|
9
9
|
preloadedBaseServices?: Service[];
|
|
10
|
-
bounds?:
|
|
10
|
+
bounds?: string;
|
|
11
11
|
showTitle?: boolean;
|
|
12
12
|
onClose: () => void;
|
|
13
13
|
onMouseDown?: () => void;
|
|
14
14
|
isOpen: boolean;
|
|
15
15
|
order?: number;
|
|
16
16
|
source?: Source;
|
|
17
|
+
layerSelect?: boolean;
|
|
18
|
+
showAddLayersTooltip?: boolean;
|
|
17
19
|
}
|
|
18
20
|
declare const LayerManager: React.FC<LayerManagerProps>;
|
|
19
21
|
export default LayerManager;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
|
|
2
|
+
export declare const LayerManagerLightTheme: {
|
|
3
|
+
(): React.ReactElement;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const LayerManagerDarkTheme: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
4
9
|
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const LayerManagerDemoLightTheme: React.FC;
|
|
7
|
-
export declare const LayerManagerDemoDarkTheme: React.FC;
|
|
8
|
-
export declare const LayerManagerStoryWithMultiMaps: () => React.ReactElement;
|
|
@@ -5,8 +5,9 @@ interface LayerManagerConnectProps {
|
|
|
5
5
|
preloadedAvailableBaseLayers?: Layer[];
|
|
6
6
|
preloadedMapServices?: Service[];
|
|
7
7
|
preloadedBaseServices?: Service[];
|
|
8
|
-
bounds?:
|
|
8
|
+
bounds?: string;
|
|
9
9
|
showTitle?: boolean;
|
|
10
|
+
layerSelect?: boolean;
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
13
|
* Layer Managerconnected to the store displaying the layers forthe active map Id
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const LayerManagerConnectLightTheme: React.FC;
|
|
3
|
+
export declare const LayerManagerConnectDarkTheme: React.FC;
|
|
4
|
+
export declare const LayerManagerConnectWithMultiMaps: () => React.ReactElement;
|
|
5
|
+
export declare const LayerManagerConnectWithTiledMap: () => React.ReactElement;
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButton.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface KeywordObject {
|
|
3
|
+
index: number;
|
|
4
|
+
id: string;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface KeywordFilterResultsProps {
|
|
8
|
+
arrayOfKeywordObjects: KeywordObject[];
|
|
9
|
+
}
|
|
10
|
+
declare const KeywordFilterResults: React.FC<KeywordFilterResultsProps>;
|
|
11
|
+
export default KeywordFilterResults;
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const KeywordFilterResultsConnectLight: () => React.ReactElement;
|
|
7
|
+
export declare const KeywordFilterResultsConnectDark: () => React.ReactElement;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface FilterListItemProps {
|
|
3
|
+
index: number;
|
|
4
|
+
text: string;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
toggleCheckbox: (index: number) => void;
|
|
7
|
+
selectOnlyOne: (index: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const FilterListItem: React.FC<FilterListItemProps>;
|
|
10
|
+
export default FilterListItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const mockServices: {
|
|
2
|
+
services: {
|
|
3
|
+
byId: {
|
|
4
|
+
'https://public-wms.met.no/verportal/verportal.map?': {
|
|
5
|
+
layers: {
|
|
6
|
+
name: string;
|
|
7
|
+
text: string;
|
|
8
|
+
leaf: boolean;
|
|
9
|
+
path: string;
|
|
10
|
+
keywords: any[];
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
'https://geoservices.knmi.nl/wms?dataset=RADAR&': {
|
|
14
|
+
layers: {
|
|
15
|
+
name: string;
|
|
16
|
+
text: string;
|
|
17
|
+
leaf: boolean;
|
|
18
|
+
path: string;
|
|
19
|
+
keywords: any[];
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
'https://openwms.fmi.fi/geoserver/wms?': {
|
|
23
|
+
layers: ({
|
|
24
|
+
name: string;
|
|
25
|
+
text: string;
|
|
26
|
+
leaf: boolean;
|
|
27
|
+
path: string;
|
|
28
|
+
keywords: string[];
|
|
29
|
+
abstract: string;
|
|
30
|
+
} | {
|
|
31
|
+
name: string;
|
|
32
|
+
text: string;
|
|
33
|
+
leaf: boolean;
|
|
34
|
+
path: string;
|
|
35
|
+
keywords: string[];
|
|
36
|
+
abstract?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
allIds: string[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../../store/ui/types';
|
|
3
|
+
interface LayerSelectProps {
|
|
4
|
+
mapId: string;
|
|
5
|
+
bounds?: string;
|
|
6
|
+
showTitle?: boolean;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
onMouseDown?: () => void;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
order?: number;
|
|
11
|
+
source?: Source;
|
|
12
|
+
}
|
|
13
|
+
declare const LayerSelect: React.FC<LayerSelectProps>;
|
|
14
|
+
export default LayerSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../../store/ui/types';
|
|
3
|
+
interface LayerSelectButtonConnectProps {
|
|
4
|
+
mapId: string;
|
|
5
|
+
source?: Source;
|
|
6
|
+
}
|
|
7
|
+
declare const LayerSelectButtonConnect: React.FC<LayerSelectButtonConnectProps>;
|
|
8
|
+
export default LayerSelectButtonConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Service } from '../../WMSLoader/services';
|
|
3
|
+
interface LayerSelectConnectProps {
|
|
4
|
+
bounds?: string;
|
|
5
|
+
showTitle?: boolean;
|
|
6
|
+
preloadedServices?: Service[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* LayerSelectConnect is a component that is opened from LayerManager
|
|
10
|
+
* It's used to add Services and Layers to the application
|
|
11
|
+
* It doesn't expect any props, its subcomponents only read and write to redux store
|
|
12
|
+
*
|
|
13
|
+
* ``` <LayerSelectConnect />```
|
|
14
|
+
*/
|
|
15
|
+
declare const LayerSelectConnect: React.FC<LayerSelectConnectProps>;
|
|
16
|
+
export default LayerSelectConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Service } from '../../../../store/mapStore/types';
|
|
3
|
+
interface ServiceListProps {
|
|
4
|
+
layerSelectWidth?: number;
|
|
5
|
+
services: Service[];
|
|
6
|
+
}
|
|
7
|
+
declare const ServiceList: React.FC<ServiceListProps>;
|
|
8
|
+
export default ServiceList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface ServicePopupProps {
|
|
3
|
+
servicePopupVariant: 'edit' | 'add' | 'save';
|
|
4
|
+
hideBackdrop?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const ADD_HEADING = "Add a new service";
|
|
7
|
+
export declare const EDIT_HEADING = "Edit service";
|
|
8
|
+
export declare const SAVE_HEADING = "Save service";
|
|
9
|
+
declare const ServicePopup: React.FC<ServicePopupProps>;
|
|
10
|
+
export default ServicePopup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ServicePopupLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const ServicePopupDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
interface LegendConnectProps {
|
|
3
|
-
initialActiveMapId?: string;
|
|
4
3
|
showMapId?: boolean;
|
|
5
4
|
}
|
|
6
5
|
/**
|
|
@@ -9,8 +8,8 @@ interface LegendConnectProps {
|
|
|
9
8
|
* a dialog should have the <LegendMapButtonConnect/> which is used to focus the correct map and open the dialog
|
|
10
9
|
*
|
|
11
10
|
* Expects the following props:
|
|
12
|
-
* @param {string} initialActiveMapId (optional) initialActiveMapId: string - Id of map that is initially active, if set dialog will be opend immediately
|
|
13
11
|
* @param {boolean} showMapId (optional) showMapId: boolean - show the id of the map in the dialog title of which the legend is shown in te dialog
|
|
12
|
+
|
|
14
13
|
* ``` <LegendConnect legendDialogId={legendDialogId} />```
|
|
15
14
|
*/
|
|
16
15
|
declare const LegendConnect: React.FC<LegendConnectProps>;
|