@openmrs/esm-reports-app 4.2.2-pre.394 → 4.2.2-pre.410

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/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,r,t,n,o={57691:(e,r,t)=>{"use strict";t.d(r,{AO:()=>n,Jp:()=>o,zD:()=>s});var n="@openmrs/esm-reports-app",o="/reports",s="System Developer"},79090:(e,r,t)=>{"use strict";var n=t(12516),o=(t(75630),{featureName:"reports",moduleName:t(57691).AO});t(84767),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1104),t.e(4319),t.e(5795),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(3877),t.e(8877),t.e(1650),t.e(826),t.e(3715)]).then(t.bind(t,53715))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(1343),t.e(2339),t.e(8390)]).then(t.bind(t,8390))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(5795),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(3877),t.e(826),t.e(3203)]).then(t.bind(t,60826))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1104),t.e(4319),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(3877),t.e(1650)]).then(t.bind(t,61650))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(439)]).then(t.bind(t,82316))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1343),t.e(2339),t.e(6372),t.e(4584)]).then(t.bind(t,54584))}),o)},84767:(e,r,t)=>{var n={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./cs.json":[86589,6589],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sq.json":[88371,8371],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879],"./zh_TW.json":[10439,2820]};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=84767,e.exports=o}},s={};function a(e){var r=s[e];if(void 0!==r)return r.exports;var t=s[e]={id:e,exports:{}};return o[e].call(t.exports,t,t.exports,a),t.exports}a.m=o,a.c=s,a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);a.r(o);var s={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,a.d(o,s),o},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-reports-app:",a.l=(e,r,o,s)=>{if(t[e])t[e].push(r);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var c=l[f];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==n+o){i=c;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),u&&document.head.appendChild(i)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{a.S={};var e={},r={};a.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];a.o(a.S,t)||(a.S[t]={});var s=a.S[t],i="@openmrs/esm-reports-app",u=(e,r,t,n)=>{var o=s[e]=s[e]||{},a=o[r];(!a||!a.loaded&&(!n!=!a.eager?n:i>a.from))&&(o[r]={get:t,from:i,eager:!!n})},l=[];return"default"===t&&(u("@openmrs/esm-framework","8.0.1-pre.3485",(()=>Promise.all([a.e(3144),a.e(2252),a.e(5216),a.e(1104),a.e(8488),a.e(1343),a.e(2339),a.e(6372),a.e(8877),a.e(4818),a.e(2516),a.e(5630)]).then((()=>()=>a(28488))))),u("dayjs","1.11.13",(()=>a.e(3464).then((()=>()=>a(23464))))),u("i18next","25.6.0",(()=>a.e(7304).then((()=>()=>a(47304))))),u("react-i18next","16.0.0",(()=>Promise.all([a.e(6336),a.e(1343)]).then((()=>()=>a(16336))))),u("react-router-dom","6.22.2",(()=>Promise.all([a.e(3144),a.e(2913),a.e(1343)]).then((()=>()=>a(52913))))),u("react","18.3.1",(()=>a.e(4041).then((()=>()=>a(14041))))),u("rxjs","6.6.7",(()=>a.e(9501).then((()=>()=>a(79501)))))),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var r=a.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.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,s=1;s<e.length;s++)o--,n+="u"==(typeof(i=e[s]))[0]?"-":(o>0?".":"")+(o=2,i);return n}var a=[];for(s=1;s<e.length;s++){var i=e[s];a.push(0===i?"not("+u()+")":1===i?"("+u()+" || "+u()+")":2===i?a.pop()+" "+a.pop():r(i))}return u();function u(){return a.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var o=r[0],s=o<0;s&&(o=-o-1);for(var a=0,i=1,u=!0;;i++,a++){var l,f,c=i<r.length?(typeof r[i])[0]:"";if(a>=n.length||"o"==(f=(typeof(l=n[a]))[0]))return!u||("u"==c?i>o&&!s:""==c!=s);if("u"==f){if(!u||"u"!=c)return!1}else if(u)if(c==f)if(i<=o){if(l!=r[i])return!1}else{if(s?l>r[i]:l<r[i])return!1;l!=r[i]&&(u=!1)}else if("s"!=c&&"n"!=c){if(s||i<=o)return!1;u=!1,i--}else{if(i<=o||f<c!=s)return!1;u=!1}else"s"!=c&&"n"!=c&&(u=!1,i--)}}var p=[],d=p.pop.bind(p);for(a=1;a<r.length;a++){var h=r[a];p.push(1==h?d()|d():2==h?d()&d():h?t(h,n):!d())}return!!d()},n=(r,t,n)=>{var o=n?(e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}))(r[t]):r[t];return Object.keys(o).reduce(((r,t)=>!r||!o[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],s=(typeof o)[0];if(n>=t.length)return"u"==s;var a=t[n],i=(typeof a)[0];if(s!=i)return"o"==s&&"n"==i||"s"==i||"u"==s;if("o"!=s&&"u"!=s&&o!=a)return o<a;n++}})(r,t)?t:r),0)},o=(e,r,t)=>t?t():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),s=(e=>function(r,t,n,o,s){var i=a.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,a.S[r],t,!1,o,s)):e(r,a.S[r],t,n,o,s)})(((e,s,i,u,l,f)=>{if(!((e,r)=>e&&a.o(e,r))(s,i))return o(e,i,f);var c,p,d=n(s,i,u);return t(l,d)||(p=((e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")")(s,i,d,l),"undefined"!=typeof console&&console.warn&&console.warn(p)),(c=s[i][d]).loaded=1,c.get()})),i={},u={12516:()=>s("default","@openmrs/esm-framework",!1,[0],(()=>Promise.all([a.e(3144),a.e(2252),a.e(5216),a.e(1104),a.e(8488),a.e(1343),a.e(2339),a.e(6372),a.e(8877),a.e(4818)]).then((()=>()=>a(28488))))),75630:()=>s("default","i18next",!1,[0],(()=>a.e(7304).then((()=>()=>a(47304))))),1343:()=>s("default","react",!1,[1,18],(()=>a.e(4041).then((()=>()=>a(14041))))),72339:()=>s("default","react-i18next",!1,[1,16],(()=>a.e(6336).then((()=>()=>a(16336))))),46372:()=>s("default","dayjs",!1,[1,1],(()=>a.e(3464).then((()=>()=>a(23464))))),8877:()=>s("default","react-router-dom",!1,[1,6],(()=>a.e(2913).then((()=>()=>a(52913))))),24818:()=>s("default","rxjs",!1,[1,6],(()=>a.e(9501).then((()=>()=>a(79501)))))};[12516,75630].forEach((e=>{a.m[e]=r=>{i[e]=0,delete a.c[e];var t=u[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var l={1343:[1343],2339:[72339],2516:[12516],4818:[24818],5630:[75630],6372:[46372],8792:[12516,75630],8877:[8877]},f={};a.f.consumes=(e,r)=>{a.o(l,e)&&l[e].forEach((e=>{if(a.o(i,e))return r.push(i[e]);if(!f[e]){var t=r=>{i[e]=0,a.m[e]=t=>{delete a.c[e],t.exports=r()}};f[e]=!0;var n=r=>{delete i[e],a.m[e]=t=>{throw delete a.c[e],r}};try{var o=u[e]();o.then?r.push(i[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))}})(),(()=>{var e={2516:0,5630:0,8792:0,9090:0};a.f.j=(r,t)=>{var n=a.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|2339|2516|4818|5630|6372|8877)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var s=a.p+a.u(r),i=new Error;a.l(s,(t=>{if(a.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),s=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+s+")",i.name="ChunkLoadError",i.type=o,i.request=s,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[s,i,u]=t,l=0;if(s.some((r=>0!==e[r]))){for(n in i)a.o(i,n)&&(a.m[n]=i[n]);u&&u(a)}for(r&&r(t);l<s.length;l++)o=s[l],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_reports_app=globalThis.webpackChunk_openmrs_esm_reports_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),a.nc=void 0,a(79090)})();
1
+ (()=>{var e,r,t,n,o={57691:(e,r,t)=>{"use strict";t.d(r,{AO:()=>n,Jp:()=>o,zD:()=>s});var n="@openmrs/esm-reports-app",o="/reports",s="System Developer"},79090:(e,r,t)=>{"use strict";var n=t(12516),o=(t(75630),{featureName:"reports",moduleName:t(57691).AO});t(84767),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1104),t.e(4319),t.e(5795),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(3877),t.e(8877),t.e(1650),t.e(826),t.e(3715)]).then(t.bind(t,53715))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(1343),t.e(2339),t.e(8390)]).then(t.bind(t,8390))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(5795),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(3877),t.e(826),t.e(3203)]).then(t.bind(t,60826))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1104),t.e(4319),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(3877),t.e(1650)]).then(t.bind(t,61650))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1343),t.e(2339),t.e(6372),t.e(289),t.e(439)]).then(t.bind(t,82316))}),o),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(3144),t.e(2252),t.e(5216),t.e(1343),t.e(2339),t.e(6372),t.e(4584)]).then(t.bind(t,54584))}),o)},84767:(e,r,t)=>{var n={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./cs.json":[86589,6589],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sq.json":[88371,8371],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879],"./zh_TW.json":[10439,2820]};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=84767,e.exports=o}},s={};function a(e){var r=s[e];if(void 0!==r)return r.exports;var t=s[e]={id:e,exports:{}};return o[e].call(t.exports,t,t.exports,a),t.exports}a.m=o,a.c=s,a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);a.r(o);var s={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,a.d(o,s),o},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-reports-app:",a.l=(e,r,o,s)=>{if(t[e])t[e].push(r);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var c=l[f];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==n+o){i=c;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),u&&document.head.appendChild(i)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{a.S={};var e={},r={};a.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];a.o(a.S,t)||(a.S[t]={});var s=a.S[t],i="@openmrs/esm-reports-app",u=(e,r,t,n)=>{var o=s[e]=s[e]||{},a=o[r];(!a||!a.loaded&&(!n!=!a.eager?n:i>a.from))&&(o[r]={get:t,from:i,eager:!!n})},l=[];return"default"===t&&(u("@openmrs/esm-framework","8.0.1-pre.3549",(()=>Promise.all([a.e(3144),a.e(2252),a.e(5216),a.e(1104),a.e(3854),a.e(1343),a.e(2339),a.e(6372),a.e(8877),a.e(4818),a.e(2516),a.e(5630)]).then((()=>()=>a(63854))))),u("dayjs","1.11.13",(()=>a.e(3464).then((()=>()=>a(23464))))),u("i18next","25.6.0",(()=>a.e(7304).then((()=>()=>a(47304))))),u("react-i18next","16.0.0",(()=>Promise.all([a.e(6336),a.e(1343)]).then((()=>()=>a(16336))))),u("react-router-dom","6.22.2",(()=>Promise.all([a.e(3144),a.e(2913),a.e(1343)]).then((()=>()=>a(52913))))),u("react","18.3.1",(()=>a.e(4041).then((()=>()=>a(14041))))),u("rxjs","6.6.7",(()=>a.e(9501).then((()=>()=>a(79501)))))),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var r=a.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.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,s=1;s<e.length;s++)o--,n+="u"==(typeof(i=e[s]))[0]?"-":(o>0?".":"")+(o=2,i);return n}var a=[];for(s=1;s<e.length;s++){var i=e[s];a.push(0===i?"not("+u()+")":1===i?"("+u()+" || "+u()+")":2===i?a.pop()+" "+a.pop():r(i))}return u();function u(){return a.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var o=r[0],s=o<0;s&&(o=-o-1);for(var a=0,i=1,u=!0;;i++,a++){var l,f,c=i<r.length?(typeof r[i])[0]:"";if(a>=n.length||"o"==(f=(typeof(l=n[a]))[0]))return!u||("u"==c?i>o&&!s:""==c!=s);if("u"==f){if(!u||"u"!=c)return!1}else if(u)if(c==f)if(i<=o){if(l!=r[i])return!1}else{if(s?l>r[i]:l<r[i])return!1;l!=r[i]&&(u=!1)}else if("s"!=c&&"n"!=c){if(s||i<=o)return!1;u=!1,i--}else{if(i<=o||f<c!=s)return!1;u=!1}else"s"!=c&&"n"!=c&&(u=!1,i--)}}var p=[],d=p.pop.bind(p);for(a=1;a<r.length;a++){var h=r[a];p.push(1==h?d()|d():2==h?d()&d():h?t(h,n):!d())}return!!d()},n=(r,t,n)=>{var o=n?(e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}))(r[t]):r[t];return Object.keys(o).reduce(((r,t)=>!r||!o[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],s=(typeof o)[0];if(n>=t.length)return"u"==s;var a=t[n],i=(typeof a)[0];if(s!=i)return"o"==s&&"n"==i||"s"==i||"u"==s;if("o"!=s&&"u"!=s&&o!=a)return o<a;n++}})(r,t)?t:r),0)},o=(e,r,t)=>t?t():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),s=(e=>function(r,t,n,o,s){var i=a.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,a.S[r],t,!1,o,s)):e(r,a.S[r],t,n,o,s)})(((e,s,i,u,l,f)=>{if(!((e,r)=>e&&a.o(e,r))(s,i))return o(e,i,f);var c,p,d=n(s,i,u);return t(l,d)||(p=((e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")")(s,i,d,l),"undefined"!=typeof console&&console.warn&&console.warn(p)),(c=s[i][d]).loaded=1,c.get()})),i={},u={12516:()=>s("default","@openmrs/esm-framework",!1,[0],(()=>Promise.all([a.e(3144),a.e(2252),a.e(5216),a.e(1104),a.e(3854),a.e(1343),a.e(2339),a.e(6372),a.e(8877),a.e(4818)]).then((()=>()=>a(63854))))),75630:()=>s("default","i18next",!1,[0],(()=>a.e(7304).then((()=>()=>a(47304))))),1343:()=>s("default","react",!1,[1,18],(()=>a.e(4041).then((()=>()=>a(14041))))),72339:()=>s("default","react-i18next",!1,[1,16],(()=>a.e(6336).then((()=>()=>a(16336))))),46372:()=>s("default","dayjs",!1,[1,1],(()=>a.e(3464).then((()=>()=>a(23464))))),8877:()=>s("default","react-router-dom",!1,[1,6],(()=>a.e(2913).then((()=>()=>a(52913))))),24818:()=>s("default","rxjs",!1,[1,6],(()=>a.e(9501).then((()=>()=>a(79501)))))};[12516,75630].forEach((e=>{a.m[e]=r=>{i[e]=0,delete a.c[e];var t=u[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var l={1343:[1343],2339:[72339],2516:[12516],4818:[24818],5630:[75630],6372:[46372],8792:[12516,75630],8877:[8877]},f={};a.f.consumes=(e,r)=>{a.o(l,e)&&l[e].forEach((e=>{if(a.o(i,e))return r.push(i[e]);if(!f[e]){var t=r=>{i[e]=0,a.m[e]=t=>{delete a.c[e],t.exports=r()}};f[e]=!0;var n=r=>{delete i[e],a.m[e]=t=>{throw delete a.c[e],r}};try{var o=u[e]();o.then?r.push(i[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))}})(),(()=>{var e={2516:0,5630:0,8792:0,9090:0};a.f.j=(r,t)=>{var n=a.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|2339|2516|4818|5630|6372|8877)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var s=a.p+a.u(r),i=new Error;a.l(s,(t=>{if(a.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),s=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+s+")",i.name="ChunkLoadError",i.type=o,i.request=s,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[s,i,u]=t,l=0;if(s.some((r=>0!==e[r]))){for(n in i)a.o(i,n)&&(a.m[n]=i[n]);u&&u(a)}for(r&&r(t);l<s.length;l++)o=s[l],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_reports_app=globalThis.webpackChunk_openmrs_esm_reports_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),a.nc=void 0,a(79090)})();
@@ -1 +1 @@
1
- var _openmrs_esm_reports_app;(()=>{"use strict";var e,r,t,n,o,a,i,s,u,l,p,f,d,c,h,m,v,g,b,y,w,_={49106:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(2516),t.e(9090)]).then((()=>()=>t(79090)))},o=(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),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==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:()=>o,init:()=>a})}},j={};function S(e){var r=j[e];if(void 0!==r)return r.exports;var t=j[e]={id:e,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.exports}S.m=_,S.c=j,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-reports-app:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var p=u[l];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.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),s&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/esm-reports-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(s("@openmrs/esm-framework","8.0.1-pre.3485",(()=>Promise.all([S.e(3144),S.e(2252),S.e(5216),S.e(1104),S.e(8488),S.e(1343),S.e(2339),S.e(6372),S.e(8877),S.e(4818),S.e(2516),S.e(5630)]).then((()=>()=>S(28488))))),s("dayjs","1.11.13",(()=>S.e(3464).then((()=>()=>S(23464))))),s("i18next","25.6.0",(()=>S.e(7304).then((()=>()=>S(47304))))),s("react-i18next","16.0.0",(()=>Promise.all([S.e(6336),S.e(1343)]).then((()=>()=>S(16336))))),s("react-router-dom","6.22.2",(()=>Promise.all([S.e(3144),S.e(2913),S.e(1343)]).then((()=>()=>S(52913))))),s("react","18.3.1",(()=>S.e(4041).then((()=>()=>S(14041))))),s("rxjs","6.6.7",(()=>S.e(9501).then((()=>()=>S(79501)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),o=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},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(s=e[o]))[0]?"-":(n>0?".":"")+(n=2,s);return t}var a=[];for(o=1;o<e.length;o++){var s=e[o];a.push(0===s?"not("+u()+")":1===s?"("+u()+" || "+u()+")":2===s?a.pop()+" "+a.pop():i(s))}return u();function u(){return a.pop().replace(/^\((.+)\)$/,"$1")}},s=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,u=!0;;i++,a++){var l,p,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(p=(typeof(l=r[a]))[0]))return!u||("u"==f?i>t&&!n:""==f!=n);if("u"==p){if(!u||"u"!=f)return!1}else if(u)if(f==p)if(i<=t){if(l!=e[i])return!1}else{if(n?l>e[i]:l<e[i])return!1;l!=e[i]&&(u=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;u=!1,i--}else{if(i<=t||p<f!=n)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,i--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?s(h,r):!c())}return!!c()},u=(e,r)=>e&&S.o(e,r),l=e=>(e.loaded=1,e.get()),p=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),f=(e,r,t)=>{var n=t?p(e[r]):e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e),0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",c=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>c("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})(((e,r,t,n,o,a)=>{if(!u(r,t))return m(e,t,a);var i=f(r,t,n);return s(o,i)||h(d(r,t,i,o)),l(r[t][i])})),g={},b={1343:()=>v("default","react",!1,[1,18],(()=>S.e(4041).then((()=>()=>S(14041))))),72339:()=>v("default","react-i18next",!1,[1,16],(()=>S.e(6336).then((()=>()=>S(16336))))),46372:()=>v("default","dayjs",!1,[1,1],(()=>S.e(3464).then((()=>()=>S(23464))))),8877:()=>v("default","react-router-dom",!1,[1,6],(()=>S.e(2913).then((()=>()=>S(52913))))),24818:()=>v("default","rxjs",!1,[1,6],(()=>S.e(9501).then((()=>()=>S(79501))))),12516:()=>v("default","@openmrs/esm-framework",!1,[0],(()=>Promise.all([S.e(3144),S.e(2252),S.e(5216),S.e(1104),S.e(8488),S.e(1343),S.e(2339),S.e(6372),S.e(8877),S.e(4818)]).then((()=>()=>S(28488))))),75630:()=>v("default","i18next",!1,[0],(()=>S.e(7304).then((()=>()=>S(47304)))))},y={1343:[1343],2339:[72339],2516:[12516],4818:[24818],5630:[75630],6372:[46372],8877:[8877],9090:[75630]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach((e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={9259:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|2339|2516|4818|5630|6372|8877)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,(t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,u=0;if(a.some((r=>0!==e[r]))){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);s&&s(S)}for(r&&r(t);u<a.length;u++)o=a[u],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_reports_app=globalThis.webpackChunk_openmrs_esm_reports_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var P=S(49106);_openmrs_esm_reports_app=P})();
1
+ var _openmrs_esm_reports_app;(()=>{"use strict";var e,r,t,n,o,a,i,s,u,l,p,f,d,c,h,m,v,g,b,y,w,_={49106:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(2516),t.e(9090)]).then((()=>()=>t(79090)))},o=(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),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==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:()=>o,init:()=>a})}},j={};function S(e){var r=j[e];if(void 0!==r)return r.exports;var t=j[e]={id:e,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.exports}S.m=_,S.c=j,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-reports-app:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var p=u[l];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.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),s&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/esm-reports-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(s("@openmrs/esm-framework","8.0.1-pre.3549",(()=>Promise.all([S.e(3144),S.e(2252),S.e(5216),S.e(1104),S.e(3854),S.e(1343),S.e(2339),S.e(6372),S.e(8877),S.e(4818),S.e(2516),S.e(5630)]).then((()=>()=>S(63854))))),s("dayjs","1.11.13",(()=>S.e(3464).then((()=>()=>S(23464))))),s("i18next","25.6.0",(()=>S.e(7304).then((()=>()=>S(47304))))),s("react-i18next","16.0.0",(()=>Promise.all([S.e(6336),S.e(1343)]).then((()=>()=>S(16336))))),s("react-router-dom","6.22.2",(()=>Promise.all([S.e(3144),S.e(2913),S.e(1343)]).then((()=>()=>S(52913))))),s("react","18.3.1",(()=>S.e(4041).then((()=>()=>S(14041))))),s("rxjs","6.6.7",(()=>S.e(9501).then((()=>()=>S(79501)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),o=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},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(s=e[o]))[0]?"-":(n>0?".":"")+(n=2,s);return t}var a=[];for(o=1;o<e.length;o++){var s=e[o];a.push(0===s?"not("+u()+")":1===s?"("+u()+" || "+u()+")":2===s?a.pop()+" "+a.pop():i(s))}return u();function u(){return a.pop().replace(/^\((.+)\)$/,"$1")}},s=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,u=!0;;i++,a++){var l,p,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(p=(typeof(l=r[a]))[0]))return!u||("u"==f?i>t&&!n:""==f!=n);if("u"==p){if(!u||"u"!=f)return!1}else if(u)if(f==p)if(i<=t){if(l!=e[i])return!1}else{if(n?l>e[i]:l<e[i])return!1;l!=e[i]&&(u=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;u=!1,i--}else{if(i<=t||p<f!=n)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,i--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?s(h,r):!c())}return!!c()},u=(e,r)=>e&&S.o(e,r),l=e=>(e.loaded=1,e.get()),p=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),f=(e,r,t)=>{var n=t?p(e[r]):e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e),0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",c=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>c("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})(((e,r,t,n,o,a)=>{if(!u(r,t))return m(e,t,a);var i=f(r,t,n);return s(o,i)||h(d(r,t,i,o)),l(r[t][i])})),g={},b={1343:()=>v("default","react",!1,[1,18],(()=>S.e(4041).then((()=>()=>S(14041))))),72339:()=>v("default","react-i18next",!1,[1,16],(()=>S.e(6336).then((()=>()=>S(16336))))),46372:()=>v("default","dayjs",!1,[1,1],(()=>S.e(3464).then((()=>()=>S(23464))))),8877:()=>v("default","react-router-dom",!1,[1,6],(()=>S.e(2913).then((()=>()=>S(52913))))),24818:()=>v("default","rxjs",!1,[1,6],(()=>S.e(9501).then((()=>()=>S(79501))))),12516:()=>v("default","@openmrs/esm-framework",!1,[0],(()=>Promise.all([S.e(3144),S.e(2252),S.e(5216),S.e(1104),S.e(3854),S.e(1343),S.e(2339),S.e(6372),S.e(8877),S.e(4818)]).then((()=>()=>S(63854))))),75630:()=>v("default","i18next",!1,[0],(()=>S.e(7304).then((()=>()=>S(47304)))))},y={1343:[1343],2339:[72339],2516:[12516],4818:[24818],5630:[75630],6372:[46372],8877:[8877],9090:[75630]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach((e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={9259:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|2339|2516|4818|5630|6372|8877)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,(t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,u=0;if(a.some((r=>0!==e[r]))){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);s&&s(S)}for(r&&r(t);u<a.length;u++)o=a[u],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_reports_app=globalThis.webpackChunk_openmrs_esm_reports_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var P=S(49106);_openmrs_esm_reports_app=P})();
@@ -22,7 +22,7 @@
22
22
  "auxiliaryFiles": [
23
23
  "289.js.map"
24
24
  ],
25
- "hash": "4bde8fb4cba5e05a",
25
+ "hash": "9fe6183d4e41f75b",
26
26
  "childrenByOrder": {}
27
27
  },
