@openmrs/esm-ward-app 8.2.2-pre.4700 → 8.2.2-pre.4715
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 +3 -3
- package/dist/481.js +1 -1
- package/dist/598.js +1 -1
- package/dist/598.js.map +1 -1
- package/dist/921.js +1 -1
- package/dist/openmrs-esm-ward-app.js.buildmanifest.json +5 -5
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/ward-patient-card/row-elements/ward-patient-identifier.scss +3 -0
- package/src/ward-patient-card/row-elements/ward-patient-identifier.tsx +2 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -8,11 +8,11 @@ assets by path *.js 2.89 MiB
|
|
|
8
8
|
assets by path *.json 22.6 KiB
|
|
9
9
|
asset openmrs-esm-ward-app.js.buildmanifest.json 18.7 KiB [emitted]
|
|
10
10
|
asset routes.json 3.97 KiB [emitted] [from: src/routes.json] [copied]
|
|
11
|
-
orphan modules 8.37 MiB [orphan]
|
|
11
|
+
orphan modules 8.37 MiB [orphan] 1066 modules
|
|
12
12
|
runtime modules 41.7 KiB 30 modules
|
|
13
13
|
built modules 8.47 MiB (javascript) 252 bytes (share-init) 252 bytes (consume-shared) [built]
|
|
14
14
|
cacheable modules 8.47 MiB
|
|
15
|
-
modules by path ./
|
|
15
|
+
modules by path ./ 778 KiB 78 modules
|
|
16
16
|
modules by path ../../node_modules/ 7.71 MiB 69 modules
|
|
17
17
|
provide-module modules 252 bytes
|
|
18
18
|
modules by path provide shared module (default) swr/ 84 bytes 2 modules
|
|
@@ -35,4 +35,4 @@ Entrypoints:
|
|
|
35
35
|
main (307 KiB)
|
|
36
36
|
main.js
|
|
37
37
|
|
|
38
|
-
webpack 5.88.0 compiled with 2 warnings in
|
|
38
|
+
webpack 5.88.0 compiled with 2 warnings in 118858 ms
|
package/dist/481.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[481],{5481:(e,t,n)=>{n.r(t),n.d(t,{default:()=>D});var i=n(7234),a=n(5206),r=n.n(a),s=n(6574),l=n(3804),u=n(5947),d=n(7045),o=n(9463),p=n(2030),c=n(2166),m=n(6756),v=n(3338),w=n(2524),E=n.n(w),P=n(1614),f=n(4854),Z=n(
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[481],{5481:(e,t,n)=>{n.r(t),n.d(t,{default:()=>D});var i=n(7234),a=n(5206),r=n.n(a),s=n(6574),l=n(3804),u=n(5947),d=n(7045),o=n(9463),p=n(2030),c=n(2166),m=n(6756),v=n(3338),w=n(2524),E=n.n(w),P=n(1614),f=n(4854),Z=n(4788),g=n(1337),A=n(8791),b=n(3389),q=n(918);const R=function(e){var t=e.wardPatient,n=t.patient,i=t.bed,a=t.inpatientAdmission,s=null!=a?a:{},l=s.encounterAssigningToCurrentInpatientLocation,u=s.firstAdmissionOrTransferEncounter;return r().createElement("div",{className:E()(v.Z.wardPatientCardRow,v.Z.wardPatientCardHeader)},i?r().createElement(f.Z,{bed:i}):null,r().createElement(g.Z,{patient:n}),r().createElement(Z.Z,{id:"patient-identifier",patient:n}),r().createElement(q.Z,{patient:n}),r().createElement(P.Z,{patient:n}),r().createElement(b.Z,{firstAdmissionOrTransferEncounter:u}),r().createElement(A.Z,{encounterAssigningToCurrentInpatientLocation:l}))},C=function(e){var t=e.wardPatient,n=t.bed,i=r().createElement(m.Z,{wardPatient:t},r().createElement(R,{wardPatient:t}),r().createElement(c.Z,{id:"pending-items",wardPatient:t}),r().createElement(p.Z,{id:"admission-request-note",wardPatient:t}));return n?i:r().createElement("div",{className:v.Z.unassignedPatient},r().createElement("div",{key:"unassigned-bed-pt-"+t.patient.uuid},i))},k=function(){var e,t,n=(null!==(t=(0,i.useAppContext)("ward-view-context"))&&void 0!==t?t:{}).wardPatientGroupDetails,a=null!=n?n:{},s=a.bedLayouts,l=a.wardAdmittedPatientsWithBed,u=null===(e=s)||void 0===e?void 0:e.map((function(e){var t=e.patients,n=(0,o.i)(e),i=t.map((function(e){var t,i=null===(t=l)||void 0===t?void 0:t.get(e.uuid);if(i){var a=i.patient,r=i.visit,s=i.currentInpatientRequest;return{patient:a,visit:r,bed:n,inpatientAdmission:i,inpatientRequest:s||null}}return{patient:e,visit:null,bed:n,inpatientAdmission:null,inpatientRequest:null}})).map((function(e){return r().createElement(C,{key:e.patient.uuid,wardPatient:e})}));return r().createElement(d.Z,{key:n.uuid,bed:n,patientCards:i})}));return r().createElement(r().Fragment,null,u)};var x=n(4924),T=n(3060),_=n(7670);const h=function(){var e,t,n=(null!==(t=(0,i.useAppContext)("ward-view-context"))&&void 0!==t?t:{}).wardPatientGroupDetails,a=(0,x.useTranslation)().t,s=(null!=n?n:{}).inpatientRequestResponse,l=null!=s?s:{},u=l.inpatientRequests,d=l.isLoading,o=l.error;return d?r().createElement(_.Z,null):o?r().createElement(i.ErrorState,{headerTitle:a("admissionRequests","Admission requests"),error:o}):r().createElement(r().Fragment,null,null===(e=u)||void 0===e?void 0:e.map((function(e,t){var n={patient:e.patient,visit:e.visit,bed:null,inpatientRequest:e,inpatientAdmission:null};return r().createElement(T.Z,{key:"admission-request-card-".concat(t),wardPatient:{patient:e.patient,visit:e.visit,bed:null,inpatientRequest:e,inpatientAdmission:null}},r().createElement(p.Z,{id:"admission-request-note",wardPatient:n}))})))},y=function(){var e,t,n=(null!==(t=(0,i.useAppContext)("ward-view-context"))&&void 0!==t?t:{}).wardPatientGroupDetails,a=null===(e=(null!=n?n:{}).wardUnassignedPatientsList)||void 0===e?void 0:e.map((function(e){return r().createElement(C,{wardPatient:{patient:e.patient,visit:e.visit,bed:null,inpatientAdmission:e,inpatientRequest:e.currentInpatientRequest},key:e.patient.uuid})}));return r().createElement(r().Fragment,null,a)},D=function(){var e=(0,s.v)();(0,i.useDefineAppContext)("ward-view-context",{wardPatientGroupDetails:e,WardPatientHeader:R});var t=r().createElement(k,null),n=r().createElement(y,null),a=r().createElement(h,null);return r().createElement(r().Fragment,null,r().createElement(l.Z,{wardPendingPatients:a}),r().createElement(u.Z,{wardBeds:t,wardUnassignedPatients:n}))}}}]);
|