@medplum/app 0.0.1 → 2.0.26

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.
@@ -0,0 +1 @@
1
+ .medplum-bot-editor{position:relative;width:100%;height:800px;background:white}.medplum-bot-code-frame{position:absolute;left:20px;top:20px;width:800px;height:520px;border:.1px solid #aaa}.medplum-bot-input-frame{position:absolute;left:850px;top:20px;width:350px;height:260px;border:.1px solid #aaa}.medplum-bot-output-frame{position:absolute;left:850px;top:300px;width:350px;height:240px;border:.1px solid #aaa}.medplum-bot-buttons{position:absolute;left:29px;top:560px;width:1100px;height:50px}html{height:100%}body,#root{min-height:100vh}.grecaptcha-badge{visibility:hidden}
package/dist/index.html CHANGED
@@ -1 +1,22 @@
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"><script defer="defer" src="/js/runtime.e53d2bf68ab6dc7b5401.js"></script><script defer="defer" src="/js/main.e4765bb1ead3273c7f10.js"></script><link href="/css/main.df852ff379e5dddccf3e.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Medplum</title>
6
+ <meta name="description" content="Medplum: Medical Collaboration" />
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, minimum-scale=1" />
9
+ <meta name="apple-mobile-web-app-capable" content="yes" />
10
+ <meta name="apple-mobile-web-app-status-bar-style" content="black" />
11
+ <meta name="theme-color" content="#5b2876" />
12
+ <link rel="shortcut icon" type="image/x-icon" href="/assets/favicon-40a461ba.ico" />
13
+ <link rel="apple-touch-icon" href="/img/medplum-logo-512x512.png" />
14
+ <script type="module" crossorigin src="/assets/index-95c2442f.js"></script>
15
+ <link rel="stylesheet" href="/assets/index-e3fd2eea.css">
16
+ </head>
17
+
18
+ <body>
19
+ <div id="root"></div>
20
+
21
+ </body>
22
+ </html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@medplum/app",
4
- "version": "0.0.1",
4
+ "version": "2.0.26",
5
5
  "description": "Medplum App",
6
6
  "author": "Medplum <hello@medplum.com>",
7
7
  "license": "Apache-2.0",
@@ -11,50 +11,41 @@
11
11
  "url": "https://github.com/medplum/medplum.git",
12
12
  "directory": "packages/app"
13
13
  },
14
+ "engines": {
15
+ "node": ">=18.0.0"
16
+ },
14
17
  "files": [
15
18
  "dist"
16
19
  ],
17
20
  "scripts": {
18
21
  "clean": "rimraf dist",
19
- "dev": "webpack serve --mode development",
20
- "build": "npm run clean && tsc && cross-env NODE_ENV=production webpack --mode production",
21
- "debug": "webpack --mode development",
22
- "start": "http-server dist --port 3000 --proxy http://localhost:3000?",
22
+ "dev": "vite",
23
+ "build": "npm run clean && tsc && vite build",
23
24
  "test": "jest",
24
25
  "source-map-explorer": "source-map-explorer dist/**/*.js --gzip"
25
26
  },
26
27
  "devDependencies": {
27
- "@emotion/react": "11.10.6",
28
- "@mantine/core": "6.0.8",
29
- "@mantine/dropzone": "6.0.8",
30
- "@mantine/hooks": "6.0.8",
31
- "@mantine/notifications": "6.0.8",
28
+ "@emotion/react": "11.11.1",
29
+ "@mantine/core": "6.0.15",
30
+ "@mantine/dropzone": "6.0.15",
31
+ "@mantine/hooks": "6.0.15",
32
+ "@mantine/notifications": "6.0.15",
32
33
  "@medplum/core": "*",
33
34
  "@medplum/definitions": "*",
34
35
  "@medplum/fhirtypes": "*",
35
36
  "@medplum/mock": "*",
36
37
  "@medplum/react": "*",
37
- "@tabler/icons-react": "2.17.0",
38
+ "@tabler/icons-react": "2.23.0",
38
39
  "@testing-library/jest-dom": "5.16.5",
39
40
  "@testing-library/react": "14.0.0",
40
41
  "@types/grecaptcha": "3.0.4",
41
- "@types/react": "18.0.38",
42
- "@types/react-dom": "18.0.11",
42
+ "@types/react": "18.2.14",
43
+ "@types/react-dom": "18.2.6",
43
44
  "@types/react-router-dom": "5.3.3",
44
- "babel-loader": "9.1.2",
45
- "copy-webpack-plugin": "11.0.0",
46
- "css-loader": "6.7.3",
47
- "dotenv-webpack": "8.0.1",
48
- "html-webpack-plugin": "5.5.1",
49
- "http-server": "14.1.1",
50
- "identity-obj-proxy": "3.0.0",
51
- "mini-css-extract-plugin": "2.7.5",
52
45
  "react": "18.2.0",
53
46
  "react-dom": "18.2.0",
54
- "react-router-dom": "6.10.0",
55
- "webpack-manifest-plugin": "5.0.0",
56
- "webpack-subresource-integrity": "5.1.0",
57
- "workbox-webpack-plugin": "6.5.4"
47
+ "react-router-dom": "6.14.1",
48
+ "vite": "4.3.9"
58
49
  },
59
50
  "browserslist": [
60
51
  "last 1 Chrome versions"
@@ -1,57 +0,0 @@
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*/
@@ -1 +0,0 @@
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":""}