@openmrs/esm-patient-forms-app 8.2.1-pre.5533 → 8.2.1-pre.5536
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 +2 -2
- package/dist/98.js +1 -1
- package/dist/98.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/openmrs-esm-patient-forms-app.js +1 -1
- package/dist/openmrs-esm-patient-forms-app.js.buildmanifest.json +5 -5
- package/dist/routes.json +1 -1
- package/package.json +3 -3
- package/src/htmlformentry/html-form-entry.workspace.tsx +0 -10
package/.turbo/turbo-build.log
CHANGED
|
@@ -21,7 +21,7 @@ built modules 6.08 MiB (javascript) 336 bytes (share-init) 336 bytes (consume-sh
|
|
|
21
21
|
modules by path [1m../../node_modules/[39m[22m 5.6 MiB 110 modules
|
|
22
22
|
modules by path [1m../esm-patient-common-lib/src/[39m[22m 214 KiB 5 modules
|
|
23
23
|
modules by path [1m./[39m[22m 276 KiB
|
|
24
|
-
javascript modules
|
|
24
|
+
javascript modules 267 KiB 15 modules
|
|
25
25
|
optional modules 8.54 KiB [1m[33m[optional][39m[22m 9 modules
|
|
26
26
|
provide-module modules 336 bytes 8 modules
|
|
27
27
|
consume-shared-module modules 336 bytes
|
|
@@ -43,4 +43,4 @@ Entrypoints:
|
|
|
43
43
|
main.js
|
|
44
44
|
[39m[22m
|
|
45
45
|
|
|
46
|
-
webpack 5.94.0 compiled with [1m[33m2 warnings[39m[22m in
|
|
46
|
+
webpack 5.94.0 compiled with [1m[33m2 warnings[39m[22m in 115313 ms
|
package/dist/98.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[98],{7334:(e,n,r)=>{r.d(n,{A:()=>i});var t=r(5836),o=r.n(t),a=r(8023),s=r.n(a)()(o());s.push([e.id,".-esm-patient-forms__html-form-entry-wrapper__wrapper___bkx4M{width:95%;border:none;margin:0;padding:0;display:none}","",{version:3,sources:["webpack://./src/htmlformentry/html-form-entry-wrapper.scss"],names:[],mappings:"AAAA,8DACE,SAAA,CACA,WAAA,CACA,QAAA,CACA,SAAA,CACA,YAAA",sourcesContent:[".wrapper {\n width: 95%;\n border: none;\n margin: 0;\n padding: 0;\n display: none;\n}\n"],sourceRoot:""}]),s.locals={wrapper:"-esm-patient-forms__html-form-entry-wrapper__wrapper___bkx4M"};const i=s},5098:(e,n,r)=>{r.r(n),r.d(n,{default:()=>
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[98],{7334:(e,n,r)=>{r.d(n,{A:()=>i});var t=r(5836),o=r.n(t),a=r(8023),s=r.n(a)()(o());s.push([e.id,".-esm-patient-forms__html-form-entry-wrapper__wrapper___bkx4M{width:95%;border:none;margin:0;padding:0;display:none}","",{version:3,sources:["webpack://./src/htmlformentry/html-form-entry-wrapper.scss"],names:[],mappings:"AAAA,8DACE,SAAA,CACA,WAAA,CACA,QAAA,CACA,SAAA,CACA,YAAA",sourcesContent:[".wrapper {\n width: 95%;\n border: none;\n margin: 0;\n padding: 0;\n display: none;\n}\n"],sourceRoot:""}]),s.locals={wrapper:"-esm-patient-forms__html-form-entry-wrapper__wrapper___bkx4M"};const i=s},5098:(e,n,r)=>{r.r(n),r.d(n,{default:()=>y});var t=r(1343),o=r.n(t),a=r(6966),s=r(111),i=r.n(s),c=r(5660),l=r.n(c),u=r(3824),m=r.n(u),p=r(8823),d=r.n(p),f=r(6747),A=r.n(f),v=r(4072),h=r.n(v),w=r(7334),_={};_.styleTagTransform=h(),_.setAttributes=d(),_.insert=m().bind(null,"head"),_.domAPI=l(),_.insertStyleElement=A(),i()(w.A,_);const g=w.A&&w.A.locals?w.A.locals:void 0,C=function(e){var n=e.closeWorkspaceWithSavedChanges,r=e.src,a=(0,t.useRef)();(0,t.useEffect)((function(){var e=function(e){return"close-workspace"===(null==e?void 0:e.data)&&n()};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}}),[n]);var s=(0,t.useCallback)((function(){var e,n,r,t=a.current,o=a.current.contentDocument;null===(e=o.querySelector("header"))||void 0===e||e.remove(),null===(n=o.querySelector(".patient-header"))||void 0===n||n.remove(),null===(r=o.querySelector("#breadcrumbs"))||void 0===r||r.remove(),t.style.display="block",t.height=o.body.scrollHeight+50+"px"}),[]);return o().createElement("div",null,o().createElement("iframe",{ref:a,src:r,className:g.wrapper,onLoad:s}))};var b=r(1083);const y=function(e){var n,r=e.patientUuid,t=e.closeWorkspaceWithSavedChanges,s=e.promptBeforeClosing,i=e.formInfo,c=(0,b.usePatient)(r).patient,l=(0,a.useVisitOrOfflineVisit)(r).currentVisit,u=i||{},m=u.encounterUuid,p=u.visitUuid,d=u.htmlForm;s((function(){return!0}));var f,A="".concat(window.openmrsBase,"/htmlformentryui/htmlform/").concat(d.formUiPage,".page?patientId=").concat(r,"&visitId=").concat(null!==(n=null!=p?p:null==l?void 0:l.uuid)&&void 0!==n?n:null,"&definitionUiResource=").concat(d.formUiResource,"&returnUrl=post-message:close-workspace"),v="".concat(window.openmrsBase,"/htmlformentryui/htmlform/").concat(d.formEditUiPage,".page?patientId=").concat(r,"&visitId=").concat(null!==(f=null!=p?p:null==l?void 0:l.uuid)&&void 0!==f?f:null,"&encounterId=").concat(m,"&definitionUiResource=").concat(d.formUiResource,"&returnUrl=post-message:close-workspace"),h=i&&r&&c;return o().createElement("div",null,h&&o().createElement(C,{src:m?v:A,closeWorkspaceWithSavedChanges:t}))}}}]);
|
package/dist/98.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"98.js","mappings":"4MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,uHAAwH,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,8DAA8D,MAAQ,GAAG,SAAW,0DAA0D,eAAi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AAA,EAAAA,+BACA+B,EAAAA,EAAAA,oBACAC,EAAAA,EAAAA,SAEM,GAAcC,EAAAA,EAAAA,YAAWH,GAAvBI,QACF,GAAmBC,EAAAA,EAAAA,wBAAuBL,GAAxCM,aACuCJ,EAAAA,GAAY,CAAC,EAApDK,EAAuCL,EAAvCK,cAAeR,EAAwBG,EAAxBH,UAAWS,EAAaN,EAAbM,SAGlCP,GAAoB,W,OAAM,C,IAI1B,IAQEF,EARIU,EAAM,GACVD,OADa9B,OAAOgC,YAAY,8BAEfV,OADjBQ,EAASG,WACV,oBAAyCZ,OAAvBC,EAAY,aAC7BQ,OADuE,QAA/BT,EAAAA,QAAAA,EAAaO,aAAAA,EAAAA,EAAcM,YAA3Bb,IAAAA,EAAAA,EAAmC,KAAK,0BAEjF,OADCS,EAASK,eACV,2CACKC,EAAmB,GACvBN,OAD0B9B,OAAOgC,YAAY,8BAE5BV,OADjBQ,EAASO,eACV,oBACChB,OADiBC,EAAY,aAEfO,OADiB,QAA/BR,EAAAA,QAAAA,EAAaO,aAAAA,EAAAA,EAAcM,YAA3Bb,IAAAA,EAAAA,EAAmC,KACpC,iBACCS,OADcD,EAAc,0BAE7B,OADCC,EAASK,eACV,2CAEKG,EAAwBd,GAAYF,GAAeI,EACzD,OACE,kBAACV,MAAAA,KACEsB,GACC,kBAACC,EAAoBA,CACnB9C,IAAKoC,EAAgBO,EAAmBL,EACxCvC,+BAAgCA,IAK1C,C","sources":["webpack://@openmrs/esm-patient-forms-app/./src/htmlformentry/html-form-entry-wrapper.scss","webpack://@openmrs/esm-patient-forms-app/./src/htmlformentry/html-form-entry-wrapper.scss?c9e8","webpack://@openmrs/esm-patient-forms-app/./src/htmlformentry/html-form-entry-wrapper.component.tsx","webpack://@openmrs/esm-patient-forms-app/./src/htmlformentry/html-form-entry.workspace.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","closeWorkspaceWithSavedChanges","src","iframeRef","useRef","useEffect","callback","event","data","window","addEventListener","removeEventListener","onLoad","useCallback","dashboard","iframe","current","contentDocument","querySelector","remove","style","display","height","body","scrollHeight","div","ref","className","styles","wrapper","visitUuid","patientUuid","promptBeforeClosing","formInfo","usePatient","patient","useVisitOrOfflineVisit","currentVisit","encounterUuid","htmlForm","url","openmrsBase","formUiPage","uuid","formUiResource","urlWithEncounter","formEditUiPage","showFormAndLoadedData","HtmlFormEntryWrapper"],"sourceRoot":""}
|