@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,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const useUpdateTimestep: (mapId: string) => void;
|
|
3
3
|
export declare const useUpdateTimeSpan: (mapId: string, myOnSetTimeSliderSpan: (newSpan: number, newCenterTime: number) => void) => void;
|
|
4
4
|
interface TimeSliderConnectProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mapTypes } from '@opengeoweb/store';
|
|
2
|
-
import { TimeBounds } from '@opengeoweb/time-slider';
|
|
1
|
+
import type { mapTypes } from '@opengeoweb/store';
|
|
2
|
+
import type { TimeBounds } from '@opengeoweb/time-slider';
|
|
3
3
|
/**
|
|
4
4
|
* Returns time bounds from the given dimension. If no time dimension given, current time is returned as default
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { layerTypes, serviceTypes } from '@opengeoweb/store';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { layerTypes, serviceTypes } from '@opengeoweb/store';
|
|
3
3
|
interface WMSLayerTreeProps {
|
|
4
4
|
service: serviceTypes.InitialService;
|
|
5
5
|
onClickLayer: (serviceURL: string, layerName: string) => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { serviceTypes } from '@opengeoweb/store';
|
|
3
|
+
import { layerActions, layerTypes } from '@opengeoweb/store';
|
|
3
4
|
import { LayerType } from '@opengeoweb/webmap';
|
|
4
5
|
export interface WMSLayerTreeConnectProps {
|
|
5
6
|
service: serviceTypes.InitialService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { serviceTypes } from '@opengeoweb/store';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { serviceTypes } from '@opengeoweb/store';
|
|
3
3
|
interface WMSLoaderProps {
|
|
4
4
|
onClickService?: (serviceURL: string, layerName: string) => void;
|
|
5
5
|
onRenderTree?: (service: serviceTypes.InitialService) => React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { serviceTypes } from '@opengeoweb/store';
|
|
2
3
|
import { LayerType } from '@opengeoweb/webmap';
|
|
3
|
-
import { serviceTypes } from '@opengeoweb/store';
|
|
4
4
|
interface WMSLoaderConnectProps {
|
|
5
5
|
mapId: string;
|
|
6
6
|
preloadedServices?: serviceTypes.InitialService[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { serviceTypes } from '@opengeoweb/store';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { serviceTypes } from '@opengeoweb/store';
|
|
3
3
|
interface WMSServerListProps {
|
|
4
4
|
availableServices: serviceTypes.InitialService[];
|
|
5
5
|
handleChangeService: (service: serviceTypes.InitialService) => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/react-webpack5';
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
import { TimeAwareEDRLocationLayer } from '@opengeoweb/webmap-react';
|
|
4
|
+
declare const meta: Meta<typeof TimeAwareEDRLocationLayer>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const WMTSReduxLayer: () => ReactElement;
|
package/src/lib/store/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Store } from '@reduxjs/toolkit';
|
|
2
|
+
import type { SnackbarModuleStore } from '@opengeoweb/snackbar';
|
|
3
|
+
import type { WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
|
|
4
4
|
export declare const coreReducerMap: {
|
|
5
5
|
webmap: import("redux").Reducer<import("dist/libs/store/src/store/map/types").WebMapState, import("redux").UnknownAction, import("dist/libs/store/src/store/map/types").WebMapState>;
|
|
6
6
|
services: import("redux").Reducer<import("dist/libs/store/src/store/map/types").ServiceState, import("redux").UnknownAction, import("dist/libs/store/src/store/map/types").ServiceState>;
|
package/src/lib/utils/i18n.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i18n from 'i18next';
|
|
2
|
-
import { UseTranslationResponse } from 'react-i18next';
|
|
2
|
+
import type { UseTranslationResponse } from 'react-i18next';
|
|
3
3
|
export declare const CORE_NAMESPACE = "core";
|
|
4
4
|
export declare const initCoreReactI18n: () => void;
|
|
5
5
|
export declare const translateInTestsAndStories: (key: string, params?: Record<string, string | number> | undefined) => string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { SoundingsCollection, TimeSeriesService } from '@opengeoweb/shared';
|
|
2
|
-
import {
|
|
1
|
+
import type { SoundingsCollection, TimeSeriesService } from '@opengeoweb/shared';
|
|
2
|
+
import type { layerTypes, MapPreset, serviceTypes } from '@opengeoweb/store';
|
|
3
|
+
import { filterLayers } from '@opengeoweb/store';
|
|
3
4
|
interface FilteredMapPresets extends filterLayers.FilteredLayerList {
|
|
4
5
|
services?: serviceTypes.InitialService[];
|
|
5
6
|
baseServices?: serviceTypes.InitialService[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LocationListResult, LocationDetail } from '../../components/LocationSearch/types';
|
|
1
|
+
import type { LocationListResult, LocationDetail } from '../../components/LocationSearch/types';
|
|
2
2
|
export declare const getLocationList: (search: string) => Promise<LocationListResult[]>;
|
|
3
3
|
export declare const getLocationDetail: (id: string, source: string) => Promise<LocationDetail>;
|
|
@@ -1,14 +1,39 @@
|
|
|
1
|
-
export declare const fakeLocationList: {
|
|
1
|
+
export declare const fakeLocationList: ({
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
source: string;
|
|
5
|
-
|
|
5
|
+
group: string;
|
|
6
|
+
} | {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
source: string;
|
|
10
|
+
group?: undefined;
|
|
11
|
+
})[];
|
|
6
12
|
export declare const fakeLocationDetailList: ({
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
source: string;
|
|
16
|
+
group: string;
|
|
17
|
+
lat: number;
|
|
18
|
+
lon: number;
|
|
19
|
+
geometry: null;
|
|
20
|
+
bbox?: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
source: string;
|
|
25
|
+
group: string;
|
|
26
|
+
lat: number;
|
|
27
|
+
lon: number;
|
|
28
|
+
bbox: number[];
|
|
29
|
+
geometry?: undefined;
|
|
30
|
+
} | {
|
|
7
31
|
id: string;
|
|
8
32
|
name: string;
|
|
9
33
|
source: string;
|
|
10
34
|
lon: number;
|
|
11
35
|
lat: number;
|
|
36
|
+
group?: undefined;
|
|
12
37
|
geometry?: undefined;
|
|
13
38
|
bbox?: undefined;
|
|
14
39
|
} | {
|
|
@@ -25,6 +50,7 @@ export declare const fakeLocationDetailList: ({
|
|
|
25
50
|
};
|
|
26
51
|
properties?: undefined;
|
|
27
52
|
};
|
|
53
|
+
group?: undefined;
|
|
28
54
|
bbox?: undefined;
|
|
29
55
|
} | {
|
|
30
56
|
id: string;
|
|
@@ -40,6 +66,7 @@ export declare const fakeLocationDetailList: ({
|
|
|
40
66
|
coordinates: number[][];
|
|
41
67
|
};
|
|
42
68
|
};
|
|
69
|
+
group?: undefined;
|
|
43
70
|
bbox?: undefined;
|
|
44
71
|
} | {
|
|
45
72
|
id: string;
|
|
@@ -55,6 +82,7 @@ export declare const fakeLocationDetailList: ({
|
|
|
55
82
|
};
|
|
56
83
|
properties: {};
|
|
57
84
|
};
|
|
85
|
+
group?: undefined;
|
|
58
86
|
bbox?: undefined;
|
|
59
87
|
} | {
|
|
60
88
|
id: string;
|
|
@@ -70,6 +98,7 @@ export declare const fakeLocationDetailList: ({
|
|
|
70
98
|
};
|
|
71
99
|
properties: {};
|
|
72
100
|
};
|
|
101
|
+
group?: undefined;
|
|
73
102
|
bbox?: undefined;
|
|
74
103
|
} | {
|
|
75
104
|
id: string;
|
|
@@ -78,6 +107,7 @@ export declare const fakeLocationDetailList: ({
|
|
|
78
107
|
lat: number;
|
|
79
108
|
lon: number;
|
|
80
109
|
bbox: number[];
|
|
110
|
+
group?: undefined;
|
|
81
111
|
geometry?: undefined;
|
|
82
112
|
})[];
|
|
83
113
|
export declare const locationApiEndpoints: import("msw").HttpHandler[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { LocationDetail, LocationListResult } from '../../components/LocationSearch/types';
|
|
1
|
+
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import type { LocationDetail, LocationListResult } from '../../components/LocationSearch/types';
|
|
3
3
|
export declare const useLocationList: (search: string) => UseQueryResult<LocationListResult[]>;
|
|
4
|
-
export declare const useLocationDetail: (
|
|
4
|
+
export declare const useLocationDetail: (location: LocationDetail | LocationListResult | null) => UseQueryResult<LocationDetail>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { WebMapStateModuleState } from '@opengeoweb/store';
|
|
1
|
+
import type { WebMapStateModuleState } from '@opengeoweb/store';
|
|
2
2
|
export declare const mockStateMapWithDimensions: (layer: import("dist/libs/store/src/store/map/types").Layer, mapId: string) => WebMapStateModuleState;
|
|
3
3
|
export declare const mockStateMapWithDimensionsWithoutLayers: (mapId: string) => WebMapStateModuleState;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|