@opengeoweb/core 12.1.2 → 12.3.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 +403 -343
- package/package.json +15 -16
- package/src/lib/components/LayerInfoConnect/LayerInfoDialogConnect.d.ts +6 -1
- package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.stories.d.ts +7 -0
- package/src/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +1 -1
- package/src/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +1 -1
- package/src/lib/components/{Search/SearchDialog.d.ts → LocationSearch/LocationSearch.d.ts} +2 -2
- package/src/lib/components/LocationSearch/LocationSearch.stories.d.ts +7 -0
- package/src/lib/components/LocationSearch/LocationSearchConnect.d.ts +5 -0
- package/src/lib/components/LocationSearch/LocationSearchConnect.stories.d.ts +16 -0
- package/src/lib/components/{Search → LocationSearch}/index.d.ts +2 -2
- package/src/lib/components/MapViewConnect/MapViewConnect.d.ts +2 -0
- package/src/lib/components/MapViewConnect/OlMapViewConnect.d.ts +17 -6
- package/src/lib/components/SyncGroups/SimpleTimeSliderConnect.d.ts +2 -2
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts +4 -4
- package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts +2 -2
- package/src/lib/components/TimeSliderConnect/TimeSliderCurrentTimeBoxConnect.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +2 -2
- package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +5 -0
- package/src/lib/index.d.ts +1 -1
- package/src/lib/store/store.d.ts +9 -9
- package/src/lib/utils/jsonPresetFilter.d.ts +3 -1
- package/src/lib/utils/location-api/api.d.ts +1 -1
- package/src/lib/utils/location-api/hooks.d.ts +1 -1
- package/src/lib/components/Search/SearchDialog.stories.d.ts +0 -7
- package/src/lib/components/Search/SearchDialogConnect.d.ts +0 -5
- package/src/lib/components/Search/SearchDialogConnect.stories.d.ts +0 -11
- /package/src/lib/components/{Search/MyMapLocation.spec.d.ts → LocationSearch/LocationSearchConnect.spec.d.ts} +0 -0
- /package/src/lib/components/{Search → LocationSearch}/MyMapLocation.d.ts +0 -0
- /package/src/lib/components/{Search/SearchDialogConnect.spec.d.ts → LocationSearch/MyMapLocation.spec.d.ts} +0 -0
- /package/src/lib/components/{Search → LocationSearch}/SearchControlButtonConnect.d.ts +0 -0
- /package/src/lib/components/{Search → LocationSearch}/types.d.ts +0 -0
- /package/src/lib/components/{Search → LocationSearch}/utils.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.3.0",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,32 +8,31 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "12.
|
|
12
|
-
"react-redux": "^
|
|
13
|
-
"@opengeoweb/store": "12.
|
|
14
|
-
"@opengeoweb/timeslider": "12.
|
|
15
|
-
"@reduxjs/toolkit": "^
|
|
16
|
-
"@opengeoweb/webmap-react": "12.
|
|
17
|
-
"@opengeoweb/webmap": "12.
|
|
18
|
-
"@opengeoweb/theme": "12.
|
|
11
|
+
"@opengeoweb/shared": "12.3.0",
|
|
12
|
+
"react-redux": "^9.2.0",
|
|
13
|
+
"@opengeoweb/store": "12.3.0",
|
|
14
|
+
"@opengeoweb/timeslider": "12.3.0",
|
|
15
|
+
"@reduxjs/toolkit": "^2.6.1",
|
|
16
|
+
"@opengeoweb/webmap-react": "12.3.0",
|
|
17
|
+
"@opengeoweb/webmap": "12.3.0",
|
|
18
|
+
"@opengeoweb/theme": "12.3.0",
|
|
19
19
|
"axios": "^1.7.7",
|
|
20
|
-
"@opengeoweb/layer-select": "12.
|
|
20
|
+
"@opengeoweb/layer-select": "12.3.0",
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
22
|
"ol": "^10.4.0",
|
|
23
23
|
"react-sortablejs": "^6.1.4",
|
|
24
24
|
"sortablejs": "^1.15.1",
|
|
25
|
-
"@mui/system": "^
|
|
26
|
-
"@opengeoweb/snackbar": "12.
|
|
25
|
+
"@mui/system": "^7.0.1",
|
|
26
|
+
"@opengeoweb/snackbar": "12.3.0",
|
|
27
27
|
"react-router-dom": "^6.21.0",
|
|
28
28
|
"react-draggable": "^4.4.6",
|
|
29
29
|
"i18next": "^23.11.5",
|
|
30
30
|
"react-i18next": "^15.1.1",
|
|
31
31
|
"dompurify": "^3.0.6",
|
|
32
|
-
"@mui/material": "^
|
|
32
|
+
"@mui/material": "^7.0.1",
|
|
33
33
|
"@sentry/react": "^8.34.0",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@opengeoweb/api": "12.1.2"
|
|
34
|
+
"@tanstack/react-query": "^5.69.2",
|
|
35
|
+
"@opengeoweb/api": "12.3.0"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
38
|
"react": "18",
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import { uiTypes } from '@opengeoweb/store';
|
|
3
|
+
interface LayerInfoDialogConnectProps {
|
|
4
|
+
source: uiTypes.Source;
|
|
5
|
+
}
|
|
6
|
+
export declare const LayerInfoDialogConnect: React.FC<LayerInfoDialogConnectProps>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import AddLayersPopup from './AddLayersPopup';
|
|
3
|
+
declare const meta: Meta<typeof AddLayersPopup>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AddLayersPopup>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const ComponentDark: Story;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Grid } from '@mui/material';
|
|
3
3
|
import { layerTypes, serviceTypes } from '@opengeoweb/store';
|
|
4
4
|
import { LayerManagerCustomSettings } from '../LayerManagerUtils';
|
|
5
5
|
interface BaseLayerRowProps extends React.ComponentProps<typeof Grid> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Grid } from '@mui/material';
|
|
3
3
|
import { LayerManagerCustomSettings } from '../LayerManagerUtils';
|
|
4
4
|
interface LayerContainerRowProps extends React.ComponentProps<typeof Grid> {
|
|
5
5
|
mapId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LocationDetail } from './types';
|
|
3
|
-
export interface
|
|
3
|
+
export interface LocationSearchProps {
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
mapId?: string;
|
|
6
6
|
onSelectLocation?: (location?: LocationDetail) => void;
|
|
7
7
|
onUpdateMyLocation?: (location?: LocationDetail) => void;
|
|
8
8
|
isMyLocationSelected?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const LocationSearch: React.FC<LocationSearchProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LocationSearch } from './LocationSearch';
|
|
3
|
+
declare const meta: Meta<typeof LocationSearch>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LocationSearch>;
|
|
6
|
+
export declare const LocationSearchLight: Story;
|
|
7
|
+
export declare const LocationSearchDark: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StoryObj } from '@storybook/react/*';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: () => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
6
|
+
parameters: {
|
|
7
|
+
docs: {
|
|
8
|
+
description: {
|
|
9
|
+
component: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const LocationSearchConnectLight: StoryObj;
|
|
16
|
+
export declare const LocationSearchConnectDark: StoryObj;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { SearchControlButtonConnect } from './SearchControlButtonConnect';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { LocationSearchConnect } from './LocationSearchConnect';
|
|
3
|
+
export { LocationSearch } from './LocationSearch';
|
|
4
4
|
export { MyMapLocation } from './MyMapLocation';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Bbox } from '@opengeoweb/webmap';
|
|
3
3
|
import { MapViewProps } from '@opengeoweb/webmap-react';
|
|
4
|
+
import { Source } from '@opengeoweb/shared';
|
|
4
5
|
export interface MapControlsProps {
|
|
5
6
|
mapControlsPositionTop?: number;
|
|
6
7
|
search?: boolean;
|
|
@@ -20,6 +21,7 @@ export interface MapViewConnectProps extends MapViewProps {
|
|
|
20
21
|
showLayerInfo?: boolean;
|
|
21
22
|
passiveMap?: boolean;
|
|
22
23
|
initialBbox?: Bbox;
|
|
24
|
+
source?: Source;
|
|
23
25
|
}
|
|
24
26
|
export declare const ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION = "ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION";
|
|
25
27
|
export declare const ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO = "ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO";
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Bbox, TileServerSettings } from '@opengeoweb/webmap';
|
|
3
|
+
import { Source } from '@opengeoweb/shared';
|
|
4
|
+
import { MapControlsProps } from './MapViewConnect';
|
|
5
|
+
export interface OlMapViewConnectProps {
|
|
6
|
+
mapId: string;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
controls?: MapControlsProps;
|
|
9
|
+
initialBbox?: Bbox;
|
|
10
|
+
holdShiftToScroll?: boolean;
|
|
11
|
+
displayTimeInMap?: boolean;
|
|
12
|
+
showScaleBar?: boolean;
|
|
13
|
+
shouldAutoFetch?: number | boolean;
|
|
14
|
+
shouldDisablePrefetching?: boolean;
|
|
15
|
+
tileServerSettings?: TileServerSettings;
|
|
16
|
+
source?: Source;
|
|
17
|
+
}
|
|
3
18
|
/**
|
|
4
19
|
* Connected component used to display the map and selected layers.
|
|
5
20
|
* Includes options to disable the map controls and legend.
|
|
@@ -7,10 +22,6 @@ import { MapViewConnectProps } from './MapViewConnect';
|
|
|
7
22
|
* Expects the following props:
|
|
8
23
|
* @param {string} mapId mapId: string - Id of the map
|
|
9
24
|
* @param {object} [controls.zoomControls] **optional** controls: object - toggle the map controls, zoomControls defaults to true
|
|
10
|
-
* @param {boolean} [displayTimeInMap] **optional** displayTimeInMap: boolean, toggles the mapTime, defaults to true
|
|
11
|
-
* @param {boolean} [showScaleBar] **optional** showScaleBar: boolean, toggles the scaleBar, defaults to true
|
|
12
|
-
* @example
|
|
13
|
-
* ```<MapViewConnect mapId={mapId} controls={{ zoomControls: false }} displayTimeInMap={false} showScaleBar={false}/>```
|
|
14
25
|
*/
|
|
15
|
-
declare const OlMapViewConnect: React.FC<
|
|
26
|
+
declare const OlMapViewConnect: React.FC<OlMapViewConnectProps>;
|
|
16
27
|
export default OlMapViewConnect;
|
|
@@ -13,7 +13,7 @@ export declare const SimpleTimeSliderConnect: import("react-redux").ConnectedCom
|
|
|
13
13
|
setTime?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/store/src/store/generic/types").SetTimePayload, string> | undefined;
|
|
14
14
|
syncGroupAddSource?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/store/src/store/generic/syncGroups/types").SyncGroupsAddSourcePayload, "synchronizationGroupsReducer/syncGroupAddSource"> | undefined;
|
|
15
15
|
syncGroupRemoveSource?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/store/src/store/generic/syncGroups/types").SyncGroupRemoveSourcePayload, "synchronizationGroupsReducer/syncGroupRemoveSource"> | undefined;
|
|
16
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
17
|
-
store?: import("redux").Store<any, import("redux").
|
|
16
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
17
|
+
store?: import("redux").Store<any, import("redux").UnknownAction, unknown> | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export {};
|
package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/AutoUpdateButtonConnect.d.ts
CHANGED
|
@@ -9,12 +9,12 @@ export declare const AutoUpdateButtonConnect: import("react-redux").ConnectedCom
|
|
|
9
9
|
mapId: string;
|
|
10
10
|
isAutoUpdating?: boolean | undefined;
|
|
11
11
|
toggleAutoUpdate?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/store/src/store/map/types").ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate"> | undefined;
|
|
12
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
13
|
-
store?: import("redux").Store<any, import("redux").
|
|
12
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
13
|
+
store?: import("redux").Store<any, import("redux").UnknownAction, unknown> | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
mapId: string;
|
|
16
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
17
|
-
store?: import("redux").Store<any, import("redux").
|
|
16
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
17
|
+
store?: import("redux").Store<any, import("redux").UnknownAction, unknown> | undefined;
|
|
18
18
|
isAutoUpdating?: boolean | undefined;
|
|
19
19
|
toggleAutoUpdate?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/store/src/store/map/types").ToggleAutoUpdatePayload, "mapReducer/toggleAutoUpdate"> | undefined;
|
|
20
20
|
}>;
|
package/src/lib/components/TimeSliderConnect/TimeSliderButtonsConnect/PlayButtonConnect.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const PlayButtonConnect: import("react-redux").ConnectedComponent
|
|
|
39
39
|
isAnimating: boolean;
|
|
40
40
|
id: string;
|
|
41
41
|
} | undefined;
|
|
42
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
43
|
-
store?: import("redux").Store<any, import("redux").
|
|
42
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
43
|
+
store?: import("redux").Store<any, import("redux").UnknownAction, unknown> | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
export {};
|
|
@@ -23,7 +23,7 @@ export declare const TimeSliderCurrentTimeBoxConnect: import("react-redux").Conn
|
|
|
23
23
|
span?: number | undefined;
|
|
24
24
|
isAutoUpdating?: boolean | undefined;
|
|
25
25
|
setCenterTime?: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("dist/libs/store/src/store/map/types").SetTimeSliderCenterTimePayload, "mapReducer/setTimeSliderCenterTime"> | undefined;
|
|
26
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
27
|
-
store?: import("redux").Store<any, import("redux").
|
|
26
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
27
|
+
store?: import("redux").Store<any, import("redux").UnknownAction, unknown> | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export {};
|
|
@@ -18,7 +18,7 @@ declare const WMSLayerTreeConnect: import("react-redux").ConnectedComponent<Reac
|
|
|
18
18
|
setBaseLayers?: import("@reduxjs/toolkit").ActionCreatorWithPayload<layerTypes.SetBaseLayersPayload, "layerReducer/setBaseLayers"> | undefined;
|
|
19
19
|
addAvailableBaseLayer?: import("@reduxjs/toolkit").ActionCreatorWithPayload<layerTypes.AddAvailableBaseLayerPayload, "layerReducer/addAvailableBaseLayer"> | undefined;
|
|
20
20
|
loadedLayers?: layerTypes.Layer[] | undefined;
|
|
21
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
22
|
-
store?: import("redux").Store<any, import("redux").
|
|
21
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
22
|
+
store?: import("redux").Store<any, import("redux").UnknownAction, unknown> | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
export default WMSLayerTreeConnect;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import WMSLoader from './WMSLoader';
|
|
2
4
|
declare const _default: {
|
|
3
5
|
title: string;
|
|
4
6
|
tags: string[];
|
|
5
7
|
};
|
|
6
8
|
export default _default;
|
|
9
|
+
type Story = StoryObj<typeof WMSLoader>;
|
|
7
10
|
export declare const DemoWMSLoad: React.FC;
|
|
11
|
+
export declare const WMSLoaderLight: Story;
|
|
12
|
+
export declare const WMSLoaderDark: Story;
|
package/src/lib/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export * from './utils/jsonPresetFilter';
|
|
|
15
15
|
export * as defaultConfigurations from './utils/defaultConfigurations';
|
|
16
16
|
export * from './components/Providers/Providers';
|
|
17
17
|
export * from './components/RouterWrapper';
|
|
18
|
-
export * from './components/
|
|
18
|
+
export * from './components/LocationSearch';
|
|
19
19
|
export * from './components/TimeSliderConnect';
|
|
20
20
|
export * from './components/LayerInfoConnect';
|
|
21
21
|
export * from './components/SentryRecordButton';
|
package/src/lib/store/store.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SnackbarModuleStore } from '@opengeoweb/snackbar';
|
|
2
2
|
import { WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
|
|
3
|
-
import {
|
|
3
|
+
import { Store } from '@reduxjs/toolkit';
|
|
4
4
|
export declare const coreReducerMap: {
|
|
5
|
-
webmap: import("redux").Reducer<import("dist/libs/store/src/store/map/types").WebMapState, import("redux").
|
|
6
|
-
services: import("redux").Reducer<import("dist/libs/store/src/store/map/types").ServiceState, import("redux").
|
|
7
|
-
layers: import("redux").Reducer<import("dist/libs/store/src/store/map/types").LayerState, import("redux").
|
|
8
|
-
syncGroups: import("redux").Reducer<import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState, import("redux").
|
|
9
|
-
ui: import("redux").Reducer<import("dist/libs/store/src/store/ui/types").UIStoreType, import("redux").
|
|
10
|
-
snackbar: import("redux").Reducer<import("dist/libs/snackbar/src/lib/store/types").SnackbarState, import("redux").
|
|
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
|
+
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>;
|
|
7
|
+
layers: import("redux").Reducer<import("dist/libs/store/src/store/map/types").LayerState, import("redux").UnknownAction, import("dist/libs/store/src/store/map/types").LayerState>;
|
|
8
|
+
syncGroups: import("redux").Reducer<import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState, import("redux").UnknownAction, import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState>;
|
|
9
|
+
ui: import("redux").Reducer<import("dist/libs/store/src/store/ui/types").UIStoreType, import("redux").UnknownAction, import("dist/libs/store/src/store/ui/types").UIStoreType>;
|
|
10
|
+
snackbar: import("redux").Reducer<import("dist/libs/snackbar/src/lib/store/types").SnackbarState, import("redux").UnknownAction, import("dist/libs/snackbar/src/lib/store/types").SnackbarState>;
|
|
11
11
|
};
|
|
12
|
-
export declare const coreMiddlewares: import("@reduxjs/toolkit").ListenerMiddleware<import("@opengeoweb/store").CoreAppStore, import("
|
|
13
|
-
export declare const createMockStore: (mockState?: WebMapStateModuleState | SynchronizationGroupModuleState | UIModuleState | SnackbarModuleStore) =>
|
|
12
|
+
export declare const coreMiddlewares: import("@reduxjs/toolkit").ListenerMiddleware<import("@opengeoweb/store").CoreAppStore, import("redux-thunk").ThunkDispatch<import("@opengeoweb/store").CoreAppStore, unknown, import("redux").UnknownAction>, unknown>[];
|
|
13
|
+
export declare const createMockStore: (mockState?: WebMapStateModuleState | SynchronizationGroupModuleState | UIModuleState | SnackbarModuleStore) => Store;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { TimeSeriesService } from '@opengeoweb/shared';
|
|
1
|
+
import { SoundingsCollection, TimeSeriesService } from '@opengeoweb/shared';
|
|
2
2
|
import { filterLayers, layerTypes, MapPreset, serviceTypes } from '@opengeoweb/store';
|
|
3
3
|
interface FilteredMapPresets extends filterLayers.FilteredLayerList {
|
|
4
4
|
services?: serviceTypes.InitialService[];
|
|
5
5
|
baseServices?: serviceTypes.InitialService[];
|
|
6
6
|
timeSeriesServices?: TimeSeriesService[];
|
|
7
|
+
soundingsCollections?: SoundingsCollection[];
|
|
7
8
|
defaultMapSettings?: MapPreset;
|
|
8
9
|
}
|
|
9
10
|
export interface InitialAppPresetProps {
|
|
@@ -12,6 +13,7 @@ export interface InitialAppPresetProps {
|
|
|
12
13
|
presetName?: string;
|
|
13
14
|
services?: serviceTypes.InitialService[];
|
|
14
15
|
timeSeriesServices?: TimeSeriesService[];
|
|
16
|
+
soundingsCollections?: SoundingsCollection[];
|
|
15
17
|
baseServices?: serviceTypes.InitialService[];
|
|
16
18
|
layers?: layerTypes.Layer[];
|
|
17
19
|
baseLayers?: layerTypes.Layer[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LocationListResult, LocationDetail } from '../../components/
|
|
1
|
+
import { 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,4 +1,4 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import { LocationDetail, LocationListResult } from '../../components/
|
|
2
|
+
import { LocationDetail, LocationListResult } from '../../components/LocationSearch/types';
|
|
3
3
|
export declare const useLocationList: (search: string) => UseQueryResult<LocationListResult[]>;
|
|
4
4
|
export declare const useLocationDetail: (id?: string, source?: string) => UseQueryResult<LocationDetail>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { SearchDialog } from './SearchDialog';
|
|
3
|
-
declare const meta: Meta<typeof SearchDialog>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof SearchDialog>;
|
|
6
|
-
export declare const SearchDialogLight: Story;
|
|
7
|
-
export declare const SearchDialogDark: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const SearchDialogConnectLight: () => React.ReactElement;
|
|
8
|
-
export declare const SearchDialogConnectDark: {
|
|
9
|
-
(): React.ReactElement;
|
|
10
|
-
tags: string[];
|
|
11
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|