@openmrs/esm-home-app 3.1.1 → 3.1.2-pre.103
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 +29 -0
- package/__mocks__/react-i18next.mock.js +49 -0
- package/dist/183.js +1 -0
- package/dist/199.js +1 -0
- package/dist/{319.openmrs-esm-home-app.js → 319.js} +0 -0
- package/dist/354.js +1 -0
- package/dist/499.js +1 -0
- package/dist/520.js +1 -0
- package/dist/54.js +1 -0
- package/dist/574.js +1 -0
- package/dist/59.js +1 -0
- package/dist/709.js +1 -0
- package/dist/784.js +2 -0
- package/dist/784.js.LICENSE.txt +9 -0
- package/dist/858.js +2 -0
- package/dist/858.js.LICENSE.txt +3 -0
- package/dist/870.js +1 -0
- package/dist/97.js +2 -0
- package/dist/97.js.LICENSE.txt +21 -0
- package/dist/994.js +1 -0
- package/dist/main.js +1 -0
- package/dist/openmrs-esm-home-app.js +1 -2
- package/dist/openmrs-esm-home-app.js.buildmanifest.json +248 -67
- package/dist/openmrs-esm-home-app.old +1 -0
- package/jest.config.json +32 -0
- package/package.json +8 -10
- package/setupTests.ts +13 -0
- package/src/dashboard/home-dashboard.component.tsx +15 -27
- package/src/dashboard/{home-dashboard.component.css → home-dashboard.css} +0 -0
- package/src/dashboard/home-dashboard.test.tsx +19 -19
- package/src/dashboard-button/dashboard-button.component.tsx +1 -1
- package/src/dashboard-button/{dashboard-button.component.css → dashboard-button.css} +0 -0
- package/src/helpers/render-with-router.tsx +4 -7
- package/src/index.ts +0 -6
- package/src/openmrs-esm-home-schema.ts +0 -7
- package/src/refapp-links/active-visits.tsx +4 -1
- package/src/refapp-links/appointment-scheduling.tsx +6 -1
- package/src/refapp-links/capture-vitals.tsx +4 -1
- package/src/refapp-links/configure-metadata.tsx +6 -1
- package/src/refapp-links/data-management.tsx +6 -1
- package/src/refapp-links/reports.tsx +6 -1
- package/src/refapp-links/system-administration.tsx +4 -3
- package/src/root.component.tsx +5 -7
- package/src/root.scss +0 -1
- package/src/{root.component.test.tsx → root.test.tsx} +2 -5
- package/translations/en.json +7 -10
- package/babel.config.json +0 -10
- package/dist/212.openmrs-esm-home-app.js +0 -2
- package/dist/212.openmrs-esm-home-app.js.map +0 -1
- package/dist/314.openmrs-esm-home-app.js +0 -2
- package/dist/314.openmrs-esm-home-app.js.map +0 -1
- package/dist/347.openmrs-esm-home-app.js +0 -2
- package/dist/347.openmrs-esm-home-app.js.map +0 -1
- package/dist/410.openmrs-esm-home-app.js +0 -2
- package/dist/410.openmrs-esm-home-app.js.map +0 -1
- package/dist/574.openmrs-esm-home-app.js +0 -1
- package/dist/663.openmrs-esm-home-app.js +0 -2
- package/dist/663.openmrs-esm-home-app.js.map +0 -1
- package/dist/779.openmrs-esm-home-app.js +0 -2
- package/dist/779.openmrs-esm-home-app.js.map +0 -1
- package/dist/898.openmrs-esm-home-app.js +0 -2
- package/dist/898.openmrs-esm-home-app.js.map +0 -1
- package/dist/990.openmrs-esm-home-app.js +0 -2
- package/dist/990.openmrs-esm-home-app.js.map +0 -1
- package/dist/openmrs-esm-home-app.js.map +0 -1
- package/src/assets/placeholder.png +0 -0
package/dist/870.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[870],{870:(e,n,s)=>{s.r(n),s.d(n,{default:()=>i});var t=s(268),a=s.n(t),r=s(335),m=s(924);function i(){var e=(0,m.useTranslation)().t;return a().createElement(r.ConfigurableLink,{to:"${openmrsBase}/admin"},e("systemAdministration","System Administration"))}}}]);
|
package/dist/97.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 97.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[97],{97:(e,t,n)=>{n.r(t),n.d(t,{BrowserRouter:()=>re,HashRouter:()=>ie,Link:()=>ue,MemoryRouter:()=>V,NavLink:()=>ce,Navigate:()=>q,NavigationType:()=>a,Outlet:()=>z,Route:()=>G,Router:()=>Q,Routes:()=>X,UNSAFE_LocationContext:()=>d,UNSAFE_NavigationContext:()=>v,UNSAFE_RouteContext:()=>m,createPath:()=>f,createRoutesFromChildren:()=>Y,createSearchParams:()=>he,generatePath:()=>y,matchPath:()=>w,matchRoutes:()=>b,parsePath:()=>p,renderMatches:()=>Z,resolvePath:()=>S,unstable_HistoryRouter:()=>oe,useHref:()=>$,useInRouterContext:()=>j,useLinkClickHandler:()=>le,useLocation:()=>B,useMatch:()=>_,useNavigate:()=>H,useNavigationType:()=>W,useOutlet:()=>U,useOutletContext:()=>I,useParams:()=>F,useResolvedPath:()=>D,useRoutes:()=>J,useSearchParams:()=>se});var a,r=n(268);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(a||(a={}));var o="beforeunload",u="popstate";function c(e,t,n){return Math.min(Math.max(e,t),n)}function l(e){e.preventDefault(),e.returnValue=""}function s(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function h(){return Math.random().toString(36).substr(2,8)}function f(e){var t=e.pathname,n=void 0===t?"/":t,a=e.search,r=void 0===a?"":a,i=e.hash,o=void 0===i?"":i;return r&&"?"!==r&&(n+="?"===r.charAt(0)?r:"?"+r),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function p(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}const v=(0,r.createContext)(null),d=(0,r.createContext)(null),m=(0,r.createContext)({outlet:null,matches:[]});function g(e,t){if(!e)throw new Error(t)}function y(e,t){return void 0===t&&(t={}),e.replace(/:(\w+)/g,((e,n)=>(null==t[n]&&g(!1),t[n]))).replace(/\/*\*$/,(e=>null==t["*"]?"":t["*"].replace(/^\/*/,"/")))}function b(e,t,n){void 0===n&&(n="/");let a=O(("string"==typeof t?p(t):t).pathname||"/",n);if(null==a)return null;let r=x(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(r);let i=null;for(let e=0;null==i&&e<r.length;++e)i=C(r[e],a);return i}function x(e,t,n,a){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===a&&(a=""),e.forEach(((e,r)=>{let i={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};i.relativePath.startsWith("/")&&(i.relativePath.startsWith(a)||g(!1),i.relativePath=i.relativePath.slice(a.length));let o=L([a,i.relativePath]),u=n.concat(i);e.children&&e.children.length>0&&(!0===e.index&&g(!1),x(e.children,t,u,o)),(null!=e.path||e.index)&&t.push({path:o,score:k(o,e.index),routesMeta:u})})),t}const P=/^:\w+$/,E=e=>"*"===e;function k(e,t){let n=e.split("/"),a=n.length;return n.some(E)&&(a+=-2),t&&(a+=2),n.filter((e=>!E(e))).reduce(((e,t)=>e+(P.test(t)?3:""===t?1:10)),a)}function C(e,t){let{routesMeta:n}=e,a={},r="/",i=[];for(let e=0;e<n.length;++e){let o=n[e],u=e===n.length-1,c="/"===r?t:t.slice(r.length)||"/",l=w({path:o.relativePath,caseSensitive:o.caseSensitive,end:u},c);if(!l)return null;Object.assign(a,l.params);let s=o.route;i.push({params:a,pathname:L([r,l.pathname]),pathnameBase:A(L([r,l.pathnameBase])),route:s}),"/"!==l.pathnameBase&&(r=L([r,l.pathnameBase]))}return i}function w(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0);let a=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(a.push(t),"([^\\/]+)")));return e.endsWith("*")?(a.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(r,t?void 0:"i"),a]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let i=r[0],o=i.replace(/(.)\/+$/,"$1"),u=r.slice(1);return{params:a.reduce(((e,t,n)=>{if("*"===t){let e=u[n]||"";o=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(u[n]||""),e}),{}),pathname:i,pathnameBase:o,pattern:e}}function S(e,t){void 0===t&&(t="/");let{pathname:n,search:a="",hash:r=""}="string"==typeof e?p(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:N(a),hash:M(r)}}function R(e,t,n){let a,r="string"==typeof e?p(e):e,i=""===e||""===r.pathname?"/":r.pathname;if(null==i)a=n;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}a=e>=0?t[e]:"/"}let o=S(r,a);return i&&"/"!==i&&i.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function O(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}const L=e=>e.join("/").replace(/\/\/+/g,"/"),A=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),N=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",M=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function $(e){j()||g(!1);let{basename:t,navigator:n}=(0,r.useContext)(v),{hash:a,pathname:i,search:o}=D(e),u=i;if("/"!==t){let n=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?p(e).pathname:e.pathname}(e),a=null!=n&&n.endsWith("/");u="/"===i?t+(a?"/":""):L([t,i])}return n.createHref({pathname:u,search:o,hash:a})}function j(){return null!=(0,r.useContext)(d)}function B(){return j()||g(!1),(0,r.useContext)(d).location}function W(){return(0,r.useContext)(d).navigationType}function _(e){j()||g(!1);let{pathname:t}=B();return(0,r.useMemo)((()=>w(e,t)),[t,e])}function H(){j()||g(!1);let{basename:e,navigator:t}=(0,r.useContext)(v),{matches:n}=(0,r.useContext)(m),{pathname:a}=B(),i=JSON.stringify(n.map((e=>e.pathnameBase))),o=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{o.current=!0})),(0,r.useCallback)((function(n,r){if(void 0===r&&(r={}),!o.current)return;if("number"==typeof n)return void t.go(n);let u=R(n,JSON.parse(i),a);"/"!==e&&(u.pathname=L([e,u.pathname])),(r.replace?t.replace:t.push)(u,r.state)}),[e,t,i,a])}const T=(0,r.createContext)(null);function I(){return(0,r.useContext)(T)}function U(e){let t=(0,r.useContext)(m).outlet;return t?(0,r.createElement)(T.Provider,{value:e},t):t}function F(){let{matches:e}=(0,r.useContext)(m),t=e[e.length-1];return t?t.params:{}}function D(e){let{matches:t}=(0,r.useContext)(m),{pathname:n}=B(),a=JSON.stringify(t.map((e=>e.pathnameBase)));return(0,r.useMemo)((()=>R(e,JSON.parse(a),n)),[e,a,n])}function J(e,t){j()||g(!1);let{matches:n}=(0,r.useContext)(m),a=n[n.length-1],i=a?a.params:{},o=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let u,c=B();if(t){var l;let e="string"==typeof t?p(t):t;"/"===o||(null==(l=e.pathname)?void 0:l.startsWith(o))||g(!1),u=e}else u=c;let s=u.pathname||"/",h=b(e,{pathname:"/"===o?s:s.slice(o.length)||"/"});return K(h&&h.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:L([o,e.pathname]),pathnameBase:"/"===e.pathnameBase?o:L([o,e.pathnameBase])}))),n)}function K(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight(((n,a,i)=>(0,r.createElement)(m.Provider,{children:void 0!==a.route.element?a.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,i+1))}})),null)}function V(e){let{basename:t,children:n,initialEntries:o,initialIndex:u}=e,l=(0,r.useRef)();null==l.current&&(l.current=function(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=void 0===n?["/"]:n,o=t.initialIndex,u=r.map((function(e){return i({pathname:"/",search:"",hash:"",state:null,key:h()},"string"==typeof e?p(e):e)})),l=c(null==o?u.length-1:o,0,u.length-1),v=a.Pop,d=u[l],m=s(),g=s();function y(e,t){return void 0===t&&(t=null),i({pathname:d.pathname,search:"",hash:""},"string"==typeof e?p(e):e,{state:t,key:h()})}function b(e,t,n){return!g.length||(g.call({action:e,location:t,retry:n}),!1)}function x(e,t){v=e,d=t,m.call({action:v,location:d})}function P(e){var t=c(l+e,0,u.length-1),n=a.Pop,r=u[t];b(n,r,(function(){P(e)}))&&(l=t,x(n,r))}var E={get index(){return l},get action(){return v},get location(){return d},createHref:function(e){return"string"==typeof e?e:f(e)},push:function e(t,n){var r=a.Push,i=y(t,n);b(r,i,(function(){e(t,n)}))&&(l+=1,u.splice(l,u.length,i),x(r,i))},replace:function e(t,n){var r=a.Replace,i=y(t,n);b(r,i,(function(){e(t,n)}))&&(u[l]=i,x(r,i))},go:P,back:function(){P(-1)},forward:function(){P(1)},listen:function(e){return m.push(e)},block:function(e){return g.push(e)}};return E}({initialEntries:o,initialIndex:u}));let v=l.current,[d,m]=(0,r.useState)({action:v.action,location:v.location});return(0,r.useLayoutEffect)((()=>v.listen(m)),[v]),(0,r.createElement)(Q,{basename:t,children:n,location:d.location,navigationType:d.action,navigator:v})}function q(e){let{to:t,replace:n,state:a}=e;j()||g(!1);let i=H();return(0,r.useEffect)((()=>{i(t,{replace:n,state:a})})),null}function z(e){return U(e.context)}function G(e){g(!1)}function Q(e){let{basename:t="/",children:n=null,location:i,navigationType:o=a.Pop,navigator:u,static:c=!1}=e;j()&&g(!1);let l=A(t),s=(0,r.useMemo)((()=>({basename:l,navigator:u,static:c})),[l,u,c]);"string"==typeof i&&(i=p(i));let{pathname:h="/",search:f="",hash:m="",state:y=null,key:b="default"}=i,x=(0,r.useMemo)((()=>{let e=O(h,l);return null==e?null:{pathname:e,search:f,hash:m,state:y,key:b}}),[l,h,f,m,y,b]);return null==x?null:(0,r.createElement)(v.Provider,{value:s},(0,r.createElement)(d.Provider,{children:n,value:{location:x,navigationType:o}}))}function X(e){let{children:t,location:n}=e;return J(Y(t),n)}function Y(e){let t=[];return r.Children.forEach(e,(e=>{if(!(0,r.isValidElement)(e))return;if(e.type===r.Fragment)return void t.push.apply(t,Y(e.props.children));e.type!==G&&g(!1);let n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=Y(e.props.children)),t.push(n)})),t}function Z(e){return K(e)}function ee(){return ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ee.apply(this,arguments)}function te(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}const ne=["onClick","reloadDocument","replace","state","target","to"],ae=["aria-current","caseSensitive","className","end","style","to","children"];function re(e){let{basename:t,children:n,window:c}=e,v=(0,r.useRef)();null==v.current&&(v.current=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function c(){var e=n.location,t=e.pathname,a=e.search,i=e.hash,o=r.state||{};return[o.idx,{pathname:t,search:a,hash:i,state:o.usr||null,key:o.key||"default"}]}var v=null;n.addEventListener(u,(function(){if(v)x.call(v),v=null;else{var e=a.Pop,t=c(),n=t[0],r=t[1];if(x.length){if(null!=n){var i=g-n;i&&(v={action:e,location:r,retry:function(){S(-1*i)}},S(i))}}else w(e)}}));var d=a.Pop,m=c(),g=m[0],y=m[1],b=s(),x=s();function P(e){return"string"==typeof e?e:f(e)}function E(e,t){return void 0===t&&(t=null),i({pathname:y.pathname,hash:"",search:""},"string"==typeof e?p(e):e,{state:t,key:h()})}function k(e,t){return[{usr:e.state,key:e.key,idx:t},P(e)]}function C(e,t,n){return!x.length||(x.call({action:e,location:t,retry:n}),!1)}function w(e){d=e;var t=c();g=t[0],y=t[1],b.call({action:d,location:y})}function S(e){r.go(e)}null==g&&(g=0,r.replaceState(i({},r.state,{idx:g}),""));var R={get action(){return d},get location(){return y},createHref:P,push:function e(t,i){var o=a.Push,u=E(t,i);if(C(o,u,(function(){e(t,i)}))){var c=k(u,g+1),l=c[0],s=c[1];try{r.pushState(l,"",s)}catch(e){n.location.assign(s)}w(o)}},replace:function e(t,n){var i=a.Replace,o=E(t,n);if(C(i,o,(function(){e(t,n)}))){var u=k(o,g),c=u[0],l=u[1];r.replaceState(c,"",l),w(i)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(e){return b.push(e)},block:function(e){var t=x.push(e);return 1===x.length&&n.addEventListener(o,l),function(){t(),x.length||n.removeEventListener(o,l)}}};return R}({window:c}));let d=v.current,[m,g]=(0,r.useState)({action:d.action,location:d.location});return(0,r.useLayoutEffect)((()=>d.listen(g)),[d]),(0,r.createElement)(Q,{basename:t,children:n,location:m.location,navigationType:m.action,navigator:d})}function ie(e){let{basename:t,children:n,window:c}=e,v=(0,r.useRef)();null==v.current&&(v.current=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function c(){var e=p(n.location.hash.substr(1)),t=e.pathname,a=void 0===t?"/":t,i=e.search,o=void 0===i?"":i,u=e.hash,c=void 0===u?"":u,l=r.state||{};return[l.idx,{pathname:a,search:o,hash:c,state:l.usr||null,key:l.key||"default"}]}var v=null;function d(){if(v)P.call(v),v=null;else{var e=a.Pop,t=c(),n=t[0],r=t[1];if(P.length){if(null!=n){var i=y-n;i&&(v={action:e,location:r,retry:function(){R(-1*i)}},R(i))}}else S(e)}}n.addEventListener(u,d),n.addEventListener("hashchange",(function(){f(c()[1])!==f(b)&&d()}));var m=a.Pop,g=c(),y=g[0],b=g[1],x=s(),P=s();function E(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var a=n.location.href,r=a.indexOf("#");t=-1===r?a:a.slice(0,r)}return t}()+"#"+("string"==typeof e?e:f(e))}function k(e,t){return void 0===t&&(t=null),i({pathname:b.pathname,hash:"",search:""},"string"==typeof e?p(e):e,{state:t,key:h()})}function C(e,t){return[{usr:e.state,key:e.key,idx:t},E(e)]}function w(e,t,n){return!P.length||(P.call({action:e,location:t,retry:n}),!1)}function S(e){m=e;var t=c();y=t[0],b=t[1],x.call({action:m,location:b})}function R(e){r.go(e)}return null==y&&(y=0,r.replaceState(i({},r.state,{idx:y}),"")),{get action(){return m},get location(){return b},createHref:E,push:function e(t,i){var o=a.Push,u=k(t,i);if(w(o,u,(function(){e(t,i)}))){var c=C(u,y+1),l=c[0],s=c[1];try{r.pushState(l,"",s)}catch(e){n.location.assign(s)}S(o)}},replace:function e(t,n){var i=a.Replace,o=k(t,n);if(w(i,o,(function(){e(t,n)}))){var u=C(o,y),c=u[0],l=u[1];r.replaceState(c,"",l),S(i)}},go:R,back:function(){R(-1)},forward:function(){R(1)},listen:function(e){return x.push(e)},block:function(e){var t=P.push(e);return 1===P.length&&n.addEventListener(o,l),function(){t(),P.length||n.removeEventListener(o,l)}}}}({window:c}));let d=v.current,[m,g]=(0,r.useState)({action:d.action,location:d.location});return(0,r.useLayoutEffect)((()=>d.listen(g)),[d]),(0,r.createElement)(Q,{basename:t,children:n,location:m.location,navigationType:m.action,navigator:d})}function oe(e){let{basename:t,children:n,history:a}=e;const[i,o]=(0,r.useState)({action:a.action,location:a.location});return(0,r.useLayoutEffect)((()=>a.listen(o)),[a]),(0,r.createElement)(Q,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:a})}const ue=(0,r.forwardRef)((function(e,t){let{onClick:n,reloadDocument:a,replace:i=!1,state:o,target:u,to:c}=e,l=te(e,ne),s=$(c),h=le(c,{replace:i,state:o,target:u});return(0,r.createElement)("a",ee({},l,{href:s,onClick:function(e){n&&n(e),e.defaultPrevented||a||h(e)},ref:t,target:u}))})),ce=(0,r.forwardRef)((function(e,t){let{"aria-current":n="page",caseSensitive:a=!1,className:i="",end:o=!1,style:u,to:c,children:l}=e,s=te(e,ae),h=B(),f=D(c),p=h.pathname,v=f.pathname;a||(p=p.toLowerCase(),v=v.toLowerCase());let d,m=p===v||!o&&p.startsWith(v)&&"/"===p.charAt(v.length),g=m?n:void 0;d="function"==typeof i?i({isActive:m}):[i,m?"active":null].filter(Boolean).join(" ");let y="function"==typeof u?u({isActive:m}):u;return(0,r.createElement)(ue,ee({},s,{"aria-current":g,className:d,ref:t,style:y,to:c}),"function"==typeof l?l({isActive:m}):l)}));function le(e,t){let{target:n,replace:a,state:i}=void 0===t?{}:t,o=H(),u=B(),c=D(e);return(0,r.useCallback)((t=>{if(!(0!==t.button||n&&"_self"!==n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let n=!!a||f(u)===f(c);o(e,{replace:n,state:i})}}),[u,o,c,a,i,n,e])}function se(e){let t=(0,r.useRef)(he(e)),n=B(),a=(0,r.useMemo)((()=>{let e=he(n.search);for(let n of t.current.keys())e.has(n)||t.current.getAll(n).forEach((t=>{e.append(n,t)}));return e}),[n.search]),i=H();return[a,(0,r.useCallback)(((e,t)=>{i("?"+he(e),t)}),[i])]}function he(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let a=e[n];return t.concat(Array.isArray(a)?a.map((e=>[n,e])):[[n,a]])}),[]))}}}]);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React Router DOM v6.3.0
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Remix Software Inc.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
8
|
+
*
|
|
9
|
+
* @license MIT
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* React Router v6.3.0
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Remix Software Inc.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
19
|
+
*
|
|
20
|
+
* @license MIT
|
|
21
|
+
*/
|
package/dist/994.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[]).push([[994],{994:(e,r,p)=>{p.r(r),p.d(r,{default:()=>t});var s=p(268),n=p.n(s),a=p(335),o=p(924);function t(){var e=(0,o.useTranslation)().t;return n().createElement(a.ConfigurableLink,{to:"${openmrsBase}/reportingui/reportsapp/home.page"},e("reports","Reports"))}}}]);
|
package/dist/main.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var e,r,t={354:(e,r,t)=>{"use strict";var n=t(335);n.Type.Boolean,n.Type.Array,n.Type.String,n.Type.String,n.validators.isUrl,n.Type.String,n.Type.Boolean,n.validators.isUrlWithTemplateParameters(["patientUuid"]),t(979)},979:(e,r,t)=>{var n={"./en.json":[574,574],"./es.json":[319,319]};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=979,e.exports=o}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e](a,a.exports,o),a.loaded=!0,a.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-home-app:",o.l=(t,n,a,i)=>{if(e[t])e[t].push(n);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),p=0;p<s.length;p++){var f=s[p];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+a){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.setAttribute("data-webpack",r+a),l.src=t),e[t]=[n];var d=(r,n)=>{l.onerror=l.onload=null,clearTimeout(c);var o=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(n))),r)return r(n)},c=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),u&&document.head.appendChild(l)}},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 a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];o.o(o.S,t)||(o.S[t]={});var i=o.S[t],l="@openmrs/esm-home-app",u=(e,r,t,n)=>{var o=i[e]=i[e]||{},a=o[r];(!a||!a.loaded&&(!n!=!a.eager?n:l>a.from))&&(o[r]={get:t,from:l,eager:!!n})},s=[];return"default"===t&&(u("@openmrs/esm-framework","4.0.0-pre.1",(()=>Promise.all([o.e(858),o.e(268)]).then((()=>()=>o(858))))),u("react-i18next","11.18.3",(()=>Promise.all([o.e(709),o.e(268)]).then((()=>()=>o(709))))),u("react-router-dom","6.3.0",(()=>Promise.all([o.e(97),o.e(268)]).then((()=>()=>o(97))))),u("react","18.2.0",(()=>o.e(784).then((()=>()=>o(784)))))),e[t]=s.length?Promise.all(s).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");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),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,a=1;a<e.length;a++)o--,n+="u"==(typeof(l=e[a]))[0]?"-":(o>0?".":"")+(o=2,l);return n}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():r(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var o=r[0],a=o<0;a&&(o=-o-1);for(var i=0,l=1,u=!0;;l++,i++){var s,p,f=l<r.length?(typeof r[l])[0]:"";if(i>=n.length||"o"==(p=(typeof(s=n[i]))[0]))return!u||("u"==f?l>o&&!a:""==f!=a);if("u"==p){if(!u||"u"!=f)return!1}else if(u)if(f==p)if(l<=o){if(s!=r[l])return!1}else{if(a?s>r[l]:s<r[l])return!1;s!=r[l]&&(u=!1)}else if("s"!=f&&"n"!=f){if(a||l<=o)return!1;u=!1,l--}else{if(l<=o||p<f!=a)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<r.length;i++){var h=r[i];d.push(1==h?c()|c():2==h?c()&c():h?t(h,n):!c())}return!!c()},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],a=(typeof o)[0];if(n>=t.length)return"u"==a;var i=t[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}})(r,t)?t:r),0)},a=(e,o,a,l)=>{var u=n(e,a);return t(l,u)||"undefined"!=typeof console&&console.warn&&console.warn(((e,t,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(o)+")")(e,a,u,l)),i(e[a][u])},i=e=>(e.loaded=1,e.get()),l=(e=>function(r,t,n,a){var i=o.I(r);return i&&i.then?i.then(e.bind(e,r,o.S[r],t,n,a)):e(r,o.S[r],t,n,a)})(((e,r,t,n,i)=>r&&o.o(r,t)?a(r,0,t,n):i())),u={},s={268:()=>l("default","react",[1,18],(()=>o.e(784).then((()=>()=>o(784))))),228:()=>l("default","react-router-dom",[1,6],(()=>o.e(97).then((()=>()=>o(97))))),924:()=>l("default","react-i18next",[1,11],(()=>o.e(709).then((()=>()=>o(709))))),335:()=>l("default","@openmrs/esm-framework",[0,4,"x",,"pre"],(()=>Promise.all([o.e(858),o.e(268)]).then((()=>()=>o(858)))))};[335].forEach((e=>{o.m[e]=r=>{u[e]=0,delete o.c[e];var t=s[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var p={54:[228],268:[268],924:[924]};o.f.consumes=(e,r)=>{o.o(p,e)&&p[e].forEach((e=>{if(o.o(u,e))return r.push(u[e]);var t=r=>{u[e]=0,o.m[e]=t=>{delete o.c[e],t.exports=r()}},n=r=>{delete u[e],o.m[e]=t=>{throw delete o.c[e],r}};try{var a=s[e]();a.then?r.push(u[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}))}})(),(()=>{var e={179:0,354: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(/^(268|924)$/.test(r))e[r]=0;else{var a=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=a);var i=o.p+o.u(r),l=new Error;o.l(i,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,n[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[i,l,u]=t,s=0;if(i.some((r=>0!==e[r]))){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);u&&u(o)}for(r&&r(t);s<i.length;s++)a=i[s],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),o.nc=void 0,o(354)})();
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=openmrs-esm-home-app.js.map
|
|
1
|
+
var _openmrs_esm_home_app;(()=>{function b(a){var d=c[a];if(void 0!==d)return d.exports;var e=c[a]={id:a,loaded:!1,exports:{}};return G[a](e,e.exports,b),e.loaded=!0,e.exports}var j,k,q,v,w,x,y,z,A,B,C,D,E,F,G={961:(b,c,d)=>{var f={"./start":()=>d.e(354).then(()=>()=>d(354))},e=(a,b)=>(d.R=b,b=d.o(f,a)?f[a]():Promise.resolve().then(()=>{throw new Error("Module \""+a+"\" does not exist in container.")}),d.R=void 0,b),g=(a,b)=>{if(d.S){var c=d.S["default"];if(c&&c!==a)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return d.S["default"]=a,d.I("default",b)}};d.d(c,{get:()=>e,init:()=>g})}},c={};b.m=G,b.c=c,b.n=a=>{var c=a&&a.__esModule?()=>a.default:()=>a;return b.d(c,{a:c}),c},b.d=(a,c)=>{for(var d in c)b.o(c,d)&&!b.o(a,d)&&Object.defineProperty(a,d,{enumerable:!0,get:c[d]})},b.f={},b.e=a=>Promise.all(Object.keys(b.f).reduce((c,d)=>(b.f[d](a,c),c),[])),b.u=a=>a+".js",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(a){if("object"==typeof window)return window}}(),b.o=(a,b)=>Object.prototype.hasOwnProperty.call(a,b),j={},k="@openmrs/esm-home-app:",b.l=(a,c,e)=>{if(j[a])j[a].push(c);else{var g,h;if(void 0!==e)for(var m,n=document.getElementsByTagName("script"),o=0;o<n.length;o++)if(m=n[o],m.getAttribute("src")==a||m.getAttribute("data-webpack")==k+e){g=m;break}g||(h=!0,(g=document.createElement("script")).charset="utf-8",g.timeout=120,b.nc&&g.setAttribute("nonce",b.nc),g.setAttribute("data-webpack",k+e),g.src=a),j[a]=[c];var q=(b,c)=>{g.onerror=g.onload=null,clearTimeout(f);var d=j[a];if(delete j[a],g.parentNode&&g.parentNode.removeChild(g),d&&d.forEach(a=>a(c)),b)return b(c)},f=setTimeout(q.bind(null,void 0,{type:"timeout",target:g}),12e4);g.onerror=q.bind(null,g.onerror),g.onload=q.bind(null,g.onload),h&&document.head.appendChild(g)}},b.r=a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},b.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{b.S={};var c={},d={};b.I=(e,f)=>{f||(f=[]);var g=d[e];if(g||(g=d[e]={}),!(0<=f.indexOf(g))){if(f.push(g),c[e])return c[e];b.o(b.S,e)||(b.S[e]={});var h=b.S[e],a=(a,b,c,d)=>{var e=h[a]=h[a]||{},f=e[b];f&&(f.loaded||(!d==!f.eager?!("@openmrs/esm-home-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-home-app",eager:!!d})},i=[];return"default"===e&&(a("@openmrs/esm-framework","4.0.0-pre.1",()=>Promise.all([b.e(858),b.e(268)]).then(()=>()=>b(858))),a("react-i18next","11.18.3",()=>Promise.all([b.e(709),b.e(268)]).then(()=>()=>b(709))),a("react-router-dom","6.3.0",()=>Promise.all([b.e(97),b.e(268)]).then(()=>()=>b(97))),a("react","18.2.0",()=>b.e(784).then(()=>()=>b(784)))),c[e]=i.length?Promise.all(i).then(()=>c[e]=1):1}}})(),(()=>{var a;b.g.importScripts&&(a=b.g.location+"");var c=b.g.document;if(!a&&c&&(c.currentScript&&(a=c.currentScript.src),!a)){var d=c.getElementsByTagName("script");d.length&&(a=d[d.length-1].src)}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),b.p=a})(),q=a=>{var b=a=>a.split(".").map(a=>+a==a?+a:a),c=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(a),d=c[1]?b(c[1]):[];return c[2]&&(d.length++,d.push.apply(d,b(c[2]))),c[3]&&(d.push([]),d.push.apply(d,b(c[3]))),d},v=(b,c)=>{b=q(b),c=q(c);for(var d=0;;){if(d>=b.length)return d<c.length&&"u"!=(typeof c[d])[0];var f=b[d],g=(typeof f)[0];if(d>=c.length)return"u"==g;var a=c[d],h=(typeof a)[0];if(g!=h)return"o"==g&&"n"==h||"s"==h||"u"==g;if("o"!=g&&"u"!=g&&f!=a)return f<a;d++}},w=b=>{function c(){return h.pop().replace(/^\((.+)\)$/,"$1")}var d=b[0],e="";if(1===b.length)return"*";if(d+.5){e+=0==d?">=":-1==d?"<":1==d?"^":2==d?"~":0<d?"=":"!=";for(var f=1,g=1;g<b.length;g++)f--,e+="u"==(typeof(i=b[g]))[0]?"-":(0<f?".":"")+(f=2,i);return e}var h=[];for(g=1;g<b.length;g++){var i=b[g];h.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?h.pop()+" "+h.pop():w(i))}return c()},x=(a,b)=>{if(0 in a){b=q(b);var e=a[0],g=0>e;g&&(e=-e-1);for(var j=0,k=1,m=!0;;k++,j++){var o,t,v=k<a.length?(typeof a[k])[0]:"";if(j>=b.length||"o"==(t=(typeof(o=b[j]))[0]))return!m||("u"==v?k>e&&!g:""==v!=g);if("u"==t){if(!m||"u"!=v)return!1;}else if(!m)"s"!=v&&"n"!=v&&(m=!1,k--);else if(v==t){if(!(k<=e)){if(g?o>a[k]:o<a[k])return!1;o!=a[k]&&(m=!1)}else if(o!=a[k])return!1;}else if("s"!=v&&"n"!=v){if(g||k<=e)return!1;m=!1,k--}else{if(k<=e||t<v!=g)return!1;m=!1}}}var f=[],d=f.pop.bind(f);for(j=1;j<a.length;j++){var h=a[j];f.push(1==h?d()|d():2==h?d()&d():h?x(h,b):!d())}return!!d()},y=(a,b)=>{var c=a[b];return Object.keys(c).reduce((a,b)=>a&&(c[a].loaded||!v(a,b))?a:b,0)},z=(a,b,c,d)=>"Unsatisfied version "+c+" from "+(c&&a[b][c].from)+" of shared singleton module "+b+" (required "+w(d)+")",A=(a,b,c,d)=>{var e=y(a,c);return x(d,e)||"undefined"!=typeof console&&console.warn&&console.warn(z(a,c,e,d)),B(a[c][e])},B=a=>(a.loaded=1,a.get()),C=(c=>function(d,e,f,g){var h=b.I(d);return h&&h.then?h.then(c.bind(c,d,b.S[d],e,f,g)):c(0,b.S[d],e,f,g)})((a,c,d,e,f)=>c&&b.o(c,d)?A(c,0,d,e):f()),D={},E={268:()=>C("default","react",[1,18],()=>b.e(784).then(()=>()=>b(784))),335:()=>C("default","@openmrs/esm-framework",[0,4,"x",,"pre"],()=>Promise.all([b.e(858),b.e(268)]).then(()=>()=>b(858))),228:()=>C("default","react-router-dom",[1,6],()=>b.e(97).then(()=>()=>b(97))),924:()=>C("default","react-i18next",[1,11],()=>b.e(709).then(()=>()=>b(709)))},F={54:[228],268:[268],354:[335],924:[924]},b.f.consumes=(a,c)=>{b.o(F,a)&&F[a].forEach(a=>{if(b.o(D,a))return c.push(D[a]);var d=c=>{D[a]=0,b.m[a]=d=>{delete b.c[a],d.exports=c()}},f=c=>{delete D[a],b.m[a]=()=>{throw delete b.c[a],c}};try{var e=E[a]();e.then?c.push(D[a]=e.then(d).catch(f)):d(e)}catch(a){f(a)}})},(()=>{var c={177:0};b.f.j=(d,e)=>{var f=b.o(c,d)?c[d]:void 0;if(0!==f)if(f)e.push(f[2]);else if(/^(268|924)$/.test(d))c[d]=0;else{var g=new Promise((a,b)=>f=c[d]=[a,b]);e.push(f[2]=g);var h=b.p+b.u(d),j=new Error;b.l(h,e=>{if(b.o(c,d)&&(0!==(f=c[d])&&(c[d]=void 0),f)){var g=e&&("load"===e.type?"missing":e.type),h=e&&e.target&&e.target.src;j.message="Loading chunk "+d+" failed.\n("+g+": "+h+")",j.name="ChunkLoadError",j.type=g,j.request=h,f[1](j)}},"chunk-"+d,d)}};var a=(d,e)=>{var f,g,[h,a,i]=e,j=0;if(h.some(a=>0!==c[a])){for(f in a)b.o(a,f)&&(b.m[f]=a[f]);i&&i(b)}for(d&&d(e);j<h.length;j++)g=h[j],b.o(c,g)&&c[g]&&c[g][0](),c[g]=0},d=self.webpackChunk_openmrs_esm_home_app=self.webpackChunk_openmrs_esm_home_app||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))})(),b.nc=void 0;var m=b(961);_openmrs_esm_home_app=m})();
|
|
@@ -1,29 +1,124 @@
|
|
|
1
1
|
{
|
|
2
2
|
"chunks": [
|
|
3
|
+
{
|
|
4
|
+
"rendered": true,
|
|
5
|
+
"initial": false,
|
|
6
|
+
"entry": false,
|
|
7
|
+
"recorded": false,
|
|
8
|
+
"size": 17498,
|
|
9
|
+
"sizes": {
|
|
10
|
+
"javascript": 17456,
|
|
11
|
+
"consume-shared": 42
|
|
12
|
+
},
|
|
13
|
+
"names": [],
|
|
14
|
+
"idHints": [],
|
|
15
|
+
"runtime": [
|
|
16
|
+
"@openmrs/esm-home-app",
|
|
17
|
+
"main"
|
|
18
|
+
],
|
|
19
|
+
"files": [
|
|
20
|
+
"54.js"
|
|
21
|
+
],
|
|
22
|
+
"auxiliaryFiles": [],
|
|
23
|
+
"hash": "96f5628490e7a77e28d2",
|
|
24
|
+
"childrenByOrder": {}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"rendered": true,
|
|
28
|
+
"initial": false,
|
|
29
|
+
"entry": false,
|
|
30
|
+
"recorded": false,
|
|
31
|
+
"size": 398,
|
|
32
|
+
"sizes": {
|
|
33
|
+
"javascript": 398
|
|
34
|
+
},
|
|
35
|
+
"names": [],
|
|
36
|
+
"idHints": [],
|
|
37
|
+
"runtime": [
|
|
38
|
+
"@openmrs/esm-home-app",
|
|
39
|
+
"main"
|
|
40
|
+
],
|
|
41
|
+
"files": [
|
|
42
|
+
"59.js"
|
|
43
|
+
],
|
|
44
|
+
"auxiliaryFiles": [],
|
|
45
|
+
"hash": "8da259c7eeb9d342150a",
|
|
46
|
+
"childrenByOrder": {}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"rendered": true,
|
|
50
|
+
"initial": false,
|
|
51
|
+
"entry": false,
|
|
52
|
+
"recorded": false,
|
|
53
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
54
|
+
"size": 68158,
|
|
55
|
+
"sizes": {
|
|
56
|
+
"javascript": 68158
|
|
57
|
+
},
|
|
58
|
+
"names": [],
|
|
59
|
+
"idHints": [
|
|
60
|
+
"vendors"
|
|
61
|
+
],
|
|
62
|
+
"runtime": [
|
|
63
|
+
"@openmrs/esm-home-app",
|
|
64
|
+
"main"
|
|
65
|
+
],
|
|
66
|
+
"files": [
|
|
67
|
+
"97.js"
|
|
68
|
+
],
|
|
69
|
+
"auxiliaryFiles": [],
|
|
70
|
+
"hash": "fddba60e7daef17f908a",
|
|
71
|
+
"childrenByOrder": {}
|
|
72
|
+
},
|
|
3
73
|
{
|
|
4
74
|
"rendered": true,
|
|
5
75
|
"initial": true,
|
|
6
76
|
"entry": true,
|
|
7
77
|
"recorded": false,
|
|
8
|
-
"size":
|
|
78
|
+
"size": 19446,
|
|
9
79
|
"sizes": {
|
|
10
|
-
"javascript":
|
|
11
|
-
"
|
|
80
|
+
"javascript": 42,
|
|
81
|
+
"share-init": 168,
|
|
82
|
+
"runtime": 19236
|
|
12
83
|
},
|
|
13
84
|
"names": [
|
|
14
|
-
"
|
|
85
|
+
"@openmrs/esm-home-app"
|
|
15
86
|
],
|
|
16
87
|
"idHints": [],
|
|
17
88
|
"runtime": [
|
|
18
|
-
"
|
|
89
|
+
"@openmrs/esm-home-app"
|
|
19
90
|
],
|
|
20
91
|
"files": [
|
|
21
92
|
"openmrs-esm-home-app.js"
|
|
22
93
|
],
|
|
23
|
-
"auxiliaryFiles": [
|
|
24
|
-
|
|
94
|
+
"auxiliaryFiles": [],
|
|
95
|
+
"hash": "cf5c12aa90c5a602bd06",
|
|
96
|
+
"childrenByOrder": {}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"rendered": true,
|
|
100
|
+
"initial": true,
|
|
101
|
+
"entry": true,
|
|
102
|
+
"recorded": false,
|
|
103
|
+
"size": 25033,
|
|
104
|
+
"sizes": {
|
|
105
|
+
"consume-shared": 42,
|
|
106
|
+
"javascript": 5220,
|
|
107
|
+
"share-init": 168,
|
|
108
|
+
"runtime": 19603
|
|
109
|
+
},
|
|
110
|
+
"names": [
|
|
111
|
+
"main"
|
|
112
|
+
],
|
|
113
|
+
"idHints": [],
|
|
114
|
+
"runtime": [
|
|
115
|
+
"main"
|
|
116
|
+
],
|
|
117
|
+
"files": [
|
|
118
|
+
"main.js"
|
|
25
119
|
],
|
|
26
|
-
"
|
|
120
|
+
"auxiliaryFiles": [],
|
|
121
|
+
"hash": "ada188895b6c9ed13c97",
|
|
27
122
|
"childrenByOrder": {}
|
|
28
123
|
},
|
|
29
124
|
{
|
|
@@ -31,22 +126,21 @@
|
|
|
31
126
|
"initial": false,
|
|
32
127
|
"entry": false,
|
|
33
128
|
"recorded": false,
|
|
34
|
-
"size":
|
|
129
|
+
"size": 401,
|
|
35
130
|
"sizes": {
|
|
36
|
-
"javascript":
|
|
131
|
+
"javascript": 401
|
|
37
132
|
},
|
|
38
133
|
"names": [],
|
|
39
134
|
"idHints": [],
|
|
40
135
|
"runtime": [
|
|
136
|
+
"@openmrs/esm-home-app",
|
|
41
137
|
"main"
|
|
42
138
|
],
|
|
43
139
|
"files": [
|
|
44
|
-
"
|
|
140
|
+
"183.js"
|
|
45
141
|
],
|
|
46
|
-
"auxiliaryFiles": [
|
|
47
|
-
|
|
48
|
-
],
|
|
49
|
-
"hash": "d38970c0b69730e379e1",
|
|
142
|
+
"auxiliaryFiles": [],
|
|
143
|
+
"hash": "e15fd68d25b5a82cff7e",
|
|
50
144
|
"childrenByOrder": {}
|
|
51
145
|
},
|
|
52
146
|
{
|
|
@@ -54,22 +148,42 @@
|
|
|
54
148
|
"initial": false,
|
|
55
149
|
"entry": false,
|
|
56
150
|
"recorded": false,
|
|
57
|
-
"size":
|
|
151
|
+
"size": 409,
|
|
58
152
|
"sizes": {
|
|
59
|
-
"javascript":
|
|
153
|
+
"javascript": 409
|
|
60
154
|
},
|
|
61
155
|
"names": [],
|
|
62
156
|
"idHints": [],
|
|
63
157
|
"runtime": [
|
|
158
|
+
"@openmrs/esm-home-app",
|
|
64
159
|
"main"
|
|
65
160
|
],
|
|
66
161
|
"files": [
|
|
67
|
-
"
|
|
162
|
+
"199.js"
|
|
68
163
|
],
|
|
69
|
-
"auxiliaryFiles": [
|
|
70
|
-
|
|
164
|
+
"auxiliaryFiles": [],
|
|
165
|
+
"hash": "81d65d43edcf5bdd45fa",
|
|
166
|
+
"childrenByOrder": {}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"rendered": false,
|
|
170
|
+
"initial": false,
|
|
171
|
+
"entry": false,
|
|
172
|
+
"recorded": false,
|
|
173
|
+
"reason": "reused as split chunk (cache group: default)",
|
|
174
|
+
"size": 42,
|
|
175
|
+
"sizes": {
|
|
176
|
+
"consume-shared": 42
|
|
177
|
+
},
|
|
178
|
+
"names": [],
|
|
179
|
+
"idHints": [],
|
|
180
|
+
"runtime": [
|
|
181
|
+
"@openmrs/esm-home-app",
|
|
182
|
+
"main"
|
|
71
183
|
],
|
|
72
|
-
"
|
|
184
|
+
"files": [],
|
|
185
|
+
"auxiliaryFiles": [],
|
|
186
|
+
"hash": "8adaaf9671fcb016f74a",
|
|
73
187
|
"childrenByOrder": {}
|
|
74
188
|
},
|
|
75
189
|
{
|
|
@@ -84,13 +198,14 @@
|
|
|
84
198
|
"names": [],
|
|
85
199
|
"idHints": [],
|
|
86
200
|
"runtime": [
|
|
201
|
+
"@openmrs/esm-home-app",
|
|
87
202
|
"main"
|
|
88
203
|
],
|
|
89
204
|
"files": [
|
|
90
|
-
"319.
|
|
205
|
+
"319.js"
|
|
91
206
|
],
|
|
92
207
|
"auxiliaryFiles": [],
|
|
93
|
-
"hash": "
|
|
208
|
+
"hash": "8153e0089eb79cd65198",
|
|
94
209
|
"childrenByOrder": {}
|
|
95
210
|
},
|
|
96
211
|
{
|
|
@@ -98,22 +213,21 @@
|
|
|
98
213
|
"initial": false,
|
|
99
214
|
"entry": false,
|
|
100
215
|
"recorded": false,
|
|
101
|
-
"size":
|
|
216
|
+
"size": 5262,
|
|
102
217
|
"sizes": {
|
|
103
|
-
"
|
|
218
|
+
"consume-shared": 42,
|
|
219
|
+
"javascript": 5220
|
|
104
220
|
},
|
|
105
221
|
"names": [],
|
|
106
222
|
"idHints": [],
|
|
107
223
|
"runtime": [
|
|
108
|
-
"
|
|
224
|
+
"@openmrs/esm-home-app"
|
|
109
225
|
],
|
|
110
226
|
"files": [
|
|
111
|
-
"
|
|
112
|
-
],
|
|
113
|
-
"auxiliaryFiles": [
|
|
114
|
-
"347.openmrs-esm-home-app.js.map"
|
|
227
|
+
"354.js"
|
|
115
228
|
],
|
|
116
|
-
"
|
|
229
|
+
"auxiliaryFiles": [],
|
|
230
|
+
"hash": "e7a10236e133e99d021f",
|
|
117
231
|
"childrenByOrder": {}
|
|
118
232
|
},
|
|
119
233
|
{
|
|
@@ -121,22 +235,21 @@
|
|
|
121
235
|
"initial": false,
|
|
122
236
|
"entry": false,
|
|
123
237
|
"recorded": false,
|
|
124
|
-
"size":
|
|
238
|
+
"size": 403,
|
|
125
239
|
"sizes": {
|
|
126
|
-
"javascript":
|
|
240
|
+
"javascript": 403
|
|
127
241
|
},
|
|
128
242
|
"names": [],
|
|
129
243
|
"idHints": [],
|
|
130
244
|
"runtime": [
|
|
245
|
+
"@openmrs/esm-home-app",
|
|
131
246
|
"main"
|
|
132
247
|
],
|
|
133
248
|
"files": [
|
|
134
|
-
"
|
|
135
|
-
],
|
|
136
|
-
"auxiliaryFiles": [
|
|
137
|
-
"410.openmrs-esm-home-app.js.map"
|
|
249
|
+
"499.js"
|
|
138
250
|
],
|
|
139
|
-
"
|
|
251
|
+
"auxiliaryFiles": [],
|
|
252
|
+
"hash": "f12e581da67dc23ab057",
|
|
140
253
|
"childrenByOrder": {}
|
|
141
254
|
},
|
|
142
255
|
{
|
|
@@ -144,20 +257,21 @@
|
|
|
144
257
|
"initial": false,
|
|
145
258
|
"entry": false,
|
|
146
259
|
"recorded": false,
|
|
147
|
-
"size":
|
|
260
|
+
"size": 421,
|
|
148
261
|
"sizes": {
|
|
149
|
-
"javascript":
|
|
262
|
+
"javascript": 421
|
|
150
263
|
},
|
|
151
264
|
"names": [],
|
|
152
265
|
"idHints": [],
|
|
153
266
|
"runtime": [
|
|
267
|
+
"@openmrs/esm-home-app",
|
|
154
268
|
"main"
|
|
155
269
|
],
|
|
156
270
|
"files": [
|
|
157
|
-
"
|
|
271
|
+
"520.js"
|
|
158
272
|
],
|
|
159
273
|
"auxiliaryFiles": [],
|
|
160
|
-
"hash": "
|
|
274
|
+
"hash": "539a1e916847a1aa73f9",
|
|
161
275
|
"childrenByOrder": {}
|
|
162
276
|
},
|
|
163
277
|
{
|
|
@@ -165,22 +279,46 @@
|
|
|
165
279
|
"initial": false,
|
|
166
280
|
"entry": false,
|
|
167
281
|
"recorded": false,
|
|
168
|
-
"size":
|
|
282
|
+
"size": 267,
|
|
169
283
|
"sizes": {
|
|
170
|
-
"javascript":
|
|
284
|
+
"javascript": 267
|
|
171
285
|
},
|
|
172
286
|
"names": [],
|
|
173
287
|
"idHints": [],
|
|
174
288
|
"runtime": [
|
|
289
|
+
"@openmrs/esm-home-app",
|
|
175
290
|
"main"
|
|
176
291
|
],
|
|
177
292
|
"files": [
|
|
178
|
-
"
|
|
293
|
+
"574.js"
|
|
294
|
+
],
|
|
295
|
+
"auxiliaryFiles": [],
|
|
296
|
+
"hash": "07cceefbaf9fdcd90d44",
|
|
297
|
+
"childrenByOrder": {}
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"rendered": true,
|
|
301
|
+
"initial": false,
|
|
302
|
+
"entry": false,
|
|
303
|
+
"recorded": false,
|
|
304
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
305
|
+
"size": 39262,
|
|
306
|
+
"sizes": {
|
|
307
|
+
"javascript": 39262
|
|
308
|
+
},
|
|
309
|
+
"names": [],
|
|
310
|
+
"idHints": [
|
|
311
|
+
"vendors"
|
|
179
312
|
],
|
|
180
|
-
"
|
|
181
|
-
"
|
|
313
|
+
"runtime": [
|
|
314
|
+
"@openmrs/esm-home-app",
|
|
315
|
+
"main"
|
|
182
316
|
],
|
|
183
|
-
"
|
|
317
|
+
"files": [
|
|
318
|
+
"709.js"
|
|
319
|
+
],
|
|
320
|
+
"auxiliaryFiles": [],
|
|
321
|
+
"hash": "14c2601bf3945cc9bf44",
|
|
184
322
|
"childrenByOrder": {}
|
|
185
323
|
},
|
|
186
324
|
{
|
|
@@ -188,22 +326,46 @@
|
|
|
188
326
|
"initial": false,
|
|
189
327
|
"entry": false,
|
|
190
328
|
"recorded": false,
|
|
191
|
-
"size":
|
|
329
|
+
"size": 7103,
|
|
192
330
|
"sizes": {
|
|
193
|
-
"javascript":
|
|
331
|
+
"javascript": 7103
|
|
194
332
|
},
|
|
195
333
|
"names": [],
|
|
196
334
|
"idHints": [],
|
|
197
335
|
"runtime": [
|
|
336
|
+
"@openmrs/esm-home-app",
|
|
198
337
|
"main"
|
|
199
338
|
],
|
|
200
339
|
"files": [
|
|
201
|
-
"
|
|
340
|
+
"784.js"
|
|
341
|
+
],
|
|
342
|
+
"auxiliaryFiles": [],
|
|
343
|
+
"hash": "c90998d1f8befe3ff4c8",
|
|
344
|
+
"childrenByOrder": {}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"rendered": true,
|
|
348
|
+
"initial": false,
|
|
349
|
+
"entry": false,
|
|
350
|
+
"recorded": false,
|
|
351
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
352
|
+
"size": 1393327,
|
|
353
|
+
"sizes": {
|
|
354
|
+
"javascript": 1393327
|
|
355
|
+
},
|
|
356
|
+
"names": [],
|
|
357
|
+
"idHints": [
|
|
358
|
+
"vendors"
|
|
202
359
|
],
|
|
203
|
-
"
|
|
204
|
-
"
|
|
360
|
+
"runtime": [
|
|
361
|
+
"@openmrs/esm-home-app",
|
|
362
|
+
"main"
|
|
363
|
+
],
|
|
364
|
+
"files": [
|
|
365
|
+
"858.js"
|
|
205
366
|
],
|
|
206
|
-
"
|
|
367
|
+
"auxiliaryFiles": [],
|
|
368
|
+
"hash": "07d47b79fcf0d9e76c99",
|
|
207
369
|
"childrenByOrder": {}
|
|
208
370
|
},
|
|
209
371
|
{
|
|
@@ -211,22 +373,42 @@
|
|
|
211
373
|
"initial": false,
|
|
212
374
|
"entry": false,
|
|
213
375
|
"recorded": false,
|
|
214
|
-
"size":
|
|
376
|
+
"size": 378,
|
|
215
377
|
"sizes": {
|
|
216
|
-
"javascript":
|
|
378
|
+
"javascript": 378
|
|
217
379
|
},
|
|
218
380
|
"names": [],
|
|
219
381
|
"idHints": [],
|
|
220
382
|
"runtime": [
|
|
383
|
+
"@openmrs/esm-home-app",
|
|
221
384
|
"main"
|
|
222
385
|
],
|
|
223
386
|
"files": [
|
|
224
|
-
"
|
|
387
|
+
"870.js"
|
|
225
388
|
],
|
|
226
|
-
"auxiliaryFiles": [
|
|
227
|
-
|
|
389
|
+
"auxiliaryFiles": [],
|
|
390
|
+
"hash": "5a6e5aabf024e090c4b7",
|
|
391
|
+
"childrenByOrder": {}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"rendered": false,
|
|
395
|
+
"initial": false,
|
|
396
|
+
"entry": false,
|
|
397
|
+
"recorded": false,
|
|
398
|
+
"reason": "split chunk (cache group: default)",
|
|
399
|
+
"size": 42,
|
|
400
|
+
"sizes": {
|
|
401
|
+
"consume-shared": 42
|
|
402
|
+
},
|
|
403
|
+
"names": [],
|
|
404
|
+
"idHints": [],
|
|
405
|
+
"runtime": [
|
|
406
|
+
"@openmrs/esm-home-app",
|
|
407
|
+
"main"
|
|
228
408
|
],
|
|
229
|
-
"
|
|
409
|
+
"files": [],
|
|
410
|
+
"auxiliaryFiles": [],
|
|
411
|
+
"hash": "5486ac12b4f93ad1cbc1",
|
|
230
412
|
"childrenByOrder": {}
|
|
231
413
|
},
|
|
232
414
|
{
|
|
@@ -234,22 +416,21 @@
|
|
|
234
416
|
"initial": false,
|
|
235
417
|
"entry": false,
|
|
236
418
|
"recorded": false,
|
|
237
|
-
"size":
|
|
419
|
+
"size": 365,
|
|
238
420
|
"sizes": {
|
|
239
|
-
"javascript":
|
|
421
|
+
"javascript": 365
|
|
240
422
|
},
|
|
241
423
|
"names": [],
|
|
242
424
|
"idHints": [],
|
|
243
425
|
"runtime": [
|
|
426
|
+
"@openmrs/esm-home-app",
|
|
244
427
|
"main"
|
|
245
428
|
],
|
|
246
429
|
"files": [
|
|
247
|
-
"
|
|
430
|
+
"994.js"
|
|
248
431
|
],
|
|
249
|
-
"auxiliaryFiles": [
|
|
250
|
-
|
|
251
|
-
],
|
|
252
|
-
"hash": "7e3147c70f7614a8b986",
|
|
432
|
+
"auxiliaryFiles": [],
|
|
433
|
+
"hash": "5868181ae568a31d197b",
|
|
253
434
|
"childrenByOrder": {}
|
|
254
435
|
}
|
|
255
436
|
]
|