@ampath/esm-dha-workflow-app 4.0.0-next.6 → 4.0.0-next.8

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/dist/161.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[]).push([[161,244],{6842:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(72996),a=n.n(r),o=n(70159),i=n.n(o)()(a());i.push([e.id,".-esm-dha-workflow__registry-component__registryLayout___PF4WP{display:flex;flex-direction:row;width:100%;row-gap:10px;padding:2% 2%}.-esm-dha-workflow__registry-component__sideNavLayout___VjQPU{display:flex;flex-direction:column;width:20%}.-esm-dha-workflow__registry-component__mainContent___qOmrp{display:flex;flex-direction:column;width:80%}.-esm-dha-workflow__registry-component__registryHeader___YIQ62{display:flex;flex-direction:column;row-gap:10px;width:100%}.-esm-dha-workflow__registry-component__registryContent___W1b-9{display:flex;flex-direction:column;width:100%}.-esm-dha-workflow__registry-component__formRow___qlwjG{display:flex;flex-direction:row;width:100%;column-gap:5px}.-esm-dha-workflow__registry-component__formControl___R5c2A{width:30%}.-esm-dha-workflow__registry-component__hieData___jx5gt{margin-top:15px;display:flex;flex-direction:column;width:50%;row-gap:10px}.-esm-dha-workflow__registry-component__btnContainer___aXZfC{padding:5px 5px}.-esm-dha-workflow__registry-component__selectionHeader___-zRam{display:flex;flex-direction:column;width:100%;row-gap:5px}.-esm-dha-workflow__registry-component__patientSelect___wgPYw{display:flex;flex-direction:row;width:100%;column-gap:5px}.-esm-dha-workflow__registry-component__patientSelectRadio___3aGYW{width:70%}.-esm-dha-workflow__registry-component__patientConfirmSelection___Py9-y{display:flex;flex-direction:row;width:30%;column-gap:5px}","",{version:3,sources:["webpack://./src/registry/registry.component.scss"],names:[],mappings:"AAAA,+DACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,YAAA,CACA,aAAA,CAEJ,8DACI,YAAA,CACA,qBAAA,CACA,SAAA,CAEJ,4DACE,YAAA,CACA,qBAAA,CACA,SAAA,CAEF,+DACI,YAAA,CACA,qBAAA,CACA,YAAA,CACA,UAAA,CAEJ,gEACI,YAAA,CACA,qBAAA,CACA,UAAA,CAEJ,wDACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA,CAEJ,4DACI,SAAA,CAEJ,wDACI,eAAA,CACA,YAAA,CACA,qBAAA,CACA,SAAA,CACA,YAAA,CAEJ,6DACI,eAAA,CAEJ,gEACI,YAAA,CACA,qBAAA,CACA,UAAA,CACA,WAAA,CAEJ,8DACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA,CAEJ,mEACI,SAAA,CAEJ,wEACI,YAAA,CACA,kBAAA,CACA,SAAA,CACA,cAAA",sourcesContent:[".registryLayout{\n display: flex;\n flex-direction: row;\n width: 100%;\n row-gap: 10px;\n padding: 2% 2%;\n}\n.sideNavLayout{\n display: flex;\n flex-direction: column;\n width: 20%;\n}\n.mainContent{\n display: flex;\n flex-direction: column;\n width: 80%;\n}\n.registryHeader{\n display: flex;\n flex-direction: column;\n row-gap: 10px;\n width: 100%;\n}\n.registryContent{\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.formRow{\n display: flex;\n flex-direction: row;\n width: 100%;\n column-gap: 5px;\n}\n.formControl{\n width: 30%;\n}\n.hieData{\n margin-top: 15px;\n display: flex;\n flex-direction: column;\n width: 50%;\n row-gap: 10px;\n}\n.btnContainer{\n padding: 5px 5px;\n}\n.selectionHeader{\n display: flex;\n flex-direction: column;\n width: 100%;\n row-gap: 5px;\n}\n.patientSelect{\n display: flex;\n flex-direction: row;\n width: 100%;\n column-gap: 5px;\n}\n.patientSelectRadio{\n width: 70%;\n}\n.patientConfirmSelection{\n display: flex;\n flex-direction: row;\n width: 30%;\n column-gap: 5px;\n}"],sourceRoot:""}]),i.locals={registryLayout:"-esm-dha-workflow__registry-component__registryLayout___PF4WP",sideNavLayout:"-esm-dha-workflow__registry-component__sideNavLayout___VjQPU",mainContent:"-esm-dha-workflow__registry-component__mainContent___qOmrp",registryHeader:"-esm-dha-workflow__registry-component__registryHeader___YIQ62",registryContent:"-esm-dha-workflow__registry-component__registryContent___W1b-9",formRow:"-esm-dha-workflow__registry-component__formRow___qlwjG",formControl:"-esm-dha-workflow__registry-component__formControl___R5c2A",hieData:"-esm-dha-workflow__registry-component__hieData___jx5gt",btnContainer:"-esm-dha-workflow__registry-component__btnContainer___aXZfC",selectionHeader:"-esm-dha-workflow__registry-component__selectionHeader___-zRam",patientSelect:"-esm-dha-workflow__registry-component__patientSelect___wgPYw",patientSelectRadio:"-esm-dha-workflow__registry-component__patientSelectRadio___3aGYW",patientConfirmSelection:"-esm-dha-workflow__registry-component__patientConfirmSelection___Py9-y"};const l=i},10540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},41113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},49244:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r=n(26802),a=n(16072),o=n.n(a);const i=function(){return o().createElement(o().Fragment,null,o().createElement(r.ldn,{id:"1",href:"workflow/registry"},"Dashboard"),o().createElement(r.ldn,{id:"2",href:"workflow/registry"},"Registration"),o().createElement(r.ldn,{href:"workflow/registry"},"Appointments"),o().createElement(r.ldn,{href:"workflow/registry"},"Triage"),o().createElement(r.ldn,{href:"workflow/registry"},"workflow"),o().createElement(r.ldn,{href:"workflow/registry"},"Laboratory"),o().createElement(r.ldn,{href:"workflow/registry"},"Bookings"),o().createElement(r.ldn,{href:"workflow/registry"},"Reports"),o().createElement(r.ldn,{href:"workflow/registry"},"Registers"))}},55056:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},70159:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);r&&a[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},72996:e=>{function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n,r,a=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=a[1],i=a[3];if(!i)return o;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),s="/*# ".concat(c," */"),u=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[o].concat(u).concat([s]).join("\n")}return[o].join("\n")}},77659:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},78161:(e,t,n)=>{n.r(t),n.d(t,{default:()=>X});var r=n(26802),a=n(16072),o=n.n(a),i=n(85072),l=n.n(i),c=n(97825),s=n.n(c),u=n(77659),d=n.n(u),m=n(55056),f=n.n(m),p=n(10540),A=n.n(p),_=n(41113),y=n.n(_),h=n(6842),w={};w.styleTagTransform=y(),w.setAttributes=f(),w.insert=d().bind(null,"head"),w.domAPI=s(),w.insertStyleElement=A(),l()(h.A,w);const g=h.A&&h.A.locals?h.A.locals:void 0;var C=["National ID","Alien ID","Passport","Mandate Number","Refugee ID"];function E(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){E(o,r,a,i,l,"next",e)}function l(e){E(o,r,a,i,l,"throw",e)}i(void 0)}))}}function b(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}var x="https://staging.ampath.or.ke/hie";function k(e,t){return v((function(){var n,r;return b(this,(function(a){switch(a.label){case 0:return[4,fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})];case 1:return(n=a.sent()).ok?[3,3]:[4,n.text()];case 2:throw r=a.sent(),new Error("Request failed with ".concat(n.status,": ").concat(r));case 3:return[2,n.json()]}}))}))()}function S(e){return v((function(){var t,n;return b(this,(function(r){return t="".concat(x,"/client/search"),n={identificationNumber:e.identificationNumber,identificationType:e.identificationType,locationUuid:e.locationUuid},[2,k(t,n)]}))}))()}var T=n(25987),N=n(84497),I={};I.styleTagTransform=y(),I.setAttributes=f(),I.insert=d().bind(null,"head"),I.domAPI=s(),I.insertStyleElement=A(),l()(N.A,I);const P=N.A&&N.A.locals?N.A.locals:void 0;var F=function(e){for(var t=e.split(""),n=0;n<e.length;n++)n%2==0&&(t[n]="*");return t.join("")},O=function(e){for(var t=e.split(""),n=0;n<e.length;n++)0!=n&&n!==e.length-1&&(t[n]="*");return t.join("")};function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}function j(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){R(o,r,a,i,l,"next",e)}function l(e){R(o,r,a,i,l,"throw",e)}i(void 0)}))}}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}const L=function(e){var t=e.requestCustomOtpDto,n=e.phoneNumber,i=e.open,l=e.onModalClose,c=H((0,a.useState)(""),2),s=c[0],u=c[1],d=H((0,a.useState)("DRAFT"),2),m=d[0],f=d[1],p=H((0,a.useState)(!1),2),A=p[0],_=p[1],y=H((0,a.useState)(""),2),h=y[0],w=y[1],g=function(e,t,n){(0,T.showSnackbar)({kind:e,title:t,subtitle:n})};return o().createElement(o().Fragment,null,o().createElement(r.aFV,{open:i,size:"md",onSecondarySubmit:l,onRequestClose:l,onRequestSubmit:function(){window.open("https://afyayangu.go.ke/","_blank")},primaryButtonText:"Register on Afya Yangu",secondaryButtonText:"Cancel"},o().createElement(r.cwr,null,o().createElement("div",{className:P.modalVerificationLayout},o().createElement("div",{className:P.sectionHeader},o().createElement("h4",{className:P.sectionTitle},"One Time Password (OTP)"),o().createElement("h6",null,"Enter one time password to proceed")),o().createElement("div",{className:P.sectionContent},o().createElement("div",{className:P.contentHeader},"DRAFT"===m?o().createElement(o().Fragment,null,o().createElement("h6",null,"Send Code to Phone ",F(n))):o().createElement(o().Fragment,null),"OTP_SENT"===m?o().createElement(o().Fragment,null,o().createElement(r.ksK,{id:"otp-input",labelText:"Enter OTP",value:s,onChange:function(e){return u(e.target.value)},placeholder:"Enter the code sent to your phone"})):o().createElement(o().Fragment,null),"OTP_VERIFIED"===m?o().createElement(o().Fragment,null,o().createElement("h6",null,"OTP Verification Successfull!")):o().createElement(o().Fragment,null))),o().createElement("div",{className:P.sectionAction},"DRAFT"===m?o().createElement(o().Fragment,null,o().createElement(r.$nd,{kind:"primary",onClick:function(){return j((function(){var e,n,r;return Y(this,(function(a){switch(a.label){case 0:if(!t.identificationNumber)return g("error","Invalid Identification Value","Please enter a valid ID value"),[2];_(!0),a.label=1;case 1:return a.trys.push([1,3,4,5]),[4,(o=t,v((function(){var e,t;return b(this,(function(n){return e="".concat(x,"/client/send-custom-otp"),t={identificationNumber:o.identificationNumber,identificationType:o.identificationType,locationUuid:o.locationUuid},[2,k(e,t)]}))}))())];case 2:return e=a.sent(),w(e.sessionId),f("OTP_SENT"),g("success","OTP sent successfully","A code was sent to ".concat(e.maskedPhone)),[3,5];case 3:return n=a.sent(),r=n.message||"Failed to send OTP",g("error","Error sending OTP",r),[3,5];case 4:return _(!1),[7];case 5:return[2]}var o}))}))()}},A?o().createElement(r.OuH,{description:"Sending OTP..."}):"Send OTP")):o().createElement(o().Fragment,null),"OTP_SENT"===m?o().createElement(o().Fragment,null,o().createElement(r.$nd,{kind:"primary",onClick:function(){return j((function(){var e,n;return Y(this,(function(r){switch(r.label){case 0:if(!s.trim())return g("error","Please enter the OTP code",""),[2];_(!0),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,(a={sessionId:h,otp:s,locationUuid:t.locationUuid},v((function(){var e,t;return b(this,(function(n){return e="".concat(x,"/client/validate-custom-otp"),t={sessionId:a.sessionId,otp:a.otp,locationUuid:a.locationUuid},[2,k(e,t)]}))}))())];case 2:return r.sent(),f("OTP_VERIFIED"),(0,T.showSnackbar)({kind:"success",title:"OTP Verified",subtitle:"You can now fetch data from Client Registry."}),[3,5];case 3:return e=r.sent(),n=e.message||"OTP verification failed",(0,T.showSnackbar)({kind:"error",title:"OTP Verification Failed",subtitle:n}),[3,5];case 4:return _(!1),[7];case 5:return[2]}var a}))}))()}},A?o().createElement(r.OuH,{description:"Verifying OTP..."}):"Verify")):o().createElement(o().Fragment,null),"OTP_VERIFIED"===m?o().createElement(o().Fragment,null,o().createElement(r.$nd,{kind:"primary",onClick:l},"Continue")):o().createElement(o().Fragment,null))))))};var U=n(86575),B={};B.styleTagTransform=y(),B.setAttributes=f(),B.insert=d().bind(null,"head"),B.domAPI=s(),B.insertStyleElement=A(),l()(U.A,B);const q=U.A&&U.A.locals?U.A.locals:void 0;function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=["id","other_identifications","first_name","middle_name","last_name","gender","date_of_birth","is_alive","deceased_datetime","phone","email","civil_status","place_of_birth","citizenship","country","county","sub_county","ward","village_estate","longitude","latitude","identification_type"];const J=function(e){var t=e.client,n=(0,a.useMemo)((function(){return e=t,n={},Object.keys(e).filter((function(e){return M.includes(e)})).forEach((function(t){if("other_identifications"===t){var r=(o=e[t],i={},o.forEach((function(e){i[e.identification_type]=e.identification_number})),i);n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){V(e,t,n[t])}))}return e}({},n,r)}else if("identification_type"===t)n[e.identification_type]=e.identification_number;else{var a=e[t];n[t]=a}var o,i})),n;var e,n}),[t]);return t&&n?o().createElement(o().Fragment,null,o().createElement(r.XIK,null,o().createElement(r.ndF,null,o().createElement(r.Hjg,null,o().createElement(r.A0N,null,"Field"),o().createElement(r.A0N,null,"Value"))),o().createElement(r.BFY,null,Object.keys(n).map((function(e){return o().createElement(r.Hjg,null,o().createElement(r.nA6,null,e),o().createElement(r.nA6,null,n[e]))}))))):o().createElement(o().Fragment,null,o().createElement("h4",null,"No patient Data to Display"))},W=function(){return o().createElement(o().Fragment,null,o().createElement(r.zWQ,{defaultSelected:"sha",legendText:"Patient",onChange:function(e){},name:"payment-options-radio-group"},o().createElement(r.aaP,{id:"sha",labelText:"Social Health Authority",value:"sha"}),o().createElement(r.aaP,{id:"insurance",labelText:"Other Insurance",value:"other"}),o().createElement(r.aaP,{id:"cash",labelText:"Cash",value:"cash"})))},$=function(e){var t=e.client,n=e.open,a=e.onModalClose;return e.onSubmit,t?o().createElement(o().Fragment,null,o().createElement(r.aFV,{open:n,size:"md",onSecondarySubmit:a,onRequestClose:a,onRequestSubmit:function(){window.open("https://afyayangu.go.ke/","_blank")},primaryButtonText:"Register on Afya Yangu",secondaryButtonText:"Cancel"},o().createElement(r.cwr,null,o().createElement("div",{className:q.clientDetailsLayout},o().createElement("div",{className:q.sectionHeader},o().createElement("h4",{className:q.sectionTitle},"Patient/Payment Details")),o().createElement("div",{className:q.sectionContent},o().createElement(r.tUM,null,o().createElement(r.wbY,{contained:!0},o().createElement(r.ozo,null,"Patient Details"),o().createElement(r.ozo,null,"Payment Details")),o().createElement(r.T2N,null,o().createElement(r.KpK,null,o().createElement(J,{client:t})),o().createElement(r.KpK,null,o().createElement(W,null))))),o().createElement("div",{className:q.actionSection},o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"primary"},"Book Appointment")),o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"secondary"},"Walk In Orders")),o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"tertiary"},"Send To Triage")),o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"primary"},"Send To Consultation"))))))):o().createElement(o().Fragment,null,"No Client data")};var z=n(49244);function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}function G(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const X=function(){var e=G((0,a.useState)("National ID"),2),t=e[0],n=e[1],i=G((0,a.useState)(""),2),l=i[0],c=i[1],s=G((0,a.useState)(!1),2),u=s[0],d=s[1],m=G((0,a.useState)(),2),f=m[0],p=m[1],A=G((0,a.useState)("principal"),2),_=A[0],y=A[1],h=G((0,a.useState)(!1),2),w=h[0],E=h[1],v=G((0,a.useState)(!1),2),b=v[0],x=v[1],k=G((0,a.useState)(),2),N=k[0],I=k[1],P=(0,T.useSession)().sessionLocation.uuid,D=function(e,t,n){(0,T.showSnackbar)({kind:e,title:t,subtitle:n})};return o().createElement(o().Fragment,null,o().createElement("div",{className:g.registryLayout},o().createElement("div",{className:g.sideNavLayout},o().createElement(r.f8J,{isFixedNav:!0,expanded:!0,"aria-label":"Side navigation"},o().createElement(z.default,null))),o().createElement("div",{className:g.mainContent},o().createElement("div",{className:g.registryHeader},o().createElement("h4",null,"Client Registry"),o().createElement("p",null,"Please enter identification number to begin")),o().createElement("div",{className:g.registryContent},o().createElement("div",{className:g.formRow},o().createElement("div",{className:g.formControl},o().createElement(r.msM,{id:"identifier-type-dropdown",label:"Identifier Type",titleText:"Select Identifier Type",items:C,selectedItem:t,onChange:function(e){var t=e.selectedItem;return n(t)}})),o().createElement("div",{className:g.formControl},o().createElement(r.ksK,{id:"identifier-value",labelText:"".concat(t," Value"),value:l,onChange:function(e){return c(e.target.value)},placeholder:"Enter ".concat(t.toLowerCase()," value")})),o().createElement("div",{className:g.formControl},o().createElement(r.$nd,{kind:"primary",onClick:function(){return(e=function(){var e,n,r,a,o,i;return function(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}(this,(function(c){switch(c.label){case 0:d(!0),c.label=1;case 1:return c.trys.push([1,3,4,5]),function(e){return e.identificationNumber?e.identificationType?!!e.locationUuid||(D("error","No default location selected",""),!1):(D("error","Please enter a valid identification type",""),!1):(D("error","Please enter a valid identification number",""),!1)}(e={identificationNumber:l,identificationType:t,locationUuid:P})?(I(e),[4,S(e)]):[2,!1];case 2:if(n=c.sent(),0===(r=Array.isArray(n)?n:[]).length)throw new Error("No matching patient found in Client Registry.");return a=r[0],p(a),D("success","Client Data Loaded","Patient fetched successfully"),[3,5];case 3:return o=c.sent(),i=o.message||"Failed to fetch client data",D("error","Fetch Failed",i),[3,5];case 4:return d(!1),[7];case 5:return[2]}}))},function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Q(o,r,a,i,l,"next",e)}function l(e){Q(o,r,a,i,l,"throw",e)}i(void 0)}))})();var e},disabled:u},u?o().createElement(r.OuH,{description:"Searching..."}):"Search"))),f?o().createElement("div",{className:g.formRow},o().createElement("div",{className:g.hieData},o().createElement("div",{className:g.selectionHeader},o().createElement("h5",null,"Please select one patient and request patient to share the OTP sent")),o().createElement("div",{className:g.patientSelect},o().createElement("div",{className:g.patientSelectRadio},o().createElement(r.zWQ,{defaultSelected:"principal",legendText:"Patient",onChange:function(e){y(e)},name:"radio-button-default-group"},o().createElement(r.aaP,{id:"principal",labelText:"Principal",value:"principal"}),o().createElement(r.aaP,{id:"dependants",labelText:"Dependants",value:"dependants"}))),o().createElement("div",{className:g.patientConfirmSelection},o().createElement("div",{className:g.btnContainer},o().createElement(r.$nd,{kind:"primary",onClick:function(){E(!0)}}," ","Confirm")),o().createElement("div",{className:g.btnContainer},o().createElement(r.$nd,{kind:"secondary"},"Cancel")))),"principal"===_?o().createElement(o().Fragment,null,o().createElement(r.XIK,null,o().createElement(r.ndF,null,o().createElement(r.Hjg,null,o().createElement(r.A0N,null,"Name"),o().createElement(r.A0N,null,"CR"),o().createElement(r.A0N,null,"Phone No"),o().createElement(r.A0N,null,"ID No"))),o().createElement(r.BFY,null,o().createElement(r.Hjg,null,o().createElement(r.nA6,null,f.first_name," ",O(f.middle_name)," ",O(f.last_name)),o().createElement(r.nA6,null,F(f.id)),o().createElement(r.nA6,null,F(f.phone)),o().createElement(r.nA6,null,F(f.identification_number)))))):o().createElement(o().Fragment,null),"dependants"===_?o().createElement(o().Fragment,null,o().createElement(r.XIK,null,o().createElement(r.ndF,null,o().createElement(r.Hjg,null,o().createElement(r.A0N,null,"Name"),o().createElement(r.A0N,null,"CR"),o().createElement(r.A0N,null,"Relationship"))),o().createElement(r.BFY,null,f.dependants.map((function(e){var t=e.result[0],n=e.relationship;return o().createElement(o().Fragment,null,o().createElement(r.Hjg,null,o().createElement(r.nA6,null,t.first_name," ",O(t.middle_name)," ",O(t.last_name)),o().createElement(r.nA6,null,F(t.id)),o().createElement(r.nA6,null,n)))}))))):o().createElement(o().Fragment,null),w?o().createElement(L,{requestCustomOtpDto:N,phoneNumber:f.phone,open:w,onModalClose:function(){E(!1),x(!0)}}):o().createElement(o().Fragment,null),f&&b?o().createElement(o().Fragment,null,o().createElement($,{client:f,open:b,onModalClose:function(){x(!1)},onSubmit:function(){}})," "):o().createElement(o().Fragment,null))):o().createElement(o().Fragment,null)))))}},84497:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(72996),a=n.n(r),o=n(70159),i=n.n(o)()(a());i.push([e.id,".-esm-dha-workflow__otp-verification-modal__modalVerificationLayout___MST8n{display:flex;flex-direction:column;row-gap:10px;width:100%}.-esm-dha-workflow__otp-verification-modal__sectionHeader___g62oo{display:flex;flex-direction:column;column-gap:5px;margin-top:5px;margin-bottom:5px}","",{version:3,sources:["webpack://./src/registry/modal/otp-verification-modal/otp-verification-modal.scss"],names:[],mappings:"AAAA,4EACE,YAAA,CACA,qBAAA,CACA,YAAA,CACA,UAAA,CAEF,kEACE,YAAA,CACA,qBAAA,CACA,cAAA,CACA,cAAA,CACA,iBAAA",sourcesContent:[".modalVerificationLayout {\n display: flex;\n flex-direction: column;\n row-gap: 10px;\n width: 100%;\n}\n.sectionHeader{\n display: flex;\n flex-direction: column;\n column-gap: 5px;\n margin-top: 5px;\n margin-bottom: 5px;\n}"],sourceRoot:""}]),i.locals={modalVerificationLayout:"-esm-dha-workflow__otp-verification-modal__modalVerificationLayout___MST8n",sectionHeader:"-esm-dha-workflow__otp-verification-modal__sectionHeader___g62oo"};const l=i},85072:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],l=0;l<e.length;l++){var c=e[l],s=r.base?c[0]+r.base:c[0],u=o[s]||0,d="".concat(s," ").concat(u);o[s]=u+1;var m=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(f);else{var p=a(f,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:p,references:1})}i.push(d)}return i}function a(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var l=n(o[i]);t[l].references--}for(var c=r(e,a),s=0;s<o.length;s++){var u=n(o[s]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},86575:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(72996),a=n.n(r),o=n(70159),i=n.n(o)()(a());i.push([e.id,".-esm-dha-workflow__client-details-modal__clientDetailsLayout___r5WF\\+{display:flex;flex-direction:column;width:100%;row-gap:5px}.-esm-dha-workflow__client-details-modal__sectionHeader___lH-gL{display:flex;flex-direction:column;row-gap:5px;margin-top:5px;margin-bottom:10px}.-esm-dha-workflow__client-details-modal__sectionContent___QDFT7{display:flex;flex-direction:column;row-gap:5px}.-esm-dha-workflow__client-details-modal__actionSection___okVDp{display:flex;flex-direction:row;width:100%;column-gap:5px}.-esm-dha-workflow__client-details-modal__btnContainer___ETNEk{margin-top:2px;margin-bottom:2px}","",{version:3,sources:["webpack://./src/registry/modal/client-details-modal/client-details-modal.scss"],names:[],mappings:"AAAA,uEACI,YAAA,CACA,qBAAA,CACA,UAAA,CACA,WAAA,CAEJ,gEACI,YAAA,CACA,qBAAA,CACA,WAAA,CACA,cAAA,CACA,kBAAA,CAEJ,iEACI,YAAA,CACA,qBAAA,CACA,WAAA,CAEJ,gEACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA,CAEJ,+DACI,cAAA,CACA,iBAAA",sourcesContent:[".clientDetailsLayout{\n display: flex;\n flex-direction: column;\n width: 100%;\n row-gap: 5px;\n}\n.sectionHeader{\n display: flex;\n flex-direction: column;\n row-gap: 5px;\n margin-top: 5px;\n margin-bottom: 10px;\n}\n.sectionContent{\n display: flex;\n flex-direction: column;\n row-gap: 5px;\n}\n.actionSection{\n display: flex;\n flex-direction: row;\n width: 100%;\n column-gap: 5px;\n}\n.btnContainer{\n margin-top: 2px;\n margin-bottom: 2px;\n}"],sourceRoot:""}]),i.locals={clientDetailsLayout:"-esm-dha-workflow__client-details-modal__clientDetailsLayout___r5WF+",sectionHeader:"-esm-dha-workflow__client-details-modal__sectionHeader___lH-gL",sectionContent:"-esm-dha-workflow__client-details-modal__sectionContent___QDFT7",actionSection:"-esm-dha-workflow__client-details-modal__actionSection___okVDp",btnContainer:"-esm-dha-workflow__client-details-modal__btnContainer___ETNEk"};const l=i},97825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}}]);
1
+ "use strict";(globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[]).push([[161,244],{6842:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(72996),a=n.n(r),o=n(70159),i=n.n(o)()(a());i.push([e.id,".-esm-dha-workflow__registry-component__registryLayout___PF4WP{display:flex;flex-direction:row;width:100%;row-gap:10px;padding:2% 2%}.-esm-dha-workflow__registry-component__sideNavLayout___VjQPU{display:flex;flex-direction:column;width:20%}.-esm-dha-workflow__registry-component__mainContent___qOmrp{display:flex;flex-direction:column;width:80%}.-esm-dha-workflow__registry-component__registryHeader___YIQ62{display:flex;flex-direction:column;row-gap:10px;width:100%}.-esm-dha-workflow__registry-component__registryContent___W1b-9{display:flex;flex-direction:column;width:100%}.-esm-dha-workflow__registry-component__formRow___qlwjG{display:flex;flex-direction:row;width:100%;column-gap:5px}.-esm-dha-workflow__registry-component__formControl___R5c2A{width:30%}.-esm-dha-workflow__registry-component__hieData___jx5gt{margin-top:15px;display:flex;flex-direction:column;width:50%;row-gap:10px}.-esm-dha-workflow__registry-component__btnContainer___aXZfC{padding:5px 5px}.-esm-dha-workflow__registry-component__selectionHeader___-zRam{display:flex;flex-direction:column;width:100%;row-gap:5px}.-esm-dha-workflow__registry-component__patientSelect___wgPYw{display:flex;flex-direction:row;width:100%;column-gap:5px}.-esm-dha-workflow__registry-component__patientSelectRadio___3aGYW{width:70%}.-esm-dha-workflow__registry-component__patientConfirmSelection___Py9-y{display:flex;flex-direction:row;width:30%;column-gap:5px}","",{version:3,sources:["webpack://./src/registry/registry.component.scss"],names:[],mappings:"AAAA,+DACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,YAAA,CACA,aAAA,CAEJ,8DACI,YAAA,CACA,qBAAA,CACA,SAAA,CAEJ,4DACE,YAAA,CACA,qBAAA,CACA,SAAA,CAEF,+DACI,YAAA,CACA,qBAAA,CACA,YAAA,CACA,UAAA,CAEJ,gEACI,YAAA,CACA,qBAAA,CACA,UAAA,CAEJ,wDACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA,CAEJ,4DACI,SAAA,CAEJ,wDACI,eAAA,CACA,YAAA,CACA,qBAAA,CACA,SAAA,CACA,YAAA,CAEJ,6DACI,eAAA,CAEJ,gEACI,YAAA,CACA,qBAAA,CACA,UAAA,CACA,WAAA,CAEJ,8DACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA,CAEJ,mEACI,SAAA,CAEJ,wEACI,YAAA,CACA,kBAAA,CACA,SAAA,CACA,cAAA",sourcesContent:[".registryLayout{\n display: flex;\n flex-direction: row;\n width: 100%;\n row-gap: 10px;\n padding: 2% 2%;\n}\n.sideNavLayout{\n display: flex;\n flex-direction: column;\n width: 20%;\n}\n.mainContent{\n display: flex;\n flex-direction: column;\n width: 80%;\n}\n.registryHeader{\n display: flex;\n flex-direction: column;\n row-gap: 10px;\n width: 100%;\n}\n.registryContent{\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.formRow{\n display: flex;\n flex-direction: row;\n width: 100%;\n column-gap: 5px;\n}\n.formControl{\n width: 30%;\n}\n.hieData{\n margin-top: 15px;\n display: flex;\n flex-direction: column;\n width: 50%;\n row-gap: 10px;\n}\n.btnContainer{\n padding: 5px 5px;\n}\n.selectionHeader{\n display: flex;\n flex-direction: column;\n width: 100%;\n row-gap: 5px;\n}\n.patientSelect{\n display: flex;\n flex-direction: row;\n width: 100%;\n column-gap: 5px;\n}\n.patientSelectRadio{\n width: 70%;\n}\n.patientConfirmSelection{\n display: flex;\n flex-direction: row;\n width: 30%;\n column-gap: 5px;\n}"],sourceRoot:""}]),i.locals={registryLayout:"-esm-dha-workflow__registry-component__registryLayout___PF4WP",sideNavLayout:"-esm-dha-workflow__registry-component__sideNavLayout___VjQPU",mainContent:"-esm-dha-workflow__registry-component__mainContent___qOmrp",registryHeader:"-esm-dha-workflow__registry-component__registryHeader___YIQ62",registryContent:"-esm-dha-workflow__registry-component__registryContent___W1b-9",formRow:"-esm-dha-workflow__registry-component__formRow___qlwjG",formControl:"-esm-dha-workflow__registry-component__formControl___R5c2A",hieData:"-esm-dha-workflow__registry-component__hieData___jx5gt",btnContainer:"-esm-dha-workflow__registry-component__btnContainer___aXZfC",selectionHeader:"-esm-dha-workflow__registry-component__selectionHeader___-zRam",patientSelect:"-esm-dha-workflow__registry-component__patientSelect___wgPYw",patientSelectRadio:"-esm-dha-workflow__registry-component__patientSelectRadio___3aGYW",patientConfirmSelection:"-esm-dha-workflow__registry-component__patientConfirmSelection___Py9-y"};const l=i},10540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},41113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},49244:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r=n(26802),a=n(16072),o=n.n(a);const i=function(){return o().createElement(o().Fragment,null,o().createElement(r.ldn,{id:"1",href:"workflow/registry"},"Dashboard"),o().createElement(r.ldn,{id:"2",href:"workflow/registry"},"Registration"),o().createElement(r.ldn,{href:"workflow/registry"},"Appointments"),o().createElement(r.ldn,{href:"workflow/registry"},"Triage"),o().createElement(r.ldn,{href:"workflow/registry"},"Consultation"),o().createElement(r.ldn,{href:"workflow/registry"},"Laboratory"),o().createElement(r.ldn,{href:"workflow/registry"},"Bookings"),o().createElement(r.ldn,{href:"workflow/registry"},"Reports"),o().createElement(r.ldn,{href:"workflow/registry"},"Registers"))}},55056:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},70159:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var l=0;l<e.length;l++){var c=[].concat(e[l]);r&&a[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},72996:e=>{function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n,r,a=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=a[1],i=a[3];if(!i)return o;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),s="/*# ".concat(c," */"),u=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[o].concat(u).concat([s]).join("\n")}return[o].join("\n")}},77659:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},78161:(e,t,n)=>{n.r(t),n.d(t,{default:()=>X});var r=n(26802),a=n(16072),o=n.n(a),i=n(85072),l=n.n(i),c=n(97825),s=n.n(c),u=n(77659),d=n.n(u),m=n(55056),f=n.n(m),p=n(10540),A=n.n(p),_=n(41113),y=n.n(_),h=n(6842),w={};w.styleTagTransform=y(),w.setAttributes=f(),w.insert=d().bind(null,"head"),w.domAPI=s(),w.insertStyleElement=A(),l()(h.A,w);const g=h.A&&h.A.locals?h.A.locals:void 0;var C=["National ID","Alien ID","Passport","Mandate Number","Refugee ID"];function E(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){E(o,r,a,i,l,"next",e)}function l(e){E(o,r,a,i,l,"throw",e)}i(void 0)}))}}function b(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}var x="https://staging.ampath.or.ke/hie";function k(e,t){return v((function(){var n,r;return b(this,(function(a){switch(a.label){case 0:return[4,fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})];case 1:return(n=a.sent()).ok?[3,3]:[4,n.text()];case 2:throw r=a.sent(),new Error("Request failed with ".concat(n.status,": ").concat(r));case 3:return[2,n.json()]}}))}))()}function S(e){return v((function(){var t,n;return b(this,(function(r){return t="".concat(x,"/client/search"),n={identificationNumber:e.identificationNumber,identificationType:e.identificationType,locationUuid:e.locationUuid},[2,k(t,n)]}))}))()}var T=n(25987),N=n(84497),I={};I.styleTagTransform=y(),I.setAttributes=f(),I.insert=d().bind(null,"head"),I.domAPI=s(),I.insertStyleElement=A(),l()(N.A,I);const P=N.A&&N.A.locals?N.A.locals:void 0;var F=function(e){for(var t=e.split(""),n=0;n<e.length;n++)n%2==0&&(t[n]="*");return t.join("")},O=function(e){for(var t=e.split(""),n=0;n<e.length;n++)0!=n&&n!==e.length-1&&(t[n]="*");return t.join("")};function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}function j(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){R(o,r,a,i,l,"next",e)}function l(e){R(o,r,a,i,l,"throw",e)}i(void 0)}))}}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}const L=function(e){var t=e.requestCustomOtpDto,n=e.phoneNumber,i=e.open,l=e.onModalClose,c=H((0,a.useState)(""),2),s=c[0],u=c[1],d=H((0,a.useState)("DRAFT"),2),m=d[0],f=d[1],p=H((0,a.useState)(!1),2),A=p[0],_=p[1],y=H((0,a.useState)(""),2),h=y[0],w=y[1],g=function(e,t,n){(0,T.showSnackbar)({kind:e,title:t,subtitle:n})};return o().createElement(o().Fragment,null,o().createElement(r.aFV,{open:i,size:"md",onSecondarySubmit:l,onRequestClose:l,onRequestSubmit:function(){window.open("https://afyayangu.go.ke/","_blank")},primaryButtonText:"Register on Afya Yangu",secondaryButtonText:"Cancel"},o().createElement(r.cwr,null,o().createElement("div",{className:P.modalVerificationLayout},o().createElement("div",{className:P.sectionHeader},o().createElement("h4",{className:P.sectionTitle},"One Time Password (OTP)"),o().createElement("h6",null,"Enter one time password to proceed")),o().createElement("div",{className:P.sectionContent},o().createElement("div",{className:P.contentHeader},"DRAFT"===m?o().createElement(o().Fragment,null,o().createElement("h6",null,"Send Code to Phone ",F(n))):o().createElement(o().Fragment,null),"OTP_SENT"===m?o().createElement(o().Fragment,null,o().createElement(r.ksK,{id:"otp-input",labelText:"Enter OTP",value:s,onChange:function(e){return u(e.target.value)},placeholder:"Enter the code sent to your phone"})):o().createElement(o().Fragment,null),"OTP_VERIFIED"===m?o().createElement(o().Fragment,null,o().createElement("h6",null,"OTP Verification Successfull!")):o().createElement(o().Fragment,null))),o().createElement("div",{className:P.sectionAction},"DRAFT"===m?o().createElement(o().Fragment,null,o().createElement(r.$nd,{kind:"primary",onClick:function(){return j((function(){var e,n,r;return Y(this,(function(a){switch(a.label){case 0:if(!t.identificationNumber)return g("error","Invalid Identification Value","Please enter a valid ID value"),[2];_(!0),a.label=1;case 1:return a.trys.push([1,3,4,5]),[4,(o=t,v((function(){var e,t;return b(this,(function(n){return e="".concat(x,"/client/send-custom-otp"),t={identificationNumber:o.identificationNumber,identificationType:o.identificationType,locationUuid:o.locationUuid},[2,k(e,t)]}))}))())];case 2:return e=a.sent(),w(e.sessionId),f("OTP_SENT"),g("success","OTP sent successfully","A code was sent to ".concat(e.maskedPhone)),[3,5];case 3:return n=a.sent(),r=n.message||"Failed to send OTP",g("error","Error sending OTP",r),[3,5];case 4:return _(!1),[7];case 5:return[2]}var o}))}))()}},A?o().createElement(r.OuH,{description:"Sending OTP..."}):"Send OTP")):o().createElement(o().Fragment,null),"OTP_SENT"===m?o().createElement(o().Fragment,null,o().createElement(r.$nd,{kind:"primary",onClick:function(){return j((function(){var e,n;return Y(this,(function(r){switch(r.label){case 0:if(!s.trim())return g("error","Please enter the OTP code",""),[2];_(!0),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,(a={sessionId:h,otp:s,locationUuid:t.locationUuid},v((function(){var e,t;return b(this,(function(n){return e="".concat(x,"/client/validate-custom-otp"),t={sessionId:a.sessionId,otp:a.otp,locationUuid:a.locationUuid},[2,k(e,t)]}))}))())];case 2:return r.sent(),f("OTP_VERIFIED"),(0,T.showSnackbar)({kind:"success",title:"OTP Verified",subtitle:"You can now fetch data from Client Registry."}),[3,5];case 3:return e=r.sent(),n=e.message||"OTP verification failed",(0,T.showSnackbar)({kind:"error",title:"OTP Verification Failed",subtitle:n}),[3,5];case 4:return _(!1),[7];case 5:return[2]}var a}))}))()}},A?o().createElement(r.OuH,{description:"Verifying OTP..."}):"Verify")):o().createElement(o().Fragment,null),"OTP_VERIFIED"===m?o().createElement(o().Fragment,null,o().createElement(r.$nd,{kind:"primary",onClick:l},"Continue")):o().createElement(o().Fragment,null))))))};var U=n(86575),B={};B.styleTagTransform=y(),B.setAttributes=f(),B.insert=d().bind(null,"head"),B.domAPI=s(),B.insertStyleElement=A(),l()(U.A,B);const q=U.A&&U.A.locals?U.A.locals:void 0;function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=["id","other_identifications","first_name","middle_name","last_name","gender","date_of_birth","is_alive","deceased_datetime","phone","email","civil_status","place_of_birth","citizenship","country","county","sub_county","ward","village_estate","longitude","latitude","identification_type"];const J=function(e){var t=e.client,n=(0,a.useMemo)((function(){return e=t,n={},Object.keys(e).filter((function(e){return M.includes(e)})).forEach((function(t){if("other_identifications"===t){var r=(o=e[t],i={},o.forEach((function(e){i[e.identification_type]=e.identification_number})),i);n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){V(e,t,n[t])}))}return e}({},n,r)}else if("identification_type"===t)n[e.identification_type]=e.identification_number;else{var a=e[t];n[t]=a}var o,i})),n;var e,n}),[t]);return t&&n?o().createElement(o().Fragment,null,o().createElement(r.XIK,null,o().createElement(r.ndF,null,o().createElement(r.Hjg,null,o().createElement(r.A0N,null,"Field"),o().createElement(r.A0N,null,"Value"))),o().createElement(r.BFY,null,Object.keys(n).map((function(e){return o().createElement(r.Hjg,null,o().createElement(r.nA6,null,e),o().createElement(r.nA6,null,n[e]))}))))):o().createElement(o().Fragment,null,o().createElement("h4",null,"No patient Data to Display"))},W=function(){return o().createElement(o().Fragment,null,o().createElement(r.zWQ,{defaultSelected:"sha",legendText:"Patient",onChange:function(e){},name:"payment-options-radio-group"},o().createElement(r.aaP,{id:"sha",labelText:"Social Health Authority",value:"sha"}),o().createElement(r.aaP,{id:"insurance",labelText:"Other Insurance",value:"other"}),o().createElement(r.aaP,{id:"cash",labelText:"Cash",value:"cash"})))},$=function(e){var t=e.client,n=e.open,a=e.onModalClose;return e.onSubmit,t?o().createElement(o().Fragment,null,o().createElement(r.aFV,{open:n,size:"md",onSecondarySubmit:a,onRequestClose:a,onRequestSubmit:function(){window.open("https://afyayangu.go.ke/","_blank")},primaryButtonText:"Register on Afya Yangu",secondaryButtonText:"Cancel"},o().createElement(r.cwr,null,o().createElement("div",{className:q.clientDetailsLayout},o().createElement("div",{className:q.sectionHeader},o().createElement("h4",{className:q.sectionTitle},"Patient/Payment Details")),o().createElement("div",{className:q.sectionContent},o().createElement(r.tUM,null,o().createElement(r.wbY,{contained:!0},o().createElement(r.ozo,null,"Patient Details"),o().createElement(r.ozo,null,"Payment Details")),o().createElement(r.T2N,null,o().createElement(r.KpK,null,o().createElement(J,{client:t})),o().createElement(r.KpK,null,o().createElement(W,null))))),o().createElement("div",{className:q.actionSection},o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"primary"},"Book Appointment")),o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"secondary"},"Walk In Orders")),o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"tertiary"},"Send To Triage")),o().createElement("div",{className:q.btnContainer},o().createElement(r.$nd,{kind:"primary"},"Send To Consultation"))))))):o().createElement(o().Fragment,null,"No Client data")};var z=n(49244);function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}function G(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const X=function(){var e=G((0,a.useState)("National ID"),2),t=e[0],n=e[1],i=G((0,a.useState)(""),2),l=i[0],c=i[1],s=G((0,a.useState)(!1),2),u=s[0],d=s[1],m=G((0,a.useState)(),2),f=m[0],p=m[1],A=G((0,a.useState)("principal"),2),_=A[0],y=A[1],h=G((0,a.useState)(!1),2),w=h[0],E=h[1],v=G((0,a.useState)(!1),2),b=v[0],x=v[1],k=G((0,a.useState)(),2),N=k[0],I=k[1],P=(0,T.useSession)().sessionLocation.uuid,D=function(e,t,n){(0,T.showSnackbar)({kind:e,title:t,subtitle:n})};return o().createElement(o().Fragment,null,o().createElement("div",{className:g.registryLayout},o().createElement("div",{className:g.sideNavLayout},o().createElement(r.f8J,{isFixedNav:!0,expanded:!0,"aria-label":"Side navigation"},o().createElement(z.default,null))),o().createElement("div",{className:g.mainContent},o().createElement("div",{className:g.registryHeader},o().createElement("h4",null,"Client Registry"),o().createElement("p",null,"Please enter identification number to begin")),o().createElement("div",{className:g.registryContent},o().createElement("div",{className:g.formRow},o().createElement("div",{className:g.formControl},o().createElement(r.msM,{id:"identifier-type-dropdown",label:"Identifier Type",titleText:"Select Identifier Type",items:C,selectedItem:t,onChange:function(e){var t=e.selectedItem;return n(t)}})),o().createElement("div",{className:g.formControl},o().createElement(r.ksK,{id:"identifier-value",labelText:"".concat(t," Value"),value:l,onChange:function(e){return c(e.target.value)},placeholder:"Enter ".concat(t.toLowerCase()," value")})),o().createElement("div",{className:g.formControl},o().createElement(r.$nd,{kind:"primary",onClick:function(){return(e=function(){var e,n,r,a,o,i;return function(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}(this,(function(c){switch(c.label){case 0:d(!0),c.label=1;case 1:return c.trys.push([1,3,4,5]),function(e){return e.identificationNumber?e.identificationType?!!e.locationUuid||(D("error","No default location selected",""),!1):(D("error","Please enter a valid identification type",""),!1):(D("error","Please enter a valid identification number",""),!1)}(e={identificationNumber:l,identificationType:t,locationUuid:P})?(I(e),[4,S(e)]):[2,!1];case 2:if(n=c.sent(),0===(r=Array.isArray(n)?n:[]).length)throw new Error("No matching patient found in Client Registry.");return a=r[0],p(a),D("success","Client Data Loaded","Patient fetched successfully"),[3,5];case 3:return o=c.sent(),i=o.message||"Failed to fetch client data",D("error","Fetch Failed",i),[3,5];case 4:return d(!1),[7];case 5:return[2]}}))},function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Q(o,r,a,i,l,"next",e)}function l(e){Q(o,r,a,i,l,"throw",e)}i(void 0)}))})();var e},disabled:u},u?o().createElement(r.OuH,{description:"Searching..."}):"Search"))),f?o().createElement("div",{className:g.formRow},o().createElement("div",{className:g.hieData},o().createElement("div",{className:g.selectionHeader},o().createElement("h5",null,"Please select one patient and request patient to share the OTP sent")),o().createElement("div",{className:g.patientSelect},o().createElement("div",{className:g.patientSelectRadio},o().createElement(r.zWQ,{defaultSelected:"principal",legendText:"Patient",onChange:function(e){y(e)},name:"radio-button-default-group"},o().createElement(r.aaP,{id:"principal",labelText:"Principal",value:"principal"}),o().createElement(r.aaP,{id:"dependants",labelText:"Dependants",value:"dependants"}))),o().createElement("div",{className:g.patientConfirmSelection},o().createElement("div",{className:g.btnContainer},o().createElement(r.$nd,{kind:"primary",onClick:function(){E(!0)}}," ","Confirm")),o().createElement("div",{className:g.btnContainer},o().createElement(r.$nd,{kind:"secondary"},"Cancel")))),"principal"===_?o().createElement(o().Fragment,null,o().createElement(r.XIK,null,o().createElement(r.ndF,null,o().createElement(r.Hjg,null,o().createElement(r.A0N,null,"Name"),o().createElement(r.A0N,null,"CR"),o().createElement(r.A0N,null,"Phone No"),o().createElement(r.A0N,null,"ID No"))),o().createElement(r.BFY,null,o().createElement(r.Hjg,null,o().createElement(r.nA6,null,f.first_name," ",O(f.middle_name)," ",O(f.last_name)),o().createElement(r.nA6,null,F(f.id)),o().createElement(r.nA6,null,F(f.phone)),o().createElement(r.nA6,null,F(f.identification_number)))))):o().createElement(o().Fragment,null),"dependants"===_?o().createElement(o().Fragment,null,o().createElement(r.XIK,null,o().createElement(r.ndF,null,o().createElement(r.Hjg,null,o().createElement(r.A0N,null,"Name"),o().createElement(r.A0N,null,"CR"),o().createElement(r.A0N,null,"Relationship"))),o().createElement(r.BFY,null,f.dependants.map((function(e){var t=e.result[0],n=e.relationship;return o().createElement(o().Fragment,null,o().createElement(r.Hjg,null,o().createElement(r.nA6,null,t.first_name," ",O(t.middle_name)," ",O(t.last_name)),o().createElement(r.nA6,null,F(t.id)),o().createElement(r.nA6,null,n)))}))))):o().createElement(o().Fragment,null),w?o().createElement(L,{requestCustomOtpDto:N,phoneNumber:f.phone,open:w,onModalClose:function(){E(!1),x(!0)}}):o().createElement(o().Fragment,null),f&&b?o().createElement(o().Fragment,null,o().createElement($,{client:f,open:b,onModalClose:function(){x(!1)},onSubmit:function(){}})," "):o().createElement(o().Fragment,null))):o().createElement(o().Fragment,null)))))}},84497:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(72996),a=n.n(r),o=n(70159),i=n.n(o)()(a());i.push([e.id,".-esm-dha-workflow__otp-verification-modal__modalVerificationLayout___MST8n{display:flex;flex-direction:column;row-gap:10px;width:100%}.-esm-dha-workflow__otp-verification-modal__sectionHeader___g62oo{display:flex;flex-direction:column;column-gap:5px;margin-top:5px;margin-bottom:5px}","",{version:3,sources:["webpack://./src/registry/modal/otp-verification-modal/otp-verification-modal.scss"],names:[],mappings:"AAAA,4EACE,YAAA,CACA,qBAAA,CACA,YAAA,CACA,UAAA,CAEF,kEACE,YAAA,CACA,qBAAA,CACA,cAAA,CACA,cAAA,CACA,iBAAA",sourcesContent:[".modalVerificationLayout {\n display: flex;\n flex-direction: column;\n row-gap: 10px;\n width: 100%;\n}\n.sectionHeader{\n display: flex;\n flex-direction: column;\n column-gap: 5px;\n margin-top: 5px;\n margin-bottom: 5px;\n}"],sourceRoot:""}]),i.locals={modalVerificationLayout:"-esm-dha-workflow__otp-verification-modal__modalVerificationLayout___MST8n",sectionHeader:"-esm-dha-workflow__otp-verification-modal__sectionHeader___g62oo"};const l=i},85072:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],l=0;l<e.length;l++){var c=e[l],s=r.base?c[0]+r.base:c[0],u=o[s]||0,d="".concat(s," ").concat(u);o[s]=u+1;var m=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==m)t[m].references++,t[m].updater(f);else{var p=a(f,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:p,references:1})}i.push(d)}return i}function a(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var o=r(e=e||[],a=a||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var l=n(o[i]);t[l].references--}for(var c=r(e,a),s=0;s<o.length;s++){var u=n(o[s]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},86575:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(72996),a=n.n(r),o=n(70159),i=n.n(o)()(a());i.push([e.id,".-esm-dha-workflow__client-details-modal__clientDetailsLayout___r5WF\\+{display:flex;flex-direction:column;width:100%;row-gap:5px}.-esm-dha-workflow__client-details-modal__sectionHeader___lH-gL{display:flex;flex-direction:column;row-gap:5px;margin-top:5px;margin-bottom:10px}.-esm-dha-workflow__client-details-modal__sectionContent___QDFT7{display:flex;flex-direction:column;row-gap:5px}.-esm-dha-workflow__client-details-modal__actionSection___okVDp{display:flex;flex-direction:row;width:100%;column-gap:5px}.-esm-dha-workflow__client-details-modal__btnContainer___ETNEk{margin-top:2px;margin-bottom:2px}","",{version:3,sources:["webpack://./src/registry/modal/client-details-modal/client-details-modal.scss"],names:[],mappings:"AAAA,uEACI,YAAA,CACA,qBAAA,CACA,UAAA,CACA,WAAA,CAEJ,gEACI,YAAA,CACA,qBAAA,CACA,WAAA,CACA,cAAA,CACA,kBAAA,CAEJ,iEACI,YAAA,CACA,qBAAA,CACA,WAAA,CAEJ,gEACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA,CAEJ,+DACI,cAAA,CACA,iBAAA",sourcesContent:[".clientDetailsLayout{\n display: flex;\n flex-direction: column;\n width: 100%;\n row-gap: 5px;\n}\n.sectionHeader{\n display: flex;\n flex-direction: column;\n row-gap: 5px;\n margin-top: 5px;\n margin-bottom: 10px;\n}\n.sectionContent{\n display: flex;\n flex-direction: column;\n row-gap: 5px;\n}\n.actionSection{\n display: flex;\n flex-direction: row;\n width: 100%;\n column-gap: 5px;\n}\n.btnContainer{\n margin-top: 2px;\n margin-bottom: 2px;\n}"],sourceRoot:""}]),i.locals={clientDetailsLayout:"-esm-dha-workflow__client-details-modal__clientDetailsLayout___r5WF+",sectionHeader:"-esm-dha-workflow__client-details-modal__sectionHeader___lH-gL",sectionContent:"-esm-dha-workflow__client-details-modal__sectionContent___QDFT7",actionSection:"-esm-dha-workflow__client-details-modal__actionSection___okVDp",btnContainer:"-esm-dha-workflow__client-details-modal__btnContainer___ETNEk"};const l=i},97825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}}]);
package/dist/161.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"161.js","mappings":"+MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,24CAA44C,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,oDAAoD,MAAQ,GAAG,SAAW,8fAA8f,eAAiB,CAAC,woCAAwoC,WAAa,MAE/rGH,EAAwBI,OAAS,CAChC,eAAkB,gEAClB,cAAiB,+DACjB,YAAe,6DACf,eAAkB,gEAClB,gBAAmB,iEACnB,QAAW,yDACX,YAAe,6DACf,QAAW,yDACX,aAAgB,8DAChB,gBAAmB,iEACnB,cAAiB,+DACjB,mBAAsB,oEACtB,wBAA2B,0EAE5B,S,YCbAF,EAAOG,QANP,SAA4BC,GAC1B,IAAIC,EAAUC,SAASC,cAAc,SAGrC,OAFAH,EAAQI,cAAcH,EAASD,EAAQK,YACvCL,EAAQM,OAAOL,EAASD,EAAQA,SACzBC,CACT,C,YCKAL,EAAOG,QAVP,SAA2BQ,EAAKC,GAC9B,GAAIA,EAAaC,WACfD,EAAaC,WAAWC,QAAUH,MAC7B,CACL,KAAOC,EAAaG,YAClBH,EAAaI,YAAYJ,EAAaG,YAExCH,EAAaK,YAAYX,SAASY,eAAeP,GACnD,CACF,C,mFCYA,QApB0C,WACxC,OACE,oCACE,kBAACQ,EAAAA,IAAeA,CAAClB,GAAG,IAAImB,KAAK,qBAAoB,aAGjD,kBAACD,EAAAA,IAAeA,CAAClB,GAAG,IAAImB,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,CACL2R,OAAQ,WAAmB,EAC3BE,OAAQ,WAAmB,GAG/B,IAAIvR,EAAeR,EAAQgG,mBAAmBhG,GAC9C,MAAO,CACL6R,OAAQ,SAAgBX,IAjD5B,SAAe1Q,EAAcR,EAASkR,GACpC,IAAI3Q,EAAM,GACN2Q,EAAIG,WACN9Q,GAAO,cAAcmB,OAAOwP,EAAIG,SAAU,QAExCH,EAAIC,QACN5Q,GAAO,UAAUmB,OAAOwP,EAAIC,MAAO,OAErC,IAAIkB,OAAiC,IAAdnB,EAAII,MACvBe,IACF9R,GAAO,SAASmB,OAAOwP,EAAII,MAAMrP,OAAS,EAAI,IAAIP,OAAOwP,EAAII,OAAS,GAAI,OAE5E/Q,GAAO2Q,EAAI3Q,IACP8R,IACF9R,GAAO,KAEL2Q,EAAIC,QACN5Q,GAAO,KAEL2Q,EAAIG,WACN9Q,GAAO,KAET,IAAI6Q,EAAYF,EAAIE,UAChBA,GAA6B,oBAAT9M,OACtB/D,GAAO,uDAAuDmB,OAAO4C,KAAKE,SAASC,mBAAmBC,KAAKC,UAAUyM,MAAe,QAKtIpR,EAAQ8F,kBAAkBvF,EAAKC,EAAcR,EAAQA,QACvD,CAoBMsS,CAAM9R,EAAcR,EAASkR,EAC/B,EACAa,OAAQ,YArBZ,SAA4BvR,GAE1B,GAAgC,OAA5BA,EAAa+R,WACf,OAAO,EAET/R,EAAa+R,WAAW3R,YAAYJ,EACtC,CAgBMgS,CAAmBhS,EACrB,EAEJ,C","sources":["webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.component.scss","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@ampath/esm-dha-workflow-app/./src/side-nav-menu/nav-links.tsx","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.component.scss?85af","webpack://@ampath/esm-dha-workflow-app/./src/registry/types/index.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.resource.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/otp-verification-modal/otp-verification-modal.scss?a063","webpack://@ampath/esm-dha-workflow-app/./src/registry/utils/mask-data.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/otp-verification-modal/otp-verification-modal.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/client-details-modal/client-details-modal.scss?6725","webpack://@ampath/esm-dha-workflow-app/./src/registry/utils/hie-adapter.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/client-details/client-details.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/payment-details/payment-options/payment-options.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/client-details-modal/client-details-modal.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.component.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/otp-verification-modal/otp-verification-modal.scss","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/client-details-modal/client-details-modal.scss","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleDomAPI.js"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","exports","options","element","document","createElement","setAttributes","attributes","insert","css","styleElement","styleSheet","cssText","firstChild","removeChild","appendChild","createTextNode","SideNavMenuItem","href","nonce","setAttribute","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_arrayLikeToArray","arr","len","arr2","Array","_item","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","styleTagTransform","domAPI","insertStyleElement","undefined","IDENTIFIER_TYPES","HIE_BASE_URL","postJson","url","payload","response","errorText","fetch","method","headers","body","ok","text","status","json","fetchClientRegistryData","formattedPayload","identificationNumber","identificationType","locationUuid","maskValue","arrValue","split","maskExceptFirstAndLast","requestCustomOtpDto","phoneNumber","open","onModalClose","useState","otp","setOtp","otpStatus","setOtpStatus","loading","setLoading","sessionId","setSessionId","showAlert","alertType","title","subtitle","showSnackbar","kind","Modal","size","onSecondarySubmit","onRequestClose","onRequestSubmit","primaryButtonText","secondaryButtonText","ModalBody","div","className","styles","modalVerificationLayout","sectionHeader","h4","sectionTitle","h6","sectionContent","contentHeader","TextInput","labelText","onChange","placeholder","sectionAction","Button","onClick","errorMessage","maskedPhone","message","InlineLoading","description","trim","clientDatailsFields","client","clientDetails","useMemo","hieClient","keys","filter","key","includes","forEach","otherIds","hieIdentifications","other","identification_type","identification_number","Table","TableHead","TableRow","TableHeader","TableBody","TableCell","RadioButtonGroup","defaultSelected","legendText","v","RadioButton","onSubmit","clientDetailsLayout","Tabs","TabList","contained","Tab","TabPanels","TabPanel","ClientDetails","PaymentOptionsComponent","actionSection","btnContainer","identifierType","setIdentifierType","identifierValue","setIdentifierValue","setClient","selectedPatient","setSelectedPatient","displayOtpModal","setDisplayOtpModal","displayClientDetailsModal","setDisplayClientDetailsModal","setRequestCustomOtpDto","useSession","sessionLocation","uuid","registryLayout","sideNavLayout","SideNav","isFixedNav","expanded","aria-label","NavLinks","mainContent","registryHeader","p","registryContent","formRow","formControl","Dropdown","label","titleText","items","selectedItem","toLowerCase","result","patients","patient","isValidCustomSmsPayload","disabled","hieData","selectionHeader","h5","patientSelect","patientSelectRadio","patientConfirmSelection","first_name","middle_name","last_name","phone","dependants","d","dependant","relationship","OtpVerificationModal","ClientDetailsModal","stylesInDOM","getIndexByIdentifier","identifier","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","media","sourceMap","supports","layer","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_index","needLayer","apply","parentNode","removeStyleElement"],"sourceRoot":""}
1
+ {"version":3,"file":"161.js","mappings":"+MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,24CAA44C,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,oDAAoD,MAAQ,GAAG,SAAW,8fAA8f,eAAiB,CAAC,woCAAwoC,WAAa,MAE/rGH,EAAwBI,OAAS,CAChC,eAAkB,gEAClB,cAAiB,+DACjB,YAAe,6DACf,eAAkB,gEAClB,gBAAmB,iEACnB,QAAW,yDACX,YAAe,6DACf,QAAW,yDACX,aAAgB,8DAChB,gBAAmB,iEACnB,cAAiB,+DACjB,mBAAsB,oEACtB,wBAA2B,0EAE5B,S,YCbAF,EAAOG,QANP,SAA4BC,GAC1B,IAAIC,EAAUC,SAASC,cAAc,SAGrC,OAFAH,EAAQI,cAAcH,EAASD,EAAQK,YACvCL,EAAQM,OAAOL,EAASD,EAAQA,SACzBC,CACT,C,YCKAL,EAAOG,QAVP,SAA2BQ,EAAKC,GAC9B,GAAIA,EAAaC,WACfD,EAAaC,WAAWC,QAAUH,MAC7B,CACL,KAAOC,EAAaG,YAClBH,EAAaI,YAAYJ,EAAaG,YAExCH,EAAaK,YAAYX,SAASY,eAAeP,GACnD,CACF,C,mFCYA,QApB0C,WACxC,OACE,oCACE,kBAACQ,EAAAA,IAAeA,CAAClB,GA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gB,iEAEjB,S,YC8CAF,EAAOG,QAjBP,SAAgBC,GACd,GAAwB,oBAAbE,SACT,MAAO,CACL2R,OAAQ,WAAmB,EAC3BE,OAAQ,WAAmB,GAG/B,IAAIvR,EAAeR,EAAQgG,mBAAmBhG,GAC9C,MAAO,CACL6R,OAAQ,SAAgBX,IAjD5B,SAAe1Q,EAAcR,EAASkR,GACpC,IAAI3Q,EAAM,GACN2Q,EAAIG,WACN9Q,GAAO,cAAcmB,OAAOwP,EAAIG,SAAU,QAExCH,EAAIC,QACN5Q,GAAO,UAAUmB,OAAOwP,EAAIC,MAAO,OAErC,IAAIkB,OAAiC,IAAdnB,EAAII,MACvBe,IACF9R,GAAO,SAASmB,OAAOwP,EAAII,MAAMrP,OAAS,EAAI,IAAIP,OAAOwP,EAAII,OAAS,GAAI,OAE5E/Q,GAAO2Q,EAAI3Q,IACP8R,IACF9R,GAAO,KAEL2Q,EAAIC,QACN5Q,GAAO,KAEL2Q,EAAIG,WACN9Q,GAAO,KAET,IAAI6Q,EAAYF,EAAIE,UAChBA,GAA6B,oBAAT9M,OACtB/D,GAAO,uDAAuDmB,OAAO4C,KAAKE,SAASC,mBAAmBC,KAAKC,UAAUyM,MAAe,QAKtIpR,EAAQ8F,kBAAkBvF,EAAKC,EAAcR,EAAQA,QACvD,CAoBMsS,CAAM9R,EAAcR,EAASkR,EAC/B,EACAa,OAAQ,YArBZ,SAA4BvR,GAE1B,GAAgC,OAA5BA,EAAa+R,WACf,OAAO,EAET/R,EAAa+R,WAAW3R,YAAYJ,EACtC,CAgBMgS,CAAmBhS,EACrB,EAEJ,C","sources":["webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.component.scss","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@ampath/esm-dha-workflow-app/./src/side-nav-menu/nav-links.tsx","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.component.scss?85af","webpack://@ampath/esm-dha-workflow-app/./src/registry/types/index.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.resource.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/otp-verification-modal/otp-verification-modal.scss?a063","webpack://@ampath/esm-dha-workflow-app/./src/registry/utils/mask-data.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/otp-verification-modal/otp-verification-modal.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/client-details-modal/client-details-modal.scss?6725","webpack://@ampath/esm-dha-workflow-app/./src/registry/utils/hie-adapter.ts","webpack://@ampath/esm-dha-workflow-app/./src/registry/client-details/client-details.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/payment-details/payment-options/payment-options.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/client-details-modal/client-details-modal.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/registry.component.tsx","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/otp-verification-modal/otp-verification-modal.scss","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@ampath/esm-dha-workflow-app/./src/registry/modal/client-details-modal/client-details-modal.scss","webpack://@ampath/esm-dha-workflow-app/./node_modules/style-loader/dist/runtime/styleDomAPI.js"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","exports","options","element","document","createElement","setAttributes","attributes","insert","css","styleElement","styleSheet","cssText","firstChild","removeChild","appendChild","createTextNode","SideNavMenuItem","href","nonce","setAttribute","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_arrayLikeToArray","arr","len","arr2","Array","_item","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","memo","style","target","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","e","getTarget","Error","styleTagTransform","domAPI","insertStyleElement","undefined","IDENTIFIER_TYPES","HIE_BASE_URL","postJson","url","payload","response","errorText","fetch","method","headers","body","ok","text","status","json","fetchClientRegistryData","formattedPayload","identificationNumber","identificationType","locationUuid","maskValue","arrValue","split","maskExceptFirstAndLast","requestCustomOtpDto","phoneNumber","open","onModalClose","useState","otp","setOtp","otpStatus","setOtpStatus","loading","setLoading","sessionId","setSessionId","showAlert","alertType","title","subtitle","showSnackbar","kind","Modal","size","onSecondarySubmit","onRequestClose","onRequestSubmit","primaryButtonText","secondaryButtonText","ModalBody","div","className","styles","modalVerificationLayout","sectionHeader","h4","sectionTitle","h6","sectionContent","contentHeader","TextInput","labelText","onChange","placeholder","sectionAction","Button","onClick","errorMessage","maskedPhone","message","InlineLoading","description","trim","clientDatailsFields","client","clientDetails","useMemo","hieClient","keys","filter","key","includes","forEach","otherIds","hieIdentifications","other","identification_type","identification_number","Table","TableHead","TableRow","TableHeader","TableBody","TableCell","RadioButtonGroup","defaultSelected","legendText","v","RadioButton","onSubmit","clientDetailsLayout","Tabs","TabList","contained","Tab","TabPanels","TabPanel","ClientDetails","PaymentOptionsComponent","actionSection","btnContainer","identifierType","setIdentifierType","identifierValue","setIdentifierValue","setClient","selectedPatient","setSelectedPatient","displayOtpModal","setDisplayOtpModal","displayClientDetailsModal","setDisplayClientDetailsModal","setRequestCustomOtpDto","useSession","sessionLocation","uuid","registryLayout","sideNavLayout","SideNav","isFixedNav","expanded","aria-label","NavLinks","mainContent","registryHeader","p","registryContent","formRow","formControl","Dropdown","label","titleText","items","selectedItem","toLowerCase","result","patients","patient","isValidCustomSmsPayload","disabled","hieData","selectionHeader","h5","patientSelect","patientSelectRadio","patientConfirmSelection","first_name","middle_name","last_name","phone","dependants","d","dependant","relationship","OtpVerificationModal","ClientDetailsModal","stylesInDOM","getIndexByIdentifier","identifier","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","media","sourceMap","supports","layer","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_index","needLayer","apply","parentNode","removeStyleElement"],"sourceRoot":""}
package/dist/244.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[]).push([[244],{49244:(e,r,t)=>{t.r(r),t.d(r,{default:()=>a});var l=t(26802),o=t(16072),n=t.n(o);const a=function(){return n().createElement(n().Fragment,null,n().createElement(l.ldn,{id:"1",href:"workflow/registry"},"Dashboard"),n().createElement(l.ldn,{id:"2",href:"workflow/registry"},"Registration"),n().createElement(l.ldn,{href:"workflow/registry"},"Appointments"),n().createElement(l.ldn,{href:"workflow/registry"},"Triage"),n().createElement(l.ldn,{href:"workflow/registry"},"workflow"),n().createElement(l.ldn,{href:"workflow/registry"},"Laboratory"),n().createElement(l.ldn,{href:"workflow/registry"},"Bookings"),n().createElement(l.ldn,{href:"workflow/registry"},"Reports"),n().createElement(l.ldn,{href:"workflow/registry"},"Registers"))}}}]);
1
+ "use strict";(globalThis.webpackChunk_ampath_esm_dha_workflow_app=globalThis.webpackChunk_ampath_esm_dha_workflow_app||[]).push([[244],{49244:(e,r,t)=>{t.r(r),t.d(r,{default:()=>a});var l=t(26802),o=t(16072),n=t.n(o);const a=function(){return n().createElement(n().Fragment,null,n().createElement(l.ldn,{id:"1",href:"workflow/registry"},"Dashboard"),n().createElement(l.ldn,{id:"2",href:"workflow/registry"},"Registration"),n().createElement(l.ldn,{href:"workflow/registry"},"Appointments"),n().createElement(l.ldn,{href:"workflow/registry"},"Triage"),n().createElement(l.ldn,{href:"workflow/registry"},"Consultation"),n().createElement(l.ldn,{href:"workflow/registry"},"Laboratory"),n().createElement(l.ldn,{href:"workflow/registry"},"Bookings"),n().createElement(l.ldn,{href:"workflow/registry"},"Reports"),n().createElement(l.ldn,{href:"workflow/registry"},"Registers"))}}}]);
package/dist/244.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"244.js","mappings":"yNAwBA,QApB0C,WACxC,OACE,oCACE,kBAACA,EAAAA,IAAeA,CAACC,GAAG,IAAIC,KAAK,qBAAoB,aAGjD,kBAACF,EAAAA,IAAeA,CAACC,GAAG,IAAIC,KAAK,qBAAoB,gBAGjD,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,gBAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,UAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,YAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,cAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,YAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,WAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,aAGhD,C","sources":["webpack://@ampath/esm-dha-workflow-app/./src/side-nav-menu/nav-links.tsx"],"names":["SideNavMenuItem","id","href"],"sourceRoot":""}
1
+ {"version":3,"file":"244.js","mappings":"yNAwBA,QApB0C,WACxC,OACE,oCACE,kBAACA,EAAAA,IAAeA,CAACC,GAAG,IAAIC,KAAK,qBAAoB,aAGjD,kBAACF,EAAAA,IAAeA,CAACC,GAAG,IAAIC,KAAK,qBAAoB,gBAGjD,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,gBAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,UAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,gBAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,cAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,YAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,WAC1C,kBAACF,EAAAA,IAAeA,CAACE,KAAK,qBAAoB,aAGhD,C","sources":["webpack://@ampath/esm-dha-workflow-app/./src/side-nav-menu/nav-links.tsx"],"names":["SideNavMenuItem","id","href"],"sourceRoot":""}
@@ -136,9 +136,9 @@
136
136
  "entry": false,
137
137
  "recorded": false,
138
138
  "reason": "reused as split chunk (cache group: default)",
139
- "size": 72473,
139
+ "size": 72477,
140
140
  "sizes": {
141
- "javascript": 72473
141
+ "javascript": 72477
142
142
  },
143
143
  "names": [],
144
144
  "idHints": [],
@@ -152,7 +152,7 @@
152
152
  "auxiliaryFiles": [
153
153
  "161.js.map"
154
154
  ],
155
- "hash": "3fad28dfbeac8c0e",
155
+ "hash": "60907ee7698881a8",
156
156
  "childrenByOrder": {}
157
157
  },
