@ampath/esm-patient-registration-app 9.2.0-next.17 → 9.2.0-next.19

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.
Files changed (53) hide show
  1. package/dist/2498.js +2 -0
  2. package/dist/2498.js.map +1 -0
  3. package/dist/2523.js +1 -0
  4. package/dist/2523.js.map +1 -0
  5. package/dist/5239.js +1 -1
  6. package/dist/5239.js.map +1 -1
  7. package/dist/6276.js +1 -1
  8. package/dist/6276.js.map +1 -1
  9. package/dist/6583.js +1 -0
  10. package/dist/6583.js.map +1 -0
  11. package/dist/7821.js +1 -1
  12. package/dist/7821.js.map +1 -1
  13. package/dist/8414.js +1 -1
  14. package/dist/8414.js.map +1 -1
  15. package/dist/8434.js +1 -1
  16. package/dist/8434.js.map +1 -1
  17. package/dist/9853.js +1 -0
  18. package/dist/9853.js.map +1 -0
  19. package/dist/main.js +1 -1
  20. package/dist/main.js.map +1 -1
  21. package/dist/openmrs-esm-patient-registration-app.js +1 -1
  22. package/dist/openmrs-esm-patient-registration-app.js.buildmanifest.json +109 -109
  23. package/dist/routes.json +1 -1
  24. package/package.json +1 -1
  25. package/src/index.ts +1 -1
  26. package/src/patient-registration/client-registry/client-registry-search.component.tsx +164 -68
  27. package/src/patient-registration/client-registry/client-registry-search.scss +26 -0
  28. package/src/patient-registration/client-registry/existing-client/client-dependants-comparison/client-dependants-comparison.component.tsx +26 -0
  29. package/src/patient-registration/client-registry/existing-client/client-dependants-comparison/dependant-comparison-rows.component.tsx +153 -0
  30. package/src/patient-registration/client-registry/existing-client/client-details-comparison/client-details-comparison.component.tsx +181 -0
  31. package/src/patient-registration/client-registry/existing-client/client-details-comparison/comparison-table-row.component.tsx +42 -0
  32. package/src/patient-registration/client-registry/existing-client/client-registry-verification-tag.component.tsx +54 -0
  33. package/src/patient-registration/client-registry/existing-client/existing-client-tab.component.tsx +85 -0
  34. package/src/patient-registration/client-registry/existing-client/existing-client.resource.ts +78 -0
  35. package/src/patient-registration/client-registry/existing-client/mapper-utils.ts +419 -0
  36. package/src/patient-registration/client-registry/existing-client/types/index.ts +185 -0
  37. package/src/patient-registration/client-registry/hie-client-adapter.ts +56 -0
  38. package/src/patient-registration/client-registry/new-client/client-dependants/list/client-depandants.component.tsx +55 -0
  39. package/src/patient-registration/client-registry/new-client/client-details/client-details.tsx +42 -0
  40. package/src/patient-registration/client-registry/new-client/new-client-tab.component.tsx +30 -0
  41. package/src/patient-registration/client-registry/types/index.ts +210 -0
  42. package/src/patient-registration/custom-patient-registration.scss +6 -0
  43. package/src/patient-registration/patient-registration.component.tsx +24 -12
  44. package/src/widgets/client-registry-verification.modal.tsx +13 -0
  45. package/dist/4395.js +0 -1
  46. package/dist/4395.js.map +0 -1
  47. package/dist/6996.js +0 -1
  48. package/dist/6996.js.map +0 -1
  49. package/dist/8882.js +0 -1
  50. package/dist/8882.js.map +0 -1
  51. package/dist/9933.js +0 -2
  52. package/dist/9933.js.map +0 -1
  53. /package/dist/{9933.js.LICENSE.txt → 2498.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- var _ampath_esm_patient_registration_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,f,p,d,h,c,m,v,g,b,y,w,_={3174:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(3144),t.e(9933),t.e(1343),t.e(7243),t.e(7821)]).then(()=>()=>t(87821))},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})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.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);S.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,S.d(a,o),a},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@ampath/esm-patient-registration-app:",S.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];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,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+a),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.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];S.o(S.S,t)||(S.S[t]={});var o=S.S[t],i="@ampath/esm-patient-registration-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})},s=[];return"default"===t&&(l("@openmrs/esm-framework","8.0.1-pre.3444",()=>Promise.all([S.e(9898),S.e(3144),S.e(5239),S.e(9933),S.e(1343),S.e(5434),S.e(2086),S.e(7243),S.e(8394)]).then(()=>()=>S(15239))),l("dayjs","1.11.13",()=>S.e(3464).then(()=>()=>S(23464))),l("react-i18next","16.0.0",()=>Promise.all([S.e(6336),S.e(1343)]).then(()=>()=>S(16336))),l("react-router-dom","6.30.1",()=>Promise.all([S.e(3144),S.e(2913),S.e(1343)]).then(()=>()=>S(52913))),l("react","18.3.1",()=>S.e(4041).then(()=>()=>S(14041))),l("swr/_internal","2.2.5",()=>Promise.all([S.e(2372),S.e(1343)]).then(()=>()=>S(42372))),l("swr/immutable","2.2.5",()=>Promise.all([S.e(1343),S.e(5434),S.e(7495)]).then(()=>()=>S(29876))),l("swr/infinite","2.2.5",()=>Promise.all([S.e(1343),S.e(5434),S.e(89)]).then(()=>()=>S(52470)))),e[t]=s.length?Promise.all(s).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.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("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?o.pop()+" "+o.pop():i(l))}return s();function s(){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,s=!0;;i++,o++){var u,f,p=i<e.length?(typeof e[i])[0]:"";if(o>=r.length||"o"==(f=(typeof(u=r[o]))[0]))return!s||("u"==p?i>t&&!n:""==p!=n);if("u"==f){if(!s||"u"!=p)return!1}else if(s)if(p==f)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=p&&"n"!=p){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||f<p!=n)return!1;s=!1}else"s"!=p&&"n"!=p&&(s=!1,i--)}}var d=[],h=d.pop.bind(d);for(o=1;o<e.length;o++){var c=e[o];d.push(1==c?h()|h():2==c?h()&h():c?l(c,r):!h())}return!!h()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),p=(e,r,t)=>{var n=t?f(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&o(e,r)?r:e,0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",h=e=>{throw new Error(e)},c=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>h("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,a,o){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,a,o)):e(r,S.S[r],t,n,a,o)})((e,r,t,n,a,o)=>{if(!s(r,t))return m(e,t,o);var i=p(r,t,n);return l(a,i)||c(d(r,t,i,a)),u(r[t][i])}),g={},b={1343:()=>v("default","react",!1,[1,18],()=>S.e(4041).then(()=>()=>S(14041))),55434:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(2372).then(()=>()=>S(42372))),8877:()=>v("default","react-router-dom",!1,[1,6],()=>S.e(2913).then(()=>()=>S(52913))),88010:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(9876).then(()=>()=>S(29876))),46372:()=>v("default","dayjs",!1,[1,1],()=>S.e(3464).then(()=>()=>S(23464))),54440:()=>v("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([S.e(9898),S.e(5239),S.e(5434),S.e(2086),S.e(8394)]).then(()=>()=>S(15239))),72339:()=>v("default","react-i18next",!1,[1,16],()=>S.e(6336).then(()=>()=>S(16336))),98394:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(2470).then(()=>()=>S(52470)))},y={1343:[1343],2086:[8877,88010],5434:[55434],7243:[46372,54440,72339],8394:[98394]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var a=b[e]();a.then?r.push(g[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}})},(()=>{var e={5898:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^((13|72)43|2086|5434|8394)$/.test(r))e[r]=0;else{var a=new Promise((t,a)=>n=e[r]=[t,a]);t.push(n[2]=a);var o=S.p+S.u(r),i=new Error;S.l(o,t=>{if(S.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)}};var r=(r,t)=>{var n,a,[o,i,l]=t,s=0;if(o.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<o.length;s++)a=o[s],S.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(3174);_ampath_esm_patient_registration_app=j})();
1
+ var _ampath_esm_patient_registration_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,f,p,d,h,c,m,v,g,b,y,w,_={3174:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(3144),t.e(2498),t.e(1343),t.e(7243),t.e(7821)]).then(()=>()=>t(87821))},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})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.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);S.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,S.d(a,o),a},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@ampath/esm-patient-registration-app:",S.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];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,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+a),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.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];S.o(S.S,t)||(S.S[t]={});var o=S.S[t],i="@ampath/esm-patient-registration-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})},s=[];return"default"===t&&(l("@openmrs/esm-framework","8.0.1-pre.3444",()=>Promise.all([S.e(9898),S.e(3144),S.e(5239),S.e(2498),S.e(1343),S.e(5434),S.e(2086),S.e(7243),S.e(8394)]).then(()=>()=>S(15239))),l("dayjs","1.11.13",()=>S.e(3464).then(()=>()=>S(23464))),l("react-i18next","16.0.0",()=>Promise.all([S.e(6336),S.e(1343)]).then(()=>()=>S(16336))),l("react-router-dom","6.30.1",()=>Promise.all([S.e(3144),S.e(2913),S.e(1343)]).then(()=>()=>S(52913))),l("react","18.3.1",()=>S.e(4041).then(()=>()=>S(14041))),l("swr/_internal","2.2.5",()=>Promise.all([S.e(2372),S.e(1343)]).then(()=>()=>S(42372))),l("swr/immutable","2.2.5",()=>Promise.all([S.e(1343),S.e(5434),S.e(7495)]).then(()=>()=>S(29876))),l("swr/infinite","2.2.5",()=>Promise.all([S.e(1343),S.e(5434),S.e(89)]).then(()=>()=>S(52470)))),e[t]=s.length?Promise.all(s).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.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("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?o.pop()+" "+o.pop():i(l))}return s();function s(){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,s=!0;;i++,o++){var u,f,p=i<e.length?(typeof e[i])[0]:"";if(o>=r.length||"o"==(f=(typeof(u=r[o]))[0]))return!s||("u"==p?i>t&&!n:""==p!=n);if("u"==f){if(!s||"u"!=p)return!1}else if(s)if(p==f)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=p&&"n"!=p){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||f<p!=n)return!1;s=!1}else"s"!=p&&"n"!=p&&(s=!1,i--)}}var d=[],h=d.pop.bind(d);for(o=1;o<e.length;o++){var c=e[o];d.push(1==c?h()|h():2==c?h()&h():c?l(c,r):!h())}return!!h()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),p=(e,r,t)=>{var n=t?f(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&o(e,r)?r:e,0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",h=e=>{throw new Error(e)},c=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>h("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,a,o){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,a,o)):e(r,S.S[r],t,n,a,o)})((e,r,t,n,a,o)=>{if(!s(r,t))return m(e,t,o);var i=p(r,t,n);return l(a,i)||c(d(r,t,i,a)),u(r[t][i])}),g={},b={1343:()=>v("default","react",!1,[1,18],()=>S.e(4041).then(()=>()=>S(14041))),55434:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(2372).then(()=>()=>S(42372))),8877:()=>v("default","react-router-dom",!1,[1,6],()=>S.e(2913).then(()=>()=>S(52913))),88010:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(9876).then(()=>()=>S(29876))),46372:()=>v("default","dayjs",!1,[1,1],()=>S.e(3464).then(()=>()=>S(23464))),54440:()=>v("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([S.e(9898),S.e(5239),S.e(5434),S.e(2086),S.e(8394)]).then(()=>()=>S(15239))),72339:()=>v("default","react-i18next",!1,[1,16],()=>S.e(6336).then(()=>()=>S(16336))),98394:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(2470).then(()=>()=>S(52470)))},y={1343:[1343],2086:[8877,88010],5434:[55434],7243:[46372,54440,72339],8394:[98394]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var a=b[e]();a.then?r.push(g[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}})},(()=>{var e={5898:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^((13|72)43|2086|5434|8394)$/.test(r))e[r]=0;else{var a=new Promise((t,a)=>n=e[r]=[t,a]);t.push(n[2]=a);var o=S.p+S.u(r),i=new Error;S.l(o,t=>{if(S.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)}};var r=(r,t)=>{var n,a,[o,i,l]=t,s=0;if(o.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<o.length;s++)a=o[s],S.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(3174);_ampath_esm_patient_registration_app=j})();
@@ -271,6 +271,58 @@
271
271
  "hash": "c49aaded432ec875",
272
272
  "childrenByOrder": {}
273
273
  },
274
+ {
275
+ "rendered": true,
276
+ "initial": false,
277
+ "entry": false,
278
+ "recorded": false,
279
+ "reason": "split chunk (cache group: defaultVendors)",
280
+ "size": 2381537,
281
+ "sizes": {
282
+ "javascript": 2381537
283
+ },
284
+ "names": [],
285
+ "idHints": [
286
+ "vendors"
287
+ ],
288
+ "runtime": [
289
+ "@ampath/esm-patient-registration-app",
290
+ "main"
291
+ ],
292
+ "files": [
293
+ "2498.js"
294
+ ],
295
+ "auxiliaryFiles": [
296
+ "2498.js.map"
297
+ ],
298
+ "hash": "a8b5c0ea2ff5d96f",
299
+ "childrenByOrder": {}
300
+ },
301
+ {
302
+ "rendered": true,
303
+ "initial": false,
304
+ "entry": false,
305
+ "recorded": false,
306
+ "reason": "split chunk (cache group: default)",
307
+ "size": 149526,
308
+ "sizes": {
309
+ "javascript": 149526
310
+ },
311
+ "names": [],
312
+ "idHints": [],
313
+ "runtime": [
314
+ "@ampath/esm-patient-registration-app",
315
+ "main"
316
+ ],
317
+ "files": [
318
+ "2523.js"
319
+ ],
320
+ "auxiliaryFiles": [
321
+ "2523.js.map"
322
+ ],
323
+ "hash": "bb0f4d90b804432e",
324
+ "childrenByOrder": {}
325
+ },
274
326
  {
275
327
  "rendered": true,
276
328
  "initial": false,
@@ -551,30 +603,6 @@
551
603
  "hash": "93419d8f25067437",
552
604
  "childrenByOrder": {}
553
605
  },
554
- {
555
- "rendered": true,
556
- "initial": false,
557
- "entry": false,
558
- "recorded": false,
559
- "size": 53431,
560
- "sizes": {
561
- "javascript": 53431
562
- },
563
- "names": [],
564
- "idHints": [],
565
- "runtime": [
566
- "@ampath/esm-patient-registration-app",
567
- "main"
568
- ],
569
- "files": [
570
- "4395.js"
571
- ],
572
- "auxiliaryFiles": [
573
- "4395.js.map"
574
- ],
575
- "hash": "bb5ff78577491dc9",
576
- "childrenByOrder": {}
577
- },
578
606
  {
579
607
  "rendered": true,
580
608
  "initial": false,
@@ -711,7 +739,7 @@
711
739
  "auxiliaryFiles": [
712
740
  "5239.js.map"
713
741
  ],
714
- "hash": "c481e0182c3d1840",
742
+ "hash": "0d6137a4e7951538",
715
743
  "childrenByOrder": {}
716
744
  },
717
745
  {
@@ -825,7 +853,7 @@
825
853
  "auxiliaryFiles": [
826
854
  "openmrs-esm-patient-registration-app.js.map"
827
855
  ],
828
- "hash": "bf147e5e2796fb63",
856
+ "hash": "f530ee8dde6cf5d5",
829
857
  "childrenByOrder": {}
830
858
  },
831
859
  {
@@ -871,7 +899,7 @@
871
899
  "auxiliaryFiles": [
872
900
  "6276.js.map"
873
901
  ],
874
- "hash": "7e162210323416d3",
902
+ "hash": "bb44fcc65c06c93f",
875
903
  "childrenByOrder": {}
876
904
  },
877
905
  {
@@ -923,6 +951,30 @@
923
951
  "hash": "656e7bd949f38477",
924
952
  "childrenByOrder": {}
925
953
  },
954
+ {
955
+ "rendered": true,
956
+ "initial": false,
957
+ "entry": false,
958
+ "recorded": false,
959
+ "size": 3883,
960
+ "sizes": {
961
+ "javascript": 3883
962
+ },
963
+ "names": [],
964
+ "idHints": [],
965
+ "runtime": [
966
+ "@ampath/esm-patient-registration-app",
967
+ "main"
968
+ ],
969
+ "files": [
970
+ "6583.js"
971
+ ],
972
+ "auxiliaryFiles": [
973
+ "6583.js.map"
974
+ ],
975
+ "hash": "bf48d4479083b76f",
976
+ "childrenByOrder": {}
977
+ },
926
978
  {
927
979
  "rendered": true,
928
980
  "initial": false,
@@ -1016,30 +1068,6 @@
1016
1068
  "hash": "c7a1883334928490",
1017
1069
  "childrenByOrder": {}
1018
1070
  },
1019
- {
1020
- "rendered": true,
1021
- "initial": false,
1022
- "entry": false,
1023
- "recorded": false,
1024
- "size": 596578,
1025
- "sizes": {
1026
- "javascript": 596578
1027
- },
1028
- "names": [],
1029
- "idHints": [],
1030
- "runtime": [
1031
- "@ampath/esm-patient-registration-app",
1032
- "main"
1033
- ],
1034
- "files": [
1035
- "6996.js"
1036
- ],
1037
- "auxiliaryFiles": [
1038
- "6996.js.map"
1039
- ],
1040
- "hash": "3901055b6e87f795",
1041
- "childrenByOrder": {}
1042
- },
1043
1071
  {
1044
1072
  "rendered": true,
1045
1073
  "initial": false,
@@ -1183,9 +1211,9 @@
1183
1211
  "initial": false,
1184
1212
  "entry": false,
1185
1213
  "recorded": false,
1186
- "size": 145342,
1214
+ "size": 145351,
1187
1215
  "sizes": {
1188
- "javascript": 145342
1216
+ "javascript": 145351
1189
1217
  },
1190
1218
  "names": [],
1191
1219
  "idHints": [],
@@ -1198,7 +1226,7 @@
1198
1226
  "auxiliaryFiles": [
1199
1227
  "7821.js.map"
1200
1228
  ],
1201
- "hash": "6c2346a19666b11e",
1229
+ "hash": "1e98f0254f77d833",
1202
1230
  "childrenByOrder": {}
1203
1231
  },
1204
1232
  {
@@ -1271,9 +1299,9 @@
1271
1299
  "initial": false,
1272
1300
  "entry": false,
1273
1301
  "recorded": false,
1274
- "size": 680,
1302
+ "size": 1240,
1275
1303
  "sizes": {
1276
- "javascript": 680
1304
+ "javascript": 1240
1277
1305
  },
1278
1306
  "names": [],
1279
1307
  "idHints": [],
@@ -1287,7 +1315,7 @@
1287
1315
  "auxiliaryFiles": [
1288
1316
  "8414.js.map"
1289
1317
  ],
1290
- "hash": "295c2748c0bd9168",
1318
+ "hash": "ab4e9ca64444c78d",
1291
1319
  "childrenByOrder": {}
1292
1320
  },
1293
1321
  {
@@ -1311,7 +1339,7 @@
1311
1339
  "auxiliaryFiles": [
1312
1340
  "8434.js.map"
1313
1341
  ],
1314
- "hash": "079f7fd643031de5",
1342
+ "hash": "24d788ed851b0a74",
1315
1343
  "childrenByOrder": {}
1316
1344
  },
1317
1345
  {
@@ -1341,10 +1369,10 @@
1341
1369
  "initial": true,
1342
1370
  "entry": true,
1343
1371
  "recorded": false,
1344
- "size": 2659234,
1372
+ "size": 2686905,
1345
1373
  "sizes": {
1346
1374
  "consume-shared": 168,
1347
- "javascript": 2636698,
1375
+ "javascript": 2664369,
1348
1376
  "share-init": 336,
1349
1377
  "runtime": 22032
1350
1378
  },
@@ -1361,7 +1389,7 @@
1361
1389
  "auxiliaryFiles": [
1362
1390
  "main.js.map"
1363
1391
  ],
1364
- "hash": "a69072abf048c79a",
1392
+ "hash": "4fdab53d48aa6f52",
1365
1393
  "childrenByOrder": {}
1366
1394
  },
1367
1395
  {
@@ -1369,10 +1397,9 @@
1369
1397
  "initial": false,
1370
1398
  "entry": false,
1371
1399
  "recorded": false,
1372
- "reason": "split chunk (cache group: default)",
1373
- "size": 116185,
1400
+ "size": 6145,
1374
1401
  "sizes": {
1375
- "javascript": 116185
1402
+ "javascript": 6145
1376
1403
  },
1377
1404
  "names": [],
1378
1405
  "idHints": [],
@@ -1381,12 +1408,10 @@
1381
1408
  "main"
1382
1409
  ],
1383
1410
  "files": [
1384
- "8882.js"
1385
- ],
1386
- "auxiliaryFiles": [
1387
- "8882.js.map"
1411
+ "9214.js"
1388
1412
  ],
1389
- "hash": "4563b20f964c79e4",
1413
+ "auxiliaryFiles": [],
1414
+ "hash": "557d45dd8b80aac2",
1390
1415
  "childrenByOrder": {}
1391
1416
  },