28
28
  {
@@ -30,9 +30,9 @@
30
30
  "initial": false,
31
31
  "entry": false,
32
32
  "recorded": false,
33
- "size": 77177,
33
+ "size": 77867,
34
34
  "sizes": {
35
- "javascript": 77177
35
+ "javascript": 77867
36
36
  },
37
37
  "names": [],
38
38
  "idHints": [],
@@ -46,7 +46,7 @@
46
46
  "auxiliaryFiles": [
47
47
  "439.js.map"
48
48
  ],
49
- "hash": "5c4a7027e5b0f14b",
49
+ "hash": "338ce0a8c6f6c10e",
50
50
  "childrenByOrder": {}
51
51
  },
52
52
  {
@@ -99,9 +99,9 @@
99
99
  "entry": false,
100
100
  "recorded": false,
101
101
  "reason": "split chunk (cache group: default)",
102
- "size": 60593,
102
+ "size": 61283,
103
103
  "sizes": {
104
- "javascript": 60593
104
+ "javascript": 61283
105
105
  },
106
106
  "names": [],
107
107
  "idHints": [],
@@ -115,7 +115,7 @@
115
115
  "auxiliaryFiles": [
116
116
  "826.js.map"
117
117
  ],
118
- "hash": "b922a25c5c065c1c",
118
+ "hash": "6d4b1002adb758f0",
119
119
  "childrenByOrder": {}
120
120
  },
