@opengeoweb/time-series 19.1.0 → 19.2.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/dist/README.md +38 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +8909 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/lib/components/ComponentsLookUp/componentsLookUp.d.ts +24 -0
- package/dist/src/lib/components/ComponentsLookUp/index.d.ts +1 -0
- package/dist/src/lib/components/Providers/Providers.d.ts +32 -0
- package/dist/src/lib/components/Providers/index.d.ts +1 -0
- package/dist/src/lib/components/TimeSeries/LocationDropdown/LocationDropdown.d.ts +13 -0
- package/dist/src/lib/components/TimeSeries/LocationDropdown/LocationDropdownHeader.d.ts +7 -0
- package/dist/src/lib/components/TimeSeries/LocationDropdown/LocationListItem.d.ts +8 -0
- package/dist/src/lib/components/TimeSeries/LocationDropdown/OverflowTooltip.d.ts +9 -0
- package/dist/src/lib/components/TimeSeries/LocationDropdown/testData.d.ts +2 -0
- package/dist/src/lib/components/TimeSeries/LocationInfo/LocationInfo.d.ts +30 -0
- package/dist/src/lib/components/TimeSeries/LocationInfo/LocationInfoButtonConnect.d.ts +7 -0
- package/dist/src/lib/components/TimeSeries/LocationInfo/LocationInfoConnect.d.ts +2 -0
- package/dist/src/lib/components/TimeSeries/LocationSelect/LocationSelectButtonConnect.d.ts +6 -0
- package/dist/src/lib/components/TimeSeries/LocationSelect/LocationSelectDialogConnect.d.ts +2 -0
- package/dist/src/lib/components/TimeSeries/LocationSelect/index.d.ts +1 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesChart.d.ts +34 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesConnect.d.ts +9 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesConnectWrapper.d.ts +9 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesMarkersSwitch.d.ts +6 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesTopRowButton.d.ts +9 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesView.d.ts +16 -0
- package/dist/src/lib/components/TimeSeries/chartUtils.d.ts +43 -0
- package/dist/src/lib/components/TimeSeries/types.d.ts +251 -0
- package/dist/src/lib/components/TimeSeries/utils.d.ts +25 -0
- package/dist/src/lib/components/TimeSeriesAddPlot/TimeSeriesAddPlot.d.ts +10 -0
- package/dist/src/lib/components/TimeSeriesManager/ParameterInfo/ParameterInfoButton.d.ts +8 -0
- package/dist/src/lib/components/TimeSeriesManager/ParameterInfo/ParameterInfoButtonConnect.d.ts +8 -0
- package/dist/src/lib/components/TimeSeriesManager/ParameterInfo/ParameterInfoDialog.d.ts +43 -0
- package/dist/src/lib/components/TimeSeriesManager/ParameterInfo/ParameterInfoDialogConnect.d.ts +2 -0
- package/dist/src/lib/components/TimeSeriesManager/ParameterList.d.ts +15 -0
- package/dist/src/lib/components/TimeSeriesManager/PlotRows.d.ts +21 -0
- package/dist/src/lib/components/TimeSeriesManager/RowLayout.d.ts +10 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManager.d.ts +40 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerConnect.d.ts +9 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerMapButtonConnect.d.ts +7 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterColorSelect.d.ts +11 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterDimensionIdSelect.d.ts +12 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterDimensionSelect.d.ts +10 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterDimensionValueSelect.d.ts +11 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterNameSelect.d.ts +10 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterOpacitySelect.d.ts +10 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterReferenceTimeSelect.d.ts +10 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterTypeSelect.d.ts +10 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerRowAccordion.d.ts +16 -0
- package/dist/src/lib/components/TimeSeriesManager/index.d.ts +1 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServiceChips/ServiceChip.d.ts +11 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServiceChips/ServiceChipConnect.d.ts +12 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServiceOptionsConnect.d.ts +6 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServiceOptionsDialog.d.ts +13 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/ServicePopup.d.ts +18 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/ServicePopupConnect.d.ts +6 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/ServicePopupDialogConnect.d.ts +12 -0
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/utils.d.ts +4 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSearchConnect.d.ts +6 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelect.d.ts +15 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelectButtonConnect.d.ts +11 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelectConnect.d.ts +7 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelectList.d.ts +19 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelectListConnect.d.ts +12 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesServiceList.d.ts +9 -0
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesServiceListConnect.d.ts +8 -0
- package/dist/src/lib/components/TimeSeriesSelect/utils.d.ts +16 -0
- package/dist/src/lib/constants.d.ts +66 -0
- package/dist/src/lib/index.d.ts +10 -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 +54 -0
- package/dist/src/lib/store/selectors.d.ts +433 -0
- package/dist/src/lib/store/store.d.ts +7 -0
- package/dist/src/lib/store/types.d.ts +152 -0
- package/dist/src/lib/storybookUtils/SimpleLinkMenu.d.ts +6 -0
- package/dist/src/lib/storybookUtils/ToggleThemeButton.d.ts +2 -0
- package/dist/src/lib/storybookUtils/chartSeriesExampleData.d.ts +4 -0
- package/dist/src/lib/storybookUtils/defaultStorySettings.d.ts +18 -0
- package/dist/src/lib/utils/edrUtils.d.ts +62 -0
- package/dist/src/lib/utils/fakeData/mockDimensions.d.ts +2 -0
- package/dist/src/lib/utils/fakeData/mockGeoJSON.d.ts +2 -0
- package/dist/src/lib/utils/fakeData/mockTimeSeriesServices.d.ts +2 -0
- package/dist/src/lib/utils/i18n.d.ts +6 -0
- package/dist/src/lib/utils/localStorage.d.ts +3 -0
- package/dist/src/lib/utils/mocks/handlers.d.ts +189 -0
- package/dist/src/lib/utils/mocks/index.d.ts +2 -0
- package/dist/src/lib/utils/mocks/server.d.ts +1 -0
- package/dist/src/lib/utils/timeseries-api/api.d.ts +41 -0
- package/dist/src/lib/utils/timeseries-api/fakeApi.d.ts +1 -0
- package/dist/src/lib/utils/timeseries-api/hooks.d.ts +70 -0
- package/dist/src/lib/utils/utils.d.ts +3 -0
- package/package.json +4 -3
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
2
|
+
import type { CoreAppStore, layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import type { ServiceFilterChipsObject, ServiceFilterChipsObjectEntities, TimeSeriesPreset, TimeSeriesServicePopupObject, TimeSeriesStoreType, TimeSeriesState } from './types';
|
|
4
|
+
import type { GeoJsonWithService, Parameter, Plot, PlotPreset, TimeSeriesLocation } from '../components/TimeSeries/types';
|
|
5
|
+
interface TimeSeriesStateSlice {
|
|
6
|
+
timeSeries?: TimeSeriesState | TimeSeriesStoreType;
|
|
7
|
+
}
|
|
8
|
+
export declare const getPanelState: (state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined;
|
|
9
|
+
export declare const getPlotState: (state: TimeSeriesStateSlice, panelId?: string) => PlotPreset | undefined;
|
|
10
|
+
export declare const getTimeSeriesState: (state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined;
|
|
11
|
+
export declare const getMapId: (state: TimeSeriesStateSlice, panelId?: string) => string | undefined;
|
|
12
|
+
export declare const getPlotWithParameters: ((state: TimeSeriesStateSlice, _selectPlotId: string, panelId?: string | undefined) => Plot | undefined) & {
|
|
13
|
+
clearCache: () => void;
|
|
14
|
+
resultsCount: () => number;
|
|
15
|
+
resetResultsCount: () => void;
|
|
16
|
+
} & {
|
|
17
|
+
resultFunc: (resultFuncArgs_0: PlotPreset | undefined, resultFuncArgs_1: string) => Plot | undefined;
|
|
18
|
+
memoizedResultFunc: ((resultFuncArgs_0: PlotPreset | undefined, resultFuncArgs_1: string) => Plot | undefined) & {
|
|
19
|
+
clearCache: () => void;
|
|
20
|
+
resultsCount: () => number;
|
|
21
|
+
resetResultsCount: () => void;
|
|
22
|
+
};
|
|
23
|
+
lastResult: () => Plot | undefined;
|
|
24
|
+
dependencies: [(state: TimeSeriesStateSlice, _selectPlotId: string, panelId?: string) => PlotPreset | undefined, (_: TimeSeriesStateSlice, selectPlotId: string) => string];
|
|
25
|
+
recomputations: () => number;
|
|
26
|
+
resetRecomputations: () => void;
|
|
27
|
+
dependencyRecomputations: () => number;
|
|
28
|
+
resetDependencyRecomputations: () => void;
|
|
29
|
+
} & {
|
|
30
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
31
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
32
|
+
};
|
|
33
|
+
export declare const getService: ((state: TimeSeriesStateSlice, _serviceId: string | undefined, _panelId?: string | undefined) => TimeSeriesService | undefined) & {
|
|
34
|
+
clearCache: () => void;
|
|
35
|
+
resultsCount: () => number;
|
|
36
|
+
resetResultsCount: () => void;
|
|
37
|
+
} & {
|
|
38
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined, resultFuncArgs_1: string | undefined) => TimeSeriesService | undefined;
|
|
39
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined, resultFuncArgs_1: string | undefined) => TimeSeriesService | undefined) & {
|
|
40
|
+
clearCache: () => void;
|
|
41
|
+
resultsCount: () => number;
|
|
42
|
+
resetResultsCount: () => void;
|
|
43
|
+
};
|
|
44
|
+
lastResult: () => TimeSeriesService | undefined;
|
|
45
|
+
dependencies: [(state: TimeSeriesStateSlice, _serviceId: string | undefined, _panelId?: string) => TimeSeriesState | TimeSeriesStoreType | undefined, (_: TimeSeriesStateSlice, serviceId: string | undefined) => string | undefined];
|
|
46
|
+
recomputations: () => number;
|
|
47
|
+
resetRecomputations: () => void;
|
|
48
|
+
dependencyRecomputations: () => number;
|
|
49
|
+
resetDependencyRecomputations: () => void;
|
|
50
|
+
} & {
|
|
51
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
52
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
53
|
+
};
|
|
54
|
+
export declare const getServices: ((state: TimeSeriesStateSlice, _panelId?: string | undefined) => TimeSeriesService[] | undefined) & {
|
|
55
|
+
clearCache: () => void;
|
|
56
|
+
resultsCount: () => number;
|
|
57
|
+
resetResultsCount: () => void;
|
|
58
|
+
} & {
|
|
59
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => TimeSeriesService[] | undefined;
|
|
60
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => TimeSeriesService[] | undefined) & {
|
|
61
|
+
clearCache: () => void;
|
|
62
|
+
resultsCount: () => number;
|
|
63
|
+
resetResultsCount: () => void;
|
|
64
|
+
};
|
|
65
|
+
lastResult: () => TimeSeriesService[] | undefined;
|
|
66
|
+
dependencies: [(state: TimeSeriesStateSlice, _panelId?: string) => TimeSeriesState | TimeSeriesStoreType | undefined];
|
|
67
|
+
recomputations: () => number;
|
|
68
|
+
resetRecomputations: () => void;
|
|
69
|
+
dependencyRecomputations: () => number;
|
|
70
|
+
resetDependencyRecomputations: () => void;
|
|
71
|
+
} & {
|
|
72
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
73
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Returns search filter string
|
|
77
|
+
*
|
|
78
|
+
* Example getSearchFilter(store);
|
|
79
|
+
* @param {object} store store: object - store object
|
|
80
|
+
* @returns {array} returnType: string
|
|
81
|
+
*/
|
|
82
|
+
export declare const getSearchFilter: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => string) & {
|
|
83
|
+
clearCache: () => void;
|
|
84
|
+
resultsCount: () => number;
|
|
85
|
+
resetResultsCount: () => void;
|
|
86
|
+
} & {
|
|
87
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => string;
|
|
88
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => string) & {
|
|
89
|
+
clearCache: () => void;
|
|
90
|
+
resultsCount: () => number;
|
|
91
|
+
resetResultsCount: () => void;
|
|
92
|
+
};
|
|
93
|
+
lastResult: () => string;
|
|
94
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
95
|
+
recomputations: () => number;
|
|
96
|
+
resetRecomputations: () => void;
|
|
97
|
+
dependencyRecomputations: () => number;
|
|
98
|
+
resetDependencyRecomputations: () => void;
|
|
99
|
+
} & {
|
|
100
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
101
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Returns all currently used parameters
|
|
105
|
+
*
|
|
106
|
+
* Example getParametersInUse(store);
|
|
107
|
+
* @param {object} store store: object - store object
|
|
108
|
+
* @returns {Parameter[]} returnType: Parameter[]
|
|
109
|
+
*/
|
|
110
|
+
export declare const getParametersInUse: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => Parameter[]) & {
|
|
111
|
+
clearCache: () => void;
|
|
112
|
+
resultsCount: () => number;
|
|
113
|
+
resetResultsCount: () => void;
|
|
114
|
+
} & {
|
|
115
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => Parameter[];
|
|
116
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => Parameter[]) & {
|
|
117
|
+
clearCache: () => void;
|
|
118
|
+
resultsCount: () => number;
|
|
119
|
+
resetResultsCount: () => void;
|
|
120
|
+
};
|
|
121
|
+
lastResult: () => Parameter[];
|
|
122
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
123
|
+
recomputations: () => number;
|
|
124
|
+
resetRecomputations: () => void;
|
|
125
|
+
dependencyRecomputations: () => number;
|
|
126
|
+
resetDependencyRecomputations: () => void;
|
|
127
|
+
} & {
|
|
128
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
129
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
130
|
+
};
|
|
131
|
+
export declare const getServiceFilterChips: (store: TimeSeriesStateSlice, panelId?: string) => ServiceFilterChipsObjectEntities;
|
|
132
|
+
export declare const getServiceFilterChipsById: (store: TimeSeriesStateSlice, id: string, panelId?: string) => ServiceFilterChipsObject | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Returns whether all service filter chips are enabled
|
|
135
|
+
*
|
|
136
|
+
* Example getAllFilterChipsEnabled(store);
|
|
137
|
+
* @param {object} store store: object - store object
|
|
138
|
+
* @returns {boolean} returnType: boolean
|
|
139
|
+
*/
|
|
140
|
+
export declare const getAllFilterChipsEnabled: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => boolean) & {
|
|
141
|
+
clearCache: () => void;
|
|
142
|
+
resultsCount: () => number;
|
|
143
|
+
resetResultsCount: () => void;
|
|
144
|
+
} & {
|
|
145
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean;
|
|
146
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean) & {
|
|
147
|
+
clearCache: () => void;
|
|
148
|
+
resultsCount: () => number;
|
|
149
|
+
resetResultsCount: () => void;
|
|
150
|
+
};
|
|
151
|
+
lastResult: () => boolean;
|
|
152
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
153
|
+
recomputations: () => number;
|
|
154
|
+
resetRecomputations: () => void;
|
|
155
|
+
dependencyRecomputations: () => number;
|
|
156
|
+
resetDependencyRecomputations: () => void;
|
|
157
|
+
} & {
|
|
158
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
159
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Returns current parameter id displayed in the info dialog
|
|
163
|
+
*
|
|
164
|
+
* Example getCurrentParameterInfoDisplayed(store);
|
|
165
|
+
* @param {object} store store: object - store object
|
|
166
|
+
* @returns {string} returnType: string
|
|
167
|
+
*/
|
|
168
|
+
export declare const getCurrentParameterInfoDisplayed: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => string) & {
|
|
169
|
+
clearCache: () => void;
|
|
170
|
+
resultsCount: () => number;
|
|
171
|
+
resetResultsCount: () => void;
|
|
172
|
+
} & {
|
|
173
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => string;
|
|
174
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => string) & {
|
|
175
|
+
clearCache: () => void;
|
|
176
|
+
resultsCount: () => number;
|
|
177
|
+
resetResultsCount: () => void;
|
|
178
|
+
};
|
|
179
|
+
lastResult: () => string;
|
|
180
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
181
|
+
recomputations: () => number;
|
|
182
|
+
resetRecomputations: () => void;
|
|
183
|
+
dependencyRecomputations: () => number;
|
|
184
|
+
resetDependencyRecomputations: () => void;
|
|
185
|
+
} & {
|
|
186
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
187
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Returns parameter for the parameterInfo window
|
|
191
|
+
*
|
|
192
|
+
* Example getParameterInfoParameter(store);
|
|
193
|
+
* @param {object} store store: object - store object
|
|
194
|
+
* @returns {Parameter} returnType: Parameter
|
|
195
|
+
*/
|
|
196
|
+
export declare const getParameterInfoParameter: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => Parameter | undefined) & {
|
|
197
|
+
clearCache: () => void;
|
|
198
|
+
resultsCount: () => number;
|
|
199
|
+
resetResultsCount: () => void;
|
|
200
|
+
} & {
|
|
201
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => Parameter | undefined;
|
|
202
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => Parameter | undefined) & {
|
|
203
|
+
clearCache: () => void;
|
|
204
|
+
resultsCount: () => number;
|
|
205
|
+
resetResultsCount: () => void;
|
|
206
|
+
};
|
|
207
|
+
lastResult: () => Parameter | undefined;
|
|
208
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
209
|
+
recomputations: () => number;
|
|
210
|
+
resetRecomputations: () => void;
|
|
211
|
+
dependencyRecomputations: () => number;
|
|
212
|
+
resetDependencyRecomputations: () => void;
|
|
213
|
+
} & {
|
|
214
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
215
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Returns parameter by id
|
|
219
|
+
*
|
|
220
|
+
* Example getParameterById(store);
|
|
221
|
+
* @param {object} store store: object - store object
|
|
222
|
+
* @param {string} parameterId parameterId
|
|
223
|
+
* @returns {Parameter} returnType: Parameter
|
|
224
|
+
*/
|
|
225
|
+
export declare const getParameterById: ((state: TimeSeriesStateSlice, _parameterId: string, panelId?: string | undefined) => Parameter | undefined) & {
|
|
226
|
+
clearCache: () => void;
|
|
227
|
+
resultsCount: () => number;
|
|
228
|
+
resetResultsCount: () => void;
|
|
229
|
+
} & {
|
|
230
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined, resultFuncArgs_1: string) => Parameter | undefined;
|
|
231
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined, resultFuncArgs_1: string) => Parameter | undefined) & {
|
|
232
|
+
clearCache: () => void;
|
|
233
|
+
resultsCount: () => number;
|
|
234
|
+
resetResultsCount: () => void;
|
|
235
|
+
};
|
|
236
|
+
lastResult: () => Parameter | undefined;
|
|
237
|
+
dependencies: [(store: TimeSeriesStateSlice, _parameterId: string, panelId?: string) => TimeSeriesStoreType | undefined, (store: TimeSeriesStateSlice, parameterId: string) => string];
|
|
238
|
+
recomputations: () => number;
|
|
239
|
+
resetRecomputations: () => void;
|
|
240
|
+
dependencyRecomputations: () => number;
|
|
241
|
+
resetDependencyRecomputations: () => void;
|
|
242
|
+
} & {
|
|
243
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
244
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
245
|
+
};
|
|
246
|
+
export declare const getServicePopupDetails: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => TimeSeriesServicePopupObject) & {
|
|
247
|
+
clearCache: () => void;
|
|
248
|
+
resultsCount: () => number;
|
|
249
|
+
resetResultsCount: () => void;
|
|
250
|
+
} & {
|
|
251
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => TimeSeriesServicePopupObject;
|
|
252
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => TimeSeriesServicePopupObject) & {
|
|
253
|
+
clearCache: () => void;
|
|
254
|
+
resultsCount: () => number;
|
|
255
|
+
resetResultsCount: () => void;
|
|
256
|
+
};
|
|
257
|
+
lastResult: () => TimeSeriesServicePopupObject;
|
|
258
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
259
|
+
recomputations: () => number;
|
|
260
|
+
resetRecomputations: () => void;
|
|
261
|
+
dependencyRecomputations: () => number;
|
|
262
|
+
resetDependencyRecomputations: () => void;
|
|
263
|
+
} & {
|
|
264
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
265
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
266
|
+
};
|
|
267
|
+
export declare const getTimeSeriesPreset: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => TimeSeriesPreset | undefined) & {
|
|
268
|
+
clearCache: () => void;
|
|
269
|
+
resultsCount: () => number;
|
|
270
|
+
resetResultsCount: () => void;
|
|
271
|
+
} & {
|
|
272
|
+
resultFunc: (resultFuncArgs_0: PlotPreset | undefined, resultFuncArgs_1: TimeSeriesService[] | undefined) => TimeSeriesPreset | undefined;
|
|
273
|
+
memoizedResultFunc: ((resultFuncArgs_0: PlotPreset | undefined, resultFuncArgs_1: TimeSeriesService[] | undefined) => TimeSeriesPreset | undefined) & {
|
|
274
|
+
clearCache: () => void;
|
|
275
|
+
resultsCount: () => number;
|
|
276
|
+
resetResultsCount: () => void;
|
|
277
|
+
};
|
|
278
|
+
lastResult: () => TimeSeriesPreset | undefined;
|
|
279
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => PlotPreset | undefined, ((state: TimeSeriesStateSlice, _panelId?: string | undefined) => TimeSeriesService[] | undefined) & {
|
|
280
|
+
clearCache: () => void;
|
|
281
|
+
resultsCount: () => number;
|
|
282
|
+
resetResultsCount: () => void;
|
|
283
|
+
} & {
|
|
284
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => TimeSeriesService[] | undefined;
|
|
285
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => TimeSeriesService[] | undefined) & {
|
|
286
|
+
clearCache: () => void;
|
|
287
|
+
resultsCount: () => number;
|
|
288
|
+
resetResultsCount: () => void;
|
|
289
|
+
};
|
|
290
|
+
lastResult: () => TimeSeriesService[] | undefined;
|
|
291
|
+
dependencies: [(state: TimeSeriesStateSlice, _panelId?: string) => TimeSeriesState | TimeSeriesStoreType | undefined];
|
|
292
|
+
recomputations: () => number;
|
|
293
|
+
resetRecomputations: () => void;
|
|
294
|
+
dependencyRecomputations: () => number;
|
|
295
|
+
resetDependencyRecomputations: () => void;
|
|
296
|
+
} & {
|
|
297
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
298
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
299
|
+
}];
|
|
300
|
+
recomputations: () => number;
|
|
301
|
+
resetRecomputations: () => void;
|
|
302
|
+
dependencyRecomputations: () => number;
|
|
303
|
+
resetDependencyRecomputations: () => void;
|
|
304
|
+
} & {
|
|
305
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
306
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
307
|
+
};
|
|
308
|
+
export declare const getGeoJSONWithService: ((state: any, _panelId?: any) => GeoJsonWithService[]) & {
|
|
309
|
+
clearCache: () => void;
|
|
310
|
+
resultsCount: () => number;
|
|
311
|
+
resetResultsCount: () => void;
|
|
312
|
+
} & {
|
|
313
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesService[] | undefined, resultFuncArgs_1: string, resultFuncArgs_2: layerTypes.ReduxLayer | undefined) => GeoJsonWithService[];
|
|
314
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesService[] | undefined, resultFuncArgs_1: string, resultFuncArgs_2: layerTypes.ReduxLayer | undefined) => GeoJsonWithService[]) & {
|
|
315
|
+
clearCache: () => void;
|
|
316
|
+
resultsCount: () => number;
|
|
317
|
+
resetResultsCount: () => void;
|
|
318
|
+
};
|
|
319
|
+
lastResult: () => GeoJsonWithService[];
|
|
320
|
+
dependencies: [((state: TimeSeriesStateSlice, _panelId?: string | undefined) => TimeSeriesService[] | undefined) & {
|
|
321
|
+
clearCache: () => void;
|
|
322
|
+
resultsCount: () => number;
|
|
323
|
+
resetResultsCount: () => void;
|
|
324
|
+
} & {
|
|
325
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => TimeSeriesService[] | undefined;
|
|
326
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => TimeSeriesService[] | undefined) & {
|
|
327
|
+
clearCache: () => void;
|
|
328
|
+
resultsCount: () => number;
|
|
329
|
+
resetResultsCount: () => void;
|
|
330
|
+
};
|
|
331
|
+
lastResult: () => TimeSeriesService[] | undefined;
|
|
332
|
+
dependencies: [(state: TimeSeriesStateSlice, _panelId?: string) => TimeSeriesState | TimeSeriesStoreType | undefined];
|
|
333
|
+
recomputations: () => number;
|
|
334
|
+
resetRecomputations: () => void;
|
|
335
|
+
dependencyRecomputations: () => number;
|
|
336
|
+
resetDependencyRecomputations: () => void;
|
|
337
|
+
} & {
|
|
338
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
339
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
340
|
+
}, (state: any, panelId: any) => string, (state: CoreAppStore, panelId: any) => layerTypes.ReduxLayer | undefined];
|
|
341
|
+
recomputations: () => number;
|
|
342
|
+
resetRecomputations: () => void;
|
|
343
|
+
dependencyRecomputations: () => number;
|
|
344
|
+
resetDependencyRecomputations: () => void;
|
|
345
|
+
} & {
|
|
346
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
347
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
348
|
+
};
|
|
349
|
+
export declare const getIsMapPinDisabled: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => boolean) & {
|
|
350
|
+
clearCache: () => void;
|
|
351
|
+
resultsCount: () => number;
|
|
352
|
+
resetResultsCount: () => void;
|
|
353
|
+
} & {
|
|
354
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean;
|
|
355
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean) & {
|
|
356
|
+
clearCache: () => void;
|
|
357
|
+
resultsCount: () => number;
|
|
358
|
+
resetResultsCount: () => void;
|
|
359
|
+
};
|
|
360
|
+
lastResult: () => boolean;
|
|
361
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
362
|
+
recomputations: () => number;
|
|
363
|
+
resetRecomputations: () => void;
|
|
364
|
+
dependencyRecomputations: () => number;
|
|
365
|
+
resetDependencyRecomputations: () => void;
|
|
366
|
+
} & {
|
|
367
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
368
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
369
|
+
};
|
|
370
|
+
export declare const getShouldHideLocationMarkers: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => boolean) & {
|
|
371
|
+
clearCache: () => void;
|
|
372
|
+
resultsCount: () => number;
|
|
373
|
+
resetResultsCount: () => void;
|
|
374
|
+
} & {
|
|
375
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean;
|
|
376
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean) & {
|
|
377
|
+
clearCache: () => void;
|
|
378
|
+
resultsCount: () => number;
|
|
379
|
+
resetResultsCount: () => void;
|
|
380
|
+
};
|
|
381
|
+
lastResult: () => boolean;
|
|
382
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
383
|
+
recomputations: () => number;
|
|
384
|
+
resetRecomputations: () => void;
|
|
385
|
+
dependencyRecomputations: () => number;
|
|
386
|
+
resetDependencyRecomputations: () => void;
|
|
387
|
+
} & {
|
|
388
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
389
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
390
|
+
};
|
|
391
|
+
export declare const getIsLegendVisible: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => boolean) & {
|
|
392
|
+
clearCache: () => void;
|
|
393
|
+
resultsCount: () => number;
|
|
394
|
+
resetResultsCount: () => void;
|
|
395
|
+
} & {
|
|
396
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean;
|
|
397
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => boolean) & {
|
|
398
|
+
clearCache: () => void;
|
|
399
|
+
resultsCount: () => number;
|
|
400
|
+
resetResultsCount: () => void;
|
|
401
|
+
};
|
|
402
|
+
lastResult: () => boolean;
|
|
403
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
404
|
+
recomputations: () => number;
|
|
405
|
+
resetRecomputations: () => void;
|
|
406
|
+
dependencyRecomputations: () => number;
|
|
407
|
+
resetDependencyRecomputations: () => void;
|
|
408
|
+
} & {
|
|
409
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
410
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
411
|
+
};
|
|
412
|
+
export declare const getCurrentLocation: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => TimeSeriesLocation | undefined) & {
|
|
413
|
+
clearCache: () => void;
|
|
414
|
+
resultsCount: () => number;
|
|
415
|
+
resetResultsCount: () => void;
|
|
416
|
+
} & {
|
|
417
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | undefined) => TimeSeriesLocation | undefined;
|
|
418
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | undefined) => TimeSeriesLocation | undefined) & {
|
|
419
|
+
clearCache: () => void;
|
|
420
|
+
resultsCount: () => number;
|
|
421
|
+
resetResultsCount: () => void;
|
|
422
|
+
};
|
|
423
|
+
lastResult: () => TimeSeriesLocation | undefined;
|
|
424
|
+
dependencies: [(state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined];
|
|
425
|
+
recomputations: () => number;
|
|
426
|
+
resetRecomputations: () => void;
|
|
427
|
+
dependencyRecomputations: () => number;
|
|
428
|
+
resetDependencyRecomputations: () => void;
|
|
429
|
+
} & {
|
|
430
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
431
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
432
|
+
};
|
|
433
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Middleware, ReducersMapObject, Store } from '@reduxjs/toolkit';
|
|
2
|
+
import type { SnackbarModuleStore } from '@opengeoweb/snackbar';
|
|
3
|
+
import type { WebMapStateModuleState, SynchronizationGroupModuleState, UIModuleState } from '@opengeoweb/store';
|
|
4
|
+
import type { TimeSeriesModuleState } from './types';
|
|
5
|
+
export declare const timeSeriesReducersMap: ReducersMapObject;
|
|
6
|
+
export declare const timeSeriesMiddlewares: Middleware[];
|
|
7
|
+
export declare const createMockStore: (mockState?: WebMapStateModuleState | SynchronizationGroupModuleState | UIModuleState | TimeSeriesModuleState | SnackbarModuleStore) => Store;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import type { EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
import type { SystemScope, ServiceInterface, TimeSeriesService } from '@opengeoweb/shared';
|
|
3
|
+
import type { CoreAppStore } from '@opengeoweb/store';
|
|
4
|
+
import type { Parameter, PlotPreset, TimeSeriesLocation } from '../components/TimeSeries/types';
|
|
5
|
+
export declare enum TimeSeriesActionOrigin {
|
|
6
|
+
timeSeriesManager = "timeSeriesManager",
|
|
7
|
+
timeSeriesSelect = "timeSeriesSelect"
|
|
8
|
+
}
|
|
9
|
+
export interface Plot {
|
|
10
|
+
title: string;
|
|
11
|
+
plotId: string;
|
|
12
|
+
}
|
|
13
|
+
export type PopupVariant = 'edit' | 'add' | 'save' | 'show';
|
|
14
|
+
export interface ServiceFilterChipsObject {
|
|
15
|
+
serviceId: string;
|
|
16
|
+
serviceName?: string;
|
|
17
|
+
serviceUrl: string;
|
|
18
|
+
type: ServiceInterface;
|
|
19
|
+
enabled?: boolean;
|
|
20
|
+
scope?: SystemScope;
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export type ServiceFilterChipsType = EntityState<ServiceFilterChipsObject, string>;
|
|
24
|
+
export type ServiceFilterChipsObjectEntities = Record<string, ServiceFilterChipsObject>;
|
|
25
|
+
export interface TimeseriesSelectFilters {
|
|
26
|
+
searchFilter: string;
|
|
27
|
+
serviceFilterChips: ServiceFilterChipsType;
|
|
28
|
+
allServiceFilterChipsEnabled: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface TimeSeriesServicePopupObject {
|
|
31
|
+
isOpen: boolean;
|
|
32
|
+
variant: PopupVariant;
|
|
33
|
+
url?: string;
|
|
34
|
+
serviceId?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface TimeseriesSelectStore {
|
|
37
|
+
filters: TimeseriesSelectFilters;
|
|
38
|
+
currentParameterInfo?: string | Parameter;
|
|
39
|
+
servicePopup: TimeSeriesServicePopupObject;
|
|
40
|
+
}
|
|
41
|
+
export interface TimeseriesLocationData {
|
|
42
|
+
isMapPinDisabled?: boolean;
|
|
43
|
+
shouldHideLocationMarkers?: boolean;
|
|
44
|
+
isLegendVisible?: boolean;
|
|
45
|
+
currentLocation?: TimeSeriesLocation | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface TimeSeriesStoreType {
|
|
48
|
+
plotPreset?: PlotPreset;
|
|
49
|
+
timeseriesSelect?: TimeseriesSelectStore;
|
|
50
|
+
services?: TimeSeriesService[];
|
|
51
|
+
locationData?: TimeseriesLocationData;
|
|
52
|
+
}
|
|
53
|
+
export interface TimeSeriesState {
|
|
54
|
+
byId: Record<string, TimeSeriesStoreType>;
|
|
55
|
+
services: TimeSeriesService[];
|
|
56
|
+
}
|
|
57
|
+
export interface TimeSeriesPreset {
|
|
58
|
+
plotPreset: PlotPreset;
|
|
59
|
+
services: TimeSeriesService[];
|
|
60
|
+
syncGroupsIds: string[];
|
|
61
|
+
}
|
|
62
|
+
export interface TimeSeriesPayload {
|
|
63
|
+
panelId?: string;
|
|
64
|
+
origin?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface RegisterTimeSeriesPresetPayload extends TimeSeriesPayload {
|
|
67
|
+
plotPreset: PlotPreset;
|
|
68
|
+
services?: TimeSeriesService[];
|
|
69
|
+
}
|
|
70
|
+
export interface ParameterManipulationPayload extends TimeSeriesPayload {
|
|
71
|
+
parameter: Parameter;
|
|
72
|
+
}
|
|
73
|
+
export interface ParameterPatchPayload extends TimeSeriesPayload {
|
|
74
|
+
parameter: Partial<Parameter>;
|
|
75
|
+
}
|
|
76
|
+
export interface ParameterActionPayload extends TimeSeriesPayload {
|
|
77
|
+
parameterId: string;
|
|
78
|
+
}
|
|
79
|
+
export interface PlotActionPayload extends TimeSeriesPayload {
|
|
80
|
+
plotId: string;
|
|
81
|
+
}
|
|
82
|
+
export interface AddPlotPayload extends TimeSeriesPayload {
|
|
83
|
+
title: string;
|
|
84
|
+
}
|
|
85
|
+
export interface UpdateTitlePayload extends TimeSeriesPayload {
|
|
86
|
+
plotId: string;
|
|
87
|
+
title: string;
|
|
88
|
+
}
|
|
89
|
+
export interface TimeSeriesModuleState {
|
|
90
|
+
timeSeries?: TimeSeriesState;
|
|
91
|
+
}
|
|
92
|
+
export type TimeSeriesRootState = CoreAppStore & TimeSeriesModuleState;
|
|
93
|
+
export interface SetSearchFilterPayload {
|
|
94
|
+
panelId?: string;
|
|
95
|
+
filterText: string;
|
|
96
|
+
}
|
|
97
|
+
export interface MovePlotPayload extends TimeSeriesPayload {
|
|
98
|
+
oldIndex: number;
|
|
99
|
+
newIndex: number;
|
|
100
|
+
}
|
|
101
|
+
export interface MoveParameterPayload extends TimeSeriesPayload {
|
|
102
|
+
oldIndex: number;
|
|
103
|
+
newIndex: number;
|
|
104
|
+
plotId: string;
|
|
105
|
+
toPlotId: string;
|
|
106
|
+
}
|
|
107
|
+
export interface SetCurrentParameterInfo {
|
|
108
|
+
panelId?: string;
|
|
109
|
+
parameter: string | Parameter;
|
|
110
|
+
}
|
|
111
|
+
export interface SetCurrentFrozenParameterInfo {
|
|
112
|
+
panelId?: string;
|
|
113
|
+
parameter: Parameter;
|
|
114
|
+
}
|
|
115
|
+
export interface SetTimeSeriesServicesPayload {
|
|
116
|
+
panelId?: string;
|
|
117
|
+
timeSeriesServices: TimeSeriesService[];
|
|
118
|
+
}
|
|
119
|
+
export interface RemoveServiceFilterChipFromStorePayload {
|
|
120
|
+
id: string;
|
|
121
|
+
}
|
|
122
|
+
export interface RemoveTimeSeriesServicePayload {
|
|
123
|
+
panelId?: string;
|
|
124
|
+
id: string;
|
|
125
|
+
}
|
|
126
|
+
export interface UpsertTimeSeriesServicePayload extends TimeSeriesService {
|
|
127
|
+
panelId?: string;
|
|
128
|
+
isUpdate: boolean;
|
|
129
|
+
}
|
|
130
|
+
export interface SetTimeSeriesServicePopupPayload {
|
|
131
|
+
panelId?: string;
|
|
132
|
+
url?: string;
|
|
133
|
+
variant: PopupVariant;
|
|
134
|
+
serviceId?: string;
|
|
135
|
+
isOpen: boolean;
|
|
136
|
+
}
|
|
137
|
+
export interface ToggleDisableMapPinPayload {
|
|
138
|
+
panelId?: string;
|
|
139
|
+
isMapPinDisabled: boolean;
|
|
140
|
+
}
|
|
141
|
+
export interface ToggleLocationMarkersPayload {
|
|
142
|
+
panelId?: string;
|
|
143
|
+
shouldHideLocationMarkers: boolean;
|
|
144
|
+
}
|
|
145
|
+
export interface ToggleTimeSeriesLegendPayload {
|
|
146
|
+
panelId?: string;
|
|
147
|
+
isLegendVisible: boolean;
|
|
148
|
+
}
|
|
149
|
+
export interface SetTimeSeriesLocationPayload {
|
|
150
|
+
panelId?: string;
|
|
151
|
+
location: TimeSeriesLocation | undefined;
|
|
152
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { layerTypes, mapTypes } from '@opengeoweb/store';
|
|
2
|
+
export declare const initialBbox: {
|
|
3
|
+
srs: "EPSG:3857";
|
|
4
|
+
bbox: {
|
|
5
|
+
left: number;
|
|
6
|
+
bottom: number;
|
|
7
|
+
right: number;
|
|
8
|
+
top: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
interface UseDefaultMapSettingsProps {
|
|
12
|
+
mapId?: string;
|
|
13
|
+
baseLayers?: layerTypes.Layer[];
|
|
14
|
+
bbox?: mapTypes.Bbox;
|
|
15
|
+
srs?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const useDefaultMapSettings: (props?: UseDefaultMapSettingsProps) => void;
|
|
18
|
+
export {};
|