1392
1417
  {
@@ -1394,9 +1419,9 @@
1394
1419
  "initial": false,
1395
1420
  "entry": false,
1396
1421
  "recorded": false,
1397
- "size": 6145,
1422
+ "size": 6573,
1398
1423
  "sizes": {
1399
- "javascript": 6145
1424
+ "javascript": 6573
1400
1425
  },
1401
1426
  "names": [],
1402
1427
  "idHints": [],
@@ -1405,10 +1430,10 @@
1405
1430
  "main"
1406
1431
  ],
1407
1432
  "files": [
1408
- "9214.js"
1433
+ "9538.js"
1409
1434
  ],
1410
1435
  "auxiliaryFiles": [],
1411
- "hash": "557d45dd8b80aac2",
1436
+ "hash": "834a8b67aa62ebba",
1412
1437
  "childrenByOrder": {}
1413
1438
  },
1414
1439
  {
@@ -1416,9 +1441,9 @@
1416
1441
  "initial": false,
1417
1442
  "entry": false,
1418
1443
  "recorded": false,
1419
- "size": 6573,
1444
+ "size": 6021,
1420
1445
  "sizes": {
1421
- "javascript": 6573
1446
+ "javascript": 6021
1422
1447
  },
1423
1448
  "names": [],
1424
1449
  "idHints": [],
@@ -1427,10 +1452,10 @@
1427
1452
  "main"
1428
1453
  ],
