@pih/esm-referrals-queue-app 2.0.0-pre.9 → 2.1.1-pre.101
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/.turbo/turbo-build.log +41 -0
- package/README.md +1 -17
- package/dist/13.js +2 -0
- package/dist/13.js.LICENSE.txt +38 -0
- package/dist/13.js.map +1 -0
- package/dist/144.js +2 -0
- package/dist/144.js.LICENSE.txt +19 -0
- package/dist/144.js.map +1 -0
- package/dist/146.js +1 -0
- package/dist/146.js.map +1 -0
- package/dist/15.js +2 -0
- package/dist/15.js.LICENSE.txt +28 -0
- package/dist/15.js.map +1 -0
- package/dist/300.js +1 -0
- package/dist/304.js +1 -0
- package/dist/304.js.map +1 -0
- package/dist/372.js +1 -0
- package/dist/372.js.map +1 -0
- package/dist/41.js +2 -0
- package/dist/41.js.map +1 -0
- package/dist/423.js +1 -0
- package/dist/423.js.map +1 -0
- package/dist/470.js +2 -0
- package/dist/470.js.LICENSE.txt +9 -0
- package/dist/470.js.map +1 -0
- package/dist/495.js +1 -0
- package/dist/495.js.map +1 -0
- package/dist/55.js +1 -0
- package/dist/84.js +2 -0
- package/dist/{147.js.LICENSE.txt → 84.js.LICENSE.txt} +7 -24
- package/dist/84.js.map +1 -0
- package/dist/876.js +2 -0
- package/dist/876.js.LICENSE.txt +9 -0
- package/dist/876.js.map +1 -0
- package/dist/89.js +1 -0
- package/dist/89.js.map +1 -0
- package/dist/913.js +2 -0
- package/dist/{879.js.LICENSE.txt → 913.js.LICENSE.txt} +13 -2
- package/dist/913.js.map +1 -0
- package/dist/92.js +2 -0
- package/dist/92.js.LICENSE.txt +9 -0
- package/dist/92.js.map +1 -0
- package/dist/99.js +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -0
- package/dist/pih-esm-referrals-queue-app.js +1 -1
- package/dist/pih-esm-referrals-queue-app.js.buildmanifest.json +429 -60
- package/dist/pih-esm-referrals-queue-app.js.map +1 -0
- package/dist/routes.json +1 -0
- package/jest.config.js +3 -0
- package/package.json +27 -70
- package/src/config-schema.ts +8 -16
- package/src/declarations.d.tsx +4 -4
- package/src/index.ts +11 -65
- package/src/referrals-queue/referrals-queue.component.tsx +71 -120
- package/src/referrals-queue/referrals-queue.resource.tsx +6 -9
- package/src/referrals-queue/referrals-queue.scss +24 -0
- package/src/referrals-queue/referrals-queue.test.tsx +148 -116
- package/src/root.component.test.tsx +3 -3
- package/src/root.component.tsx +6 -6
- package/src/routes.json +9 -0
- package/src/setup-tests.ts +8 -8
- package/src/table/referrals-table.component.tsx +83 -0
- package/src/util.ts +5 -9
- package/translations/en.json +13 -2
- package/translations/es.json +15 -0
- package/translations/fr.json +15 -0
- package/tsconfig.json +4 -22
- package/.editorconfig +0 -12
- package/.eslintignore +0 -2
- package/.eslintrc +0 -4
- package/.github/workflows/node.js.yml +0 -79
- package/.husky/pre-commit +0 -6
- package/.husky/pre-push +0 -6
- package/.prettierignore +0 -14
- package/LICENSE +0 -401
- package/__mocks__/react-i18next.js +0 -51
- package/dist/132.js +0 -1
- package/dist/147.js +0 -2
- package/dist/281.js +0 -1
- package/dist/294.js +0 -2
- package/dist/574.js +0 -1
- package/dist/595.js +0 -2
- package/dist/595.js.LICENSE.txt +0 -1
- package/dist/879.js +0 -2
- package/dist/90.js +0 -1
- package/dist/pih-esm-referrals-queue-app.old +0 -1
- package/jest.config.json +0 -19
- package/src/referrals-queue/react-dates-overrides.css +0 -39
- package/src/referrals-queue/referrals-queue.css +0 -63
- package/src/table/table.component.tsx +0 -95
- package/src/table/table.css +0 -16
- /package/dist/{294.js.LICENSE.txt → 41.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
|
2
|
+
Browserslist: browsers data (caniuse-lite) is 6 months old. Please run:
|
|
3
|
+
npx update-browserslist-db@latest
|
|
4
|
+
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
5
|
+
assets by path *.js 3.17 MiB
|
|
6
|
+
assets by chunk 3.1 MiB (id hint: vendors)
|
|
7
|
+
assets by status 2.77 MiB [big]
|
|
8
|
+
asset 13.js 2.26 MiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
|
|
9
|
+
asset 15.js 530 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
|
|
10
|
+
asset 144.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
|
|
11
|
+
asset 913.js 74.6 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
|
|
12
|
+
asset 84.js 61.9 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
|
|
13
|
+
asset 304.js 41.6 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
|
|
14
|
+
asset 92.js 21.3 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
|
|
15
|
+
asset 372.js 6.07 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
|
|
16
|
+
+ 12 assets
|
|
17
|
+
assets by path *.json 12.8 KiB
|
|
18
|
+
asset pih-esm-referrals-queue-app.js.buildmanifest.json 12.7 KiB [emitted]
|
|
19
|
+
asset routes.json 140 bytes [emitted] [from: src/routes.json] [copied]
|
|
20
|
+
orphan modules 10.9 MiB [orphan] 3554 modules
|
|
21
|
+
runtime modules 42.7 KiB 30 modules
|
|
22
|
+
built modules 8.45 MiB (javascript) 336 bytes (share-init) 336 bytes (consume-shared) [built]
|
|
23
|
+
modules by path ../../node_modules/ 8.43 MiB 743 modules
|
|
24
|
+
modules by path ./ 24.1 KiB
|
|
25
|
+
javascript modules 23.1 KiB 6 modules
|
|
26
|
+
optional modules 1.03 KiB [optional] 3 modules
|
|
27
|
+
provide-module modules 336 bytes
|
|
28
|
+
modules by path provide shared module (default) swr/ 126 bytes 3 modules
|
|
29
|
+
+ 5 modules
|
|
30
|
+
consume-shared-module modules 336 bytes
|
|
31
|
+
modules by path consume shared module (default) swr/ 126 bytes 3 modules
|
|
32
|
+
+ 5 modules
|
|
33
|
+
container entry 42 bytes [built] [code generated]
|
|
34
|
+
|
|
35
|
+
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
36
|
+
This can impact web performance.
|
|
37
|
+
Assets:
|
|
38
|
+
13.js (2.26 MiB)
|
|
39
|
+
15.js (530 KiB)
|
|
40
|
+
|
|
41
|
+
webpack 5.102.1 compiled with 1 warning in 114052 ms
|
package/README.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
# @pih/esm-referrals-queue
|
|
1
|
+
# @pih/esm-referrals-queue-app
|
|
2
2
|
|
|
3
3
|
A page for viewing the J9 Home Visits from CommCare
|
|
4
4
|
|
|
5
|
-
[](https://travis-ci.com/pih/pih-esm-referrals-queue)
|
|
6
|
-
|
|
7
5
|
## Design Notes
|
|
8
6
|
|
|
9
7
|
*See from [PIH Confluence](https://pihemr.atlassian.net/wiki/spaces/DSS/pages/538116104/PIH+EMR+Referrals+Queue)*
|
|
@@ -13,20 +11,6 @@ There should be one row per referral in this list (not one per encounter). Some
|
|
|
13
11
|
Note that the basic referrals workflow would be for J9 clinicians/managers to view the list of referrals here, then take action upon them one by one by clicking on the “pending” referrals. This will bring them into editing the Home Visit form from which the referral came. From there they specify any action taken on the referral and navigate back to this list.
|
|
14
12
|
Check out the [design doc](https://pihemr.atlassian.net/wiki/spaces/DSS/pages/538116104/PIH+EMR+Referrals+Queue).
|
|
15
13
|
|
|
16
|
-
## Development
|
|
17
|
-
```sh
|
|
18
|
-
# to install dependencies
|
|
19
|
-
yarn
|
|
20
|
-
|
|
21
|
-
# will run against a local OpenMRS server at localhost:8080, serving the frontend from 8081
|
|
22
|
-
yarn start --backend "http://localhost:8080/" --port 8081
|
|
23
|
-
|
|
24
|
-
# run against HUM-CI, serving the frontend from 8080
|
|
25
|
-
yarn start --backend "http://humci.pih-emr.org/" --api-url /mirebalais/
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
14
|
## Configuration
|
|
31
15
|
<!-- GENERATED BY OPENMRS CONFIG CLI -->
|
|
32
16
|
See the [openmrs-esm-module-config docs](https://wiki.openmrs.org/display/projects/openmrs-esm-module-config)
|