121
121
  {
@@ -276,7 +276,7 @@
276
276
  "auxiliaryFiles": [
277
277
  "1650.js.map"
278
278
  ],
279
- "hash": "870781e9e270bba0",
279
+ "hash": "dfbe86b7230ce159",
280
280
  "childrenByOrder": {}
281
281
  },
282
282
  {
@@ -325,7 +325,7 @@
325
325
  "auxiliaryFiles": [
326
326
  "2252.js.map"
327
327
  ],
328
- "hash": "d20b015986b83c90",
328
+ "hash": "a5607e762a6f6a89",
329
329
  "childrenByOrder": {}
330
330
  },
331
331
  {
@@ -367,7 +367,7 @@
367
367
  ],
368
368
  "files": [],
369
369
  "auxiliaryFiles": [],
370
- "hash": "6518561da2d6b447",
370
+ "hash": "e500fbcb60f73a8f",
371
371
  "childrenByOrder": {}
372
372
  },
373
373
  {
@@ -565,9 +565,9 @@
565
565
  "initial": false,
566
566
  "entry": false,
567
567
  "recorded": false,
568
- "size": 57203,
568
+ "size": 57221,
569
569
  "sizes": {
570
- "javascript": 57203
570
+ "javascript": 57221
571
571
  },
572
572
  "names": [],
573
573
  "idHints": [],
@@ -581,7 +581,34 @@
581
581
  "auxiliaryFiles": [
582
582
  "3715.js.map"
583
583
  ],
584
- "hash": "35cefa873641cf95",
584
+ "hash": "ef16ff62785ef4bf",
585
+ "childrenByOrder": {}
586
+ },
587
+ {
588
+ "rendered": true,
589
+ "initial": false,
590
+ "entry": false,
591
+ "recorded": false,
592
+ "reason": "split chunk (cache group: defaultVendors)",
593
+ "size": 4139561,
594
+ "sizes": {
595
+ "javascript": 4139561
596
+ },
597
+ "names": [],
598
+ "idHints": [
599
+ "vendors"
600
+ ],
601
+ "runtime": [
602
+ "@openmrs/esm-reports-app",
603
+ "main"
604
+ ],
605
+ "files": [
606
+ "3854.js"
607
+ ],
608
+ "auxiliaryFiles": [
609
+ "3854.js.map"
610
+ ],
611
+ "hash": "d33c25de8b7b51b1",
585
612
  "childrenByOrder": {}
586
613
  },
