@openmrs/esm-ward-app 7.0.1-pre.60 → 7.1.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.
Files changed (77) hide show
  1. package/.turbo/turbo-build.log +23 -27
  2. package/dist/130.js +1 -1
  3. package/dist/130.js.map +1 -1
  4. package/dist/152.js +1 -0
  5. package/dist/152.js.map +1 -0
  6. package/dist/255.js +2 -0
  7. package/dist/{697.js.LICENSE.txt → 255.js.LICENSE.txt} +0 -6
  8. package/dist/255.js.map +1 -0
  9. package/dist/303.js +1 -0
  10. package/dist/303.js.map +1 -0
  11. package/dist/331.js +1 -0
  12. package/dist/331.js.map +1 -0
  13. package/dist/430.js +1 -0
  14. package/dist/430.js.map +1 -0
  15. package/dist/574.js +1 -1
  16. package/dist/747.js +1 -0
  17. package/dist/747.js.map +1 -0
  18. package/dist/836.js +2 -0
  19. package/dist/836.js.LICENSE.txt +5 -0
  20. package/dist/836.js.map +1 -0
  21. package/dist/main.js +1 -1
  22. package/dist/main.js.map +1 -1
  23. package/dist/openmrs-esm-ward-app.js +1 -1
  24. package/dist/openmrs-esm-ward-app.js.buildmanifest.json +190 -46
  25. package/dist/openmrs-esm-ward-app.js.map +1 -1
  26. package/dist/routes.json +1 -1
  27. package/package.json +2 -3
  28. package/src/beds/occupied-bed.component.tsx +7 -12
  29. package/src/beds/occupied-bed.scss +1 -1
  30. package/src/beds/occupied-bed.test.tsx +14 -5
  31. package/src/config-schema.ts +173 -7
  32. package/src/constant.ts +1 -0
  33. package/src/createDashboardLink.component.tsx +42 -0
  34. package/src/hooks/useAdmissionLocation.ts +4 -5
  35. package/src/hooks/useAdmittedPatients.ts +13 -0
  36. package/src/hooks/useConcept.ts +11 -0
  37. package/src/hooks/useInpatientRequest.ts +15 -0
  38. package/src/hooks/useLocation.test.ts +38 -0
  39. package/src/hooks/useLocation.ts +9 -0
  40. package/src/hooks/useObs.ts +21 -0
  41. package/src/hooks/useWardLocation.test.ts +78 -0
  42. package/src/hooks/useWardLocation.ts +26 -0
  43. package/src/index.ts +24 -3
  44. package/src/root.component.tsx +2 -1
  45. package/src/routes.json +37 -7
  46. package/src/types/index.ts +40 -2
  47. package/src/ward-patient-card/row-elements/ward-patient-age.tsx +3 -1
  48. package/src/ward-patient-card/row-elements/ward-patient-bed-number.tsx +3 -0
  49. package/src/ward-patient-card/row-elements/ward-patient-coded-obs-tags.tsx +80 -0
  50. package/src/ward-patient-card/row-elements/ward-patient-header-address.tsx +3 -1
  51. package/src/ward-patient-card/row-elements/ward-patient-obs.resource.ts +52 -0
  52. package/src/ward-patient-card/row-elements/ward-patient-obs.tsx +58 -0
  53. package/src/ward-patient-card/ward-patient-card-row.resources.tsx +12 -5
  54. package/src/ward-patient-card/ward-patient-card.scss +43 -0
  55. package/src/ward-patient-card/ward-patient-card.tsx +12 -2
  56. package/src/ward-patient-workspace/ward-patient-action-button.extension.tsx +18 -0
  57. package/src/ward-patient-workspace/ward-patient.style.scss +11 -0
  58. package/src/ward-patient-workspace/ward-patient.workspace.tsx +79 -0
  59. package/src/ward-view/ward-bed.component.tsx +6 -9
  60. package/src/ward-view/ward-view.component.tsx +80 -39
  61. package/src/ward-view/ward-view.scss +0 -15
  62. package/src/ward-view/ward-view.test.tsx +38 -25
  63. package/src/ward-view-header/admission-requests-bar.component.tsx +50 -0
  64. package/src/ward-view-header/admission-requests-bar.test.tsx +43 -0
  65. package/src/ward-view-header/admission-requests.scss +33 -0
  66. package/src/ward-view-header/ward-view-header.component.tsx +18 -0
  67. package/src/ward-view-header/ward-view-header.scss +8 -0
  68. package/src/ward-workspace/admission-request-card.component.tsx +23 -0
  69. package/src/ward-workspace/admission-request-card.scss +34 -0
  70. package/src/ward-workspace/admission-request-workspace.test.tsx +32 -0
  71. package/src/ward-workspace/admission-requests-workspace.component.tsx +21 -0
  72. package/src/ward-workspace/admission-requests-workspace.scss +13 -0
  73. package/translations/en.json +6 -1
  74. package/dist/49.js +0 -1
  75. package/dist/49.js.map +0 -1
  76. package/dist/697.js +0 -2
  77. package/dist/697.js.map +0 -1
