@kenyaemr/esm-patient-clinical-view-app 5.4.2-pre.2126 → 5.4.2-pre.2131
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 +69 -82
- package/dist/574.js +1 -1
- package/dist/{551.js → 825.js} +1 -1
- package/dist/825.js.map +1 -0
- package/dist/kenyaemr-esm-patient-clinical-view-app.js +1 -1
- package/dist/kenyaemr-esm-patient-clinical-view-app.js.buildmanifest.json +32 -32
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/config-schema.ts +21 -5
- package/src/contact-list/contact-list.component.tsx +3 -1
- package/src/contact-list/contact-list.resource.tsx +15 -13
- package/src/contact-list/contact-list.workspace.tsx +10 -249
- package/src/contact-list/contact-tracing-history.component.tsx +1 -1
- package/src/family-partner-history/family-history.component.tsx +40 -9
- package/src/family-partner-history/family-relationship.workspace.tsx +10 -4
- package/src/family-partner-history/relationships.resource.tsx +24 -98
- package/src/hooks/useContacts.ts +1 -1
- package/src/hooks/usePersonAttributes.ts +15 -0
- package/src/index.ts +0 -4
- package/src/relationships/forms/baseline-info-form-section.component.tsx +315 -0
- package/src/relationships/forms/patient-search-create-form.tsx +38 -23
- package/src/relationships/relationship.resources.ts +15 -5
- package/src/relationships/tabs/relationships-tabs-component.tsx +0 -5
- package/src/routes.json +0 -14
- package/translations/en.json +13 -3
- package/dist/551.js.map +0 -1
- package/src/other-relationships/other-relationships.component.tsx +0 -229
- package/src/other-relationships/other-relationships.scss +0 -125
- package/src/other-relationships/other-relationships.workspace.tsx +0 -155
|
@@ -1 +1 @@
|
|
|
1
|
-
var _kenyaemr_esm_patient_clinical_view_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,u,s,f,c,p,d,h,m,v={6640:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(66),t.e(164),t.e(206),t.e(
|
|
1
|
+
var _kenyaemr_esm_patient_clinical_view_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,u,s,f,c,p,d,h,m,v={6640:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(66),t.e(164),t.e(206),t.e(825)]).then((()=>()=>t(3825)))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},g={};function b(e){var r=g[e];if(void 0!==r)return r.exports;var t=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}b.m=v,b.c=g,b.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return b.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);b.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>o[e]=()=>t[e]));return o.default=()=>t,b.d(a,o),a},b.d=(e,r)=>{for(var t in r)b.o(r,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((r,t)=>(b.f[t](e,r),r)),[])),b.u=e=>e+".js",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-patient-clinical-view-app:",b.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,b.nc&&i.setAttribute("nonce",b.nc),i.setAttribute("data-webpack",n+a),i.src=e),t[e]=[r];var c=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=c.bind(null,i.onerror),i.onload=c.bind(null,i.onload),l&&document.head.appendChild(i)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{b.S={};var e={},r={};b.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];b.o(b.S,t)||(b.S[t]={});var o=b.S[t],i="@kenyaemr/esm-patient-clinical-view-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(l("@carbon/react","1.80.1",(()=>Promise.all([b.e(316),b.e(156),b.e(66),b.e(206)]).then((()=>()=>b(6156))))),l("@openmrs/esm-framework","6.2.1-pre.2876",(()=>Promise.all([b.e(130),b.e(206)]).then((()=>()=>b(130))))),l("react-i18next","11.18.6",(()=>Promise.all([b.e(589),b.e(206)]).then((()=>()=>b(9589))))),l("react-router-dom","6.30.0",(()=>Promise.all([b.e(316),b.e(591),b.e(206)]).then((()=>()=>b(6591))))),l("react","18.3.1",(()=>b.e(784).then((()=>()=>b(2784)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;b.g.importScripts&&(e=b.g.location+"");var r=b.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),b.p=e})(),a=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=a(e),r=a(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],o=(typeof n)[0];if(t>=r.length)return"u"==o;var i=r[t],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var o=[];for(a=1;a<e.length;a++){var l=e[a];o.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?o.pop()+" "+o.pop():i(l))}return u();function u(){return o.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=a(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var o=0,i=1,u=!0;;i++,o++){var s,f,c=i<e.length?(typeof e[i])[0]:"";if(o>=r.length||"o"==(f=(typeof(s=r[o]))[0]))return!u||("u"==c?i>t&&!n:""==c!=n);if("u"==f){if(!u||"u"!=c)return!1}else if(u)if(c==f)if(i<=t){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(u=!1)}else if("s"!=c&&"n"!=c){if(n||i<=t)return!1;u=!1,i--}else{if(i<=t||f<c!=n)return!1;u=!1}else"s"!=c&&"n"!=c&&(u=!1,i--)}}var p=[],d=p.pop.bind(p);for(o=1;o<e.length;o++){var h=e[o];p.push(1==h?d()|d():2==h?d()&d():h?l(h,r):!d())}return!!d()},u=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},s=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",f=(e,r,t,n)=>{var a=u(e,t);return l(n,a)||"undefined"!=typeof console&&console.warn&&console.warn(s(e,t,a,n)),c(e[t][a])},c=e=>(e.loaded=1,e.get()),p=(e=>function(r,t,n,a){var o=b.I(r);return o&&o.then?o.then(e.bind(e,r,b.S[r],t,n,a)):e(0,b.S[r],t,n,a)})(((e,r,t,n,a)=>r&&b.o(r,t)?f(r,0,t,n):a())),d={},h={5206:()=>p("default","react",[1,18,1,0],(()=>b.e(784).then((()=>()=>b(2784))))),4350:()=>p("default","@carbon/react",[1,1],(()=>Promise.all([b.e(316),b.e(156)]).then((()=>()=>b(6156))))),4924:()=>p("default","react-i18next",[1,11],(()=>b.e(589).then((()=>()=>b(9589))))),7234:()=>p("default","@openmrs/esm-framework",[1,6],(()=>b.e(130).then((()=>()=>b(130))))),8744:()=>p("default","react-router-dom",[1,6],(()=>Promise.all([b.e(316),b.e(591)]).then((()=>()=>b(6591)))))},m={206:[5206],825:[4350,4924,7234,8744]},b.f.consumes=(e,r)=>{b.o(m,e)&&m[e].forEach((e=>{if(b.o(d,e))return r.push(d[e]);var t=r=>{d[e]=0,b.m[e]=t=>{delete b.c[e],t.exports=r()}},n=r=>{delete d[e],b.m[e]=t=>{throw delete b.c[e],r}};try{var a=h[e]();a.then?r.push(d[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}))},(()=>{var e={379:0};b.f.j=(r,t)=>{var n=b.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(206!=r){var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=b.p+b.u(r),i=new Error;b.l(o,(t=>{if(b.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var n,a,[o,i,l]=t,u=0;if(o.some((r=>0!==e[r]))){for(n in i)b.o(i,n)&&(b.m[n]=i[n]);l&&l(b)}for(r&&r(t);u<o.length;u++)a=o[u],b.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_patient_clinical_view_app=globalThis.webpackChunk_kenyaemr_esm_patient_clinical_view_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),b.nc=void 0;var y=b(6640);_kenyaemr_esm_patient_clinical_view_app=y})();
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"auxiliaryFiles": [
|
|
105
105
|
"164.js.map"
|
|
106
106
|
],
|
|
107
|
-
"hash": "
|
|
107
|
+
"hash": "028e6f5ffaab6ccb",
|
|
108
108
|
"childrenByOrder": {}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
@@ -112,10 +112,10 @@
|
|
|
112
112
|
"initial": true,
|
|
113
113
|
"entry": true,
|
|
114
114
|
"recorded": false,
|
|
115
|
-
"size":
|
|
115
|
+
"size": 5291842,
|
|
116
116
|
"sizes": {
|
|
117
117
|
"consume-shared": 210,
|
|
118
|
-
"javascript":
|
|
118
|
+
"javascript": 5270126,
|
|
119
119
|
"share-init": 210,
|
|
120
120
|
"runtime": 21296
|
|
121
121
|
},
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"auxiliaryFiles": [
|
|
133
133
|
"main.js.map"
|
|
134
134
|
],
|
|
135
|
-
"hash": "
|
|
135
|
+
"hash": "70fa38d6dadae21a",
|
|
136
136
|
"childrenByOrder": {}
|
|
137
137
|
},
|
|
138
138
|
{
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"auxiliaryFiles": [
|
|
230
230
|
"kenyaemr-esm-patient-clinical-view-app.js.map"
|
|
231
231
|
],
|
|
232
|
-
"hash": "
|
|
232
|
+
"hash": "3827ce68d2f69ae5",
|
|
233
233
|
"childrenByOrder": {}
|
|
234
234
|
},
|
|
235
235
|
{
|
|
@@ -237,33 +237,9 @@
|
|
|
237
237
|
"initial": false,
|
|
238
238
|
"entry": false,
|
|
239
239
|
"recorded": false,
|
|
240
|
-
"size":
|
|
240
|
+
"size": 7212,
|
|
241
241
|
"sizes": {
|
|
242
|
-
"javascript":
|
|
243
|
-
"consume-shared": 168
|
|
244
|
-
},
|
|
245
|
-
"names": [],
|
|
246
|
-
"idHints": [],
|
|
247
|
-
"runtime": [
|
|
248
|
-
"@kenyaemr/esm-patient-clinical-view-app"
|
|
249
|
-
],
|
|
250
|
-
"files": [
|
|
251
|
-
"551.js"
|
|
252
|
-
],
|
|
253
|
-
"auxiliaryFiles": [
|
|
254
|
-
"551.js.map"
|
|
255
|
-
],
|
|
256
|
-
"hash": "b5812f656a7c2f9f",
|
|
257
|
-
"childrenByOrder": {}
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"rendered": true,
|
|
261
|
-
"initial": false,
|
|
262
|
-
"entry": false,
|
|
263
|
-
"recorded": false,
|
|
264
|
-
"size": 6746,
|
|
265
|
-
"sizes": {
|
|
266
|
-
"javascript": 6746
|
|
242
|
+
"javascript": 7212
|
|
267
243
|
},
|
|
268
244
|
"names": [],
|
|
269
245
|
"idHints": [],
|
|
@@ -275,7 +251,7 @@
|
|
|
275
251
|
"574.js"
|
|
276
252
|
],
|
|
277
253
|
"auxiliaryFiles": [],
|
|
278
|
-
"hash": "
|
|
254
|
+
"hash": "38cc22db38674124",
|
|
279
255
|
"childrenByOrder": {}
|
|
280
256
|
},
|
|
281
257
|
{
|
|
@@ -399,6 +375,30 @@
|
|
|
399
375
|
"auxiliaryFiles": [],
|
|
400
376
|
"hash": "28932bf7253e528a",
|
|
401
377
|
"childrenByOrder": {}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"rendered": true,
|
|
381
|
+
"initial": false,
|
|
382
|
+
"entry": false,
|
|
383
|
+
"recorded": false,
|
|
384
|
+
"size": 1929529,
|
|
385
|
+
"sizes": {
|
|
386
|
+
"javascript": 1929361,
|
|
387
|
+
"consume-shared": 168
|
|
388
|
+
},
|
|
389
|
+
"names": [],
|
|
390
|
+
"idHints": [],
|
|
391
|
+
"runtime": [
|
|
392
|
+
"@kenyaemr/esm-patient-clinical-view-app"
|
|
393
|
+
],
|
|
394
|
+
"files": [
|
|
395
|
+
"825.js"
|
|
396
|
+
],
|
|
397
|
+
"auxiliaryFiles": [
|
|
398
|
+
"825.js.map"
|
|
399
|
+
],
|
|
400
|
+
"hash": "f356baf6535d4ea9",
|
|
401
|
+
"childrenByOrder": {}
|
|
402
402
|
}
|
|
403
403
|
]
|
|
404
404
|
}
|