@gen-epix/ui 1.1.0 → 1.3.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/README.md +38 -0
- package/dist/index.d.ts +153 -111
- package/dist/index.js +54170 -53922
- package/dist/mui.d.ts +4 -0
- package/package.json +19 -20
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/RIVM-bioinformatics/gen-epix-ui-demo-client/refs/heads/main/src/assets/logo/gen-epix-logo-large.svg" alt="gen-epix-api-logo">
|
|
3
|
+
</p>
|
|
4
|
+
<p align="center">
|
|
5
|
+
<em>Genomic Epidemiology platform for disease X</em>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Gen-EpiX: Genomic Epidemiology platform for disease X - Frontend UI Library<br>[beta]
|
|
11
|
+
|
|
12
|
+
Gen-EpiX is platform for visualizing and analyzing genomic epidemiology data. It can be used for any disease and has very fine-grained access controls to enable collaboration between multiple organizations. It does not include, by design, bioinformatics pipelines or any other data analysis pipelines.
|
|
13
|
+
|
|
14
|
+
The platform is currently at the beta release stage and as such not yet usable for production. We are currently to get the platform released, for use in the Netherlands as the official national platform for laboratory-based surveillance of infectious diseases. Feel free to contact us <a href="mailto:ivo.van.walle@rivm.nl">here</a> if you are interested.
|
|
15
|
+
|
|
16
|
+
## About @gen-epix/ui
|
|
17
|
+
|
|
18
|
+
The project exports a library of frontend components and an (almost) ready to use application. You will need to create your own project and include `@gen-epix/ui` as a dependency. Please refer to the <a href="https://github.com/RIVM-bioinformatics/gen-epix-ui-demo-client">demo client project</a> to see a working example of this library.
|
|
19
|
+
|
|
20
|
+
Basic example:
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
import { createRoot } from 'react-dom/client';
|
|
24
|
+
|
|
25
|
+
import {
|
|
26
|
+
App,
|
|
27
|
+
ConfigManager,
|
|
28
|
+
setup,
|
|
29
|
+
} from '@gen-epix/ui';
|
|
30
|
+
|
|
31
|
+
// call setup before anything else
|
|
32
|
+
setup();
|
|
33
|
+
|
|
34
|
+
ConfigManager.instance.config = {
|
|
35
|
+
// add your config
|
|
36
|
+
}
|
|
37
|
+
createRoot(document.getElementById('root')).render(<App />);
|
|
38
|
+
```
|