@opengeoweb/space-weather 19.0.0 → 19.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/README.md +43 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +8472 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/lib/components/Bulletin/Bulletin.d.ts +10 -0
- package/dist/src/lib/components/Bulletin/BulletinControls.d.ts +6 -0
- package/dist/src/lib/components/Bulletin/BulletinHistoryDialog.d.ts +8 -0
- package/dist/src/lib/components/Bulletin/BulletinHistoryList.d.ts +8 -0
- package/dist/src/lib/components/Bulletin/BulletinTabs.d.ts +11 -0
- package/dist/src/lib/components/Bulletin/BulletinViewer.d.ts +9 -0
- package/dist/src/lib/components/Bulletin/index.d.ts +4 -0
- package/dist/src/lib/components/ComponentsLookUp/ComponentsLookUp.d.ts +15 -0
- package/dist/src/lib/components/ComponentsLookUp/index.d.ts +1 -0
- package/dist/src/lib/components/ContentDialog/ContentDialog.d.ts +12 -0
- package/dist/src/lib/components/ContentDialog/index.d.ts +1 -0
- package/dist/src/lib/components/Layout/Layout.d.ts +18 -0
- package/dist/src/lib/components/Layout/index.d.ts +1 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/CategoryLabelStatusTag.d.ts +7 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/DataSourceStatusTag.d.ts +7 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/EditFormFields.styles.d.ts +15 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/EventLevel.d.ts +3 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/GScaleStatusTag.d.ts +8 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/PeakFlux.d.ts +3 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/StartTimeEndTime.d.ts +10 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/SuddenImpulse.d.ts +3 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/Threshold.d.ts +7 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/XrayClassPeakClass.d.ts +8 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/index.d.ts +9 -0
- package/dist/src/lib/components/LifeCycleDialog/EditFormFields/validations.d.ts +5 -0
- package/dist/src/lib/components/LifeCycleDialog/FormWrapper.d.ts +9 -0
- package/dist/src/lib/components/LifeCycleDialog/LifeCycleActions.d.ts +7 -0
- package/dist/src/lib/components/LifeCycleDialog/LifeCycleColumn.d.ts +10 -0
- package/dist/src/lib/components/LifeCycleDialog/LifeCycleDialog.d.ts +13 -0
- package/dist/src/lib/components/LifeCycleDialog/LifeCycleDisplay.d.ts +11 -0
- package/dist/src/lib/components/LifeCycleDialog/LifeCycleEdit.d.ts +19 -0
- package/dist/src/lib/components/LifeCycleDialog/LifeCycleEditOptions.d.ts +8 -0
- package/dist/src/lib/components/LifeCycleDialog/index.d.ts +5 -0
- package/dist/src/lib/components/LifeCycleDialog/utils.d.ts +10 -0
- package/dist/src/lib/components/NotificationTrigger/NotificationTrigger.d.ts +3 -0
- package/dist/src/lib/components/NotificationTrigger/NotificationTriggerContext.d.ts +14 -0
- package/dist/src/lib/components/NotificationTrigger/index.d.ts +2 -0
- package/dist/src/lib/components/Notifications/NotificationList.d.ts +13 -0
- package/dist/src/lib/components/Notifications/NotificationRow.d.ts +8 -0
- package/dist/src/lib/components/Notifications/NotificationTabs.d.ts +9 -0
- package/dist/src/lib/components/Notifications/Notifications.d.ts +10 -0
- package/dist/src/lib/components/Notifications/index.d.ts +3 -0
- package/dist/src/lib/components/Notifications/utils.d.ts +2 -0
- package/dist/src/lib/components/Providers/Providers.d.ts +4 -0
- package/dist/src/lib/components/Providers/index.d.ts +1 -0
- package/dist/src/lib/components/TimeSeries/GraphErrors.d.ts +12 -0
- package/dist/src/lib/components/TimeSeries/Graphs.d.ts +12 -0
- package/dist/src/lib/components/TimeSeries/TimeSeries.d.ts +3 -0
- package/dist/src/lib/components/TimeSeries/TimeSeries.utils.d.ts +4 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesHeader.d.ts +3 -0
- package/dist/src/lib/components/TimeSeries/createChartSeriesData.d.ts +4 -0
- package/dist/src/lib/components/TimeSeries/index.d.ts +1 -0
- package/dist/src/lib/components/TimeSeries/styles.d.ts +14 -0
- package/dist/src/lib/components/TimeSeries/types.d.ts +34 -0
- package/dist/src/lib/components/TimeSeries/utils.d.ts +22 -0
- package/dist/src/lib/types.d.ts +207 -0
- package/dist/src/lib/utils/DummyData.d.ts +367 -0
- package/dist/src/lib/utils/defaultTimeRange.d.ts +4 -0
- package/dist/src/lib/utils/fakedata.d.ts +21 -0
- package/dist/src/lib/utils/i18n.d.ts +7 -0
- package/dist/src/lib/utils/spaceweather-api/api.d.ts +16 -0
- package/dist/src/lib/utils/spaceweather-api/fakeApi.d.ts +8 -0
- package/dist/src/lib/utils/spaceweather-api/hooks.d.ts +38 -0
- package/dist/src/lib/utils/storybookUtils.d.ts +2 -0
- package/package.json +4 -3
package/dist/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+

|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# space-weather
|
|
5
|
+
|
|
6
|
+
React component library with space-weather components for the opengeoweb project.
|
|
7
|
+
This library was generated with [Nx](https://nx.dev).
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
npm install @opengeoweb/space-weather
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Use
|
|
16
|
+
|
|
17
|
+
The front-end uses the [tanstack](https://tanstack.com/query) library to fetch data from the api. Importing components from the Space Weather repository should be wrapped by a QueryClient provider. Example:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
import { QueryClientProvider } from '@tanstack/react-query';
|
|
21
|
+
import { TimeSeries } from '@opengeoweb/space-weather';
|
|
22
|
+
|
|
23
|
+
const Component = () =>
|
|
24
|
+
<QueryClientProvider client={queryClient}>
|
|
25
|
+
<TimeSeries />
|
|
26
|
+
</QueryClientProvider>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Documentation
|
|
30
|
+
|
|
31
|
+
https://opengeoweb.gitlab.io/opengeoweb/docs/space-weather/
|
|
32
|
+
|
|
33
|
+
### API
|
|
34
|
+
|
|
35
|
+
Documentation of the API can be found on Swagger (make sure you're connected to the KNMI network). There are three controllers:
|
|
36
|
+
|
|
37
|
+
1. [TimeSeries API](http://ec2-34-242-250-251.eu-west-1.compute.amazonaws.com:8080/ui/#/time-series-controller)
|
|
38
|
+
2. [Bulletin API](http://ec2-34-242-250-251.eu-west-1.compute.amazonaws.com:8080/bulletin/ui/)
|
|
39
|
+
3. [Notification API](http://ec2-34-242-250-251.eu-west-1.compute.amazonaws.com:8080/notification/ui/)
|
|
40
|
+
|
|
41
|
+
### TypeScript Documentation
|
|
42
|
+
|
|
43
|
+
- [TypeScript Docs](https://opengeoweb.gitlab.io/opengeoweb/typescript-docs/space-weather/)
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./src/index";
|