@opengeoweb/data-explorer 16.0.0 → 17.0.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/index.esm.js +814 -473
- package/package.json +10 -10
- package/src/index.d.ts +0 -5
- package/src/lib/components/AreaFilter/AreaFilter.d.ts +0 -11
- package/src/lib/components/AreaFilter/AreaFilterConnect.d.ts +0 -2
- package/src/lib/components/AreaFilter/AreaFilterConnect.spec.d.ts +0 -1
- package/src/lib/components/AreaFilter/AreaFilterConnect.stories.d.ts +0 -7
- package/src/lib/components/AreaFilter/AreaFilterLocationSearch.d.ts +0 -6
- package/src/lib/components/AreaFilter/AreaFilterLocationSearch.spec.d.ts +0 -1
- package/src/lib/components/ConceptList/ConceptChip.d.ts +0 -10
- package/src/lib/components/ConceptList/ConceptChipConnect.d.ts +0 -7
- package/src/lib/components/ConceptList/ConceptList.d.ts +0 -8
- package/src/lib/components/ConceptList/ConceptListConnect.d.ts +0 -2
- package/src/lib/components/ConceptList/ConceptListConnect.spec.d.ts +0 -1
- package/src/lib/components/ConceptList/ConceptListConnect.stories.d.ts +0 -7
- package/src/lib/components/DataExplorer.d.ts +0 -18
- package/src/lib/components/DataExplorer.stories.d.ts +0 -9
- package/src/lib/components/DataExplorerConnect.d.ts +0 -6
- package/src/lib/components/DataExplorerConnect.spec.d.ts +0 -1
- package/src/lib/components/DataExplorerConnect.stories.d.ts +0 -11
- package/src/lib/components/DataExplorerFilters/DataExplorerFilterOption.d.ts +0 -11
- package/src/lib/components/DataExplorerFilters/DataExplorerFilters.d.ts +0 -10
- package/src/lib/components/DataExplorerFilters/DataExplorerFilters.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerFilters/DataExplorerFiltersConnect.d.ts +0 -2
- package/src/lib/components/DataExplorerFilters/DataExplorerFiltersConnect.spec.d.ts +0 -1
- package/src/lib/components/DataExplorerFilters/DataExplorerSearchConnect.d.ts +0 -2
- package/src/lib/components/DataExplorerFilters/DataExplorerSearchConnect.spec.d.ts +0 -1
- package/src/lib/components/DataExplorerFilters/DataExplorerSearchConnect.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/DataExplorerInfo.d.ts +0 -15
- package/src/lib/components/DataExplorerInfo/DataExplorerInfo.spec.d.ts +0 -1
- package/src/lib/components/DataExplorerInfo/DataExplorerInfo.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/DataExplorerInfoButton.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/DataExplorerInfoButtonConnect.d.ts +0 -8
- package/src/lib/components/DataExplorerInfo/DataExplorerInfoConnect.d.ts +0 -2
- package/src/lib/components/DataExplorerInfo/InfoDialogBaseInfo.d.ts +0 -4
- package/src/lib/components/DataExplorerInfo/InfoDialogBaseInfo.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/InfoDialogContacts.d.ts +0 -4
- package/src/lib/components/DataExplorerInfo/InfoDialogContacts.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/InfoDialogGeographicalCoverage.d.ts +0 -4
- package/src/lib/components/DataExplorerInfo/InfoDialogGeographicalCoverage.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/InfoDialogKeywords.d.ts +0 -4
- package/src/lib/components/DataExplorerInfo/InfoDialogKeywords.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/InfoDialogLinks.d.ts +0 -4
- package/src/lib/components/DataExplorerInfo/InfoDialogLinks.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/InfoDialogTime.d.ts +0 -4
- package/src/lib/components/DataExplorerInfo/InfoDialogTime.spec.d.ts +0 -1
- package/src/lib/components/DataExplorerInfo/InfoDialogTime.stories.d.ts +0 -7
- package/src/lib/components/DataExplorerInfo/InfoDialogWMSMap.d.ts +0 -14
- package/src/lib/components/DataExplorerInfo/InfoDialogWMSMapConnect.d.ts +0 -15
- package/src/lib/components/DataExplorerInfo/InfoDialogWMSMapConnect.spec.d.ts +0 -1
- package/src/lib/components/DataExplorerInfo/InfoDialogWMSMapConnect.stories.d.ts +0 -7
- package/src/lib/components/DatasetList/DatasetAddRemoveButton.d.ts +0 -10
- package/src/lib/components/DatasetList/DatasetList.d.ts +0 -10
- package/src/lib/components/DatasetList/DatasetList.stories.d.ts +0 -7
- package/src/lib/components/DatasetList/DatasetListConnect.d.ts +0 -2
- package/src/lib/components/DatasetList/DatasetListConnect.spec.d.ts +0 -1
- package/src/lib/components/DatasetList/DatasetRow.d.ts +0 -14
- package/src/lib/components/DatasetList/DatasetRowConnect.d.ts +0 -10
- package/src/lib/components/DatasetList/DatasetRowConnect.spec.d.ts +0 -1
- package/src/lib/components/providers/Providers.d.ts +0 -28
- package/src/lib/components/providers/index.d.ts +0 -1
- package/src/lib/store/index.d.ts +0 -4
- package/src/lib/store/listeners.d.ts +0 -2
- package/src/lib/store/reducer.d.ts +0 -14
- package/src/lib/store/selectors.d.ts +0 -233
- package/src/lib/store/store.d.ts +0 -15
- package/src/lib/store/types.d.ts +0 -208
- package/src/lib/utils/data-explorerUtils.d.ts +0 -8
- package/src/lib/utils/data-explorerUtils.spec.d.ts +0 -1
- package/src/lib/utils/dataexplorer-api/api.d.ts +0 -7
- package/src/lib/utils/dataexplorer-api/fakeApi.d.ts +0 -15
- package/src/lib/utils/dataexplorer-api/hooks.d.ts +0 -7
- package/src/lib/utils/i18n.d.ts +0 -6
- package/src/lib/utils/storyUtils.d.ts +0 -10
- package/src/lib/utils/timeUtils.d.ts +0 -1
- package/src/lib/utils/timeUtils.spec.d.ts +0 -1
|
@@ -1,233 +0,0 @@
|
|
|
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
|
-
};
|
package/src/lib/store/store.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Store } from '@reduxjs/toolkit';
|
|
2
|
-
import type { SnackbarModuleStore } from '@opengeoweb/snackbar';
|
|
3
|
-
import type { WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
|
|
4
|
-
import type { DataExplorerModuleState } from './types';
|
|
5
|
-
export declare const dataExplorerReducersMap: {
|
|
6
|
-
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>;
|
|
7
|
-
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>;
|
|
8
|
-
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>;
|
|
9
|
-
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>;
|
|
10
|
-
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>;
|
|
11
|
-
dataExplorer: import("redux").Reducer<import("./types").DataExplorerStoreType>;
|
|
12
|
-
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>;
|
|
13
|
-
};
|
|
14
|
-
export declare const dataExplorerMiddlewares: (import("@reduxjs/toolkit").ListenerMiddleware<import("@opengeoweb/store").CoreAppStore, import("redux-thunk").ThunkDispatch<import("@opengeoweb/store").CoreAppStore, unknown, import("redux").UnknownAction>, unknown> | import("@reduxjs/toolkit").ListenerMiddleware<DataExplorerModuleState, import("redux-thunk").ThunkDispatch<DataExplorerModuleState, unknown, import("redux").UnknownAction>, unknown> | import("@reduxjs/toolkit").ListenerMiddleware<SnackbarModuleStore, import("redux-thunk").ThunkDispatch<SnackbarModuleStore, unknown, import("redux").UnknownAction>, unknown>)[];
|
|
15
|
-
export declare const createMockStore: (mockState?: WebMapStateModuleState | SynchronizationGroupModuleState | UIModuleState | DataExplorerModuleState | SnackbarModuleStore) => Store;
|
package/src/lib/store/types.d.ts
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
export interface DiscoveryMetadataFeature {
|
|
2
|
-
id: string;
|
|
3
|
-
conformsTo: string[];
|
|
4
|
-
type: string;
|
|
5
|
-
geometry: InfoDialogGeographicalCoverageProps;
|
|
6
|
-
properties: {
|
|
7
|
-
identifier?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
formats?: {
|
|
11
|
-
name: string;
|
|
12
|
-
}[];
|
|
13
|
-
themes?: InfoDialogThemesProps[];
|
|
14
|
-
language?: {
|
|
15
|
-
code: string;
|
|
16
|
-
};
|
|
17
|
-
type?: string;
|
|
18
|
-
updated?: string;
|
|
19
|
-
created?: string;
|
|
20
|
-
rights?: string;
|
|
21
|
-
contacts: InfoDialogContactsProps[];
|
|
22
|
-
keywords?: string[];
|
|
23
|
-
'wmo:dataPolicy': string;
|
|
24
|
-
};
|
|
25
|
-
links: InfoDialogLinksProps[];
|
|
26
|
-
time?: InfoDialogTimeProps;
|
|
27
|
-
}
|
|
28
|
-
export interface InfoDialogBaseInfoProps {
|
|
29
|
-
properties: {
|
|
30
|
-
identifier?: string;
|
|
31
|
-
title?: string;
|
|
32
|
-
description?: string;
|
|
33
|
-
formats?: {
|
|
34
|
-
name: string;
|
|
35
|
-
}[];
|
|
36
|
-
themes?: InfoDialogThemesProps[];
|
|
37
|
-
language?: {
|
|
38
|
-
code: string;
|
|
39
|
-
};
|
|
40
|
-
type?: string;
|
|
41
|
-
updated?: string;
|
|
42
|
-
created?: string;
|
|
43
|
-
rights?: string;
|
|
44
|
-
contacts: InfoDialogContactsProps[];
|
|
45
|
-
keywords?: string[];
|
|
46
|
-
'wmo:dataPolicy': string;
|
|
47
|
-
};
|
|
48
|
-
datasetLink: string;
|
|
49
|
-
id: string;
|
|
50
|
-
}
|
|
51
|
-
export interface InfoDialogGeographicalCoverageProps {
|
|
52
|
-
type: string;
|
|
53
|
-
coordinates: number[][][] | number[][][][];
|
|
54
|
-
}
|
|
55
|
-
export interface InfoDialogTimeProps {
|
|
56
|
-
interval?: string[];
|
|
57
|
-
resolution?: string;
|
|
58
|
-
}
|
|
59
|
-
export interface InfoDialogThemesAndKeywordsProps {
|
|
60
|
-
themes?: InfoDialogThemesProps[];
|
|
61
|
-
keywords?: string[];
|
|
62
|
-
}
|
|
63
|
-
export interface InfoDialogThemesProps {
|
|
64
|
-
concepts: {
|
|
65
|
-
id: string;
|
|
66
|
-
}[];
|
|
67
|
-
scheme: string;
|
|
68
|
-
}
|
|
69
|
-
export interface InfoDialogLinksProps {
|
|
70
|
-
href: string;
|
|
71
|
-
rel: string;
|
|
72
|
-
title: string;
|
|
73
|
-
type: string;
|
|
74
|
-
}
|
|
75
|
-
export interface InfoDialogContactsProps {
|
|
76
|
-
addresses?: {
|
|
77
|
-
administrativeArea?: string;
|
|
78
|
-
city?: string;
|
|
79
|
-
country?: string;
|
|
80
|
-
deliveryPoint?: string[];
|
|
81
|
-
postalCode?: string;
|
|
82
|
-
}[];
|
|
83
|
-
contactInstructions?: string;
|
|
84
|
-
emails?: {
|
|
85
|
-
value: string;
|
|
86
|
-
}[];
|
|
87
|
-
hoursOfService?: string;
|
|
88
|
-
links?: {
|
|
89
|
-
href: string;
|
|
90
|
-
rel: string;
|
|
91
|
-
type: string;
|
|
92
|
-
}[];
|
|
93
|
-
name?: string;
|
|
94
|
-
organization?: string;
|
|
95
|
-
phones?: {
|
|
96
|
-
value: string;
|
|
97
|
-
}[];
|
|
98
|
-
position?: string;
|
|
99
|
-
roles?: string[];
|
|
100
|
-
}
|
|
101
|
-
export interface DiscoveryMetadataItems {
|
|
102
|
-
type: string;
|
|
103
|
-
features: DiscoveryMetadataFeature[];
|
|
104
|
-
numberMatched: number;
|
|
105
|
-
numberReturned: number;
|
|
106
|
-
links: object[];
|
|
107
|
-
timeStamp: string;
|
|
108
|
-
}
|
|
109
|
-
export interface DataExplorerWMSState {
|
|
110
|
-
geometry: {
|
|
111
|
-
type: string;
|
|
112
|
-
coordinates: number[][][] | number[][][][];
|
|
113
|
-
};
|
|
114
|
-
links: {
|
|
115
|
-
href: string;
|
|
116
|
-
rel: string;
|
|
117
|
-
title?: string;
|
|
118
|
-
type: string;
|
|
119
|
-
}[];
|
|
120
|
-
}
|
|
121
|
-
export interface DataExplorerStoreType {
|
|
122
|
-
discoveryCatalogueURL: string;
|
|
123
|
-
filters: {
|
|
124
|
-
searchFilter: string;
|
|
125
|
-
queryables: Queryable[];
|
|
126
|
-
concepts: Concept[];
|
|
127
|
-
queryableConfigurations: QueryableConfiguration[];
|
|
128
|
-
wmsbox?: number[];
|
|
129
|
-
bbox?: number[];
|
|
130
|
-
meteogateOnly?: boolean;
|
|
131
|
-
};
|
|
132
|
-
selectedDatasetId: string;
|
|
133
|
-
areaFilterTileURL?: string;
|
|
134
|
-
areaFilterTileLicense?: string;
|
|
135
|
-
infoDialogWMSState?: DataExplorerWMSState;
|
|
136
|
-
}
|
|
137
|
-
export interface DataExplorerModuleState {
|
|
138
|
-
dataExplorer?: DataExplorerStoreType;
|
|
139
|
-
}
|
|
140
|
-
export interface SetSearchFilterPayload {
|
|
141
|
-
filterText: string;
|
|
142
|
-
}
|
|
143
|
-
export interface SetQueryablesPayload {
|
|
144
|
-
queryables: Queryable[];
|
|
145
|
-
}
|
|
146
|
-
export interface SetQueryableValuePayload {
|
|
147
|
-
id: string;
|
|
148
|
-
value: string;
|
|
149
|
-
checked: boolean;
|
|
150
|
-
}
|
|
151
|
-
export interface SetSelectedConceptPayload {
|
|
152
|
-
id: string;
|
|
153
|
-
}
|
|
154
|
-
export interface SetSelectedDatasetPayload {
|
|
155
|
-
id: string;
|
|
156
|
-
}
|
|
157
|
-
export interface SetBboxFilterPayload {
|
|
158
|
-
bbox: number[];
|
|
159
|
-
}
|
|
160
|
-
export interface SetMeteogateOnlyPayload {
|
|
161
|
-
enabled: boolean;
|
|
162
|
-
}
|
|
163
|
-
export interface Queryable {
|
|
164
|
-
id: string;
|
|
165
|
-
label: string;
|
|
166
|
-
values: QueryableValue[];
|
|
167
|
-
selected: string[];
|
|
168
|
-
}
|
|
169
|
-
export interface SetWMSboxFilterPayload {
|
|
170
|
-
wmsBox: number[];
|
|
171
|
-
}
|
|
172
|
-
export interface QueryableValue {
|
|
173
|
-
value: string;
|
|
174
|
-
datasetCount: number;
|
|
175
|
-
}
|
|
176
|
-
export interface Concept {
|
|
177
|
-
id: string;
|
|
178
|
-
label: string;
|
|
179
|
-
selected: boolean;
|
|
180
|
-
}
|
|
181
|
-
export declare enum DatasetFormat {
|
|
182
|
-
WMS = "WMS",
|
|
183
|
-
GeoJSON = "GeoJSON"
|
|
184
|
-
}
|
|
185
|
-
export interface AddLayerParams {
|
|
186
|
-
serviceUrl: string;
|
|
187
|
-
layerName: string;
|
|
188
|
-
datasetFormat: DatasetFormat;
|
|
189
|
-
}
|
|
190
|
-
export interface DeleteLayerParams {
|
|
191
|
-
layerId: string;
|
|
192
|
-
layerIndex: number;
|
|
193
|
-
}
|
|
194
|
-
export interface ConceptConfiguration {
|
|
195
|
-
id: string;
|
|
196
|
-
label: string;
|
|
197
|
-
}
|
|
198
|
-
export interface QueryableConfiguration {
|
|
199
|
-
id: string;
|
|
200
|
-
label: string;
|
|
201
|
-
}
|
|
202
|
-
export interface DataExplorerPresets {
|
|
203
|
-
discoveryCatalogueURL: string;
|
|
204
|
-
concepts: ConceptConfiguration[];
|
|
205
|
-
queryables: QueryableConfiguration[];
|
|
206
|
-
areaFilterTileURL?: string;
|
|
207
|
-
areaFilterTileLicense?: string;
|
|
208
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const findSmallestMultiPolygonFirstChild: (multiPolygons: number[][][][]) => number;
|
|
2
|
-
export declare const findLargestMultiPolygonFirstChild: (multiPolygons: number[][][][]) => number;
|
|
3
|
-
export declare const findSmallestMultiPolygonLastChild: (multiPolygons: number[][][][]) => number;
|
|
4
|
-
export declare const findLargestMultiPolygonLastChild: (multiPolygons: number[][][][]) => number;
|
|
5
|
-
export declare const findSmallestPolygonFirstChild: (pairs: number[][][]) => number;
|
|
6
|
-
export declare const findLargestPolygonFirstChild: (pairs: number[][][]) => number;
|
|
7
|
-
export declare const findSmallestPolygonLastChild: (pairs: number[][][]) => number;
|
|
8
|
-
export declare const findLargestPolygonLastChild: (pairs: number[][][]) => number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { FeatureCollection } from 'geojson';
|
|
2
|
-
import type { Concept, DataExplorerPresets, DiscoveryMetadataFeature, DiscoveryMetadataItems, Queryable } from '../../store/types';
|
|
3
|
-
export declare const LIMIT = 10000;
|
|
4
|
-
export declare const fetchItems: (baseUrl: string, search?: string, queryables?: Queryable[], concepts?: Concept[], bbox?: number[], meteogateOnly?: boolean) => Promise<DiscoveryMetadataItems | null>;
|
|
5
|
-
export declare const fetchGeoJSON: (collectionUrl: string) => Promise<FeatureCollection | null>;
|
|
6
|
-
export declare const fetchItem: (baseUrl: string, datasetId: string) => Promise<DiscoveryMetadataFeature | null>;
|
|
7
|
-
export declare const getDataExplorerConfiguration: (productConfigKey: string) => Promise<DataExplorerPresets>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DiscoveryMetadataItems } from '../../store/types';
|
|
2
|
-
export declare const testPresets: {
|
|
3
|
-
discoveryCatalogueURL: string;
|
|
4
|
-
concepts: {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
}[];
|
|
8
|
-
queryables: {
|
|
9
|
-
id: string;
|
|
10
|
-
label: string;
|
|
11
|
-
}[];
|
|
12
|
-
areaFilterTileLicense: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const fakeDatasets: DiscoveryMetadataItems;
|
|
15
|
-
export declare const dataexplorerEndpoints: import("msw").HttpHandler[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
import type { FeatureCollection } from 'geojson';
|
|
3
|
-
import type { Concept, DataExplorerPresets, DiscoveryMetadataFeature, DiscoveryMetadataItems, Queryable } from '../../store/types';
|
|
4
|
-
export declare const useGetDataexplorerConfiguration: (productConfigKey: string) => UseQueryResult<DataExplorerPresets>;
|
|
5
|
-
export declare const useFetchItems: (baseUrl: string, search?: string, queryables?: Queryable[], concepts?: Concept[], bbox?: number[], meteogateOnly?: boolean, enabled?: boolean) => UseQueryResult<DiscoveryMetadataItems | null>;
|
|
6
|
-
export declare const useFetchGeoJSON: (collectionUrl: string) => UseQueryResult<FeatureCollection | null>;
|
|
7
|
-
export declare const useFetchItem: (baseUrl: string, datasetId: string) => UseQueryResult<DiscoveryMetadataFeature | null>;
|
package/src/lib/utils/i18n.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import i18n from 'i18next';
|
|
2
|
-
import type { UseTranslationResponse } from 'react-i18next';
|
|
3
|
-
export declare const DATA_EXPLORER_NAMESPACE = "dataexplorer";
|
|
4
|
-
export declare const initDataExplorerI18n: () => void;
|
|
5
|
-
export declare const translateInTestsAndStories: (key: string, params?: Record<string, string | number> | undefined) => string;
|
|
6
|
-
export declare const useDataExplorerTranslation: () => UseTranslationResponse<typeof DATA_EXPLORER_NAMESPACE, typeof i18n>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DiscoveryMetadataFeature, InfoDialogBaseInfoProps, InfoDialogContactsProps, InfoDialogGeographicalCoverageProps, InfoDialogThemesAndKeywordsProps, InfoDialogLinksProps, InfoDialogTimeProps } from '../store/types';
|
|
2
|
-
export declare const InfoDialogLinksMock: InfoDialogLinksProps[];
|
|
3
|
-
export declare const InfoDialogTimeMock: InfoDialogTimeProps;
|
|
4
|
-
export declare const CoordinatedUniversalTimeMock: InfoDialogTimeProps;
|
|
5
|
-
export declare const InfoDialogKeywordsMock: InfoDialogThemesAndKeywordsProps;
|
|
6
|
-
export declare const InfoDialogContactsMock: InfoDialogContactsProps;
|
|
7
|
-
export declare const InfoDialogGeographicalCoveragePolygonMock: InfoDialogGeographicalCoverageProps;
|
|
8
|
-
export declare const InfoDialogGeographicalCoverageMultipolygonMock: InfoDialogGeographicalCoverageProps;
|
|
9
|
-
export declare const InfoDialogBaseInfoMock: InfoDialogBaseInfoProps;
|
|
10
|
-
export declare const featureInfoMock: DiscoveryMetadataFeature;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const parseISO8601Duration: (isoDuration: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|