@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.
Files changed (93) hide show
  1. package/.turbo/turbo-build.log +41 -0
  2. package/README.md +1 -17
  3. package/dist/13.js +2 -0
  4. package/dist/13.js.LICENSE.txt +38 -0
  5. package/dist/13.js.map +1 -0
  6. package/dist/144.js +2 -0
  7. package/dist/144.js.LICENSE.txt +19 -0
  8. package/dist/144.js.map +1 -0
  9. package/dist/146.js +1 -0
  10. package/dist/146.js.map +1 -0
  11. package/dist/15.js +2 -0
  12. package/dist/15.js.LICENSE.txt +28 -0
  13. package/dist/15.js.map +1 -0
  14. package/dist/300.js +1 -0
  15. package/dist/304.js +1 -0
  16. package/dist/304.js.map +1 -0
  17. package/dist/372.js +1 -0
  18. package/dist/372.js.map +1 -0
  19. package/dist/41.js +2 -0
  20. package/dist/41.js.map +1 -0
  21. package/dist/423.js +1 -0
  22. package/dist/423.js.map +1 -0
  23. package/dist/470.js +2 -0
  24. package/dist/470.js.LICENSE.txt +9 -0
  25. package/dist/470.js.map +1 -0
  26. package/dist/495.js +1 -0
  27. package/dist/495.js.map +1 -0
  28. package/dist/55.js +1 -0
  29. package/dist/84.js +2 -0
  30. package/dist/{147.js.LICENSE.txt → 84.js.LICENSE.txt} +7 -24
  31. package/dist/84.js.map +1 -0
  32. package/dist/876.js +2 -0
  33. package/dist/876.js.LICENSE.txt +9 -0
  34. package/dist/876.js.map +1 -0
  35. package/dist/89.js +1 -0
  36. package/dist/89.js.map +1 -0
  37. package/dist/913.js +2 -0
  38. package/dist/{879.js.LICENSE.txt → 913.js.LICENSE.txt} +13 -2
  39. package/dist/913.js.map +1 -0
  40. package/dist/92.js +2 -0
  41. package/dist/92.js.LICENSE.txt +9 -0
  42. package/dist/92.js.map +1 -0
  43. package/dist/99.js +1 -0
  44. package/dist/main.js +1 -1
  45. package/dist/main.js.map +1 -0
  46. package/dist/pih-esm-referrals-queue-app.js +1 -1
  47. package/dist/pih-esm-referrals-queue-app.js.buildmanifest.json +429 -60
  48. package/dist/pih-esm-referrals-queue-app.js.map +1 -0
  49. package/dist/routes.json +1 -0
  50. package/jest.config.js +3 -0
  51. package/package.json +27 -70
  52. package/src/config-schema.ts +8 -16
  53. package/src/declarations.d.tsx +4 -4
  54. package/src/index.ts +11 -65
  55. package/src/referrals-queue/referrals-queue.component.tsx +71 -120
  56. package/src/referrals-queue/referrals-queue.resource.tsx +6 -9
  57. package/src/referrals-queue/referrals-queue.scss +24 -0
  58. package/src/referrals-queue/referrals-queue.test.tsx +148 -116
  59. package/src/root.component.test.tsx +3 -3
  60. package/src/root.component.tsx +6 -6
  61. package/src/routes.json +9 -0
  62. package/src/setup-tests.ts +8 -8
  63. package/src/table/referrals-table.component.tsx +83 -0
  64. package/src/util.ts +5 -9
  65. package/translations/en.json +13 -2
  66. package/translations/es.json +15 -0
  67. package/translations/fr.json +15 -0
  68. package/tsconfig.json +4 -22
  69. package/.editorconfig +0 -12
  70. package/.eslintignore +0 -2
  71. package/.eslintrc +0 -4
  72. package/.github/workflows/node.js.yml +0 -79
  73. package/.husky/pre-commit +0 -6
  74. package/.husky/pre-push +0 -6
  75. package/.prettierignore +0 -14
  76. package/LICENSE +0 -401
  77. package/__mocks__/react-i18next.js +0 -51
  78. package/dist/132.js +0 -1
  79. package/dist/147.js +0 -2
  80. package/dist/281.js +0 -1
  81. package/dist/294.js +0 -2
  82. package/dist/574.js +0 -1
  83. package/dist/595.js +0 -2
  84. package/dist/595.js.LICENSE.txt +0 -1
  85. package/dist/879.js +0 -2
  86. package/dist/90.js +0 -1
  87. package/dist/pih-esm-referrals-queue-app.old +0 -1
  88. package/jest.config.json +0 -19
  89. package/src/referrals-queue/react-dates-overrides.css +0 -39
  90. package/src/referrals-queue/referrals-queue.css +0 -63
  91. package/src/table/table.component.tsx +0 -95
  92. package/src/table/table.css +0 -16
  93. /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
- [![Build Status](https://travis-ci.com/pih/pih-esm-referrals-queue.svg?branch=master)](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)