1429
1454
  "files": [
1430
- "9538.js"
1455
+ "9569.js"
1431
1456
  ],
1432
1457
  "auxiliaryFiles": [],
1433
- "hash": "834a8b67aa62ebba",
1458
+ "hash": "4d989f532c63737b",
1434
1459
  "childrenByOrder": {}
1435
1460
  },
1436
1461
  {
@@ -1438,9 +1463,9 @@
1438
1463
  "initial": false,
1439
1464
  "entry": false,
1440
1465
  "recorded": false,
1441
- "size": 6021,
1466
+ "size": 680853,
1442
1467
  "sizes": {
1443
- "javascript": 6021
1468
+ "javascript": 680853
1444
1469
  },
1445
1470
  "names": [],
1446
1471
  "idHints": [],
@@ -1449,10 +1474,12 @@
1449
1474
  "main"
1450
1475
  ],
1451
1476
  "files": [
1452
- "9569.js"
1477
+ "9853.js"
1453
1478
  ],
1454
- "auxiliaryFiles": [],
1455
- "hash": "4d989f532c63737b",
1479
+ "auxiliaryFiles": [
1480
+ "9853.js.map"
1481
+ ],
1482
+ "hash": "57b9558dff0bf2e9",
1456
1483
  "childrenByOrder": {}
