@opengeoweb/core 2.1.0 → 2.1.4
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/{core.esm.js → index.esm.js} +3442 -1204
- package/{core.umd.js → index.umd.js} +3832 -1412
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +48 -0
- package/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -0
- package/lib/components/ComponentsLookUp/componentsLookup.spec.d.ts +1 -0
- package/lib/components/ComponentsLookUp/index.d.ts +1 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +37 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts +1 -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 +5 -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/LayerManagerButton.d.ts +1 -1
- 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/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 +2 -0
- package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -9
- package/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +5 -0
- package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerManagerUtils.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +16 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.stories.d.ts +13 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.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/LayerList/LayerList.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +7 -7
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +2 -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 +7 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +9 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +10 -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/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +13 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +3 -1
- package/lib/components/LayerManager/tooltipContainerStyles.d.ts +1 -1
- package/lib/components/Legend/LegendConnect.d.ts +3 -0
- package/lib/components/Legend/LegendDialog.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +2 -0
- 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.LayerChangeEnabledOpacity.stories.d.ts +7 -0
- package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.d.ts +7 -3
- package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -0
- package/lib/components/Mapcontrols/MapControlButton.d.ts +1 -1
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.stories.d.ts +25 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelect.stories.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConfig.d.ts +1 -1
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapView.stories.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapView10x10.stories.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +1 -1
- package/lib/components/Providers/Providers.d.ts +1 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +8 -9
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +2 -2
- package/lib/components/ReactMapView/types.d.ts +6 -17
- 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/TimeSliderLegend/TimeSliderLegendRenderFunctions.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +4 -4
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRailRenderFunctions.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +10 -1
- package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +6 -3
- package/lib/components/TooltipSelect/TooltipSelect.d.ts +2 -2
- package/lib/index.d.ts +2 -1
- package/lib/store/coreModuleConfig.d.ts +1 -1
- package/lib/store/layerSelect/actions.d.ts +30 -0
- package/lib/store/layerSelect/config.d.ts +4 -0
- package/lib/store/layerSelect/constants.d.ts +5 -0
- package/lib/store/layerSelect/reducer.d.ts +3 -0
- package/lib/store/layerSelect/reducer.spec.d.ts +1 -0
- package/lib/store/layerSelect/sagas.d.ts +6 -0
- package/lib/store/layerSelect/sagas.spec.d.ts +1 -0
- package/lib/store/layerSelect/selectors.d.ts +34 -0
- package/lib/store/layerSelect/selectors.spec.d.ts +1 -0
- package/lib/store/layerSelect/types.d.ts +61 -0
- package/lib/store/mapStore/layers/actions.d.ts +2 -1
- package/lib/store/mapStore/layers/constants.d.ts +1 -0
- package/lib/store/mapStore/layers/selectors.d.ts +14 -5
- package/lib/store/mapStore/layers/types.d.ts +44 -20
- 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/sagas.d.ts +2 -2
- package/lib/store/mapStore/map/selectors.d.ts +20 -12
- package/lib/store/mapStore/map/types.d.ts +19 -7
- package/lib/store/mapStore/service/actions.d.ts +1 -8
- package/lib/store/mapStore/service/constants.d.ts +0 -1
- package/lib/store/mapStore/service/selectors.d.ts +35 -5
- package/lib/store/mapStore/service/types.d.ts +12 -16
- package/lib/store/mapStore/utils/helpers.d.ts +4 -3
- package/lib/store/ui/actions.d.ts +2 -2
- package/lib/store/ui/types.d.ts +2 -1
- package/lib/storybookUtils/HelperComponents.d.ts +1 -1
- package/lib/storybookUtils/storyComponents/MapDrawGeoJSON.d.ts +5 -5
- package/lib/storybookUtils/storyComponents/MapDrawGeoJSONStyles.d.ts +2 -1
- package/lib/types/types.d.ts +2 -1
- package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/lib/utils/defaultTestSettings.d.ts +69 -190
- package/lib/utils/getCapabilities.d.ts +6 -0
- package/lib/utils/testUtils.d.ts +2 -2
- package/package.json +14 -15
- package/lib/components/SyncGroups/ConfigurableConnectedMap.d.ts +0 -19
|
@@ -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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './componentsLookUp';
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
overLayers?: Layer[];
|
|
26
|
+
bbox?: Bbox;
|
|
27
|
+
srs?: string;
|
|
28
|
+
displayTimeInMap?: boolean;
|
|
29
|
+
displayLayerManagerButtonInMap?: boolean;
|
|
30
|
+
displayDimensionSelectButtonInMap?: boolean;
|
|
31
|
+
shouldAutoUpdate?: boolean;
|
|
32
|
+
shouldAnimate?: boolean;
|
|
33
|
+
animationPayload?: AnimationPayloadType;
|
|
34
|
+
shouldShowZoomControls?: boolean;
|
|
35
|
+
displayMapPin?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare const ConfigurableConnectedMap: React.FC<ConfigurableConnectedMapProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ConfigurableConnectedMap';
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
+
import { AnimationPayloadType } from '../ConfigurableConnectedMap';
|
|
3
4
|
export interface ConfigurableMapWithSliderConnectProps {
|
|
4
5
|
id?: string;
|
|
5
6
|
activeLayerId?: string;
|
|
6
7
|
shouldAutoUpdate?: boolean;
|
|
8
|
+
shouldAnimate?: boolean;
|
|
7
9
|
title?: string;
|
|
8
10
|
layers: Layer[];
|
|
9
11
|
baseLayer?: Layer;
|
|
12
|
+
overLayers?: Layer[];
|
|
10
13
|
bbox?: Bbox;
|
|
11
14
|
srs?: string;
|
|
12
15
|
shouldShowZoomControls?: boolean;
|
|
16
|
+
animationPayload?: AnimationPayloadType;
|
|
17
|
+
displayMapPin?: boolean;
|
|
13
18
|
}
|
|
14
19
|
export declare const ConfigurableMapWithSliderConnect: React.FC<ConfigurableMapWithSliderConnectProps>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CustomSwitch: import("react").JSXElementConstructor<Omit<import("@mui/material").SwitchProps, "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"switchBase" | "checked" | "track"> & object>;
|
|
3
|
+
export default CustomSwitch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CustomSwitch } from './CustomSwitch';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { IconButtonProps } from '@material
|
|
2
|
+
import { IconButtonProps } from '@mui/material';
|
|
3
3
|
interface LayerManagerButtonProps extends IconButtonProps {
|
|
4
4
|
tooltipTitle: string;
|
|
5
5
|
onClick?: (event: React.MouseEvent) => void;
|
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>;
|
|
@@ -1,11 +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 LayerManagerUnconnectedDemoLightTheme: React.FC;
|
|
9
|
-
export declare const LayerManagerUnconnectedDemoDarkTheme: React.FC;
|
|
10
|
-
export declare const LayerManagerStoryWithMultiMaps: () => React.ReactElement;
|
|
11
|
-
export declare const MultiMapLayerManager: () => React.ReactElement;
|
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const LayerManagerColumnsLarge: (props?: any) => import("@
|
|
2
|
-
export declare const LayerManagerColumnsSmall: (props?: any) => import("@
|
|
1
|
+
export declare const LayerManagerColumnsLarge: (props?: any) => import("@mui/styles").ClassNameMap<"column1" | "column2" | "column3" | "column4" | "column5" | "column6">;
|
|
2
|
+
export declare const LayerManagerColumnsSmall: (props?: any) => import("@mui/styles").ClassNameMap<"column1" | "column2" | "column3" | "column4" | "column5" | "column6">;
|
|
3
3
|
export declare enum LayerManagerWidth {
|
|
4
4
|
sm = 0,
|
|
5
5
|
lg = 1
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../../../store/ui/types';
|
|
3
|
+
interface KeywordFilterButtonConnectProps {
|
|
4
|
+
mapId: string;
|
|
5
|
+
source?: Source;
|
|
6
|
+
}
|
|
7
|
+
declare const KeywordFilterButtonConnect: React.FC<KeywordFilterButtonConnectProps>;
|
|
8
|
+
export default KeywordFilterButtonConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { KeywordObject } from '../../../../store/layerSelect/types';
|
|
3
|
+
import { Source } from '../../../../store/ui/types';
|
|
4
|
+
interface KeywordFilterResultsProps {
|
|
5
|
+
arrayOfKeywordObjects: KeywordObject[];
|
|
6
|
+
mapId: string;
|
|
7
|
+
bounds?: string;
|
|
8
|
+
showTitle?: boolean;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
onMouseDown?: () => void;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
order?: number;
|
|
13
|
+
source?: Source;
|
|
14
|
+
}
|
|
15
|
+
declare const KeywordFilterResults: React.FC<KeywordFilterResultsProps>;
|
|
16
|
+
export default KeywordFilterResults;
|
package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts
ADDED
|
@@ -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 KeywordFilterResultsLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const KeywordFilterResultsDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface FilterListItemProps {
|
|
3
|
+
index: number;
|
|
4
|
+
text: string;
|
|
5
|
+
checked: 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,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Services } from '../../../../store/mapStore/service/types';
|
|
3
|
+
interface LayerListProps {
|
|
4
|
+
services: Services;
|
|
5
|
+
serviceIds: string[];
|
|
6
|
+
layerSelectHeight: number;
|
|
7
|
+
searchString: string;
|
|
8
|
+
}
|
|
9
|
+
declare const LayerList: React.FC<LayerListProps>;
|
|
10
|
+
export default LayerList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
|
|
2
|
+
export declare const LayerSelectDemoLightTheme: {
|
|
3
|
+
(): React.ReactElement;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const LayerSelectDemoDarkTheme: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
4
9
|
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const MapWithLayerSelectDemoLightTheme: React.FC;
|
|
7
|
-
export declare const MapWithLayerSelectDemoDarkTheme: React.FC;
|
|
8
|
-
export declare const LayerSelectDemoLightTheme: React.FC;
|
|
9
|
-
export declare const LayerSelectDemoDarkTheme: React.FC;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Service } from '../../WMSLoader/services';
|
|
2
3
|
interface LayerSelectConnectProps {
|
|
3
4
|
bounds?: string;
|
|
4
5
|
showTitle?: boolean;
|
|
6
|
+
preloadedServices?: Service[];
|
|
5
7
|
}
|
|
6
8
|
/**
|
|
7
9
|
* LayerSelectConnect is a component that is opened from LayerManager
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const isURL: (string: string) => boolean;
|
|
3
|
+
interface FieldButtonProps {
|
|
4
|
+
localSearchString: string;
|
|
5
|
+
onClickClear: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const SearchFieldButtonContainer: React.FC<FieldButtonProps>;
|
|
8
|
+
export default SearchFieldButtonContainer;
|
package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Service } from '../../../../store/mapStore/types';
|
|
3
|
+
interface ServiceChipProps {
|
|
4
|
+
all?: boolean;
|
|
5
|
+
service?: Service;
|
|
6
|
+
isEnabled?: boolean;
|
|
7
|
+
toggleChip?: (service: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const ServiceChip: React.FC<ServiceChipProps>;
|
|
10
|
+
export default ServiceChip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Service } from '../../../../store/mapStore/types';
|
|
3
|
+
interface ServiceChipConnectProps {
|
|
4
|
+
all?: boolean;
|
|
5
|
+
service?: Service;
|
|
6
|
+
isEnabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const ServiceChipConnect: React.FC<ServiceChipConnectProps>;
|
|
9
|
+
export default ServiceChipConnect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Service } from '../../../../store/mapStore/types';
|
|
3
|
+
import { ServiceObject } from '../../../../store/layerSelect/types';
|
|
4
|
+
interface ServiceListProps {
|
|
5
|
+
layerSelectWidth?: number;
|
|
6
|
+
services: Service[];
|
|
7
|
+
activeServices: ServiceObject[];
|
|
8
|
+
}
|
|
9
|
+
declare const ServiceList: React.FC<ServiceListProps>;
|
|
10
|
+
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 {};
|
package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts
ADDED
|
@@ -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 ServiceOptionsDialogLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const ServiceOptionsDialogDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
interface ServicePopupProps {
|
|
3
3
|
servicePopupVariant: 'edit' | 'add' | 'save';
|
|
4
|
-
shouldDisableTransition?: boolean;
|
|
5
4
|
hideBackdrop?: boolean;
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
closePopup?: () => void;
|
|
7
|
+
url?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const ADD_HEADING = "Add a new service";
|
|
8
10
|
export declare const EDIT_HEADING = "Edit service";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const useTooltipContainerStyles: (props?: any) => import("@
|
|
1
|
+
declare const useTooltipContainerStyles: (props?: any) => import("@mui/styles").ClassNameMap<"textContainer">;
|
|
2
2
|
export default useTooltipContainerStyles;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface LegendConnectProps {
|
|
3
4
|
showMapId?: boolean;
|
|
5
|
+
source?: Source;
|
|
4
6
|
}
|
|
5
7
|
/**
|
|
6
8
|
* Legend component connected to the store displaying a legend for every layer shown on the active map Id
|
|
@@ -9,6 +11,7 @@ interface LegendConnectProps {
|
|
|
9
11
|
*
|
|
10
12
|
* Expects the following props:
|
|
11
13
|
* @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
|
|
14
|
+
* @param {Source} source (optional) source: Source - default is 'app', 'module' makes sure it will be shown on top of the module
|
|
12
15
|
|
|
13
16
|
* ``` <LegendConnect legendDialogId={legendDialogId} />```
|
|
14
17
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Layer } from '../../store/mapStore/types';
|
|
3
|
+
import { Source } from '../../store/ui/types';
|
|
3
4
|
interface LegendDialogProps {
|
|
4
5
|
layers: Layer[];
|
|
5
6
|
isOpen: boolean;
|
|
@@ -8,6 +9,7 @@ interface LegendDialogProps {
|
|
|
8
9
|
mapId: string;
|
|
9
10
|
showMapId?: boolean;
|
|
10
11
|
order?: number;
|
|
12
|
+
source?: Source;
|
|
11
13
|
}
|
|
12
14
|
declare const LegendDialog: React.FC<LegendDialogProps>;
|
|
13
15
|
export default LegendDialog;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface LegendMapButtonProps {
|
|
3
4
|
mapId: string;
|
|
5
|
+
source?: Source;
|
|
4
6
|
}
|
|
5
7
|
declare const LegendMapButtonConnect: React.FC<LegendMapButtonProps>;
|
|
6
8
|
export default LegendMapButtonConnect;
|