@openmrs/esm-ward-app 7.0.1-pre.59 → 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 (90) hide show
  1. package/.turbo/turbo-build.log +28 -32
  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/{730.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/443.js +1 -0
  16. package/dist/443.js.map +1 -0
  17. package/dist/574.js +1 -1
  18. package/dist/729.js +1 -1
  19. package/dist/729.js.map +1 -1
  20. package/dist/747.js +1 -0
  21. package/dist/747.js.map +1 -0
  22. package/dist/836.js +2 -0
  23. package/dist/836.js.LICENSE.txt +5 -0
  24. package/dist/836.js.map +1 -0
  25. package/dist/main.js +1 -1
  26. package/dist/main.js.map +1 -1
  27. package/dist/openmrs-esm-ward-app.js +1 -1
  28. package/dist/openmrs-esm-ward-app.js.buildmanifest.json +194 -50
  29. package/dist/openmrs-esm-ward-app.js.map +1 -1
  30. package/dist/routes.json +1 -1
  31. package/package.json +2 -3
  32. package/src/{empty-beds → beds}/empty-bed-skeleton.tsx +1 -1
  33. package/src/beds/empty-bed.component.tsx +24 -0
  34. package/src/beds/occupied-bed.component.tsx +35 -0
  35. package/src/beds/occupied-bed.scss +24 -0
  36. package/src/beds/occupied-bed.test.tsx +52 -0
  37. package/src/config-schema.ts +300 -3
  38. package/src/constant.ts +1 -0
  39. package/src/createDashboardLink.component.tsx +42 -0
  40. package/src/hooks/useAdmissionLocation.ts +4 -5
  41. package/src/hooks/useAdmittedPatients.ts +13 -0
  42. package/src/hooks/useConcept.ts +11 -0
  43. package/src/hooks/useInpatientRequest.ts +15 -0
  44. package/src/hooks/useLocation.test.ts +38 -0
  45. package/src/hooks/useLocation.ts +9 -0
  46. package/src/hooks/useObs.ts +21 -0
  47. package/src/hooks/useWardLocation.test.ts +78 -0
  48. package/src/hooks/useWardLocation.ts +26 -0
  49. package/src/index.ts +30 -5
  50. package/src/root.component.tsx +2 -1
  51. package/src/routes.json +46 -6
  52. package/src/types/index.ts +113 -2
  53. package/src/ward-patient-card/row-elements/ward-patient-age.tsx +20 -0
  54. package/src/ward-patient-card/row-elements/ward-patient-bed-number.tsx +16 -0
  55. package/src/ward-patient-card/row-elements/ward-patient-coded-obs-tags.tsx +80 -0
  56. package/src/ward-patient-card/row-elements/ward-patient-header-address.tsx +24 -0
  57. package/src/ward-patient-card/row-elements/ward-patient-name.tsx +13 -0
  58. package/src/ward-patient-card/row-elements/ward-patient-obs.resource.ts +52 -0
  59. package/src/ward-patient-card/row-elements/ward-patient-obs.tsx +58 -0
  60. package/src/ward-patient-card/ward-patient-card-row.resources.tsx +92 -0
  61. package/src/ward-patient-card/ward-patient-card.scss +114 -0
  62. package/src/ward-patient-card/ward-patient-card.tsx +30 -0
  63. package/src/ward-patient-workspace/ward-patient-action-button.extension.tsx +18 -0
  64. package/src/ward-patient-workspace/ward-patient.style.scss +11 -0
  65. package/src/ward-patient-workspace/ward-patient.workspace.tsx +79 -0
  66. package/src/ward-view/ward-bed.component.tsx +8 -8
  67. package/src/ward-view/ward-view.component.tsx +86 -44
  68. package/src/ward-view/ward-view.resource.ts +11 -1
  69. package/src/ward-view/ward-view.scss +0 -4
  70. package/src/ward-view/ward-view.test.tsx +64 -20
  71. package/src/ward-view-header/admission-requests-bar.component.tsx +50 -0
  72. package/src/ward-view-header/admission-requests-bar.test.tsx +43 -0
  73. package/src/ward-view-header/admission-requests.scss +33 -0
  74. package/src/ward-view-header/ward-view-header.component.tsx +18 -0
  75. package/src/ward-view-header/ward-view-header.scss +8 -0
  76. package/src/ward-workspace/admission-request-card.component.tsx +23 -0
  77. package/src/ward-workspace/admission-request-card.scss +34 -0
  78. package/src/ward-workspace/admission-request-workspace.test.tsx +32 -0
  79. package/src/ward-workspace/admission-requests-workspace.component.tsx +21 -0
  80. package/src/ward-workspace/admission-requests-workspace.scss +13 -0
  81. package/translations/en.json +8 -1
  82. package/dist/588.js +0 -1
  83. package/dist/588.js.map +0 -1
  84. package/dist/669.js +0 -1
  85. package/dist/669.js.map +0 -1
  86. package/dist/730.js +0 -2
  87. package/dist/730.js.map +0 -1
  88. package/src/empty-beds/empty-bed.component.tsx +0 -19
  89. /package/src/{empty-beds → beds}/empty-bed.scss +0 -0
  90. /package/src/{admitted-patient/admitted-patient-header.scss → ward-patient-card/row-elements/row-elements.scss} +0 -0
@@ -1,37 +1,33 @@
1
- assets by path *.js 842 KiB
2
- assets by chunk 759 KiB (id hint: vendors)
3
- asset 130.js 639 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
4
- asset 591.js 50.8 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
5
- asset 730.js 44.2 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
6
- asset 588.js 19 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
7
- asset 729.js 6.15 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
8
- asset main.js 59.8 KiB [emitted] [minimized] (name: main) 2 related assets
9
- asset 669.js 9.55 KiB [emitted] [minimized] 1 related asset
10
- asset openmrs-esm-ward-app.js 6.81 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 463 bytes [emitted] [minimized]
13
- assets by path *.json 5.77 KiB
14
- asset openmrs-esm-ward-app.js.buildmanifest.json 5.58 KiB [emitted]
15
- asset routes.json 196 bytes [emitted] [from: src/routes.json] [copied]
16
- orphan modules 4.35 MiB [orphan] 540 modules
17
- runtime modules 38.6 KiB 28 modules
18
- built modules 2.72 MiB (javascript) 210 bytes (share-init) 210 bytes (consume-shared) [built]
19
- cacheable modules 2.72 MiB
20
- modules by path ../../node_modules/ 2.7 MiB 38 modules
21
- modules by path ./ 20.1 KiB 5 modules
22
- provide-module modules 210 bytes
23
- provide shared module (default) @openmrs/esm-framework@5.6.1-pre.1824 = ../../no...(truncated) 42 bytes [built] [code generated]
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
+ asset 591.js 50.8 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
5
+ asset 836.js 45 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
6
+ asset 443.js 20 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
7
+ asset 729.js 6.04 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
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
24
21
  + 4 modules
25
- consume-shared-module modules 210 bytes
26
- consume shared module (default) @openmrs/esm-framework@^5 (singleton) (fallback:...(truncated) 42 bytes [built] [code generated]
27
- consume shared module (default) react@^18.1.0 (singleton) (fallback: ../../node_...(truncated) 42 bytes [built] [code generated]
28
- + 3 modules
29
- container entry 42 bytes [built] [code generated]
30
- ./translations/ lazy nonrecursive .json$ 160 bytes [built] [code generated]
22
+ consume-shared-module modules 252 bytes
23
+ modules by path consume shared module (default) swr/ 84 bytes 2 modules
24
+ + 4 modules
25
+ container entry 42 bytes [built] [code generated]
26
+ ./translations/ lazy nonrecursive .json$ 160 bytes [built] [code generated]
31
27
 
32
- WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
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 (639 KiB)
31
+ 130.js (652 KiB)
36
32
 
37
- webpack 5.86.0 compiled with 1 warning in 80857 ms
33
+ webpack 5.88.0 compiled with 1 warning in 127125 ms