587
614
  {
@@ -606,7 +633,7 @@
606
633
  "auxiliaryFiles": [
607
634
  "3877.js.map"
608
635
  ],
609
- "hash": "422476caf8a13339",
636
+ "hash": "7d161303498f714b",
610
637
  "childrenByOrder": {}
611
638
  },
612
639
  {
@@ -769,7 +796,7 @@
769
796
  "auxiliaryFiles": [
770
797
  "4584.js.map"
771
798
  ],
772
- "hash": "71451e73139f0e83",
799
+ "hash": "921261932345f3ce",
773
800
  "childrenByOrder": {}
774
801
  },
775
802
  {
@@ -1381,34 +1408,7 @@
1381
1408
  "auxiliaryFiles": [
1382
1409
  "8390.js.map"
1383
1410
  ],
1384
- "hash": "e433ddee02b1424d",
1385
- "childrenByOrder": {}
1386
- },
1387
- {
1388
- "rendered": true,
1389
- "initial": false,
1390
- "entry": false,
1391
- "recorded": false,
1392
- "reason": "split chunk (cache group: defaultVendors)",
1393
- "size": 4131038,
1394
- "sizes": {
1395
- "javascript": 4131038
1396
- },
1397
- "names": [],
1398
- "idHints": [
1399
- "vendors"
1400
- ],
1401
- "runtime": [
1402
- "@openmrs/esm-reports-app",
1403
- "main"
1404
- ],
1405
- "files": [
1406
- "8488.js"
1407
- ],
1408
- "auxiliaryFiles": [
1409
- "8488.js.map"
1410
- ],
1411
- "hash": "1fb7c9327609e38c",
1411
+ "hash": "35e578e6ad7e3934",
1412
1412
  "childrenByOrder": {}
1413
1413
  },
