@kenyaemr/esm-adr-app 5.4.2-pre.2653 → 5.4.2-pre.2659

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.
@@ -9,4 +9,4 @@ WARNING in ⚠ entrypoint size limit: The following entrypoint(s) combined asset
9
9
  │ main (2.311 MiB)
10
10
  │ main.js
11
11
 
12
- Rspack compiled with 2 warnings in 30.37 s
12
+ Rspack compiled with 2 warnings in 22.46 s
package/dist/118.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_adr_app=globalThis.webpackChunk_kenyaemr_esm_adr_app||[]).push([["118"],{6005:function(e,n,i){i.r(n),i.d(n,{PatientAdrWorkspace:()=>u,default:()=>c});var r=i(5400),t=i.n(r),o=i(8088),a=i(438),l=i(9979),s=i(1043);function u(e){var n=(0,o.useTranslation)().t,i=e.closeWorkspace,u=e.closeWorkspaceWithSavedChanges,c=e.promptBeforeClosing,d=e.encounter||{},p=d.formUuid,g=d.encounterUuid,m=d.visitUuid,k=d.patientUuid,f=d.visitTypeUuid,v=(0,s.WO)(k),U=v.isLoading,h=(v.currentVisit,v.error),C=(0,l.usePatient)(k),W=C.patient,E=C.isLoading,_=C.error,b=(0,r.useMemo)(function(){return{view:"form",formUuid:null!=p?p:null,visitUuid:null!=m?m:null,visitTypeUuid:null!=f?f:null,patientUuid:null!=k?k:null,patient:W,encounterUuid:null!=g?g:null,closeWorkspaceWithSavedChanges:u,closeWorkspace:i,promptBeforeClosing:c}},[k,g,W,i,c,p,m,f,u]),L=h||_;return U||E?t().createElement(a.InlineLoading,{description:n("loading","Loading"),iconDescription:n("loading","Loading data...")}):L?t().createElement(a.InlineNotification,{"aria-label":n("error","Error"),kind:"error",onClose:function(){},onCloseButtonClick:function(){},statusIconDescription:"notification",subtitle:n("errorLoadingPatientWorkspace","Error loading patient workspace {{errorMessage}}",{errorMessage:null==L?void 0:L.message}),title:n("error","Error")}):t().createElement("div",null,W&&t().createElement(l.ExtensionSlot,{name:"form-widget-slot",state:b}))}let c=u}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_adr_app=globalThis.webpackChunk_kenyaemr_esm_adr_app||[]).push([["118"],{6005:function(e,n,i){i.r(n),i.d(n,{PatientAdrWorkspace:()=>u,default:()=>c});var r=i(5400),t=i.n(r),o=i(8088),a=i(438),l=i(2722),s=i(1043);function u(e){var n=(0,o.useTranslation)().t,i=e.closeWorkspace,u=e.closeWorkspaceWithSavedChanges,c=e.promptBeforeClosing,d=e.encounter||{},p=d.formUuid,g=d.encounterUuid,m=d.visitUuid,k=d.patientUuid,f=d.visitTypeUuid,v=(0,s.WO)(k),U=v.isLoading,h=(v.currentVisit,v.error),C=(0,l.usePatient)(k),W=C.patient,E=C.isLoading,_=C.error,b=(0,r.useMemo)(function(){return{view:"form",formUuid:null!=p?p:null,visitUuid:null!=m?m:null,visitTypeUuid:null!=f?f:null,patientUuid:null!=k?k:null,patient:W,encounterUuid:null!=g?g:null,closeWorkspaceWithSavedChanges:u,closeWorkspace:i,promptBeforeClosing:c}},[k,g,W,i,c,p,m,f,u]),L=h||_;return U||E?t().createElement(a.InlineLoading,{description:n("loading","Loading"),iconDescription:n("loading","Loading data...")}):L?t().createElement(a.InlineNotification,{"aria-label":n("error","Error"),kind:"error",onClose:function(){},onCloseButtonClick:function(){},statusIconDescription:"notification",subtitle:n("errorLoadingPatientWorkspace","Error loading patient workspace {{errorMessage}}",{errorMessage:null==L?void 0:L.message}),title:n("error","Error")}):t().createElement("div",null,W&&t().createElement(l.ExtensionSlot,{name:"form-widget-slot",state:b}))}let c=u}}]);