158
158
  {
@@ -236,9 +236,9 @@
236
236
  "initial": false,
237
237
  "entry": false,
238
238
  "recorded": false,
239
- "size": 1206,
239
+ "size": 1210,
240
240
  "sizes": {
241
- "javascript": 1206
241
+ "javascript": 1210
242
242
  },
243
243
  "names": [],
244
244
  "idHints": [],
@@ -252,7 +252,7 @@
252
252
  "auxiliaryFiles": [
253
253
  "244.js.map"
254
254
  ],
255
- "hash": "bc8952e9c5f2b31f",
255
+ "hash": "2e7130f530eae00d",
256
256
  "childrenByOrder": {}
257
257
  },
258
258
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{},"pages":[{"component":"root","route":"workflow","online":true,"offline":true}],"extensions":[{"component":"workflowRegistryLink","name":"workflow-registry-link","slot":"app-menu-slot","online":true,"offline":true},{"component":"navLinks","name":"side-nav-workflow-link","slot":"global-nav-menu-slot","online":true,"offline":true}],"version":"4.0.0-next.6"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{},"pages":[{"component":"root","route":"workflow","online":true,"offline":true}],"extensions":[{"component":"workflowRegistryLink","name":"workflow-registry-link","slot":"app-menu-slot","online":true,"offline":true}],"version":"4.0.0-next.8"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampath/esm-dha-workflow-app",
3
- "version": "4.0.0-next.6",
3
+ "version": "4.0.0-next.8",
4
4
  "license": "MPL-2.0",
