@opengeoweb/data-explorer 19.0.0 → 19.1.1
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/dist/README.md +100 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +11120 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/lib/components/AreaFilter/AreaFilter.d.ts +11 -0
- package/dist/src/lib/components/AreaFilter/AreaFilterConnect.d.ts +2 -0
- package/dist/src/lib/components/AreaFilter/AreaFilterLocationSearch.d.ts +6 -0
- package/dist/src/lib/components/ConceptList/ConceptChip.d.ts +10 -0
- package/dist/src/lib/components/ConceptList/ConceptChipConnect.d.ts +7 -0
- package/dist/src/lib/components/ConceptList/ConceptList.d.ts +8 -0
- package/dist/src/lib/components/ConceptList/ConceptListConnect.d.ts +2 -0
- package/dist/src/lib/components/DataExplorer.d.ts +18 -0
- package/dist/src/lib/components/DataExplorerConnect.d.ts +6 -0
- package/dist/src/lib/components/DataExplorerFilters/DataExplorerFilterOption.d.ts +11 -0
- package/dist/src/lib/components/DataExplorerFilters/DataExplorerFilters.d.ts +10 -0
- package/dist/src/lib/components/DataExplorerFilters/DataExplorerFiltersConnect.d.ts +2 -0
- package/dist/src/lib/components/DataExplorerFilters/DataExplorerSearchConnect.d.ts +2 -0
- package/dist/src/lib/components/DataExplorerInfo/DataExplorerInfo.d.ts +15 -0
- package/dist/src/lib/components/DataExplorerInfo/DataExplorerInfoButton.d.ts +7 -0
- package/dist/src/lib/components/DataExplorerInfo/DataExplorerInfoButtonConnect.d.ts +8 -0
- package/dist/src/lib/components/DataExplorerInfo/DataExplorerInfoConnect.d.ts +2 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogBaseInfo.d.ts +4 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogContacts.d.ts +4 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogGeographicalCoverage.d.ts +4 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogKeywords.d.ts +4 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogLinks.d.ts +4 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogTime.d.ts +4 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogWMSMap.d.ts +14 -0
- package/dist/src/lib/components/DataExplorerInfo/InfoDialogWMSMapConnect.d.ts +15 -0
- package/dist/src/lib/components/DatasetList/DatasetAddRemoveButton.d.ts +10 -0
- package/dist/src/lib/components/DatasetList/DatasetList.d.ts +10 -0
- package/dist/src/lib/components/DatasetList/DatasetListConnect.d.ts +2 -0
- package/dist/src/lib/components/DatasetList/DatasetRow.d.ts +14 -0
- package/dist/src/lib/components/DatasetList/DatasetRowConnect.d.ts +10 -0
- package/dist/src/lib/components/providers/Providers.d.ts +28 -0
- package/dist/src/lib/components/providers/index.d.ts +1 -0
- package/dist/src/lib/store/index.d.ts +4 -0
- package/dist/src/lib/store/listeners.d.ts +2 -0
- package/dist/src/lib/store/reducer.d.ts +14 -0
- package/dist/src/lib/store/selectors.d.ts +233 -0
- package/dist/src/lib/store/store.d.ts +7 -0
- package/dist/src/lib/store/types.d.ts +208 -0
- package/dist/src/lib/utils/data-explorerUtils.d.ts +8 -0
- package/dist/src/lib/utils/dataexplorer-api/api.d.ts +7 -0
- package/dist/src/lib/utils/dataexplorer-api/fakeApi.d.ts +15 -0
- package/dist/src/lib/utils/dataexplorer-api/hooks.d.ts +7 -0
- package/dist/src/lib/utils/i18n.d.ts +6 -0
- package/dist/src/lib/utils/location-api/fakeApi.d.ts +47 -0
- package/dist/src/lib/utils/storyUtils.d.ts +10 -0
- package/dist/src/lib/utils/timeUtils.d.ts +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import dataExplorerTranslations from '../locales/dataexplorer.json';
|
|
2
|
+
export { DataExplorerConnect } from './lib/components/DataExplorerConnect';
|
|
3
|
+
export { dataExplorerMiddlewares, dataExplorerReducersMap, DataExplorerTypes, } from './lib/store';
|
|
4
|
+
export { DATA_EXPLORER_NAMESPACE } from './lib/utils/i18n';
|
|
5
|
+
export { dataExplorerTranslations };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Feature } from 'geojson';
|
|
2
|
+
import type { View } from 'ol';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
interface AreaFilterProps {
|
|
5
|
+
view: View;
|
|
6
|
+
tileURL: string;
|
|
7
|
+
tileLicense: string;
|
|
8
|
+
feature?: Feature;
|
|
9
|
+
}
|
|
10
|
+
export declare const AreaFilter: React.FC<AreaFilterProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { LocationSearchTypes } from '@opengeoweb/core';
|
|
3
|
+
export interface LocationSearchProps {
|
|
4
|
+
onSelectLocation?: (location?: LocationSearchTypes.LocationDetail) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const AreaFilterLocationSearch: React.FC<LocationSearchProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Concept } from '../../store/types';
|
|
3
|
+
interface ConceptChipProps {
|
|
4
|
+
concept: Concept;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
toggleChip?: (concept: string) => void;
|
|
7
|
+
isInSearch?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ConceptChip: React.FC<ConceptChipProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DataExplorerTypes } from '../../store';
|
|
3
|
+
export interface ConceptChipConnectProps {
|
|
4
|
+
concept: DataExplorerTypes.Concept;
|
|
5
|
+
isInSearch: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const ConceptChipConnect: React.FC<ConceptChipConnectProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Position, HeaderSize } from '@opengeoweb/shared';
|
|
3
|
+
import type { uiTypes } from '@opengeoweb/store';
|
|
4
|
+
interface DataExplorerProps {
|
|
5
|
+
bounds?: string;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onMouseDown?: () => void;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
order?: number;
|
|
10
|
+
source?: uiTypes.Source;
|
|
11
|
+
startPosition?: Position;
|
|
12
|
+
headerSize?: HeaderSize;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
error?: boolean;
|
|
15
|
+
compact?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const DataExplorer: React.FC<DataExplorerProps>;
|
|
18
|
+
export default DataExplorer;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DataExplorerFilterOptionProps {
|
|
3
|
+
optionId: string;
|
|
4
|
+
filterId: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
onClick: (checked: boolean) => void;
|
|
7
|
+
value: string;
|
|
8
|
+
count: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const DataExplorerFilterOption: React.FC<DataExplorerFilterOptionProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Queryable } from '../../store/types';
|
|
3
|
+
interface DataExplorerFiltersProps {
|
|
4
|
+
filters: Queryable[];
|
|
5
|
+
meteoGateOnly: boolean;
|
|
6
|
+
onSetFilterValue: (filter: string, value: string, checked: boolean) => void;
|
|
7
|
+
onToggleMeteoGateOnly: (enabled: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const DataExplorerFilters: React.FC<DataExplorerFiltersProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Position, Source } from '@opengeoweb/shared';
|
|
3
|
+
import type { DiscoveryMetadataFeature } from '../../store/types';
|
|
4
|
+
export interface DataExplorerInfoProps {
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
onMouseDown?: () => void;
|
|
8
|
+
order?: number;
|
|
9
|
+
source?: Source;
|
|
10
|
+
startPosition?: Position;
|
|
11
|
+
featureInfo?: DiscoveryMetadataFeature | null;
|
|
12
|
+
datasetLink: string;
|
|
13
|
+
}
|
|
14
|
+
declare const DataExplorerInfo: React.FC<DataExplorerInfoProps>;
|
|
15
|
+
export default DataExplorerInfo;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { uiTypes } from '@opengeoweb/store';
|
|
3
|
+
interface DataExplorerInfoButtonProps {
|
|
4
|
+
id: string;
|
|
5
|
+
source?: uiTypes.Source;
|
|
6
|
+
}
|
|
7
|
+
export declare const DataExplorerInfoButtonConnect: React.FC<DataExplorerInfoButtonProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { View } from 'ol';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { OGCWMSWMTSGetCapabilities } from '@opengeoweb/webmap';
|
|
4
|
+
interface InfoDialogWMSMapProps {
|
|
5
|
+
view: View;
|
|
6
|
+
geometry: {
|
|
7
|
+
type: string;
|
|
8
|
+
coordinates: number[][][] | number[][][][];
|
|
9
|
+
};
|
|
10
|
+
dataLink: string;
|
|
11
|
+
getCapabilitiesJSON: OGCWMSWMTSGetCapabilities;
|
|
12
|
+
}
|
|
13
|
+
export declare const InfoDialogWMSMap: React.FC<InfoDialogWMSMapProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface InfoDialogWMSMapConnectProps {
|
|
3
|
+
geometry: {
|
|
4
|
+
type: string;
|
|
5
|
+
coordinates: number[][][] | number[][][][];
|
|
6
|
+
};
|
|
7
|
+
links: {
|
|
8
|
+
href: string;
|
|
9
|
+
rel: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
}
|
|
14
|
+
declare const InfoDialogWMSMapConnect: React.FC<InfoDialogWMSMapConnectProps>;
|
|
15
|
+
export default InfoDialogWMSMapConnect;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { layerTypes } from '@opengeoweb/store';
|
|
2
|
+
interface DatasetAddRemoveButtonProps {
|
|
3
|
+
layerName: string;
|
|
4
|
+
foundLayer: layerTypes.Layer;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
addLayer: () => void;
|
|
7
|
+
deleteLayer: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const DatasetAddRemoveButton: React.FC<DatasetAddRemoveButtonProps>;
|
|
10
|
+
export default DatasetAddRemoveButton;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import type { DiscoveryMetadataItems } from '../../store/types';
|
|
4
|
+
interface DatasetListProps {
|
|
5
|
+
datasets?: DiscoveryMetadataItems | null;
|
|
6
|
+
mapLayers: layerTypes.Layer[];
|
|
7
|
+
searchFilter: string;
|
|
8
|
+
}
|
|
9
|
+
declare const DatasetList: React.FC<DatasetListProps>;
|
|
10
|
+
export default DatasetList;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import type { DiscoveryMetadataFeature } from '../../store/types';
|
|
4
|
+
interface DatasetRowProps {
|
|
5
|
+
addLayer: () => void;
|
|
6
|
+
deleteLayer: () => void;
|
|
7
|
+
feature: DiscoveryMetadataFeature;
|
|
8
|
+
searchFilter: string;
|
|
9
|
+
addDisabled?: boolean;
|
|
10
|
+
foundLayer?: layerTypes.Layer | null;
|
|
11
|
+
layerName?: string | null;
|
|
12
|
+
}
|
|
13
|
+
declare const DatasetRow: React.FC<DatasetRowProps>;
|
|
14
|
+
export default DatasetRow;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import type { DiscoveryMetadataFeature } from '../../store/types';
|
|
4
|
+
interface DatasetRowConnectProps {
|
|
5
|
+
feature: DiscoveryMetadataFeature;
|
|
6
|
+
mapLayers: layerTypes.Layer[];
|
|
7
|
+
searchFilter: string;
|
|
8
|
+
}
|
|
9
|
+
declare const DatasetRowConnect: React.FC<DatasetRowConnectProps>;
|
|
10
|
+
export default DatasetRowConnect;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Theme } from '@mui/material';
|
|
2
|
+
import type { Store } from '@reduxjs/toolkit';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import type { ThemeProviderProps } from '@opengeoweb/theme';
|
|
5
|
+
export declare const DataExplorerThemeWrapper: React.FC<ThemeProviderProps>;
|
|
6
|
+
interface DataExplorerThemeStoreProviderProps {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
theme?: Theme;
|
|
9
|
+
store: Store;
|
|
10
|
+
}
|
|
11
|
+
interface DataExplorerTranslationWrapperProps {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export interface DataExplorerStoreProviderProps extends ThemeProviderProps {
|
|
15
|
+
store: Store;
|
|
16
|
+
}
|
|
17
|
+
export declare const DataExplorerThemeStoreProvider: React.FC<DataExplorerThemeStoreProviderProps>;
|
|
18
|
+
export declare const DataExplorerI18nProvider: React.FC<DataExplorerTranslationWrapperProps>;
|
|
19
|
+
interface DataExplorerApiProviderProps {
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A Provider component which returns the Api Provider for the DataExplorer library
|
|
24
|
+
* @param children
|
|
25
|
+
* @returns
|
|
26
|
+
*/
|
|
27
|
+
export declare const DataExplorerApiProvider: React.FC<DataExplorerApiProviderProps>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Providers';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { DataExplorerModuleState } from './types';
|
|
2
|
+
export declare const dataExplorerListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<DataExplorerModuleState, import("redux-thunk").ThunkDispatch<DataExplorerModuleState, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import type { DataExplorerStoreType, DataExplorerPresets, SetSelectedDatasetPayload, SetQueryablesPayload, SetQueryableValuePayload, SetSearchFilterPayload, SetSelectedConceptPayload, SetWMSboxFilterPayload, SetBboxFilterPayload, SetMeteogateOnlyPayload } from './types';
|
|
3
|
+
export declare const initialState: DataExplorerStoreType;
|
|
4
|
+
export declare const dataExplorerReducer: import("redux").Reducer<DataExplorerStoreType>, dataExplorerActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
5
|
+
setSearchFilter: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetSearchFilterPayload>) => void;
|
|
6
|
+
setQueryables: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetQueryablesPayload>) => void;
|
|
7
|
+
setQueryableValue: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetQueryableValuePayload>) => void;
|
|
8
|
+
setSelectedDatasetId: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetSelectedDatasetPayload>) => void;
|
|
9
|
+
setSelectedConcept: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetSelectedConceptPayload>) => void;
|
|
10
|
+
setDataExplorerConfiguration: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<DataExplorerPresets>) => void;
|
|
11
|
+
setWMSbox: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetWMSboxFilterPayload>) => void;
|
|
12
|
+
setBbox: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetBboxFilterPayload>) => void;
|
|
13
|
+
setMeteogateOnly: (draft: Draft<DataExplorerStoreType>, action: PayloadAction<SetMeteogateOnlyPayload>) => void;
|
|
14
|
+
}, "dataexplorer">;
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import type { Concept, DataExplorerModuleState, DataExplorerStoreType, Queryable, QueryableConfiguration } from './types';
|
|
2
|
+
export declare const getDataExplorerState: (state: DataExplorerModuleState) => DataExplorerStoreType | undefined;
|
|
3
|
+
export declare const getSearchFilter: ((state: DataExplorerModuleState) => string) & {
|
|
4
|
+
clearCache: () => void;
|
|
5
|
+
resultsCount: () => number;
|
|
6
|
+
resetResultsCount: () => void;
|
|
7
|
+
} & {
|
|
8
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => string;
|
|
9
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => string) & {
|
|
10
|
+
clearCache: () => void;
|
|
11
|
+
resultsCount: () => number;
|
|
12
|
+
resetResultsCount: () => void;
|
|
13
|
+
};
|
|
14
|
+
lastResult: () => string;
|
|
15
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
16
|
+
recomputations: () => number;
|
|
17
|
+
resetRecomputations: () => void;
|
|
18
|
+
dependencyRecomputations: () => number;
|
|
19
|
+
resetDependencyRecomputations: () => void;
|
|
20
|
+
} & {
|
|
21
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
22
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
23
|
+
};
|
|
24
|
+
export declare const getQueryables: ((state: DataExplorerModuleState) => Queryable[]) & {
|
|
25
|
+
clearCache: () => void;
|
|
26
|
+
resultsCount: () => number;
|
|
27
|
+
resetResultsCount: () => void;
|
|
28
|
+
} & {
|
|
29
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => Queryable[];
|
|
30
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => Queryable[]) & {
|
|
31
|
+
clearCache: () => void;
|
|
32
|
+
resultsCount: () => number;
|
|
33
|
+
resetResultsCount: () => void;
|
|
34
|
+
};
|
|
35
|
+
lastResult: () => Queryable[];
|
|
36
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
37
|
+
recomputations: () => number;
|
|
38
|
+
resetRecomputations: () => void;
|
|
39
|
+
dependencyRecomputations: () => number;
|
|
40
|
+
resetDependencyRecomputations: () => void;
|
|
41
|
+
} & {
|
|
42
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
43
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
44
|
+
};
|
|
45
|
+
export declare const getQueryableConfigurations: ((state: DataExplorerModuleState) => QueryableConfiguration[]) & {
|
|
46
|
+
clearCache: () => void;
|
|
47
|
+
resultsCount: () => number;
|
|
48
|
+
resetResultsCount: () => void;
|
|
49
|
+
} & {
|
|
50
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => QueryableConfiguration[];
|
|
51
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => QueryableConfiguration[]) & {
|
|
52
|
+
clearCache: () => void;
|
|
53
|
+
resultsCount: () => number;
|
|
54
|
+
resetResultsCount: () => void;
|
|
55
|
+
};
|
|
56
|
+
lastResult: () => QueryableConfiguration[];
|
|
57
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
58
|
+
recomputations: () => number;
|
|
59
|
+
resetRecomputations: () => void;
|
|
60
|
+
dependencyRecomputations: () => number;
|
|
61
|
+
resetDependencyRecomputations: () => void;
|
|
62
|
+
} & {
|
|
63
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
64
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
65
|
+
};
|
|
66
|
+
export declare const getConcepts: ((state: DataExplorerModuleState) => Concept[]) & {
|
|
67
|
+
clearCache: () => void;
|
|
68
|
+
resultsCount: () => number;
|
|
69
|
+
resetResultsCount: () => void;
|
|
70
|
+
} & {
|
|
71
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => Concept[];
|
|
72
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => Concept[]) & {
|
|
73
|
+
clearCache: () => void;
|
|
74
|
+
resultsCount: () => number;
|
|
75
|
+
resetResultsCount: () => void;
|
|
76
|
+
};
|
|
77
|
+
lastResult: () => Concept[];
|
|
78
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
79
|
+
recomputations: () => number;
|
|
80
|
+
resetRecomputations: () => void;
|
|
81
|
+
dependencyRecomputations: () => number;
|
|
82
|
+
resetDependencyRecomputations: () => void;
|
|
83
|
+
} & {
|
|
84
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
85
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
86
|
+
};
|
|
87
|
+
export declare const getSelectedDatasetId: ((state: DataExplorerModuleState) => string) & {
|
|
88
|
+
clearCache: () => void;
|
|
89
|
+
resultsCount: () => number;
|
|
90
|
+
resetResultsCount: () => void;
|
|
91
|
+
} & {
|
|
92
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => string;
|
|
93
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => string) & {
|
|
94
|
+
clearCache: () => void;
|
|
95
|
+
resultsCount: () => number;
|
|
96
|
+
resetResultsCount: () => void;
|
|
97
|
+
};
|
|
98
|
+
lastResult: () => string;
|
|
99
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
100
|
+
recomputations: () => number;
|
|
101
|
+
resetRecomputations: () => void;
|
|
102
|
+
dependencyRecomputations: () => number;
|
|
103
|
+
resetDependencyRecomputations: () => void;
|
|
104
|
+
} & {
|
|
105
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
106
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
107
|
+
};
|
|
108
|
+
export declare const getDiscoveryCatalogueURL: ((state: DataExplorerModuleState) => string) & {
|
|
109
|
+
clearCache: () => void;
|
|
110
|
+
resultsCount: () => number;
|
|
111
|
+
resetResultsCount: () => void;
|
|
112
|
+
} & {
|
|
113
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => string;
|
|
114
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => string) & {
|
|
115
|
+
clearCache: () => void;
|
|
116
|
+
resultsCount: () => number;
|
|
117
|
+
resetResultsCount: () => void;
|
|
118
|
+
};
|
|
119
|
+
lastResult: () => string;
|
|
120
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
121
|
+
recomputations: () => number;
|
|
122
|
+
resetRecomputations: () => void;
|
|
123
|
+
dependencyRecomputations: () => number;
|
|
124
|
+
resetDependencyRecomputations: () => void;
|
|
125
|
+
} & {
|
|
126
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
127
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
128
|
+
};
|
|
129
|
+
export declare const getWMSbox: ((state: DataExplorerModuleState) => number[]) & {
|
|
130
|
+
clearCache: () => void;
|
|
131
|
+
resultsCount: () => number;
|
|
132
|
+
resetResultsCount: () => void;
|
|
133
|
+
} & {
|
|
134
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => number[];
|
|
135
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => number[]) & {
|
|
136
|
+
clearCache: () => void;
|
|
137
|
+
resultsCount: () => number;
|
|
138
|
+
resetResultsCount: () => void;
|
|
139
|
+
};
|
|
140
|
+
lastResult: () => number[];
|
|
141
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
142
|
+
recomputations: () => number;
|
|
143
|
+
resetRecomputations: () => void;
|
|
144
|
+
dependencyRecomputations: () => number;
|
|
145
|
+
resetDependencyRecomputations: () => void;
|
|
146
|
+
} & {
|
|
147
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
148
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
149
|
+
};
|
|
150
|
+
export declare const getBbox: ((state: DataExplorerModuleState) => number[]) & {
|
|
151
|
+
clearCache: () => void;
|
|
152
|
+
resultsCount: () => number;
|
|
153
|
+
resetResultsCount: () => void;
|
|
154
|
+
} & {
|
|
155
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => number[];
|
|
156
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => number[]) & {
|
|
157
|
+
clearCache: () => void;
|
|
158
|
+
resultsCount: () => number;
|
|
159
|
+
resetResultsCount: () => void;
|
|
160
|
+
};
|
|
161
|
+
lastResult: () => number[];
|
|
162
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
163
|
+
recomputations: () => number;
|
|
164
|
+
resetRecomputations: () => void;
|
|
165
|
+
dependencyRecomputations: () => number;
|
|
166
|
+
resetDependencyRecomputations: () => void;
|
|
167
|
+
} & {
|
|
168
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
169
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
170
|
+
};
|
|
171
|
+
export declare const getAreaFilterTileURL: ((state: DataExplorerModuleState) => string) & {
|
|
172
|
+
clearCache: () => void;
|
|
173
|
+
resultsCount: () => number;
|
|
174
|
+
resetResultsCount: () => void;
|
|
175
|
+
} & {
|
|
176
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => string;
|
|
177
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => string) & {
|
|
178
|
+
clearCache: () => void;
|
|
179
|
+
resultsCount: () => number;
|
|
180
|
+
resetResultsCount: () => void;
|
|
181
|
+
};
|
|
182
|
+
lastResult: () => string;
|
|
183
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
184
|
+
recomputations: () => number;
|
|
185
|
+
resetRecomputations: () => void;
|
|
186
|
+
dependencyRecomputations: () => number;
|
|
187
|
+
resetDependencyRecomputations: () => void;
|
|
188
|
+
} & {
|
|
189
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
190
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
191
|
+
};
|
|
192
|
+
export declare const getAreaFilterTileLicense: ((state: DataExplorerModuleState) => string) & {
|
|
193
|
+
clearCache: () => void;
|
|
194
|
+
resultsCount: () => number;
|
|
195
|
+
resetResultsCount: () => void;
|
|
196
|
+
} & {
|
|
197
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => string;
|
|
198
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => string) & {
|
|
199
|
+
clearCache: () => void;
|
|
200
|
+
resultsCount: () => number;
|
|
201
|
+
resetResultsCount: () => void;
|
|
202
|
+
};
|
|
203
|
+
lastResult: () => string;
|
|
204
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
205
|
+
recomputations: () => number;
|
|
206
|
+
resetRecomputations: () => void;
|
|
207
|
+
dependencyRecomputations: () => number;
|
|
208
|
+
resetDependencyRecomputations: () => void;
|
|
209
|
+
} & {
|
|
210
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
211
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
212
|
+
};
|
|
213
|
+
export declare const getMeteogateOnly: ((state: DataExplorerModuleState) => boolean) & {
|
|
214
|
+
clearCache: () => void;
|
|
215
|
+
resultsCount: () => number;
|
|
216
|
+
resetResultsCount: () => void;
|
|
217
|
+
} & {
|
|
218
|
+
resultFunc: (resultFuncArgs_0: DataExplorerStoreType | undefined) => boolean;
|
|
219
|
+
memoizedResultFunc: ((resultFuncArgs_0: DataExplorerStoreType | undefined) => boolean) & {
|
|
220
|
+
clearCache: () => void;
|
|
221
|
+
resultsCount: () => number;
|
|
222
|
+
resetResultsCount: () => void;
|
|
223
|
+
};
|
|
224
|
+
lastResult: () => boolean;
|
|
225
|
+
dependencies: [(state: DataExplorerModuleState) => DataExplorerStoreType | undefined];
|
|
226
|
+
recomputations: () => number;
|
|
227
|
+
resetRecomputations: () => void;
|
|
228
|
+
dependencyRecomputations: () => number;
|
|
229
|
+
resetDependencyRecomputations: () => void;
|
|
230
|
+
} & {
|
|
231
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
232
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
233
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Middleware, Store } from '@reduxjs/toolkit';
|
|
2
|
+
import type { SnackbarModuleStore } from '@opengeoweb/snackbar';
|
|
3
|
+
import type { ReducerMap, WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
|
|
4
|
+
import type { DataExplorerModuleState } from './types';
|
|
5
|
+
export declare const dataExplorerReducersMap: ReducerMap;
|
|
6
|
+
export declare const dataExplorerMiddlewares: Middleware[];
|
|
7
|
+
export declare const createMockStore: (mockState?: WebMapStateModuleState | SynchronizationGroupModuleState | UIModuleState | DataExplorerModuleState | SnackbarModuleStore) => Store;
|