@openmrs/esm-app-shell 5.2.1-pre.1102 → 5.2.1-pre.1109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +98 -99
- package/dist/498a8af91d44612e.js +1 -0
- package/dist/498a8af91d44612e.js.map +1 -0
- package/dist/f56c6ced9e1dbcb9.js +1 -0
- package/dist/f56c6ced9e1dbcb9.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/openmrs.23f21c933783722f.js +2 -0
- package/dist/openmrs.23f21c933783722f.js.map +1 -0
- package/dist/service-worker.js +1 -1
- package/lib/57bf7b27114b3f54.js +392 -0
- package/lib/{61aaa345d60b0076.js → d1bc222dead1af78.js} +1 -1
- package/lib/esm-devtools-app/889.js +1 -1
- package/lib/esm-devtools-app/889.js.map +1 -1
- package/lib/esm-devtools-app/main.js +1 -1
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.js +1 -1
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.buildmanifest.json +5 -5
- package/lib/esm-devtools-app/routes.json +1 -1
- package/lib/esm-login-app/111.js +1 -1
- package/lib/esm-login-app/126.js +1 -1
- package/lib/esm-login-app/173.js +1 -1
- package/lib/esm-login-app/337.js +1 -1
- package/lib/esm-login-app/342.js +1 -1
- package/lib/esm-login-app/342.js.map +1 -1
- package/lib/esm-login-app/829.js +1 -1
- package/lib/esm-login-app/829.js.map +1 -1
- package/lib/esm-login-app/889.js +1 -1
- package/lib/esm-login-app/889.js.map +1 -1
- package/lib/esm-login-app/main.js +1 -1
- package/lib/esm-login-app/main.js.map +1 -1
- package/lib/esm-login-app/openmrs-esm-login-app.js +1 -1
- package/lib/esm-login-app/openmrs-esm-login-app.js.buildmanifest.json +34 -34
- package/lib/esm-login-app/openmrs-esm-login-app.js.map +1 -1
- package/lib/esm-login-app/routes.json +1 -1
- package/lib/esm-offline-tools-app/202.js +1 -1
- package/lib/esm-offline-tools-app/224.js +1 -1
- package/lib/esm-offline-tools-app/319.js +1 -1
- package/lib/esm-offline-tools-app/460.js +1 -1
- package/lib/esm-offline-tools-app/501.js +1 -1
- package/lib/esm-offline-tools-app/501.js.map +1 -1
- package/lib/esm-offline-tools-app/526.js +1 -1
- package/lib/esm-offline-tools-app/526.js.map +1 -1
- package/lib/esm-offline-tools-app/574.js +1 -1
- package/lib/esm-offline-tools-app/625.js +1 -1
- package/lib/esm-offline-tools-app/757.js +1 -1
- package/lib/esm-offline-tools-app/807.js +1 -1
- package/lib/esm-offline-tools-app/833.js +1 -1
- package/lib/esm-offline-tools-app/889.js +1 -1
- package/lib/esm-offline-tools-app/889.js.map +1 -1
- package/lib/esm-offline-tools-app/main.js +1 -1
- package/lib/esm-offline-tools-app/main.js.map +1 -1
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js +1 -1
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.buildmanifest.json +39 -39
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.map +1 -1
- package/lib/esm-offline-tools-app/routes.json +1 -1
- package/lib/esm-primary-navigation-app/889.js +1 -1
- package/lib/esm-primary-navigation-app/889.js.map +1 -1
- package/lib/esm-primary-navigation-app/main.js +1 -1
- package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js +1 -1
- package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json +5 -5
- package/lib/esm-primary-navigation-app/routes.json +1 -1
- package/lib/index.html +3 -3
- package/lib/openmrs.js +9 -9
- package/lib/service-worker.js +1 -1
- package/package.json +4 -5
- package/src/index.ejs +1 -1
- package/src/locale.ts +0 -2
- package/dist/5df6e9c31425ce80.js +0 -1
- package/dist/5df6e9c31425ce80.js.map +0 -1
- package/dist/6738bea79c65fe1d.js +0 -1
- package/dist/6738bea79c65fe1d.js.map +0 -1
- package/dist/openmrs.03a7c6d645d21f7c.js +0 -2
- package/dist/openmrs.03a7c6d645d21f7c.js.map +0 -1
- package/lib/910837678b95bca5.js +0 -582
- package/lib/esm-implementer-tools-app/220.js +0 -1
- package/lib/esm-implementer-tools-app/220.js.map +0 -1
- package/lib/esm-implementer-tools-app/246.js +0 -1
- package/lib/esm-implementer-tools-app/246.js.map +0 -1
- package/lib/esm-implementer-tools-app/263.js +0 -1
- package/lib/esm-implementer-tools-app/263.js.map +0 -1
- package/lib/esm-implementer-tools-app/319.js +0 -1
- package/lib/esm-implementer-tools-app/329.js +0 -2
- package/lib/esm-implementer-tools-app/329.js.LICENSE.txt +0 -9
- package/lib/esm-implementer-tools-app/329.js.map +0 -1
- package/lib/esm-implementer-tools-app/375.js +0 -1
- package/lib/esm-implementer-tools-app/375.js.map +0 -1
- package/lib/esm-implementer-tools-app/426.js +0 -1
- package/lib/esm-implementer-tools-app/426.js.map +0 -1
- package/lib/esm-implementer-tools-app/460.js +0 -1
- package/lib/esm-implementer-tools-app/466.js +0 -1
- package/lib/esm-implementer-tools-app/466.js.map +0 -1
- package/lib/esm-implementer-tools-app/499.js +0 -1
- package/lib/esm-implementer-tools-app/499.js.map +0 -1
- package/lib/esm-implementer-tools-app/500.js +0 -1
- package/lib/esm-implementer-tools-app/500.js.map +0 -1
- package/lib/esm-implementer-tools-app/519.js +0 -1
- package/lib/esm-implementer-tools-app/519.js.map +0 -1
- package/lib/esm-implementer-tools-app/56.js +0 -1
- package/lib/esm-implementer-tools-app/56.js.map +0 -1
- package/lib/esm-implementer-tools-app/574.js +0 -1
- package/lib/esm-implementer-tools-app/575.js +0 -1
- package/lib/esm-implementer-tools-app/575.js.map +0 -1
- package/lib/esm-implementer-tools-app/587.js +0 -1
- package/lib/esm-implementer-tools-app/587.js.map +0 -1
- package/lib/esm-implementer-tools-app/620.js +0 -2
- package/lib/esm-implementer-tools-app/620.js.LICENSE.txt +0 -38
- package/lib/esm-implementer-tools-app/620.js.map +0 -1
- package/lib/esm-implementer-tools-app/625.js +0 -1
- package/lib/esm-implementer-tools-app/657.js +0 -1
- package/lib/esm-implementer-tools-app/735.js +0 -2
- package/lib/esm-implementer-tools-app/735.js.LICENSE.txt +0 -9
- package/lib/esm-implementer-tools-app/735.js.map +0 -1
- package/lib/esm-implementer-tools-app/757.js +0 -1
- package/lib/esm-implementer-tools-app/788.js +0 -2
- package/lib/esm-implementer-tools-app/788.js.LICENSE.txt +0 -19
- package/lib/esm-implementer-tools-app/788.js.map +0 -1
- package/lib/esm-implementer-tools-app/807.js +0 -1
- package/lib/esm-implementer-tools-app/807.js.map +0 -1
- package/lib/esm-implementer-tools-app/833.js +0 -1
- package/lib/esm-implementer-tools-app/837.js +0 -2
- package/lib/esm-implementer-tools-app/837.js.LICENSE.txt +0 -5
- package/lib/esm-implementer-tools-app/837.js.map +0 -1
- package/lib/esm-implementer-tools-app/889.js +0 -2
- package/lib/esm-implementer-tools-app/889.js.LICENSE.txt +0 -3
- package/lib/esm-implementer-tools-app/889.js.map +0 -1
- package/lib/esm-implementer-tools-app/main.js +0 -1
- package/lib/esm-implementer-tools-app/main.js.map +0 -1
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js +0 -1
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.buildmanifest.json +0 -762
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.map +0 -1
- package/lib/esm-implementer-tools-app/routes.json +0 -1
- /package/dist/{openmrs.03a7c6d645d21f7c.js.LICENSE.txt → openmrs.23f21c933783722f.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e,r,t={8412:(e,r,t)=>{"use strict";t.d(r,{A_:()=>s,I0:()=>c,Ul:()=>p,jO:()=>d});var n=t(8478),o=t(1217);function i(e,r,t,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void t(e)}u.done?r(s):Promise.resolve(s).then(n,o)}function a(e){return function(){var r=this,t=arguments;return new Promise((function(n,o){var a=e.apply(r,t);function u(e){i(a,n,o,u,s,"next",e)}function s(e){i(a,n,o,u,s,"throw",e)}u(void 0)}))}}function u(e,r){var t,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=r.call(e,a)}catch(e){i=[6,e],n=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function s(e,r,t){return l.apply(this,arguments)}function l(){return(l=a((function(e,r,t){return u(this,(function(o){switch(o.label){case 0:return[4,(0,n.openmrsFetch)("/ws/rest/v1/user/".concat(e),{method:"POST",body:{userProperties:r},headers:{"Content-Type":"application/json"},signal:t.signal})];case 1:return o.sent(),window.location.reload(),[2]}}))}))).apply(this,arguments)}function c(e,r){return f.apply(this,arguments)}function f(){return(f=a((function(e,r){return u(this,(function(t){switch(t.label){case 0:return[4,(0,n.queueSynchronizationItemFor)(e,o.O,r,{displayName:"User Language Change"})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}function p(e,r){return h.apply(this,arguments)}function h(){return(h=a((function(e,r){return u(this,(function(t){switch(t.label){case 0:return[4,(0,n.openmrsFetch)("/ws/rest/v1/session",{method:"POST",body:{locale:e},headers:{"Content-Type":"application/json"},signal:r.signal})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}function d(e,r){return m.apply(this,arguments)}function m(){return(m=a((function(e,r){return u(this,(function(e){return[2]}))}))).apply(this,arguments)}},6639:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>u,genericLinkConfigSchema:()=>a});var n=t(5776),o=t.n(n),i=t(4610),a={title:{_default:"New Link",_type:i.Type.String},target:{_default:"#",_type:i.Type.String,_description:"The URL to link to.",_validators:[i.validators.isUrl]}};function u(){var e=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:e.target},e.title)}},1217:(e,r,t)=>{"use strict";t.d(r,{O:()=>n,e:()=>o});var n="user-property-change",o="@openmrs/esm-primary-navigation-app"},5948:(e,r,t)=>{"use strict";var n=t(4610),o=t(5875),i=(n.Type.String,n.validators.isUrl,n.Type.String,n.Type.String,n.Type.String,n.Type.Array,n.Type.String,n.Type.String,n.validators.isUrl,t(1217));function a(e,r,t,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void t(e)}u.done?r(s):Promise.resolve(s).then(n,o)}function u(e){return function(){var r=this,t=arguments;return new Promise((function(n,o){var i=e.apply(r,t);function u(e){a(i,n,o,u,s,"next",e)}function s(e){a(i,n,o,u,s,"throw",e)}u(void 0)}))}}function s(e,r){var t,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=r.call(e,a)}catch(e){i=[6,e],n=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}t(8478),t(8412),t(6639),t(3979);var l={featureName:"primary navigation",moduleName:i.e};(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(953),t.e(575),t.e(674),t.e(680),t.e(241)]).then(t.bind(t,6241))}),l),u((function(){return s(this,(function(e){return[2,{bootstrap:u((function(){return s(this,(function(e){switch(e.label){case 0:return[4,(0,o.navigateToUrl)(window.getOpenmrsSpaBase()+"home")];case 1:return[2,e.sent()]}}))})),mount:u((function(){return s(this,(function(e){return[2,void 0]}))})),unmount:u((function(){return s(this,(function(e){return[2,void 0]}))}))}]}))})),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(953),t.e(575),t.e(716)]).then(t.bind(t,9716))}),l),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(953),t.e(680),t.e(743)]).then(t.bind(t,2743))}),l),(0,n.getAsyncLifecycle)((function(){return Promise.resolve().then(t.bind(t,6639))}),{featureName:"Link",moduleName:i.e})},3979:(e,r,t)=>{var n={"./am.json":[8788,625],"./ar.json":[4460,460],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./km.json":[7807,807]};function o(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],o=r[0];return t.e(r[1]).then((()=>t(o)))}o.keys=()=>Object.keys(n),o.id=3979,e.exports=o}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e](i,i.exports,o),i.loaded=!0,i.exports}o.m=t,o.c=n,o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>e+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-primary-navigation-app:",o.l=(t,n,i,a)=>{if(e[t])e[t].push(n);else{var u,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var f=l[c];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+i){u=f;break}}u||(s=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.setAttribute("data-webpack",r+i),u.src=t),e[t]=[n];var p=(r,n)=>{u.onerror=u.onload=null,clearTimeout(h);var o=e[t];if(delete e[t],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((e=>e(n))),r)return r(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),s&&document.head.appendChild(u)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{o.S={};var e={},r={};o.I=(t,n)=>{n||(n=[]);var i=r[t];if(i||(i=r[t]={}),!(n.indexOf(i)>=0)){if(n.push(i),e[t])return e[t];o.o(o.S,t)||(o.S[t]={});var a=o.S[t],u="@openmrs/esm-primary-navigation-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},i=o[r];(!i||!i.loaded&&(!n!=!i.eager?n:u>i.from))&&(o[r]={get:t,from:u,eager:!!n})},l=[];return"default"===t&&(s("@openmrs/esm-framework/src/internal","5.2.1-pre.1102",(()=>Promise.all([o.e(776),o.e(889)]).then((()=>()=>o(4889))))),s("react-dom","18.2.0",(()=>Promise.all([o.e(788),o.e(776)]).then((()=>()=>o(2788))))),s("react-i18next","11.18.6",(()=>Promise.all([o.e(263),o.e(776)]).then((()=>()=>o(8263))))),s("react-router-dom","6.4.2",(()=>Promise.all([o.e(63),o.e(776)]).then((()=>()=>o(7063))))),s("react","18.2.0",(()=>o.e(735).then((()=>()=>o(2735))))),s("single-spa","5.9.4",(()=>o.e(710).then((()=>()=>o(3710)))))),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var r=o.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e=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},r=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,n+="u"==(typeof(u=e[i]))[0]?"-":(o>0?".":"")+(o=2,u);return n}var a=[];for(i=1;i<e.length;i++){var u=e[i];a.push(0===u?"not("+s()+")":1===u?"("+s()+" || "+s()+")":2===u?a.pop()+" "+a.pop():r(u))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var o=r[0],i=o<0;i&&(o=-o-1);for(var a=0,u=1,s=!0;;u++,a++){var l,c,f=u<r.length?(typeof r[u])[0]:"";if(a>=n.length||"o"==(c=(typeof(l=n[a]))[0]))return!s||("u"==f?u>o&&!i:""==f!=i);if("u"==c){if(!s||"u"!=f)return!1}else if(s)if(f==c)if(u<=o){if(l!=r[u])return!1}else{if(i?l>r[u]:l<r[u])return!1;l!=r[u]&&(s=!1)}else if("s"!=f&&"n"!=f){if(i||u<=o)return!1;s=!1,u--}else{if(u<=o||c<f!=i)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,u--)}}var p=[],h=p.pop.bind(p);for(a=1;a<r.length;a++){var d=r[a];p.push(1==d?h()|h():2==d?h()&h():d?t(d,n):!h())}return!!h()},n=(r,t)=>{var n=r[t];return Object.keys(n).reduce(((r,t)=>!r||!n[r].loaded&&((r,t)=>{r=e(r),t=e(t);for(var n=0;;){if(n>=r.length)return n<t.length&&"u"!=(typeof t[n])[0];var o=r[n],i=(typeof o)[0];if(n>=t.length)return"u"==i;var a=t[n],u=(typeof a)[0];if(i!=u)return"o"==i&&"n"==u||"s"==u||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}})(r,t)?t:r),0)},i=(e,o,i,s)=>{var l=n(e,i);return t(s,l)||a(((e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")")(e,i,l,s)),u(e[i][l])},a=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},u=e=>(e.loaded=1,e.get()),s=e=>function(r,t,n,i){var a=o.I(r);return a&&a.then?a.then(e.bind(e,r,o.S[r],t,n,i)):e(r,o.S[r],t,n,i)},l=s(((e,r,t,i)=>r&&o.o(r,t)?((e,r,t,o)=>{var i=n(e,t);return u(e[t][i])})(r,0,t):i())),c=s(((e,r,t,n,a)=>r&&o.o(r,t)?i(r,0,t,n):a())),f={},p={2680:()=>c("default","react-i18next",[1,11],(()=>o.e(263).then((()=>()=>o(8263))))),1763:()=>c("default","react-router-dom",[1,6],(()=>o.e(63).then((()=>()=>o(7063))))),5776:()=>c("default","react",[1,18],(()=>o.e(735).then((()=>()=>o(2735))))),4610:()=>c("default","@openmrs/esm-framework",[0],(()=>o.e(889).then((()=>()=>o(4889))))),5875:()=>c("default","single-spa",[1,5],(()=>o.e(710).then((()=>()=>o(3710))))),8478:()=>l("default","@openmrs/esm-framework/src/internal",(()=>o.e(889).then((()=>()=>o(4889)))))};[4610,5875,8478,5776].forEach((e=>{o.m[e]=r=>{f[e]=0,delete o.c[e];var t=p[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var h={241:[1763],680:[2680],776:[5776]};o.f.consumes=(e,r)=>{o.o(h,e)&&h[e].forEach((e=>{if(o.o(f,e))return r.push(f[e]);var t=r=>{f[e]=0,o.m[e]=t=>{delete o.c[e],t.exports=r()}},n=r=>{delete f[e],o.m[e]=t=>{throw delete o.c[e],r}};try{var i=p[e]();i.then?r.push(f[e]=i.then(t).catch(n)):t(i)}catch(e){n(e)}}))}})(),(()=>{var e={179:0,776:0,948:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(680|776)$/.test(r))e[r]=0;else{var i=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=i);var a=o.p+o.u(r),u=new Error;o.l(a,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;u.message="Loading chunk "+r+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,i,[a,u,s]=t,l=0;if(a.some((r=>0!==e[r]))){for(n in u)o.o(u,n)&&(o.m[n]=u[n]);s&&s(o)}for(r&&r(t);l<a.length;l++)i=a[l],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0,o(5948)})();
|
|
1
|
+
(()=>{var e,r,t={8412:(e,r,t)=>{"use strict";t.d(r,{A_:()=>s,I0:()=>c,Ul:()=>p,jO:()=>d});var n=t(8478),o=t(1217);function i(e,r,t,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void t(e)}u.done?r(s):Promise.resolve(s).then(n,o)}function a(e){return function(){var r=this,t=arguments;return new Promise((function(n,o){var a=e.apply(r,t);function u(e){i(a,n,o,u,s,"next",e)}function s(e){i(a,n,o,u,s,"throw",e)}u(void 0)}))}}function u(e,r){var t,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=r.call(e,a)}catch(e){i=[6,e],n=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function s(e,r,t){return l.apply(this,arguments)}function l(){return(l=a((function(e,r,t){return u(this,(function(o){switch(o.label){case 0:return[4,(0,n.openmrsFetch)("/ws/rest/v1/user/".concat(e),{method:"POST",body:{userProperties:r},headers:{"Content-Type":"application/json"},signal:t.signal})];case 1:return o.sent(),window.location.reload(),[2]}}))}))).apply(this,arguments)}function c(e,r){return f.apply(this,arguments)}function f(){return(f=a((function(e,r){return u(this,(function(t){switch(t.label){case 0:return[4,(0,n.queueSynchronizationItemFor)(e,o.O,r,{displayName:"User Language Change"})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}function p(e,r){return h.apply(this,arguments)}function h(){return(h=a((function(e,r){return u(this,(function(t){switch(t.label){case 0:return[4,(0,n.openmrsFetch)("/ws/rest/v1/session",{method:"POST",body:{locale:e},headers:{"Content-Type":"application/json"},signal:r.signal})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}function d(e,r){return m.apply(this,arguments)}function m(){return(m=a((function(e,r){return u(this,(function(e){return[2]}))}))).apply(this,arguments)}},6639:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>u,genericLinkConfigSchema:()=>a});var n=t(5776),o=t.n(n),i=t(4610),a={title:{_default:"New Link",_type:i.Type.String},target:{_default:"#",_type:i.Type.String,_description:"The URL to link to.",_validators:[i.validators.isUrl]}};function u(){var e=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:e.target},e.title)}},1217:(e,r,t)=>{"use strict";t.d(r,{O:()=>n,e:()=>o});var n="user-property-change",o="@openmrs/esm-primary-navigation-app"},5948:(e,r,t)=>{"use strict";var n=t(4610),o=t(5875),i=(n.Type.String,n.validators.isUrl,n.Type.String,n.Type.String,n.Type.String,n.Type.Array,n.Type.String,n.Type.String,n.validators.isUrl,t(1217));function a(e,r,t,n,o,i,a){try{var u=e[i](a),s=u.value}catch(e){return void t(e)}u.done?r(s):Promise.resolve(s).then(n,o)}function u(e){return function(){var r=this,t=arguments;return new Promise((function(n,o){var i=e.apply(r,t);function u(e){a(i,n,o,u,s,"next",e)}function s(e){a(i,n,o,u,s,"throw",e)}u(void 0)}))}}function s(e,r){var t,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=r.call(e,a)}catch(e){i=[6,e],n=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}t(8478),t(8412),t(6639),t(3979);var l={featureName:"primary navigation",moduleName:i.e};(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(953),t.e(575),t.e(674),t.e(680),t.e(241)]).then(t.bind(t,6241))}),l),u((function(){return s(this,(function(e){return[2,{bootstrap:u((function(){return s(this,(function(e){switch(e.label){case 0:return[4,(0,o.navigateToUrl)(window.getOpenmrsSpaBase()+"home")];case 1:return[2,e.sent()]}}))})),mount:u((function(){return s(this,(function(e){return[2,void 0]}))})),unmount:u((function(){return s(this,(function(e){return[2,void 0]}))}))}]}))})),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(953),t.e(575),t.e(716)]).then(t.bind(t,9716))}),l),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(953),t.e(680),t.e(743)]).then(t.bind(t,2743))}),l),(0,n.getAsyncLifecycle)((function(){return Promise.resolve().then(t.bind(t,6639))}),{featureName:"Link",moduleName:i.e})},3979:(e,r,t)=>{var n={"./am.json":[8788,625],"./ar.json":[4460,460],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./km.json":[7807,807]};function o(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],o=r[0];return t.e(r[1]).then((()=>t(o)))}o.keys=()=>Object.keys(n),o.id=3979,e.exports=o}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e](i,i.exports,o),i.loaded=!0,i.exports}o.m=t,o.c=n,o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>e+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-primary-navigation-app:",o.l=(t,n,i,a)=>{if(e[t])e[t].push(n);else{var u,s;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var f=l[c];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+i){u=f;break}}u||(s=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.setAttribute("data-webpack",r+i),u.src=t),e[t]=[n];var p=(r,n)=>{u.onerror=u.onload=null,clearTimeout(h);var o=e[t];if(delete e[t],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((e=>e(n))),r)return r(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),s&&document.head.appendChild(u)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{o.S={};var e={},r={};o.I=(t,n)=>{n||(n=[]);var i=r[t];if(i||(i=r[t]={}),!(n.indexOf(i)>=0)){if(n.push(i),e[t])return e[t];o.o(o.S,t)||(o.S[t]={});var a=o.S[t],u="@openmrs/esm-primary-navigation-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},i=o[r];(!i||!i.loaded&&(!n!=!i.eager?n:u>i.from))&&(o[r]={get:t,from:u,eager:!!n})},l=[];return"default"===t&&(s("@openmrs/esm-framework/src/internal","5.2.1-pre.1109",(()=>Promise.all([o.e(776),o.e(889)]).then((()=>()=>o(4889))))),s("react-dom","18.2.0",(()=>Promise.all([o.e(788),o.e(776)]).then((()=>()=>o(2788))))),s("react-i18next","11.18.6",(()=>Promise.all([o.e(263),o.e(776)]).then((()=>()=>o(8263))))),s("react-router-dom","6.4.2",(()=>Promise.all([o.e(63),o.e(776)]).then((()=>()=>o(7063))))),s("react","18.2.0",(()=>o.e(735).then((()=>()=>o(2735))))),s("single-spa","5.9.4",(()=>o.e(710).then((()=>()=>o(3710)))))),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var r=o.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e=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},r=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,n+="u"==(typeof(u=e[i]))[0]?"-":(o>0?".":"")+(o=2,u);return n}var a=[];for(i=1;i<e.length;i++){var u=e[i];a.push(0===u?"not("+s()+")":1===u?"("+s()+" || "+s()+")":2===u?a.pop()+" "+a.pop():r(u))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var o=r[0],i=o<0;i&&(o=-o-1);for(var a=0,u=1,s=!0;;u++,a++){var l,c,f=u<r.length?(typeof r[u])[0]:"";if(a>=n.length||"o"==(c=(typeof(l=n[a]))[0]))return!s||("u"==f?u>o&&!i:""==f!=i);if("u"==c){if(!s||"u"!=f)return!1}else if(s)if(f==c)if(u<=o){if(l!=r[u])return!1}else{if(i?l>r[u]:l<r[u])return!1;l!=r[u]&&(s=!1)}else if("s"!=f&&"n"!=f){if(i||u<=o)return!1;s=!1,u--}else{if(u<=o||c<f!=i)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,u--)}}var p=[],h=p.pop.bind(p);for(a=1;a<r.length;a++){var d=r[a];p.push(1==d?h()|h():2==d?h()&h():d?t(d,n):!h())}return!!h()},n=(r,t)=>{var n=r[t];return Object.keys(n).reduce(((r,t)=>!r||!n[r].loaded&&((r,t)=>{r=e(r),t=e(t);for(var n=0;;){if(n>=r.length)return n<t.length&&"u"!=(typeof t[n])[0];var o=r[n],i=(typeof o)[0];if(n>=t.length)return"u"==i;var a=t[n],u=(typeof a)[0];if(i!=u)return"o"==i&&"n"==u||"s"==u||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;n++}})(r,t)?t:r),0)},i=(e,o,i,s)=>{var l=n(e,i);return t(s,l)||a(((e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")")(e,i,l,s)),u(e[i][l])},a=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},u=e=>(e.loaded=1,e.get()),s=e=>function(r,t,n,i){var a=o.I(r);return a&&a.then?a.then(e.bind(e,r,o.S[r],t,n,i)):e(r,o.S[r],t,n,i)},l=s(((e,r,t,i)=>r&&o.o(r,t)?((e,r,t,o)=>{var i=n(e,t);return u(e[t][i])})(r,0,t):i())),c=s(((e,r,t,n,a)=>r&&o.o(r,t)?i(r,0,t,n):a())),f={},p={2680:()=>c("default","react-i18next",[1,11],(()=>o.e(263).then((()=>()=>o(8263))))),1763:()=>c("default","react-router-dom",[1,6],(()=>o.e(63).then((()=>()=>o(7063))))),5776:()=>c("default","react",[1,18],(()=>o.e(735).then((()=>()=>o(2735))))),4610:()=>c("default","@openmrs/esm-framework",[0],(()=>o.e(889).then((()=>()=>o(4889))))),5875:()=>c("default","single-spa",[1,5],(()=>o.e(710).then((()=>()=>o(3710))))),8478:()=>l("default","@openmrs/esm-framework/src/internal",(()=>o.e(889).then((()=>()=>o(4889)))))};[4610,5875,8478,5776].forEach((e=>{o.m[e]=r=>{f[e]=0,delete o.c[e];var t=p[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var h={241:[1763],680:[2680],776:[5776]};o.f.consumes=(e,r)=>{o.o(h,e)&&h[e].forEach((e=>{if(o.o(f,e))return r.push(f[e]);var t=r=>{f[e]=0,o.m[e]=t=>{delete o.c[e],t.exports=r()}},n=r=>{delete f[e],o.m[e]=t=>{throw delete o.c[e],r}};try{var i=p[e]();i.then?r.push(f[e]=i.then(t).catch(n)):t(i)}catch(e){n(e)}}))}})(),(()=>{var e={179:0,776:0,948:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(680|776)$/.test(r))e[r]=0;else{var i=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=i);var a=o.p+o.u(r),u=new Error;o.l(a,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;u.message="Loading chunk "+r+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,i,[a,u,s]=t,l=0;if(a.some((r=>0!==e[r]))){for(n in u)o.o(u,n)&&(o.m[n]=u[n]);s&&s(o)}for(r&&r(t);l<a.length;l++)i=a[l],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},t=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0,o(5948)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _openmrs_esm_primary_navigation_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,p,f,d,c,h,m,v,g,y={7130:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(776),t.e(948)]).then((()=>()=>t(5948)))},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})}},b={};function w(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return y[e](t,t.exports,w),t.loaded=!0,t.exports}w.m=y,w.c=b,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce(((r,t)=>(w.f[t](e,r),r)),[])),w.u=e=>e+".js",w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-primary-navigation-app:",w.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{w.S={};var e={},r={};w.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];w.o(w.S,t)||(w.S[t]={});var o=w.S[t],i="@openmrs/esm-primary-navigation-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/src/internal","5.2.1-pre.
|
|
1
|
+
var _openmrs_esm_primary_navigation_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,p,f,d,c,h,m,v,g,y={7130:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(776),t.e(948)]).then((()=>()=>t(5948)))},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})}},b={};function w(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return y[e](t,t.exports,w),t.loaded=!0,t.exports}w.m=y,w.c=b,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce(((r,t)=>(w.f[t](e,r),r)),[])),w.u=e=>e+".js",w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-primary-navigation-app:",w.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{w.S={};var e={},r={};w.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];w.o(w.S,t)||(w.S[t]={});var o=w.S[t],i="@openmrs/esm-primary-navigation-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/src/internal","5.2.1-pre.1109",(()=>Promise.all([w.e(776),w.e(889)]).then((()=>()=>w(4889))))),l("react-dom","18.2.0",(()=>Promise.all([w.e(788),w.e(776)]).then((()=>()=>w(2788))))),l("react-i18next","11.18.6",(()=>Promise.all([w.e(263),w.e(776)]).then((()=>()=>w(8263))))),l("react-router-dom","6.4.2",(()=>Promise.all([w.e(63),w.e(776)]).then((()=>()=>w(7063))))),l("react","18.2.0",(()=>w.e(735).then((()=>()=>w(2735))))),l("single-spa","5.9.4",(()=>w.e(710).then((()=>()=>w(3710)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var r=w.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e})(),t=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},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=e[n],o=(typeof a)[0];if(n>=r.length)return"u"==o;var i=r[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}},a=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,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():a(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,r)=>{if(0 in e){r=t(r);var n=e[0],a=n<0;a&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!a:""==f!=a);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(a?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(a||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=a)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?o(h,r):!c())}return!!c()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",s=(e,r,t,n)=>{var a=i(e,t);return f(e[t][a])},u=(e,r,t,n)=>{var a=i(e,t);return o(n,a)||p(l(e,t,a,n)),f(e[t][a])},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},f=e=>(e.loaded=1,e.get()),c=(d=e=>function(r,t,n,a){var o=w.I(r);return o&&o.then?o.then(e.bind(e,r,w.S[r],t,n,a)):e(r,w.S[r],t,n,a)})(((e,r,t,n)=>r&&w.o(r,t)?s(r,0,t):n())),h=d(((e,r,t,n,a)=>r&&w.o(r,t)?u(r,0,t,n):a())),m={},v={5776:()=>h("default","react",[1,18],(()=>w.e(735).then((()=>()=>w(2735))))),4610:()=>h("default","@openmrs/esm-framework",[0],(()=>w.e(889).then((()=>()=>w(4889))))),5875:()=>h("default","single-spa",[1,5],(()=>w.e(710).then((()=>()=>w(3710))))),8478:()=>c("default","@openmrs/esm-framework/src/internal",(()=>w.e(889).then((()=>()=>w(4889))))),2680:()=>h("default","react-i18next",[1,11],(()=>w.e(263).then((()=>()=>w(8263))))),1763:()=>h("default","react-router-dom",[1,6],(()=>w.e(63).then((()=>()=>w(7063)))))},g={241:[1763],680:[2680],776:[5776],948:[4610,5875,8478]},w.f.consumes=(e,r)=>{w.o(g,e)&&g[e].forEach((e=>{if(w.o(m,e))return r.push(m[e]);var t=r=>{m[e]=0,w.m[e]=t=>{delete w.c[e],t.exports=r()}},n=r=>{delete m[e],w.m[e]=t=>{throw delete w.c[e],r}};try{var a=v[e]();a.then?r.push(m[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}))},(()=>{var e={115:0};w.f.j=(r,t)=>{var n=w.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(680|776)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=w.p+w.u(r),i=new Error;w.l(o,(t=>{if(w.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)w.o(i,n)&&(w.m[n]=i[n]);l&&l(w)}for(r&&r(t);s<o.length;s++)a=o[s],w.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),w.nc=void 0;var _=w(7130);_openmrs_esm_primary_navigation_app=_})();
|
package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"auxiliaryFiles": [
|
|
52
52
|
"openmrs-esm-primary-navigation-app.js.map"
|
|
53
53
|
],
|
|
54
|
-
"hash": "
|
|
54
|
+
"hash": "1ea9c0ba9c11ee9a",
|
|
55
55
|
"childrenByOrder": {}
|
|
56
56
|
},
|
|
57
57
|
{
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"auxiliaryFiles": [
|
|
80
80
|
"main.js.map"
|
|
81
81
|
],
|
|
82
|
-
"hash": "
|
|
82
|
+
"hash": "dd44bd5762001d3e",
|
|
83
83
|
"childrenByOrder": {}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -516,9 +516,9 @@
|
|
|
516
516
|
"entry": false,
|
|
517
517
|
"recorded": false,
|
|
518
518
|
"reason": "reused as split chunk (cache group: default)",
|
|
519
|
-
"size":
|
|
519
|
+
"size": 1750560,
|
|
520
520
|
"sizes": {
|
|
521
|
-
"javascript":
|
|
521
|
+
"javascript": 1750560
|
|
522
522
|
},
|
|
523
523
|
"names": [],
|
|
524
524
|
"idHints": [],
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
"auxiliaryFiles": [
|
|
533
533
|
"889.js.map"
|
|
534
534
|
],
|
|
535
|
-
"hash": "
|
|
535
|
+
"hash": "0506b51466429e04",
|
|
536
536
|
"childrenByOrder": {}
|
|
537
537
|
},
|
|
538
538
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","routeRegex":"^(?!login/?)","online":true,"offline":true,"order":0},{"component":"redirect","routeRegex":"^$","online":true,"offline":true,"order":0}],"extensions":[{"name":"default-user-panel","slot":"user-panel-slot","component":"userPanel","online":true,"offline":true,"order":0},{"name":"change-locale","slot":"user-panel-slot","component":"localeChanger","online":true,"offline":true,"order":1},{"name":"link","component":"linkComponent","online":true,"offline":true}],"version":"5.2.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","routeRegex":"^(?!login/?)","online":true,"offline":true,"order":0},{"component":"redirect","routeRegex":"^$","online":true,"offline":true,"order":0}],"extensions":[{"name":"default-user-panel","slot":"user-panel-slot","component":"userPanel","online":true,"offline":true,"order":0},{"name":"change-locale","slot":"user-panel-slot","component":"localeChanger","online":true,"offline":true,"order":1},{"name":"link","component":"linkComponent","online":true,"offline":true}],"version":"5.2.1-pre.1109"}
|
package/lib/index.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
2
|
+
<html lang="en" data-default-lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<script type="systemjs-importmap" src="/openmrs/spa/importmap.json"></script>
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
<script type="systemjs-importmap">{"imports":{"@openmrs/esm-devtools-app":"./esm-devtools-app/openmrs-esm-devtools-app.js","@openmrs/esm-
|
|
25
|
+
<script type="systemjs-importmap">{"imports":{"@openmrs/esm-devtools-app":"./esm-devtools-app/openmrs-esm-devtools-app.js","@openmrs/esm-login-app":"./esm-login-app/openmrs-esm-login-app.js","@openmrs/esm-offline-tools-app":"./esm-offline-tools-app/openmrs-esm-offline-tools-app.js","@openmrs/esm-primary-navigation-app":"./esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js"}}</script>
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
<link
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<script type="openmrs-routes" src="/openmrs/spa/routes.registry.json"></script>
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
<script type="openmrs-routes">{"@openmrs/esm-devtools-app":{"$schema":"https://json.openmrs.org/routes.schema.json","pages":[{"component":"devtools","route":true,"online":true,"offline":true}],"version":"5.2.1-pre.
|
|
37
|
+
<script type="openmrs-routes">{"@openmrs/esm-devtools-app":{"$schema":"https://json.openmrs.org/routes.schema.json","pages":[{"component":"devtools","route":true,"online":true,"offline":true}],"version":"5.2.1-pre.1109"},"@openmrs/esm-login-app":{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.24.0"},"pages":[{"component":"root","route":"login","online":true,"offline":true},{"component":"root","route":"logout","online":true,"offline":true}],"extensions":[{"name":"location-picker","slot":"location-picker","component":"locationPicker","online":true,"offline":true},{"name":"logout-button","slot":"user-panel-actions-slot","component":"logoutButton","online":true,"offline":true},{"name":"location-changer","slot":"user-panel-slot","component":"changeLocationLink","online":true,"offline":true,"order":1}],"version":"5.2.1-pre.1109"},"@openmrs/esm-offline-tools-app":{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.24.0"},"pages":[{"component":"offlineTools","route":"offline-tools","online":true,"offline":true}],"extensions":[{"name":"offline-tools-link","slot":"app-menu-slot","component":"offlineToolsLink","online":true,"offline":true},{"name":"offline-tools-nav-items","component":"offlineToolsNavItems","online":true,"offline":true},{"name":"offline-tools-confirmation-modal","component":"offlineToolsConfirmationModal","online":true,"offline":true},{"name":"offline-tools-dashboard-patients-card","slot":"offline-tools-dashboard-cards","component":"offlineToolsPatientsCard","online":true,"offline":true,"order":0},{"name":"offline-tools-dashboard-actions-card","slot":"offline-tools-dashboard-cards","component":"offlineToolsActionsCard","online":true,"offline":true,"order":2},{"name":"offline-tools-page-offline-patients-link","slot":"offline-tools-page-slot","component":"offlineToolsPatientsLink","meta":{"name":"patients","slot":"offline-tools-page-offline-patients-slot"},"online":true,"offline":true},{"name":"offline-tools-page-offline-actions-link","slot":"offline-tools-page-slot","component":"offlineToolsActionsLink","meta":{"name":"actions","slot":"offline-tools-page-offline-actions-slot"},"online":true,"offline":true},{"name":"offline-tools-page-offline-actions","slot":"offline-tools-page-offline-actions-slot","component":"offlineToolsPageActions","online":true,"offline":true},{"name":"offline-tools-page-offline-patients","slot":"offline-tools-page-offline-patients-slot","component":"offlineToolsPatients","online":true,"offline":true},{"name":"offline-tools-page-actions-link","slot":"offline-tools-page-actions-slot","component":"offlineToolsPatientsLink","meta":{"name":"actions","slot":"offline-tools-page-actions-slot"},"online":true,"offline":true},{"name":"offline-tools-page-actions","slot":"offline-tools-page-actions-slot","component":"offlineToolsPageActions","online":true,"offline":true},{"name":"offline-tools-patient-chart-actions-widget","slot":"patient-chart-summary-dashboard-slot","component":"offlineToolsPatientChartActions","meta":{"columnSpan":4},"online":false,"offline":true,"order":0},{"name":"offline-tools-patient-chart-actions-dashboard","slot":"patient-chart-offline-actions-dashboard-slot","component":"offlineToolsPatientChartActions","online":true,"offline":true,"order":0},{"name":"offline-tools-patient-chart-actions-dashboard-link","slot":"patient-chart-dashboard-slot","component":"offlineToolsPatientChartActionsDashboardLink","meta":{"columns":1,"title":"Offline Actions"},"order":12,"online":true,"offline":true},{"name":"offline-tools-opt-in-offline-mode-button","slot":"user-panel-slot","component":"offlineToolsOptInButton","online":true,"offline":true,"order":1}],"version":"5.2.1-pre.1109"},"@openmrs/esm-primary-navigation-app":{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","routeRegex":"^(?!login/?)","online":true,"offline":true,"order":0},{"component":"redirect","routeRegex":"^$","online":true,"offline":true,"order":0}],"extensions":[{"name":"default-user-panel","slot":"user-panel-slot","component":"userPanel","online":true,"offline":true,"order":0},{"name":"change-locale","slot":"user-panel-slot","component":"localeChanger","online":true,"offline":true,"order":1},{"name":"link","component":"linkComponent","online":true,"offline":true}],"version":"5.2.1-pre.1109"}}</script>
|
|
38
38
|
|
|
39
39
|
<meta name="theme-color" content="#000000" /><link rel="manifest" href="manifest.c61e464ba60302bdc2442acdd49954f1.json" /></head>
|
|
40
40
|
<body>
|