1414
1414
  {
@@ -1458,7 +1458,7 @@
1458
1458
  "auxiliaryFiles": [
1459
1459
  "main.js.map"
1460
1460
  ],
1461
- "hash": "a9b6f9b27a159558",
1461
+ "hash": "abc34b9eff359ab2",
1462
1462
  "childrenByOrder": {}
1463
1463
  },
1464
1464
  {
@@ -1552,7 +1552,7 @@
1552
1552
  "auxiliaryFiles": [
1553
1553
  "openmrs-esm-reports-app.js.map"
1554
1554
  ],
1555
- "hash": "0de40f1b2c8b9625",
1555
+ "hash": "50a68aed7a90a85b",
1556
1556
  "childrenByOrder": {}
1557
1557
  },
1558
1558
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0","reportingrest":">=1.15.0","reporting":">=1.27.0"},"extensions":[{"name":"admin-report-link","slot":"system-admin-page-card-link-slot","component":"reportsLink"},{"name":"run-report","component":"runReport"}],"pages":[{"component":"root","route":"reports"},{"component":"overview","route":"overview"},{"component":"scheduled-overview","route":"scheduled-overview"},{"component":"reports-data-overview","route":"reports-data-overview"}],"modals":[{"name":"cancel-report-modal","component":"cancelReportModal"}],"version":"4.2.2-pre.394"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.2.0","reportingrest":">=1.15.0","reporting":">=1.27.0"},"extensions":[{"name":"admin-report-link","slot":"system-admin-page-card-link-slot","component":"reportsLink"},{"name":"run-report","component":"runReport"}],"pages":[{"component":"root","route":"reports"},{"component":"overview","route":"overview"},{"component":"scheduled-overview","route":"scheduled-overview"},{"component":"reports-data-overview","route":"reports-data-overview"}],"modals":[{"name":"cancel-report-modal","component":"cancelReportModal"}],"version":"4.2.2-pre.410"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-reports-app",
3
- "version": "4.2.2-pre.394",
3
+ "version": "4.2.2-pre.410",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Reports admin dashboard for 03",
6
6
  "browser": "dist/openmrs-esm-reports-app.js",