1457
1484
  },
1458
1485
  {
@@ -1593,33 +1620,6 @@
1593
1620
  "auxiliaryFiles": [],
1594
1621
  "hash": "c31b082d3fd3243f",
1595
1622
  "childrenByOrder": {}
1596
- },
1597
- {
1598
- "rendered": true,
1599
- "initial": false,
1600
- "entry": false,
1601
- "recorded": false,
1602
- "reason": "split chunk (cache group: defaultVendors)",
1603
- "size": 2353875,
1604
- "sizes": {
1605
- "javascript": 2353875
1606
- },
1607
- "names": [],
1608
- "idHints": [
1609
- "vendors"
1610
- ],
1611
- "runtime": [
1612
- "@ampath/esm-patient-registration-app",
1613
- "main"
1614
- ],
1615
- "files": [
1616
- "9933.js"
1617
- ],
1618
- "auxiliaryFiles": [
1619
- "9933.js.map"
1620
- ],
1621
- "hash": "65e8cfc6afd4743c",
1622
- "childrenByOrder": {}
1623
1623
  }
1624
1624
  ]
1625
1625
  }
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true,"order":30},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true},{"component":"clientRegistryVerificationTag","name":"client-registry-verification-tag","slot":"patient-banner-tags-slot","online":true,"offline":true}],"modals":[{"name":"cancel-patient-edit-modal","component":"cancelPatientEditModal"},{"name":"delete-identifier-confirmation-modal","component":"deleteIdentifierConfirmationModal"},{"name":"client-registry-verification-modal","component":"clientRegistryVerificationModal"}],"version":"9.2.0-next.17"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true,"order":30},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true},{"component":"clientRegistryVerificationTag","name":"client-registry-verification-tag","slot":"patient-banner-tags-slot","online":true,"offline":true}],"modals":[{"name":"cancel-patient-edit-modal","component":"cancelPatientEditModal"},{"name":"delete-identifier-confirmation-modal","component":"deleteIdentifierConfirmationModal"},{"name":"client-registry-verification-modal","component":"clientRegistryVerificationModal"}],"version":"9.2.0-next.19"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampath/esm-patient-registration-app",
3
- "version": "9.2.0-next.17",
3
+ "version": "9.2.0-next.19",
4
4
  "description": "Patient registration microfrontend for O3",
5
5
  "browser": "dist/openmrs-esm-patient-registration-app.js",
6
6
  "main": "src/index.ts",
package/src/index.ts CHANGED
@@ -63,6 +63,6 @@ export const deleteIdentifierConfirmationModal = getAsyncLifecycle(
63
63
  );
64
64
 
65
65
  export const clientRegistryVerificationTag = getAsyncLifecycle(
66
- () => import('./patient-registration/client-registry-search/client-registry-verification-tag.component'),
66
+ () => import('./patient-registration/client-registry/existing-client/client-registry-verification-tag.component'),
67
67
  options,
68
68
  );