@opengeoweb/core 14.3.0 → 14.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +6382 -5830
- package/package.json +13 -11
- package/src/lib/GeoWebDemo.stories.d.ts +1 -1
- package/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +6 -7
- package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.d.ts +1 -0
- package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.stories.d.ts +1 -1
- package/src/lib/components/EDR/EDRLayerMultiParam.stories.d.ts +2 -2
- package/src/lib/components/EDR/EDRLayerSymbols.stories.d.ts +2 -2
- package/src/lib/components/EDR/EDRReduxStoreLayer.stories.d.ts +2 -2
- package/src/lib/components/GeoTIFF/GeoTIFFLayer.stories.d.ts +14 -0
- package/src/lib/components/LanguageSelect/LanguageSelect.d.ts +1 -1
- package/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +2 -2
- package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +2 -2
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +3 -3
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayers.d.ts +2 -2
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayers/BaseLayersConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +3 -3
- package/src/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTime.d.ts +2 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/AcceptanceTime/AcceptanceTimeConnect.d.ts +2 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayerConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/CustomDimensionSelect/CustomDimensionSelectConnect.d.ts +3 -3
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DeleteLayer/DeleteLayerConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +4 -4
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectName.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectValue.d.ts +4 -3
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/dimensionSelectHooks.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DragHandle/DragHandle.d.ts +2 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +3 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButtonConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingData.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/MissingData/MissingDataConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/OpacitySelect/OpacitySelectConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderEDRLayers.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayerName.d.ts +6 -0
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +3 -3
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayersConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckbox.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/SelectableFeaturesCheckbox/SelectableFeaturesCheckboxConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManager.custom.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManager.d.ts +4 -5
- package/src/lib/components/LayerManager/LayerManagerConnect.d.ts +3 -2
- package/src/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerHeaderOptions.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerHeaderOptionsConnect.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerManagerMapButtonConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerManagerUtils.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectButton.d.ts +1 -1
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.d.ts +2 -2
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.stories.d.ts +1 -1
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelectConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/useFetchServices.d.ts +1 -1
- package/src/lib/components/LegendConnect/LegendConnect.d.ts +2 -2
- package/src/lib/components/LegendConnect/LegendConnect.stories.d.ts +1 -1
- package/src/lib/components/LegendConnect/LegendMapButtonConnect.d.ts +2 -2
- package/src/lib/components/LocationSearch/LocationSearch.d.ts +1 -1
- package/src/lib/components/LocationSearch/LocationSearchConnect.stories.d.ts +2 -2
- package/src/lib/components/LocationSearch/MyMapLocation.d.ts +1 -1
- package/src/lib/components/LocationSearch/SearchControlButtonConnect.d.ts +2 -2
- package/src/lib/components/LocationSearch/index.d.ts +1 -1
- package/src/lib/components/LocationSearch/types.d.ts +9 -0
- package/src/lib/components/LocationSearch/utils.d.ts +6 -2
- package/src/lib/components/MapDrawToolRedux/OpenLayersFeatureLayerConnect.d.ts +3 -3
- package/src/lib/components/{FeatureInfo → MapOptions/FeatureInfo}/GetFeatureInfoButtonConnect.d.ts +2 -2
- package/src/lib/components/{FeatureInfo → MapOptions/FeatureInfo}/GetFeatureInfoConnect.d.ts +1 -1
- package/src/lib/components/{FeatureInfo → MapOptions/FeatureInfo}/GetFeatureInfoDialog.d.ts +2 -2
- package/src/lib/components/MapOptions/FeatureInfo/GetFeatureInfoDialog.spec.d.ts +1 -0
- package/src/lib/components/{FeatureInfo → MapOptions/FeatureInfo}/utils.d.ts +2 -2
- package/src/lib/components/MapOptions/MapOptionsButtonConnect.d.ts +8 -0
- package/src/lib/components/MapOptions/MeasureTool/MeasureToolButton.d.ts +7 -0
- package/src/lib/components/MapOptions/MeasureTool/index.d.ts +2 -0
- package/src/lib/components/MapOptions/index.d.ts +4 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.DoubleMap.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.Errors.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.Features.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.InitialBBoxAndWithout.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.LayerActions.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +3 -2
- package/src/lib/components/MapViewConnect/MapViewConnect.MapPin.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.MultiMapLayerManager.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.SelectorTest.stories.d.ts +2 -2
- package/src/lib/components/MapViewConnect/MapViewConnect.SetBaseLayers.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/MapViewConnect.ToggleControls.stories.d.ts +1 -1
- package/src/lib/components/MapViewConnect/OlMapViewConnect.d.ts +5 -4
- package/src/lib/components/MapViewConnect/olMapUtils.d.ts +4 -4
- package/src/lib/components/MapViewConnect/useGetOpenLayersView.d.ts +3 -3
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectButtonConnect.d.ts +2 -2
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectDialogConnect.d.ts +2 -2
- package/src/lib/components/MultiMapDimensionSelectConnect/DimensionSelectSliderConnect.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/EnsembleDimensionExample.stories.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectConnect.stories.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectMapButtonsConnect.d.ts +2 -2
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelect.stories.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelectConnect.d.ts +1 -1
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapSingleDimensionSelectConnect.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/HarmoniePresets/HarmonieTempAndPrecipPreset.d.ts +2 -2
- package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.d.ts +3 -3
- package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.stories.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/MultiMapView10x10.stories.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/MultiMapView2x2.stories.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/MultiMapView4x3.stories.d.ts +1 -1
- package/src/lib/components/MultiMapViewConnect/MultiMapViewConnect.d.ts +1 -1
- package/src/lib/components/Providers/Providers.d.ts +2 -2
- package/src/lib/components/RouterWrapper/RouterWrapperConnect.d.ts +1 -1
- package/src/lib/components/SelectedFeaturesDialog/SelectedFeature.d.ts +1 -1
- package/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialog.d.ts +2 -2
- package/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect.d.ts +1 -1
- package/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect.stories.d.ts +1 -1
- package/src/lib/components/SelectedFeaturesDialog/storyUtils.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroupList.d.ts +2 -2
- package/src/lib/components/SyncGroups/SyncGroupListItem.d.ts +2 -2
- package/src/lib/components/SyncGroups/SyncGroupViewer.d.ts +2 -2
- package/src/lib/components/SyncGroups/SyncGroupViewerConnect.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroups.FourMapsSynced.stories.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroups.SyncMany.stories.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroups.SyncMaps.stories.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroups.TwoMapsSynced.stories.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/AutoUpdate.stories.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AnimationLengthButtonConnect.spec.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/NowButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/OptionsMenuConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/SpeedButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeSpanButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/TimeStepButtonConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/TimeSliderLegendConnect.d.ts +1 -1
- package/src/lib/components/TimeSliderConnect/timesliderUtils.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTree.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +2 -1
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeHeader.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLoader.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +1 -1
- package/src/lib/components/WMSLoader/WMSLoaderConnect.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSServerList/WMSServerList.d.ts +2 -2
- package/src/lib/components/WMTS/WMTSReduxStoreLayer.stories.d.ts +6 -0
- package/src/lib/store/store.d.ts +3 -3
- package/src/lib/utils/defaultTestSettings.d.ts +1 -1
- package/src/lib/utils/i18n.d.ts +1 -1
- package/src/lib/utils/jsonPresetFilter.d.ts +3 -2
- package/src/lib/utils/location-api/api.d.ts +1 -1
- package/src/lib/utils/location-api/fakeApi.d.ts +32 -2
- package/src/lib/utils/location-api/hooks.d.ts +3 -3
- package/src/lib/utils/storyUtils.d.ts +1 -1
- package/src/lib/utils/testUtils.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderFeatureLayers.d.ts +0 -6
- /package/src/lib/components/{FeatureInfo/GetFeatureInfoButtonConnect.spec.d.ts → LocationSearch/Utils.spec.d.ts} +0 -0
- /package/src/lib/components/{FeatureInfo/GetFeatureInfoConnect.spec.d.ts → MapOptions/FeatureInfo/GetFeatureInfoButtonConnect.spec.d.ts} +0 -0
- /package/src/lib/components/{FeatureInfo/GetFeatureInfoDialog.spec.d.ts → MapOptions/FeatureInfo/GetFeatureInfoConnect.spec.d.ts} +0 -0
- /package/src/lib/components/{FeatureInfo → MapOptions/FeatureInfo}/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CustomIconProps } from '@opengeoweb/shared';
|
|
2
|
-
import { uiTypes } from '@opengeoweb/store';
|
|
3
1
|
import React from 'react';
|
|
2
|
+
import type { CustomIconProps } from '@opengeoweb/shared';
|
|
3
|
+
import { uiTypes } from '@opengeoweb/store';
|
|
4
4
|
export interface SearchControlButtonConnectProps extends CustomIconProps {
|
|
5
5
|
mapId: string;
|
|
6
6
|
source?: uiTypes.Source;
|
|
@@ -2,4 +2,4 @@ export { SearchControlButtonConnect } from './SearchControlButtonConnect';
|
|
|
2
2
|
export { LocationSearchConnect } from './LocationSearchConnect';
|
|
3
3
|
export { LocationSearch } from './LocationSearch';
|
|
4
4
|
export { MyMapLocation } from './MyMapLocation';
|
|
5
|
-
export * as LocationSearchTypes from './types';
|
|
5
|
+
export type * as LocationSearchTypes from './types';
|
|
@@ -7,8 +7,17 @@ export interface LocationDetail {
|
|
|
7
7
|
geometry?: GeoJSON.Feature;
|
|
8
8
|
bbox?: GeoJSON.BBox;
|
|
9
9
|
}
|
|
10
|
+
export interface PredefinedLocation extends LocationDetail {
|
|
11
|
+
group?: 'airport' | 'country' | 'city' | 'region' | 'special';
|
|
12
|
+
source: 'predefined';
|
|
13
|
+
}
|
|
10
14
|
export interface LocationListResult {
|
|
11
15
|
id: string;
|
|
12
16
|
name: string;
|
|
13
17
|
source: string;
|
|
18
|
+
group?: 'airport' | 'country' | 'city' | 'region' | 'special';
|
|
19
|
+
}
|
|
20
|
+
export interface PredefinedOption extends LocationListResult {
|
|
21
|
+
groupHeader?: string;
|
|
22
|
+
groupIcon?: React.ElementType;
|
|
14
23
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { GeoJsonProperties } from 'geojson';
|
|
2
|
-
import { LocationDetail } from './types';
|
|
1
|
+
import type { GeoJsonProperties } from 'geojson';
|
|
2
|
+
import type { LocationDetail } from './types';
|
|
3
3
|
export declare const geometryStyling: GeoJsonProperties;
|
|
4
|
+
export declare const bufferFromZoomLevel: (zoom: number, lat: number, viewportWidthPx: number) => number;
|
|
5
|
+
export declare const bboxFromPolygon: (geom: GeoJSON.Geometry, buffer: number) => number[];
|
|
6
|
+
export declare const bboxFromPoint: (geom: GeoJSON.Geometry, buffer: number) => number[];
|
|
7
|
+
export declare const useShiftPressed: () => boolean;
|
|
4
8
|
export declare const useDrawOnMap: (mapId: string) => [(location?: LocationDetail) => void];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { StyleLike } from 'ol/style/Style';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
import { layerTypes } from '@opengeoweb/store';
|
|
3
|
-
import {
|
|
4
|
-
import { HoverSelect } from '@opengeoweb/webmap-react';
|
|
3
|
+
import type { layerTypes } from '@opengeoweb/store';
|
|
4
|
+
import type { HoverSelect } from '@opengeoweb/webmap-react';
|
|
5
5
|
interface OpenLayersFeatureLayerConnectProps {
|
|
6
6
|
layer: layerTypes.ReduxLayer;
|
|
7
7
|
layerId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { layerTypes, uiTypes } from '@opengeoweb/store';
|
|
3
|
-
import { MapLocation } from '@opengeoweb/webmap-react';
|
|
2
|
+
import type { layerTypes, uiTypes } from '@opengeoweb/store';
|
|
3
|
+
import type { MapLocation } from '@opengeoweb/webmap-react';
|
|
4
4
|
interface GetFeatureInfoDialogProps {
|
|
5
5
|
layers: layerTypes.Layer[];
|
|
6
6
|
isOpen: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { layerTypes } from '@opengeoweb/store';
|
|
2
|
-
import { MapLocation } from '@opengeoweb/webmap-react';
|
|
1
|
+
import type { layerTypes } from '@opengeoweb/store';
|
|
2
|
+
import type { MapLocation } from '@opengeoweb/webmap-react';
|
|
3
3
|
export interface GFIResult {
|
|
4
4
|
data: string;
|
|
5
5
|
isLoading: boolean;
|
package/src/lib/components/MapViewConnect/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import { layerActions } from '@opengeoweb/store';
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
6
|
component: React.FC<import("./OlMapViewConnect").OlMapViewConnectProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { OlMapViewConnectProps } from './OlMapViewConnect';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { OlMapViewConnectProps } from './OlMapViewConnect';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: React.FC<OlMapViewConnectProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { Source } from '@opengeoweb/shared';
|
|
4
|
-
import {
|
|
1
|
+
import type { StyleLike } from 'ol/style/Style';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { Source } from '@opengeoweb/shared';
|
|
4
|
+
import type { Bbox, TileServerSettings } from '@opengeoweb/webmap';
|
|
5
5
|
export interface MapControlsProps {
|
|
6
6
|
mapControlsPositionTop?: number;
|
|
7
7
|
search?: boolean;
|
|
@@ -11,6 +11,7 @@ export interface MapControlsProps {
|
|
|
11
11
|
dimensionSelect?: boolean;
|
|
12
12
|
getFeatureInfo?: boolean;
|
|
13
13
|
dataExplorerButton?: boolean;
|
|
14
|
+
measureToolButton?: boolean;
|
|
14
15
|
additionalMapControls?: React.ReactNode;
|
|
15
16
|
}
|
|
16
17
|
export interface OlMapViewConnectProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { Feature, View } from 'ol';
|
|
2
|
+
import type { TimeSliderStartCenterEndTime } from '@opengeoweb/store';
|
|
3
|
+
import type { Dimension } from '@opengeoweb/webmap';
|
|
4
|
+
import type { MapLocation, OnInitializeLayerProps, TimeContextType, UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
|
|
5
5
|
export declare const makePrefetchTimeSpan: (timeSliderStartCenterEndTime: TimeSliderStartCenterEndTime, isAnimating: boolean, prefetchList: number[]) => TimeContextType;
|
|
6
6
|
export declare const usePrefetchTimeSpan: (timeSliderStartCenterEndTime: TimeSliderStartCenterEndTime, isAnimating: boolean, animationList: number[]) => TimeContextType;
|
|
7
7
|
export declare const makeLayerInfoPayload: (payload: OnInitializeLayerProps, mapDimensions: Dimension[], mapId: string) => UpdateLayerInfoPayload;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Store } from '@reduxjs/toolkit';
|
|
2
|
+
import type { View } from 'ol';
|
|
3
|
+
import type { CoreAppStore } from '@opengeoweb/store';
|
|
4
4
|
interface UseGetOpenLayersViewValue {
|
|
5
5
|
view?: View;
|
|
6
6
|
name?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { layerTypes } from '@opengeoweb/store';
|
|
3
|
-
import { MultiMapPreset } from '../MultiMapViewConnect';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import type { MultiMapPreset } from '../MultiMapViewConnect';
|
|
4
4
|
/**
|
|
5
5
|
* Custom hook to find out if the list of syncgroup id's contains a group which is of type SYNCGROUPS_TYPE_SETLAYERACTIONS
|
|
6
6
|
* @param syncGroupsIds A string array of syncgroup ids
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Theme } from '@mui/material';
|
|
2
|
+
import type { Store } from '@reduxjs/toolkit';
|
|
1
3
|
import React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material';
|
|
3
|
-
import { Store } from '@reduxjs/toolkit';
|
|
4
4
|
interface CoreThemeProviderProps {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
theme?: Theme;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Feature } from 'geojson';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
import { Position, Source } from '@opengeoweb/shared';
|
|
3
|
-
import { Feature } from 'geojson';
|
|
3
|
+
import type { Position, Source } from '@opengeoweb/shared';
|
|
4
4
|
export interface SelectedFeaturesDialogProps {
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
isOpen: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const SelectedFeaturesDialogConnect: React.FC;
|
package/src/lib/components/SelectedFeaturesDialog/SelectedFeaturesDialogConnect.stories.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react/*';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react/*';
|
|
2
2
|
import { SelectedFeaturesDialogConnect } from './SelectedFeaturesDialogConnect';
|
|
3
3
|
declare const meta: Meta<typeof SelectedFeaturesDialogConnect>;
|
|
4
4
|
export default meta;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { syncGroupsTypes } from '@opengeoweb/store';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { syncGroupsTypes } from '@opengeoweb/store';
|
|
3
3
|
interface SyncGroupProps {
|
|
4
4
|
viewStateData: syncGroupsTypes.GroupsAndSources;
|
|
5
5
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { syncGroupsTypes } from '@opengeoweb/store';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { syncGroupsTypes } from '@opengeoweb/store';
|
|
3
3
|
interface SyncGroupListItemProps {
|
|
4
4
|
viewStateData: syncGroupsTypes.GroupsAndSources;
|
|
5
5
|
groupId: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const SyncGroupViewerConnect: React.FC;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { WebMapStateModuleState } from '@opengeoweb/store';
|
|
1
|
+
import type { WebMapStateModuleState } from '@opengeoweb/store';
|
|
2
2
|
export declare const mockStateMapWithAnimationStartWithoutLayers: (mapId: string, animationStartTime: string) => WebMapStateModuleState;
|