@@ -2,7 +2,7 @@ import React, { useState, useMemo, useEffect } from 'react';
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import { Select, SelectItem, Button } from '@carbon/react';
4
4
  import dayjs from 'dayjs';
5
- import { ExtensionSlot, showSnackbar, getCoreTranslation } from '@openmrs/esm-framework';
5
+ import { ExtensionSlot, showSnackbar, getCoreTranslation, useConfig } from '@openmrs/esm-framework';
6
6
  import Overlay from './overlay.component';
7
7
  import ReportDataViewer from './report-data-viewer.component';
8
8
  import ReportParameter from './report-parameter.component';
@@ -67,7 +67,7 @@ const ReportsDataOverviewComponent: React.FC = () => {
67
67
  if (hasParameters) {
68
68
  // Check if all parameters have values
69
69
  const missingParameters = selectedReportDefinition?.parameters
70
- ?.filter((param) => !reportParameters[param.name])
70
+ ?.filter((param) => !reportParameters[param.name] && param.required)
71
71
  .map((param) => param.label);
72
72
 
73
73
  if (missingParameters?.length > 0) {
@@ -26,7 +26,14 @@ const RunReportForm: React.FC<RunReportForm> = ({ closePanel }) => {
26
26
  const { reportDesigns, mutateReportDesigns } = useReportDesigns(reportUuid);
27
27
 
28
28
  const supportedParameterTypes = useMemo(
29
- () => ['java.util.Date', 'java.lang.String', 'java.lang.Integer', 'org.openmrs.Location'],
29
+ () => [
30
+ 'java.util.Date',
31
+ 'java.lang.String',
32
+ 'java.lang.Integer',
33
+ 'org.openmrs.Location',
34
+ 'org.openmrs.Concept',
35
+ 'org.openmrs.EncounterType',
36
+ ],
30
37
  [],
31
38
  );
32
39
 
@@ -36,12 +43,21 @@ const RunReportForm: React.FC<RunReportForm> = ({ closePanel }) => {
36
43
 
37
44
  useEffect(() => {
38
45
  const paramTypes = currentReport?.parameters.map((param) => param.type);
39
- const isAnyNotSupportedType = !paramTypes?.every((paramType) => supportedParameterTypes.includes(paramType));
40
- const allParametersNotEmpty = currentReport?.parameters.every(
41
- (parameter) => !!reportParameters[parameter.name] && reportParameters[parameter.name] !== 'Invalid Date',
42
- );
43
46
 
44
- if (!isAnyNotSupportedType && allParametersNotEmpty && reportUuid !== '' && renderModeUuid !== '') {
47
+ const isAnyNotSupportedType =
48
+ paramTypes?.some((paramType) => !supportedParameterTypes.includes(paramType)) ?? false;
49
+ const allRequiredParametersValid =
50
+ currentReport?.parameters?.every((parameter) => {
51
+ if (!parameter.required) {
52
+ return true;
53
+ }
54
+
55
+ const paramValue = reportParameters[parameter.name];
56
+ const isValid = !!paramValue && paramValue !== 'Invalid Date' && paramValue !== '';
57
+ return isValid;
58
+ }) ?? true;
59
+
60
+ if (!isAnyNotSupportedType && allRequiredParametersValid && reportUuid !== '' && renderModeUuid !== '') {
45
61
  setIsFormValid(true);
46
62
  } else {
47
63
  setIsFormValid(false);
@@ -0,0 +1,5 @@
1
+ import { Type } from '@openmrs/esm-framework';
2
+
3
+ export const configSchema = {};
4
+
5
+ export type ConfigObject = {};
@@ -9,4 +9,5 @@ interface ReportParameter {
9
9
  name: string;
10
10
  label: string;
11
11
  type: string;
12
+ required: boolean;
12
13
  }