@@ -1,37 +1,33 @@
1
- assets by path *.js 870 KiB
2
- assets by chunk 767 KiB (id hint: vendors)
3
- asset 130.js 643 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
1
+ assets by path *.js 933 KiB
2
+ assets by chunk 779 KiB (id hint: vendors)
3
+ asset 130.js 652 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
4
4
  asset 591.js 50.8 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
5
- asset 697.js 46.4 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
5
+ asset 836.js 45 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
6
6
  asset 443.js 20 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
7
7
  asset 729.js 6.04 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
8
- asset main.js 70.4 KiB [emitted] [minimized] (name: main) 2 related assets
9
- asset 49.js 19.4 KiB [emitted] [minimized] 1 related asset
10
- asset openmrs-esm-ward-app.js 6.79 KiB [emitted] [minimized] (name: @openmrs/esm-ward-app) 1 related asset
11
- asset 784.js 6.46 KiB [emitted] [minimized] 2 related assets
12
- asset 574.js 509 bytes [emitted] [minimized]
13
- assets by path *.json 6.04 KiB
14
- asset openmrs-esm-ward-app.js.buildmanifest.json 5.58 KiB [emitted]
15
- asset routes.json 471 bytes [emitted] [from: src/routes.json] [copied]
16
- orphan modules 4.36 MiB [orphan] 531 modules
17
- runtime modules 38.6 KiB 28 modules
18
- built modules 2.75 MiB (javascript) 210 bytes (share-init) 210 bytes (consume-shared) [built]
19
- modules by path ../../node_modules/ 2.71 MiB 46 modules
20
- modules by path ./ 40.9 KiB
21
- modules by path ./src/ 40.4 KiB 5 modules
22
- modules by path ./translations/ 519 bytes 2 modules
23
- provide-module modules 210 bytes
24
- provide shared module (default) @openmrs/esm-framework@5.6.1-pre.1881 = ../../no...(truncated) 42 bytes [built] [code generated]
8
+ asset 255.js 5.53 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
9
+ + 9 assets
10
+ assets by path *.json 9.47 KiB
11
+ asset openmrs-esm-ward-app.js.buildmanifest.json 8.35 KiB [emitted]
12
+ asset routes.json 1.12 KiB [emitted] [from: src/routes.json] [copied]
13
+ orphan modules 4.27 MiB [orphan] 544 modules
14
+ runtime modules 39.4 KiB 28 modules
15
+ built modules 2.96 MiB (javascript) 252 bytes (share-init) 252 bytes (consume-shared) [built]
16
+ cacheable modules 2.96 MiB
17
+ modules by path ../../node_modules/ 2.86 MiB 50 modules
18
+ modules by path ./ 105 KiB 17 modules
19
+ provide-module modules 252 bytes
20
+ modules by path provide shared module (default) swr/ 84 bytes 2 modules
21
+ + 4 modules
22
+ consume-shared-module modules 252 bytes
23
+ modules by path consume shared module (default) swr/ 84 bytes 2 modules
25
24
  + 4 modules
26
- consume-shared-module modules 210 bytes
27
- consume shared module (default) @openmrs/esm-framework@^5 (singleton) (fallback:...(truncated) 42 bytes [built] [code generated]
28
- consume shared module (default) react@^18.1.0 (singleton) (fallback: ../../node_...(truncated) 42 bytes [built] [code generated]
29
- + 3 modules
30
25
  container entry 42 bytes [built] [code generated]
26
+ ./translations/ lazy nonrecursive .json$ 160 bytes [built] [code generated]
31
27
 
32
28
  WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
33
29
  This can impact web performance.
34
30
  Assets:
35
- 130.js (643 KiB)
31
+ 130.js (652 KiB)
36
32
 
37
- webpack 5.88.0 compiled with 1 warning in 82598 ms
33
+ webpack 5.88.0 compiled with 1 warning in 127125 ms