@openmrs/esm-patient-chart-app 8.0.2-pre.4728 → 8.0.2-pre.4750

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.
@@ -7,19 +7,19 @@ assets by path *.js 2.25 MiB
7
7
  asset 130.js 643 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
8
8
  asset 906.js 628 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
9
9
  + 10 assets
10
- + 34 assets
11
- assets by path *.json 28.1 KiB
12
- asset openmrs-esm-patient-chart-app.js.buildmanifest.json 23.6 KiB [emitted]
13
- asset routes.json 4.51 KiB [emitted] [from: src/routes.json] [copied]
14
- orphan modules 3.91 MiB [orphan] 796 modules
10
+ + 33 assets
11
+ assets by path *.json 27.5 KiB
12
+ asset openmrs-esm-patient-chart-app.js.buildmanifest.json 23.1 KiB [emitted]
13
+ asset routes.json 4.43 KiB [emitted] [from: src/routes.json] [copied]
14
+ orphan modules 3.9 MiB [orphan] 795 modules
15
15
  runtime modules 43.9 KiB 28 modules
16
16
  built modules 6.39 MiB (javascript) 462 bytes (share-init) 462 bytes (consume-shared) [built]
17
17
  modules by path ../ 5.89 MiB
18
- modules by path ../../node_modules/ 5.79 MiB 181 modules
18
+ modules by path ../../node_modules/ 5.79 MiB 182 modules
19
19
  modules by path ../esm-patient-common-lib/src/ 101 KiB 5 modules
20
- modules by path ./ 513 KiB
21
- modules by path ./src/ 446 KiB 44 modules
22
- modules by path ./translations/ 67.6 KiB 10 modules
20
+ modules by path ./ 514 KiB
21
+ modules by path ./src/ 446 KiB 43 modules
22
+ modules by path ./translations/ 67.7 KiB 10 modules
23
23
  provide-module modules 462 bytes 11 modules
24
24
  consume-shared-module modules 462 bytes
25
25
  modules by path consume shared module (default) swr/ 126 bytes 3 modules
@@ -40,4 +40,4 @@ Entrypoints:
40
40
  main.js
41
41
  
42
42
 
43
- webpack 5.89.0 compiled with 2 warnings in 106123 ms
43
+ webpack 5.89.0 compiled with 2 warnings in 108680 ms
package/dist/110.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_chart_app=globalThis.webpackChunk_openmrs_esm_patient_chart_app||[]).push([[110],{1110:(e,t,a)=>{a.r(t),a.d(t,{default:()=>c});var n=a(268),l=a.n(n),i=a(4924),o=a(4350),r=a(2870),s=a(1871);const c=function(e){var t=e.closeModal,a=e.patientUuid,c=(0,i.useTranslation)().t,u=(0,n.useCallback)((function(){t(),(0,s.sy)(a).then((function(){t(),(0,r.showSnackbar)({title:c("markAliveSuccessfully","Patient marked alive succesfully")}),window.location.reload()})).catch((function(e){(0,r.showSnackbar)({title:c("errorMarkingPatientAlive","Error marking patient alive"),kind:"error",isLowContrast:!1,subtitle:null==e?void 0:e.message})}))}),[t,a,c]);return l().createElement("div",null,l().createElement(o.ModalHeader,{closeModal:t,title:c("markPatientAlive","Mark patient alive")}),l().createElement(o.ModalBody,null,c("markPatientAliveConfirmation","Are you sure you want to mark this patient alive?")),l().createElement(o.ModalFooter,null,l().createElement(o.Button,{kind:"secondary",onClick:t},c("no","No")),l().createElement(o.Button,{onClick:u},c("yes","Yes"))))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"110.js","mappings":"uPAiDA,QAtC0D,Y,IAAGA,EAAAA,EAAAA,WAAYC,EAAAA,EAAAA,YACjE,GAAQC,EAAAA,EAAAA,kBAANC,EAEFC,GAAeC,EAAAA,EAAAA,cAAY,WAC/BL,KAEAM,EAAAA,EAAAA,IAAiBL,GACdM,MAAK,WACJP,KACAQ,EAAAA,EAAAA,cAAa,CACXC,MAAON,EAAE,wBAAyB,sCAEpCO,OAAOC,SAASC,QAClB,IACCC,OAAM,SAACC,IACNN,EAAAA,EAAAA,cAAa,CACXC,MAAON,EAAE,2BAA4B,+BACrCY,KAAM,QACNC,eAAe,EACfC,SAAUH,aAAAA,EAAAA,EAAOI,SAErB,GACJ,GAAG,CAAClB,EAAYC,EAAaE,IAE7B,OACE,kBAACgB,MAAAA,KACC,kBAACC,EAAAA,YAAWA,CAACpB,WAAYA,EAAYS,MAAON,EAAE,mBAAoB,wBAClE,kBAACkB,EAAAA,UAASA,KAAElB,EAAE,+BAAgC,sDAC9C,kBAACmB,EAAAA,YAAWA,KACV,kBAACC,EAAAA,OAAMA,CAACR,KAAK,YAAYS,QAASxB,GAC/BG,EAAE,KAAM,OAEX,kBAACoB,EAAAA,OAAMA,CAACC,QAASpB,GAAeD,EAAE,MAAO,SAIjD,C","sources":["webpack://@openmrs/esm-patient-chart-app/./src/mark-patient-alive/mark-patient-alive.modal.tsx"],"names":["closeModal","patientUuid","useTranslation","t","handleSubmit","useCallback","markPatientAlive","then","showSnackbar","title","window","location","reload","catch","error","kind","isLowContrast","subtitle","message","div","ModalHeader","ModalBody","ModalFooter","Button","onClick"],"sourceRoot":""}