@opengeoweb/soundings 16.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +3637 -2542
- package/package.json +9 -9
- package/src/index.d.ts +0 -10
- package/src/lib/api/edr-api/api.d.ts +0 -7
- package/src/lib/api/edr-api/fakeApi.d.ts +0 -16
- package/src/lib/api/edr-api/hooks.d.ts +0 -43
- package/src/lib/api/edr-api/hooks.spec.d.ts +0 -1
- package/src/lib/api/edr-api/types.d.ts +0 -38
- package/src/lib/api/edr-api/utils.d.ts +0 -12
- package/src/lib/api/edr-api/utils.spec.d.ts +0 -1
- package/src/lib/components/EDRFetchAndParse.stories.d.ts +0 -14
- package/src/lib/components/Hodograph/Hodograph.d.ts +0 -6
- package/src/lib/components/Hodograph/Hodograph.spec.d.ts +0 -1
- package/src/lib/components/Hodograph/Hodograph.stories.d.ts +0 -7
- package/src/lib/components/Hodograph/HodographCollection.d.ts +0 -6
- package/src/lib/components/Hodograph/HodographCollection.spec.d.ts +0 -1
- package/src/lib/components/Hodograph/HodographLegend.d.ts +0 -2
- package/src/lib/components/Hodograph/drawUtils.d.ts +0 -53
- package/src/lib/components/Hodograph/drawUtils.spec.d.ts +0 -1
- package/src/lib/components/MenuBar/LocationsMenu.d.ts +0 -20
- package/src/lib/components/MenuBar/LocationsMenuConnect.d.ts +0 -7
- package/src/lib/components/MenuBar/LocationsMenuConnect.spec.d.ts +0 -1
- package/src/lib/components/MenuBar/MenuBar.d.ts +0 -15
- package/src/lib/components/MenuBar/MenuBar.stories.d.ts +0 -20
- package/src/lib/components/MenuBar/MenuBarConnect.d.ts +0 -8
- package/src/lib/components/MenuBar/MenuBarConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/MenuBar/MenuBarConnect.spec.d.ts +0 -1
- package/src/lib/components/MenuBar/SoundingsMarkersSwitch.d.ts +0 -6
- package/src/lib/components/MenuBar/SoundingsMarkersSwitch.spec.d.ts +0 -1
- package/src/lib/components/MenuBar/SoundingsSourceDialogConnect.d.ts +0 -7
- package/src/lib/components/MenuBar/SoundingsSourceDialogConnect.spec.d.ts +0 -1
- package/src/lib/components/MenuBar/SoundingsSourceMenu.d.ts +0 -16
- package/src/lib/components/Providers/Providers.d.ts +0 -12
- package/src/lib/components/SoundingPanelPlaceholder/SoundingPanelPlaceholder.d.ts +0 -5
- package/src/lib/components/SoundingPanelPlaceholder/SoundingPanelPlaceholder.spec.d.ts +0 -1
- package/src/lib/components/SoundingPanelPlaceholder/index.d.ts +0 -1
- package/src/lib/components/Soundings/DiagramTypeButton.d.ts +0 -8
- package/src/lib/components/Soundings/SharedMouseProvider.spec.d.ts +0 -1
- package/src/lib/components/Soundings/SharedMouseYProvider.d.ts +0 -13
- package/src/lib/components/Soundings/SortableAccordions.d.ts +0 -18
- package/src/lib/components/Soundings/SortableAccordions.spec.d.ts +0 -1
- package/src/lib/components/Soundings/Soundings.d.ts +0 -15
- package/src/lib/components/Soundings/Soundings.spec.d.ts +0 -1
- package/src/lib/components/Soundings/Soundings.stories.d.ts +0 -11
- package/src/lib/components/Soundings/SoundingsConnect.d.ts +0 -8
- package/src/lib/components/Soundings/SoundingsConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/Soundings/SoundingsConnect.spec.d.ts +0 -1
- package/src/lib/components/Soundings/SoundingsConnect.stories.d.ts +0 -43
- package/src/lib/components/Soundings/SoundingsLegend.d.ts +0 -8
- package/src/lib/components/Soundings/SoundingsLegend.spec.d.ts +0 -1
- package/src/lib/components/Soundings/WindBarbs.d.ts +0 -16
- package/src/lib/components/Soundings/WindBarbs.spec.d.ts +0 -1
- package/src/lib/components/Soundings/animateResizeTransform.d.ts +0 -4
- package/src/lib/components/Soundings/animateResizeTransform.spec.d.ts +0 -1
- package/src/lib/components/Soundings/constants.d.ts +0 -17
- package/src/lib/components/Soundings/drawUtils.d.ts +0 -45
- package/src/lib/components/Soundings/drawUtils.spec.d.ts +0 -1
- package/src/lib/components/Soundings/timeMismatchUtils.d.ts +0 -4
- package/src/lib/components/Soundings/types.d.ts +0 -6
- package/src/lib/components/SoundingsAccordion/SoundingsAccordion.d.ts +0 -15
- package/src/lib/components/SoundingsAccordion/SoundingsAccordion.spec.d.ts +0 -1
- package/src/lib/components/SoundingsAccordion/SoundingsAccordionStories.stories.d.ts +0 -8
- package/src/lib/components/SoundingsDemo.stories.d.ts +0 -15
- package/src/lib/components/SoundingsManager/SoundingManagerConnect.intergration.spec.d.ts +0 -1
- package/src/lib/components/SoundingsManager/SoundingManagerListItem.d.ts +0 -6
- package/src/lib/components/SoundingsManager/SoundingsManager.d.ts +0 -17
- package/src/lib/components/SoundingsManager/SoundingsManager.spec.d.ts +0 -1
- package/src/lib/components/SoundingsManager/SoundingsManagerConnect.d.ts +0 -2
- package/src/lib/components/SoundingsManager/SoundingsManagerListItem.spec.d.ts +0 -1
- package/src/lib/components/SoundingsTimeSlider/SoundingsTimeSlider.d.ts +0 -8
- package/src/lib/components/SoundingsTimeSlider/SoundingsTimeSlider.spec.d.ts +0 -1
- package/src/lib/components/SoundingsTimeSlider/SoundingsTimeSlider.stories.d.ts +0 -9
- package/src/lib/components/SoundingsTimeSlider/SoundingsTimeSliderConnect.d.ts +0 -8
- package/src/lib/components/SoundingsTimeSlider/SoundingsTimeSliderConnect.spec.d.ts +0 -1
- package/src/lib/components/SoundingsTimeSlider/index.d.ts +0 -2
- package/src/lib/components/SoundingsTooltip/utils.d.ts +0 -31
- package/src/lib/components/SoundingsTooltip/utils.spec.d.ts +0 -1
- package/src/lib/components/StaticLines/bijvoetUtils.d.ts +0 -6
- package/src/lib/components/StaticLines/drawDryAdiabats.d.ts +0 -23
- package/src/lib/components/StaticLines/drawIsobars.d.ts +0 -14
- package/src/lib/components/StaticLines/drawIsohumes.d.ts +0 -23
- package/src/lib/components/StaticLines/drawIsotherms.d.ts +0 -23
- package/src/lib/components/StaticLines/drawMoistAdiabats.d.ts +0 -29
- package/src/lib/components/StaticLines/utils.d.ts +0 -19
- package/src/lib/components/WindBarbs/utils.d.ts +0 -22
- package/src/lib/components/WindBarbs/utils.spec.d.ts +0 -1
- package/src/lib/components/WindBarbs/windsymbols.d.ts +0 -5
- package/src/lib/components/index.d.ts +0 -4
- package/src/lib/components/utils.d.ts +0 -1
- package/src/lib/store/reducer.d.ts +0 -24
- package/src/lib/store/reducer.spec.d.ts +0 -1
- package/src/lib/store/selectors.d.ts +0 -253
- package/src/lib/store/selectors.spec.d.ts +0 -1
- package/src/lib/store/store.d.ts +0 -23
- package/src/lib/store/types.d.ts +0 -76
- package/src/lib/store/utils.d.ts +0 -10
- package/src/lib/utils/i18n.d.ts +0 -7
- package/src/lib/utils/soundingsLookUp.d.ts +0 -9
- package/src/lib/utils/soundingsLookUp.spec.d.ts +0 -1
- package/src/lib/utils/storyUtils/SoundingsResponsiveView.d.ts +0 -2
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
import type { SoundingsCollection, SourceSelection } from '@opengeoweb/shared';
|
|
2
|
-
import type { SoundingsModuleState, SoundingsStore, SourceType } from './types';
|
|
3
|
-
export declare const getSoundingsCollections: (store: SoundingsModuleState) => SoundingsCollection[];
|
|
4
|
-
export declare const getSourceSelections: ((state: SoundingsModuleState, panelId?: string | undefined) => Record<string, SourceSelection>) & {
|
|
5
|
-
clearCache: () => void;
|
|
6
|
-
resultsCount: () => number;
|
|
7
|
-
resetResultsCount: () => void;
|
|
8
|
-
} & {
|
|
9
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => Record<string, SourceSelection>;
|
|
10
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => Record<string, SourceSelection>) & {
|
|
11
|
-
clearCache: () => void;
|
|
12
|
-
resultsCount: () => number;
|
|
13
|
-
resetResultsCount: () => void;
|
|
14
|
-
};
|
|
15
|
-
lastResult: () => Record<string, SourceSelection>;
|
|
16
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
17
|
-
recomputations: () => number;
|
|
18
|
-
resetRecomputations: () => void;
|
|
19
|
-
dependencyRecomputations: () => number;
|
|
20
|
-
resetDependencyRecomputations: () => void;
|
|
21
|
-
} & {
|
|
22
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
23
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
24
|
-
};
|
|
25
|
-
export declare const getLocationSelections: ((state: SoundingsModuleState, panelId?: string | undefined) => Record<string, string | import("@opengeoweb/shared").Coordinates | undefined>) & {
|
|
26
|
-
clearCache: () => void;
|
|
27
|
-
resultsCount: () => number;
|
|
28
|
-
resetResultsCount: () => void;
|
|
29
|
-
} & {
|
|
30
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => Record<string, string | import("@opengeoweb/shared").Coordinates | undefined>;
|
|
31
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => Record<string, string | import("@opengeoweb/shared").Coordinates | undefined>) & {
|
|
32
|
-
clearCache: () => void;
|
|
33
|
-
resultsCount: () => number;
|
|
34
|
-
resetResultsCount: () => void;
|
|
35
|
-
};
|
|
36
|
-
lastResult: () => Record<string, string | import("@opengeoweb/shared").Coordinates | undefined>;
|
|
37
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
38
|
-
recomputations: () => number;
|
|
39
|
-
resetRecomputations: () => void;
|
|
40
|
-
dependencyRecomputations: () => number;
|
|
41
|
-
resetDependencyRecomputations: () => void;
|
|
42
|
-
} & {
|
|
43
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
44
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
45
|
-
};
|
|
46
|
-
export declare const getSelectedTime: ((state: SoundingsModuleState, panelId?: string | undefined) => string) & {
|
|
47
|
-
clearCache: () => void;
|
|
48
|
-
resultsCount: () => number;
|
|
49
|
-
resetResultsCount: () => void;
|
|
50
|
-
} & {
|
|
51
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => string;
|
|
52
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => string) & {
|
|
53
|
-
clearCache: () => void;
|
|
54
|
-
resultsCount: () => number;
|
|
55
|
-
resetResultsCount: () => void;
|
|
56
|
-
};
|
|
57
|
-
lastResult: () => string;
|
|
58
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
59
|
-
recomputations: () => number;
|
|
60
|
-
resetRecomputations: () => void;
|
|
61
|
-
dependencyRecomputations: () => number;
|
|
62
|
-
resetDependencyRecomputations: () => void;
|
|
63
|
-
} & {
|
|
64
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
65
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
66
|
-
};
|
|
67
|
-
export declare const getDiagramType: ((state: SoundingsModuleState, panelId?: string | undefined) => "SKEWT" | "BIJVOET" | "EMAGRAM") & {
|
|
68
|
-
clearCache: () => void;
|
|
69
|
-
resultsCount: () => number;
|
|
70
|
-
resetResultsCount: () => void;
|
|
71
|
-
} & {
|
|
72
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => "SKEWT" | "BIJVOET" | "EMAGRAM";
|
|
73
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => "SKEWT" | "BIJVOET" | "EMAGRAM") & {
|
|
74
|
-
clearCache: () => void;
|
|
75
|
-
resultsCount: () => number;
|
|
76
|
-
resetResultsCount: () => void;
|
|
77
|
-
};
|
|
78
|
-
lastResult: () => "SKEWT" | "BIJVOET" | "EMAGRAM";
|
|
79
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
80
|
-
recomputations: () => number;
|
|
81
|
-
resetRecomputations: () => void;
|
|
82
|
-
dependencyRecomputations: () => number;
|
|
83
|
-
resetDependencyRecomputations: () => void;
|
|
84
|
-
} & {
|
|
85
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
86
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
87
|
-
};
|
|
88
|
-
export declare const getShouldHideLocationMarkers: ((state: SoundingsModuleState, panelId?: string | undefined) => boolean) & {
|
|
89
|
-
clearCache: () => void;
|
|
90
|
-
resultsCount: () => number;
|
|
91
|
-
resetResultsCount: () => void;
|
|
92
|
-
} & {
|
|
93
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => boolean;
|
|
94
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => boolean) & {
|
|
95
|
-
clearCache: () => void;
|
|
96
|
-
resultsCount: () => number;
|
|
97
|
-
resetResultsCount: () => void;
|
|
98
|
-
};
|
|
99
|
-
lastResult: () => boolean;
|
|
100
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
101
|
-
recomputations: () => number;
|
|
102
|
-
resetRecomputations: () => void;
|
|
103
|
-
dependencyRecomputations: () => number;
|
|
104
|
-
resetDependencyRecomputations: () => void;
|
|
105
|
-
} & {
|
|
106
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
107
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
108
|
-
};
|
|
109
|
-
export declare const getSelectedSources: ((state: SoundingsModuleState, panelId?: string | undefined) => SourceType[]) & {
|
|
110
|
-
clearCache: () => void;
|
|
111
|
-
resultsCount: () => number;
|
|
112
|
-
resetResultsCount: () => void;
|
|
113
|
-
} & {
|
|
114
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => SourceType[];
|
|
115
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => SourceType[]) & {
|
|
116
|
-
clearCache: () => void;
|
|
117
|
-
resultsCount: () => number;
|
|
118
|
-
resetResultsCount: () => void;
|
|
119
|
-
};
|
|
120
|
-
lastResult: () => SourceType[];
|
|
121
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
122
|
-
recomputations: () => number;
|
|
123
|
-
resetRecomputations: () => void;
|
|
124
|
-
dependencyRecomputations: () => number;
|
|
125
|
-
resetDependencyRecomputations: () => void;
|
|
126
|
-
} & {
|
|
127
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
128
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
129
|
-
};
|
|
130
|
-
export declare const getSelectedSourcesAmount: ((state: SoundingsModuleState, panelId?: string | undefined) => number) & {
|
|
131
|
-
clearCache: () => void;
|
|
132
|
-
resultsCount: () => number;
|
|
133
|
-
resetResultsCount: () => void;
|
|
134
|
-
} & {
|
|
135
|
-
resultFunc: (resultFuncArgs_0: SourceType[]) => number;
|
|
136
|
-
memoizedResultFunc: ((resultFuncArgs_0: SourceType[]) => number) & {
|
|
137
|
-
clearCache: () => void;
|
|
138
|
-
resultsCount: () => number;
|
|
139
|
-
resetResultsCount: () => void;
|
|
140
|
-
};
|
|
141
|
-
lastResult: () => number;
|
|
142
|
-
dependencies: [((state: SoundingsModuleState, panelId?: string | undefined) => SourceType[]) & {
|
|
143
|
-
clearCache: () => void;
|
|
144
|
-
resultsCount: () => number;
|
|
145
|
-
resetResultsCount: () => void;
|
|
146
|
-
} & {
|
|
147
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => SourceType[];
|
|
148
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => SourceType[]) & {
|
|
149
|
-
clearCache: () => void;
|
|
150
|
-
resultsCount: () => number;
|
|
151
|
-
resetResultsCount: () => void;
|
|
152
|
-
};
|
|
153
|
-
lastResult: () => SourceType[];
|
|
154
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
155
|
-
recomputations: () => number;
|
|
156
|
-
resetRecomputations: () => void;
|
|
157
|
-
dependencyRecomputations: () => number;
|
|
158
|
-
resetDependencyRecomputations: () => void;
|
|
159
|
-
} & {
|
|
160
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
161
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
162
|
-
}];
|
|
163
|
-
recomputations: () => number;
|
|
164
|
-
resetRecomputations: () => void;
|
|
165
|
-
dependencyRecomputations: () => number;
|
|
166
|
-
resetDependencyRecomputations: () => void;
|
|
167
|
-
} & {
|
|
168
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
169
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
170
|
-
};
|
|
171
|
-
export declare const getSelectedSourcesIds: ((state: SoundingsModuleState, panelId?: string | undefined) => string[]) & {
|
|
172
|
-
clearCache: () => void;
|
|
173
|
-
resultsCount: () => number;
|
|
174
|
-
resetResultsCount: () => void;
|
|
175
|
-
} & {
|
|
176
|
-
resultFunc: (resultFuncArgs_0: SourceType[]) => string[];
|
|
177
|
-
memoizedResultFunc: ((resultFuncArgs_0: SourceType[]) => string[]) & {
|
|
178
|
-
clearCache: () => void;
|
|
179
|
-
resultsCount: () => number;
|
|
180
|
-
resetResultsCount: () => void;
|
|
181
|
-
};
|
|
182
|
-
lastResult: () => string[];
|
|
183
|
-
dependencies: [((state: SoundingsModuleState, panelId?: string | undefined) => SourceType[]) & {
|
|
184
|
-
clearCache: () => void;
|
|
185
|
-
resultsCount: () => number;
|
|
186
|
-
resetResultsCount: () => void;
|
|
187
|
-
} & {
|
|
188
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => SourceType[];
|
|
189
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => SourceType[]) & {
|
|
190
|
-
clearCache: () => void;
|
|
191
|
-
resultsCount: () => number;
|
|
192
|
-
resetResultsCount: () => void;
|
|
193
|
-
};
|
|
194
|
-
lastResult: () => SourceType[];
|
|
195
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
196
|
-
recomputations: () => number;
|
|
197
|
-
resetRecomputations: () => void;
|
|
198
|
-
dependencyRecomputations: () => number;
|
|
199
|
-
resetDependencyRecomputations: () => void;
|
|
200
|
-
} & {
|
|
201
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
202
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
203
|
-
}];
|
|
204
|
-
recomputations: () => number;
|
|
205
|
-
resetRecomputations: () => void;
|
|
206
|
-
dependencyRecomputations: () => number;
|
|
207
|
-
resetDependencyRecomputations: () => void;
|
|
208
|
-
} & {
|
|
209
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
210
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
211
|
-
};
|
|
212
|
-
export declare const getSoundingsPreset: ((state: SoundingsModuleState, panelId?: string | undefined) => SoundingsStore) & {
|
|
213
|
-
clearCache: () => void;
|
|
214
|
-
resultsCount: () => number;
|
|
215
|
-
resetResultsCount: () => void;
|
|
216
|
-
} & {
|
|
217
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => SoundingsStore;
|
|
218
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => SoundingsStore) & {
|
|
219
|
-
clearCache: () => void;
|
|
220
|
-
resultsCount: () => number;
|
|
221
|
-
resetResultsCount: () => void;
|
|
222
|
-
};
|
|
223
|
-
lastResult: () => SoundingsStore;
|
|
224
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
225
|
-
recomputations: () => number;
|
|
226
|
-
resetRecomputations: () => void;
|
|
227
|
-
dependencyRecomputations: () => number;
|
|
228
|
-
resetDependencyRecomputations: () => void;
|
|
229
|
-
} & {
|
|
230
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
231
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
232
|
-
};
|
|
233
|
-
export declare const getSoundingPanelsInOrder: ((state: SoundingsModuleState, panelId?: string | undefined) => import("./types").SoundingPanel[]) & {
|
|
234
|
-
clearCache: () => void;
|
|
235
|
-
resultsCount: () => number;
|
|
236
|
-
resetResultsCount: () => void;
|
|
237
|
-
} & {
|
|
238
|
-
resultFunc: (resultFuncArgs_0: SoundingsStore) => import("./types").SoundingPanel[];
|
|
239
|
-
memoizedResultFunc: ((resultFuncArgs_0: SoundingsStore) => import("./types").SoundingPanel[]) & {
|
|
240
|
-
clearCache: () => void;
|
|
241
|
-
resultsCount: () => number;
|
|
242
|
-
resetResultsCount: () => void;
|
|
243
|
-
};
|
|
244
|
-
lastResult: () => import("./types").SoundingPanel[];
|
|
245
|
-
dependencies: [(store: SoundingsModuleState, panelId?: string) => SoundingsStore];
|
|
246
|
-
recomputations: () => number;
|
|
247
|
-
resetRecomputations: () => void;
|
|
248
|
-
dependencyRecomputations: () => number;
|
|
249
|
-
resetDependencyRecomputations: () => void;
|
|
250
|
-
} & {
|
|
251
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
252
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
253
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/lib/store/store.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Store } from '@reduxjs/toolkit';
|
|
2
|
-
import type { UIModuleState, WebMapStateModuleState } from '@opengeoweb/store';
|
|
3
|
-
import type { SoundingsModuleState } from './types';
|
|
4
|
-
export * as soundingsSelectors from './selectors';
|
|
5
|
-
export { soundingsReducer, soundingsActions } from './reducer';
|
|
6
|
-
export type { SoundingsModuleState, SoundingsStore } from './types';
|
|
7
|
-
export declare const soundingsReducersMap: {
|
|
8
|
-
webmap: import("redux").Reducer<import("dist/libs/store/src/store/map/types").WebMapState>;
|
|
9
|
-
services: import("redux").Reducer<import("dist/libs/store/src/store/map/types").ServiceState>;
|
|
10
|
-
layers: import("redux").Reducer<import("dist/libs/store/src/store/map/types").LayerState>;
|
|
11
|
-
syncGroups: import("redux").Reducer<import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState>;
|
|
12
|
-
loadingIndicator: import("redux").Reducer<import("@reduxjs/toolkit").EntityState<import("dist/libs/store/src/store/generic/loadingIndicator/types").LoadingIndicatorType, string>>;
|
|
13
|
-
ui: import("redux").Reducer<import("dist/libs/store/src/store/ui/types").UIStoreType>;
|
|
14
|
-
drawingtools: import("redux").Reducer<import("dist/libs/store/src/store/drawingTool/reducer").DrawingToolState>;
|
|
15
|
-
router: import("redux").Reducer<{}>;
|
|
16
|
-
common: import("redux").Reducer<{
|
|
17
|
-
auth: import("dist/libs/store/src/store/common/auth/types").AuthStore;
|
|
18
|
-
}, import("redux").UnknownAction, Partial<{
|
|
19
|
-
auth: import("dist/libs/store/src/store/common/auth/types").AuthStore | undefined;
|
|
20
|
-
}>>;
|
|
21
|
-
soundings: import("redux").Reducer<import("./types").SoundingsState>;
|
|
22
|
-
};
|
|
23
|
-
export declare const createMockStore: (mockState?: SoundingsModuleState | WebMapStateModuleState | UIModuleState) => Store;
|
package/src/lib/store/types.d.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { Coordinates, SoundingsCollection, SourceSelection } from '@opengeoweb/shared';
|
|
2
|
-
import type { CoreAppStore } from '@opengeoweb/store';
|
|
3
|
-
export declare enum SoundingsActionOrigin {
|
|
4
|
-
soundingsManager = "soundingsManager",
|
|
5
|
-
soundingsComponent = "soundingsComponent"
|
|
6
|
-
}
|
|
7
|
-
export interface SourceType {
|
|
8
|
-
collectionId: string;
|
|
9
|
-
url: string;
|
|
10
|
-
instanceId?: string;
|
|
11
|
-
verticalRange?: string;
|
|
12
|
-
parameterMappings?: Record<string, string>;
|
|
13
|
-
windSpeedUnit?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface SoundingsPayload {
|
|
17
|
-
panelId?: string;
|
|
18
|
-
origin?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface UpdateSourcePayload extends SoundingsPayload {
|
|
21
|
-
sourceId: string;
|
|
22
|
-
value: SourceSelection;
|
|
23
|
-
}
|
|
24
|
-
export interface UpdateLocationPayload extends SoundingsPayload {
|
|
25
|
-
sourceId: string;
|
|
26
|
-
location: string | Coordinates | undefined;
|
|
27
|
-
}
|
|
28
|
-
export interface UpdateTimePayload extends SoundingsPayload {
|
|
29
|
-
selectedTime: string;
|
|
30
|
-
}
|
|
31
|
-
export interface UpdateDiagramTypePayload extends SoundingsPayload {
|
|
32
|
-
diagramType: 'SKEWT' | 'BIJVOET' | 'EMAGRAM';
|
|
33
|
-
}
|
|
34
|
-
export interface ToggleLocationMarkersPayload extends SoundingsPayload {
|
|
35
|
-
shouldHideLocationMarkers: boolean;
|
|
36
|
-
}
|
|
37
|
-
export interface RegisterSoundingsPresetPayload extends SoundingsPayload {
|
|
38
|
-
preset: SoundingsStore;
|
|
39
|
-
}
|
|
40
|
-
export interface AddSoundingPanelsPayload extends SoundingsPayload {
|
|
41
|
-
panels: SoundingPanels;
|
|
42
|
-
}
|
|
43
|
-
export interface ChangeSoundingPanelOrderPayload extends SoundingsPayload {
|
|
44
|
-
newOrderOfIds: string[];
|
|
45
|
-
}
|
|
46
|
-
export type SoundingsRootState = CoreAppStore & SoundingsModuleState;
|
|
47
|
-
export interface SoundingPanel {
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
isDisplayed: boolean;
|
|
51
|
-
}
|
|
52
|
-
export interface SoundingPanels {
|
|
53
|
-
order: string[];
|
|
54
|
-
entities: Record<string, SoundingPanel>;
|
|
55
|
-
}
|
|
56
|
-
export interface SoundingsStore {
|
|
57
|
-
/** key: sourceId */
|
|
58
|
-
selectedSources: Record<string, SourceSelection>;
|
|
59
|
-
/** key: sourceId, value: locationId or position coordinates */
|
|
60
|
-
selectedLocations: Record<string, string | Coordinates | undefined>;
|
|
61
|
-
/** ISO date, e.g., 2025-01-02T12:00:00.000Z */
|
|
62
|
-
selectedTime?: string;
|
|
63
|
-
/** Diagram type: SKEWT, BIJVOET, or EMAGRAM */
|
|
64
|
-
diagramType?: 'SKEWT' | 'BIJVOET' | 'EMAGRAM';
|
|
65
|
-
soundingPanels: SoundingPanels;
|
|
66
|
-
/** Whether to hide location markers on the map */
|
|
67
|
-
shouldHideLocationMarkers?: boolean;
|
|
68
|
-
}
|
|
69
|
-
export interface SoundingsState {
|
|
70
|
-
byId: Record<string, SoundingsStore>;
|
|
71
|
-
registeredPanelIds?: string[];
|
|
72
|
-
soundingsCollections: SoundingsCollection[];
|
|
73
|
-
}
|
|
74
|
-
export interface SoundingsModuleState {
|
|
75
|
-
soundings?: SoundingsState;
|
|
76
|
-
}
|
package/src/lib/store/utils.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SoundingsModuleState } from './types';
|
|
2
|
-
type PanelStateLike = SoundingsModuleState['soundings'];
|
|
3
|
-
export declare const getRegisteredPanelIds: (state: PanelStateLike | undefined) => string[];
|
|
4
|
-
export declare const isRegisteredPanelId: (state: PanelStateLike | undefined, panelId?: string) => boolean;
|
|
5
|
-
export declare const getPanelIdFromAction: (action: {
|
|
6
|
-
payload?: {
|
|
7
|
-
panelId?: string;
|
|
8
|
-
};
|
|
9
|
-
}) => string | undefined;
|
|
10
|
-
export {};
|
package/src/lib/utils/i18n.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import i18n from 'i18next';
|
|
2
|
-
import type { UseTranslationResponse } from 'react-i18next';
|
|
3
|
-
export declare const SOUNDINGS_NAMESPACE = "soundings";
|
|
4
|
-
export declare const initSoundingsI18n: () => void;
|
|
5
|
-
export declare const translateInTestsAndStories: (key: string, params?: Record<string, string | number> | undefined) => string;
|
|
6
|
-
export declare const useSoundingsTranslation: () => UseTranslationResponse<typeof SOUNDINGS_NAMESPACE, typeof i18n>;
|
|
7
|
-
export { i18n };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SoundingsStore } from '../store/types';
|
|
2
|
-
export type SoundingsComponentType = 'Soundings';
|
|
3
|
-
export interface SoundingsLookUpPayload {
|
|
4
|
-
componentType: SoundingsComponentType;
|
|
5
|
-
id: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
initialProps: SoundingsStore;
|
|
8
|
-
}
|
|
9
|
-
export declare const soundingsLookUp: (payload: SoundingsLookUpPayload) => React.JSX.Element | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|