@medplum/app 0.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/README.md +44 -0
- package/dist/css/main.df852ff379e5dddccf3e.css +57 -0
- package/dist/css/main.df852ff379e5dddccf3e.css.map +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/img/medplum-logo-512-512.png +0 -0
- package/dist/img/medplum-logo-maskable.png +0 -0
- package/dist/img/medplum-logo.svg +9 -0
- package/dist/index.html +1 -0
- package/dist/js/main.e4765bb1ead3273c7f10.js +3 -0
- package/dist/js/main.e4765bb1ead3273c7f10.js.LICENSE.txt +60 -0
- package/dist/js/main.e4765bb1ead3273c7f10.js.map +1 -0
- package/dist/js/runtime.e53d2bf68ab6dc7b5401.js +2 -0
- package/dist/js/runtime.e53d2bf68ab6dc7b5401.js.map +1 -0
- package/dist/manifest.webmanifest +42 -0
- package/dist/robots.txt +2 -0
- package/dist/service-worker.js +2 -0
- package/dist/service-worker.js.map +1 -0
- package/dist/workbox-b891d7eb.js +2 -0
- package/dist/workbox-b891d7eb.js.map +1 -0
- package/package.json +62 -0
package/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Medplum App
|
|
2
|
+
|
|
3
|
+
This is the code for [https://app.medplum.com](https://app.medplum.com)
|
|
4
|
+
|
|
5
|
+
## Deployment
|
|
6
|
+
|
|
7
|
+
Medplum publishes the app package with placeholders for configuration settings. You can use the Medplum CLI to deploy the app, which will automatically replace the placeholders with your settings.
|
|
8
|
+
|
|
9
|
+
For example:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# Deploy the latest version of the app to your Medplum AWS environment named "staging"
|
|
13
|
+
medplum aws deploy-app staging
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Config Settings
|
|
17
|
+
|
|
18
|
+
When deploying from the Medplum CLI, config settings are loaded from the corresponding JSON config file.
|
|
19
|
+
|
|
20
|
+
When building and running the app from source, config settings are loaded from environment variables or the `.env` file.
|
|
21
|
+
|
|
22
|
+
| Name | Description | Required |
|
|
23
|
+
| -------------------------- | ------------------------------------------------------------------------------------------ | -------- |
|
|
24
|
+
| `MEDPLUM_BASE_URL` | The base URL of the API server for all API calls. For example, "https://api.medplum.com/". | yes |
|
|
25
|
+
| `MEDPLUM_CLIENT_ID` | Optional Medplum client application ID. | no |
|
|
26
|
+
| `GOOGLE_CLIENT_ID` | Optional Google client application ID for Google Auth. | no |
|
|
27
|
+
| `RECAPTCHA_SITE_KEY` | Optional reCAPTCHA site key for reCAPTCHA user verification. | no |
|
|
28
|
+
| `MEDPLUM_REGISTER_ENABLED` | Optional flag to enable or disable open registration for new projects. | no |
|
|
29
|
+
|
|
30
|
+
## Developing
|
|
31
|
+
|
|
32
|
+
Dev server:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm run dev
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Production build:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm run build
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
For more information, refer to the [Developer Instructions](https://www.medplum.com/docs/contributing/run-the-stack).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.medplum-bot-editor {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 800px;
|
|
5
|
+
background: white;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.medplum-bot-code-frame {
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 20px;
|
|
11
|
+
top: 20px;
|
|
12
|
+
width: 800px;
|
|
13
|
+
height: 520px;
|
|
14
|
+
border: 0.1px solid #aaa;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.medplum-bot-input-frame {
|
|
18
|
+
position: absolute;
|
|
19
|
+
left: 850px;
|
|
20
|
+
top: 20px;
|
|
21
|
+
width: 350px;
|
|
22
|
+
height: 260px;
|
|
23
|
+
border: 0.1px solid #aaa;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.medplum-bot-output-frame {
|
|
27
|
+
position: absolute;
|
|
28
|
+
left: 850px;
|
|
29
|
+
top: 300px;
|
|
30
|
+
width: 350px;
|
|
31
|
+
height: 240px;
|
|
32
|
+
border: 0.1px solid #aaa;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.medplum-bot-buttons {
|
|
36
|
+
position: absolute;
|
|
37
|
+
left: 29px;
|
|
38
|
+
top: 560px;
|
|
39
|
+
width: 1100px;
|
|
40
|
+
height: 50px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
html {
|
|
44
|
+
height: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
body,
|
|
48
|
+
#root {
|
|
49
|
+
min-height: 100vh;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.grecaptcha-badge {
|
|
53
|
+
visibility: hidden;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/*# sourceMappingURL=main.df852ff379e5dddccf3e.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css/main.df852ff379e5dddccf3e.css","mappings":"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,UAAU;EACV,SAAS;EACT,YAAY;EACZ,aAAa;EACb,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,YAAY;EACZ,aAAa;EACb,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,UAAU;EACV,YAAY;EACZ,aAAa;EACb,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,UAAU;EACV,UAAU;EACV,aAAa;EACb,YAAY;AACd;;ACxCA;EACE,YAAY;AACd;;AAEA;;EAEE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;AACpB","sources":["webpack://@medplum/app/./src/resource/BotEditor.css","webpack://@medplum/app/./src/App.css"],"sourcesContent":[".medplum-bot-editor {\n position: relative;\n width: 100%;\n height: 800px;\n background: white;\n}\n\n.medplum-bot-code-frame {\n position: absolute;\n left: 20px;\n top: 20px;\n width: 800px;\n height: 520px;\n border: 0.1px solid #aaa;\n}\n\n.medplum-bot-input-frame {\n position: absolute;\n left: 850px;\n top: 20px;\n width: 350px;\n height: 260px;\n border: 0.1px solid #aaa;\n}\n\n.medplum-bot-output-frame {\n position: absolute;\n left: 850px;\n top: 300px;\n width: 350px;\n height: 240px;\n border: 0.1px solid #aaa;\n}\n\n.medplum-bot-buttons {\n position: absolute;\n left: 29px;\n top: 560px;\n width: 1100px;\n height: 50px;\n}\n","html {\n height: 100%;\n}\n\nbody,\n#root {\n min-height: 100vh;\n}\n\n.grecaptcha-badge {\n visibility: hidden;\n}\n"],"names":[],"sourceRoot":""}
|
package/dist/favicon.ico
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="2in" height="2in" viewBox="0 0 50.8 50.8" baseProfile="tiny-ps" version="1.2">
|
|
3
|
+
<title>Medplum</title>
|
|
4
|
+
<path fill="#ad7136" d="M28.796 6.964c.62-1.655 1.655-3 3-4.139L29.52.031a12.2 12.2 0 0 0-4.45 7.037l1.76 2.38z" />
|
|
5
|
+
<path fill="#946af9" d="M31.797 6.55c-1.76 0-3.415.414-4.968 1.139-1.655-.725-3.311-1.139-5.07-1.139-9.003 0-16.35 9.935-16.35 22.145 0 12.211 7.347 22.146 16.35 22.146 1.759 0 3.415-.414 5.07-1.139 1.553.725 3.208 1.139 4.968 1.139 9.002 0 16.35-9.935 16.35-22.146 0-12.21-7.348-22.145-16.35-22.145Z" />
|
|
6
|
+
<path fill="#7857c5" d="m23.518 50.634-1.76.207c-9.002 0-16.35-9.935-16.35-22.146 0-12.21 7.348-22.145 16.35-22.145l1.76.104c-4.036 1.242-7.244 10.555-7.244 22.041 0 11.487 3.208 20.8 7.244 21.939z" />
|
|
7
|
+
<path fill="#40bc26" d="M21.034 22.797a18.213 18.213 0 0 1-18.316 4.45A18.213 18.213 0 0 1 25.588 4.48l.103.517c1.76 6.106.207 12.935-4.657 17.799z" />
|
|
8
|
+
<path fill="#33961e" d="M25.691 4.998A43.566 43.566 0 0 0 5.512 27.971l-2.794-.724A18.213 18.213 0 0 1 25.588 4.48Z" />
|
|
9
|
+
</svg>
|
package/dist/index.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Medplum</title><meta name="description" content="Medplum: Medical Collaboration"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5,minimum-scale=1"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><meta name="theme-color" content="#5b2876"/><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/><link rel="apple-touch-icon" href="/img/medplum-logo-512x512.png"><link rel="manifest" href="/manifest.webmanifest"/><link rel="icon" href="/favicon.ico" integrity="sha384-FSY+Q+3WVm4BUzNqpxDlx77n9OLml3cvZ1tQg6UNW5UxRz0lW2w/Kns296B1CtbT" crossorigin="anonymous"><script defer="defer" src="/js/runtime.e53d2bf68ab6dc7b5401.js" integrity="sha384-3embFfKr1RAnkfNWCIwHvjDSQmtwUvKgUtWSsFcuX3mNvRl4E0SDwtK+D3u17gVG" crossorigin="anonymous"></script><script defer="defer" src="/js/main.e4765bb1ead3273c7f10.js" integrity="sha384-GVQrtCeYuSHnzEPQFpDo+kppo/fSMo5UZHBWhMyB8kfPNs4seJf+jL9cDTjUS4gM" crossorigin="anonymous"></script><link href="/css/main.df852ff379e5dddccf3e.css" rel="stylesheet" integrity="sha384-zGx/n2QbYYK4jPrlUSRip9VA5VVSjd3X6L6NyaFuDbjokc3scrChQPDihLFA+F0L" crossorigin="anonymous"></head><body><div id="root"></div></body></html>
|