5
5
  "description": "An OpenMRS seed application for building microfrontends",
6
6
  "browser": "dist/openmrs-esm-home-app.js",
package/src/routes.json CHANGED
@@ -16,13 +16,6 @@
16
16
  "slot": "app-menu-slot",
17
17
  "online": true,
18
18
  "offline": true
19
- },
20
- {
21
- "component": "navLinks",
22
- "name": "side-nav-workflow-link",
23
- "slot": "global-nav-menu-slot",
24
- "online": true,
25
- "offline": true
26
19
  }
27
20
  ]
28
21
  }
@@ -13,7 +13,7 @@ const NavLinks: React.FC<NavLinksProps> = () => {
13
13
  </SideNavMenuItem>
14
14
  <SideNavMenuItem href="workflow/registry">Appointments</SideNavMenuItem>
15
15
  <SideNavMenuItem href="workflow/registry">Triage</SideNavMenuItem>
16
- <SideNavMenuItem href="workflow/registry">workflow</SideNavMenuItem>
16
+ <SideNavMenuItem href="workflow/registry">Consultation</SideNavMenuItem>
17
17
  <SideNavMenuItem href="workflow/registry">Laboratory</SideNavMenuItem>
18
18
  <SideNavMenuItem href="workflow/registry">Bookings</SideNavMenuItem>
19
19
  <SideNavMenuItem href="workflow/registry">Reports</SideNavMenuItem>