@openmrs/esm-app-shell 4.2.1-pre.613 → 4.2.1-pre.617
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 +15 -15
- package/dist/{6c9ca7a3d3113337.js → 4f24f18ce7e91e11.js} +1 -1
- package/dist/{6c9ca7a3d3113337.js.map → 4f24f18ce7e91e11.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{openmrs.354d446c1cb1312f.js → openmrs.266743333e0e19f9.js} +2 -2
- package/dist/{openmrs.354d446c1cb1312f.js.map → openmrs.266743333e0e19f9.js.map} +1 -1
- package/dist/{openmrs.8f475de2362b37d6.css → openmrs.c338e62151d961c5.css} +1 -1
- package/dist/{openmrs.8f475de2362b37d6.css.map → openmrs.c338e62151d961c5.css.map} +1 -1
- package/dist/service-worker.js +1 -1
- package/lib/openmrs.js +5 -5
- package/lib/service-worker.js +1 -1
- package/package.json +4 -4
- /package/dist/{openmrs.354d446c1cb1312f.js.LICENSE.txt → openmrs.266743333e0e19f9.js.LICENSE.txt} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
[34m@openmrs/esm-app-shell:build[0m: cache hit, replaying output [
|
|
1
|
+
[34m@openmrs/esm-app-shell:build[0m: cache hit, replaying output [2m46c33d04df75c39c[0m
|
|
2
2
|
[34m@openmrs/esm-app-shell:build: [0m
|
|
3
|
-
[34m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.2.1-pre.
|
|
3
|
+
[34m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.2.1-pre.617 build:production
|
|
4
4
|
[34m@openmrs/esm-app-shell:build: [0m> cross-env OMRS_ESM_IMPORTMAP_URL="https://dev3.openmrs.org/openmrs/spa/importmap.json" OMRS_OFFLINE="enable" NODE_ENV="production" webpack --mode production
|
|
5
5
|
[34m@openmrs/esm-app-shell:build: [0m
|
|
6
|
-
[34m@openmrs/esm-app-shell:build: [0m(node:
|
|
6
|
+
[34m@openmrs/esm-app-shell:build: [0m(node:3133) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
|
|
7
7
|
[34m@openmrs/esm-app-shell:build: [0mBREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
|
|
8
8
|
[34m@openmrs/esm-app-shell:build: [0m Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
|
|
9
9
|
[34m@openmrs/esm-app-shell:build: [0m Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
[34m@openmrs/esm-app-shell:build: [0masset [1m[32mlogo.svg[39m[22m 1.33 KiB [1m[32m[emitted][39m[22m [from: src/assets/logo.svg] [1m[32m[copied][39m[22m
|
|
24
24
|
[34m@openmrs/esm-app-shell:build: [0masset [1m[32mmanifest.c61e464ba60302bdc2442acdd49954f1.json[39m[22m 1.2 KiB [1m[32m[emitted][39m[22m
|
|
25
25
|
[34m@openmrs/esm-app-shell:build: [0masset [1m[32mfavicon.ico[39m[22m 1.12 KiB [1m[32m[emitted][39m[22m [from: src/assets/favicon.ico] [1m[32m[copied][39m[22m
|
|
26
|
-
[34m@openmrs/esm-app-shell:build: [0mEntrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 1.83 MiB (1.54 MiB) = [1m[32mopenmrs.
|
|
26
|
+
[34m@openmrs/esm-app-shell:build: [0mEntrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 1.83 MiB (1.54 MiB) = [1m[32mopenmrs.c338e62151d961c5.css[39m[22m 658 KiB [1m[32mopenmrs.266743333e0e19f9.js[39m[22m 1.19 MiB 2 auxiliary assets
|
|
27
27
|
[34m@openmrs/esm-app-shell:build: [0morphan modules 5.68 MiB (javascript) 2.4 MiB (asset) 8.23 KiB (runtime) [1m[33m[orphan][39m[22m 1240 modules
|
|
28
28
|
[34m@openmrs/esm-app-shell:build: [0mruntime modules 19.2 KiB 15 modules
|
|
29
|
-
[34m@openmrs/esm-app-shell:build: [0mbuilt modules 3.92 MiB (javascript)
|
|
30
|
-
[34m@openmrs/esm-app-shell:build: [0m modules by path [1m../../[39m[22m 3.82 MiB (javascript)
|
|
29
|
+
[34m@openmrs/esm-app-shell:build: [0mbuilt modules 3.92 MiB (javascript) 665 KiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
30
|
+
[34m@openmrs/esm-app-shell:build: [0m modules by path [1m../../[39m[22m 3.82 MiB (javascript) 665 KiB (css/mini-extract)
|
|
31
31
|
[34m@openmrs/esm-app-shell:build: [0m modules by path [1m../../../node_modules/[39m[22m 3.53 MiB 158 modules
|
|
32
|
-
[34m@openmrs/esm-app-shell:build: [0m modules by path [1m../../framework/[39m[22m 289 KiB (javascript)
|
|
32
|
+
[34m@openmrs/esm-app-shell:build: [0m modules by path [1m../../framework/[39m[22m 289 KiB (javascript) 665 KiB (css/mini-extract) 101 modules
|
|
33
33
|
[34m@openmrs/esm-app-shell:build: [0m provide-module modules 420 bytes
|
|
34
34
|
[34m@openmrs/esm-app-shell:build: [0m modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
|
|
35
35
|
[34m@openmrs/esm-app-shell:build: [0m + 8 modules
|
|
@@ -47,22 +47,22 @@
|
|
|
47
47
|
[34m@openmrs/esm-app-shell:build: [0m[1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
48
48
|
[34m@openmrs/esm-app-shell:build: [0mThis can impact web performance.
|
|
49
49
|
[34m@openmrs/esm-app-shell:build: [0mAssets:
|
|
50
|
-
[34m@openmrs/esm-app-shell:build: [0m openmrs.
|
|
51
|
-
[34m@openmrs/esm-app-shell:build: [0m openmrs.
|
|
50
|
+
[34m@openmrs/esm-app-shell:build: [0m openmrs.c338e62151d961c5.css (658 KiB)
|
|
51
|
+
[34m@openmrs/esm-app-shell:build: [0m openmrs.266743333e0e19f9.js (1.19 MiB)[39m[22m
|
|
52
52
|
[34m@openmrs/esm-app-shell:build: [0m
|
|
53
53
|
[34m@openmrs/esm-app-shell:build: [0m[1m[33mWARNING[39m[22m in [1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
54
54
|
[34m@openmrs/esm-app-shell:build: [0mEntrypoints:
|
|
55
55
|
[34m@openmrs/esm-app-shell:build: [0m main (1.83 MiB)
|
|
56
|
-
[34m@openmrs/esm-app-shell:build: [0m openmrs.
|
|
57
|
-
[34m@openmrs/esm-app-shell:build: [0m openmrs.
|
|
56
|
+
[34m@openmrs/esm-app-shell:build: [0m openmrs.c338e62151d961c5.css
|
|
57
|
+
[34m@openmrs/esm-app-shell:build: [0m openmrs.266743333e0e19f9.js
|
|
58
58
|
[34m@openmrs/esm-app-shell:build: [0m[39m[22m
|
|
59
59
|
[34m@openmrs/esm-app-shell:build: [0m
|
|
60
|
-
[34m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled with [1m[33m2 warnings[39m[22m in
|
|
60
|
+
[34m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled with [1m[33m2 warnings[39m[22m in 82516 ms
|
|
61
61
|
[34m@openmrs/esm-app-shell:build: [0m
|
|
62
|
-
[34m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.2.1-pre.
|
|
62
|
+
[34m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.2.1-pre.617 build:development
|
|
63
63
|
[34m@openmrs/esm-app-shell:build: [0m> cross-env OMRS_OFFLINE="enable" NODE_ENV="development" webpack --mode development
|
|
64
64
|
[34m@openmrs/esm-app-shell:build: [0m
|
|
65
|
-
[34m@openmrs/esm-app-shell:build: [0m(node:
|
|
65
|
+
[34m@openmrs/esm-app-shell:build: [0m(node:3215) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
|
|
66
66
|
[34m@openmrs/esm-app-shell:build: [0mBREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
|
|
67
67
|
[34m@openmrs/esm-app-shell:build: [0m Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
|
|
68
68
|
[34m@openmrs/esm-app-shell:build: [0m Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
|
|
@@ -99,4 +99,4 @@
|
|
|
99
99
|
[34m@openmrs/esm-app-shell:build: [0m<i> [1m[32mThe service worker at service-worker.js will precache[39m[22m
|
|
100
100
|
[34m@openmrs/esm-app-shell:build: [0m<i> [1m[32m 187 URLs, totaling 26.7 MB.[39m[22m
|
|
101
101
|
[34m@openmrs/esm-app-shell:build: [0m
|
|
102
|
-
[34m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled [1m[32msuccessfully[39m[22m in
|
|
102
|
+
[34m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled [1m[32msuccessfully[39m[22m in 16240 ms
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[533],{8533:(e,t,r)=>{r.r(t),r.d(t,{Breadcrumbs:()=>y,CustomBreadcrumbItem:()=>v,default:()=>w});var n=r(7959),s=r.n(n),a=r(3866),o=r(
|
|
1
|
+
"use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[533],{8533:(e,t,r)=>{r.r(t),r.d(t,{Breadcrumbs:()=>y,CustomBreadcrumbItem:()=>v,default:()=>w});var n=r(7959),s=r.n(n),a=r(3866),o=r(2343),i=Object.defineProperty,c=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&b(e,r,t[r]);if(u)for(var r of u(t))m.call(t,r)&&b(e,r,t[r]);return e},d=(e,t)=>c(e,l(t));function g(e,t){const r=[...t];return e.replace(/:([A-Za-z0-9_]+)/g,(e=>{var t;return null!=(t=r.shift())?t:e}))}function h(e,t){const r=null==t?void 0:t.exec(e);if(r){const[,...e]=r;return e}{const r=e.split("/");if(r.pop(),r.length>1)return h(r.join("/"),t)}return[]}const v=({breadcrumbRegistration:e,params:t})=>{const[r,i]=(0,n.useState)("");return(0,n.useEffect)((()=>{"function"==typeof e.settings.title?Promise.resolve(e.settings.title(t)).then((e=>i(e))):i(e.settings.title)}),[e,t]),s().createElement(a.BreadcrumbItem,{key:e.settings.path},s().createElement(o.ConfigurableLink,{to:g(e.settings.path,t)},r||s().createElement(a.InlineLoading,null)))},y=()=>{const[e,t]=(0,n.useState)(location.pathname),r=(0,o.getBreadcrumbsFor)(e),i=r[r.length-1],c=h(e,null==i?void 0:i.matcher);return(0,n.useEffect)((()=>{const e=()=>t(location.pathname);return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)}),[]),r.length>4&&r.splice(1,r.length-3,d(f({},r[1]),{settings:d(f({},r[1].settings),{title:"..."})})),s().createElement(a.Breadcrumb,{className:"breadcrumbs-container"},r.map(((e,t)=>s().createElement(v,{key:`breadcrumb-item-${t}`,breadcrumbRegistration:e,params:c}))))},w=y}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"4f24f18ce7e91e11.js","mappings":"8oBAQA,SAASA,EAAQC,EAAcC,GAC7B,MAAMC,EAAQ,IAAID,GAClB,OAAOD,EAAKG,QAAQ,qBAAsBC,IAV5C,MAUkD,gBAAAF,EAAMG,SAAN,EAAiBD,CAAC,GACpE,CAEA,SAASE,EAAUN,EAAcO,GAC/B,MAAMC,EAAQ,MAAAD,OAAA,EAAAA,EAASE,K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ChC,EAAA,CACCY,IAAK,mBAAmBoB,IACxB/B,uBAAwB8B,EACxB7C,aAGN,EAIJ,G","sources":["webpack://@openmrs/esm-app-shell/./src/ui/breadcrumbs.tsx"],"names":["getPath","path","params","parts","replace","s","shift","getParams","matcher","match","exec","segments","split","pop","length","join","CustomBreadcrumbItem","breadcrumbRegistration","title","setTitle","useState","useEffect","settings","Promise","resolve","then","res","BreadcrumbItem","key","ConfigurableLink","to","InlineLoading","Breadcrumbs","setPath","location","pathname","breadcrumbs","getBreadcrumbsFor","currentBc","handler","window","addEventListener","removeEventListener","splice","Breadcrumb","className","map","bc","index"],"sourceRoot":""}
|
package/dist/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>OpenMRS</title><link rel="shortcut icon" type="image/x-icon" href="favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="importmap-type" content="systemjs-importmap"><link href="/openmrs/spa/openmrs.
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>OpenMRS</title><link rel="shortcut icon" type="image/x-icon" href="favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="importmap-type" content="systemjs-importmap"><link href="/openmrs/spa/openmrs.c338e62151d961c5.css" rel="stylesheet"><link rel="preload" href="https://dev3.openmrs.org/openmrs/spa/importmap.json" as="fetch" crossorigin="anonymous"><script type="systemjs-importmap" src="https://dev3.openmrs.org/openmrs/spa/importmap.json"></script><meta name="theme-color" content="#000000" /><link rel="manifest" href="manifest.c61e464ba60302bdc2442acdd49954f1.json" /></head><body><script src="/openmrs/spa/openmrs.266743333e0e19f9.js"></script><div class="omrs-toasts-container"></div><div class="omrs-inline-notifications-container"></div><div class="omrs-actionable-notifications-container"></div><div class="omrs-modals-container"></div><template id="loading-spinner"><div class="omrs-loading-spinner"><div data-inline-loading="" class="cds--inline-loading" role="alert" aria-live="assertive"><div class="cds--inline-loading__animation"><div data-inline-loading-spinner="" class="cds--loading cds--loading--small"><svg class="cds--loading__svg" viewBox="-75 -75 150 150"><circle class="cds--loading__background" cx="0" cy="0" r="26.8125"></circle><circle class="cds--loading__stroke" cx="0" cy="0" r="26.8125"></circle></svg></div></div><p data-inline-loading-text-active="" class="cds--inline-loading__text">Loading ...</p></div></div></template><template id="app-error"><div class="omrs-app-error"><h1>Application Error</h1><p>Something went wrong. Please try reloading.</p><p>If the problem persists contact your system administrator.</p><div id="buttons"><button class="cds--btn cds--btn--primary" onclick="location.reload()">Reload</button></div><div class="cds--snippet cds--snippet--single"><div tabindex="0" class="cds--snippet-container" aria-label="Code Snippet Text"><pre>
|
|
2
2
|
<code data-var="message"></code>
|
|
3
3
|
</pre></div><button data-copy-btn class="cds--copy-btn" type="button" tabindex="0" onclick="copyText(this.parentElement)"><span class="cds--assistive-text cds--copy-btn__feedback">Copied!</span> <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="cds--snippet__icon" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M14,5v9H5V5h9m0-1H5A1,1,0,0,0,4,5v9a1,1,0,0,0,1,1h9a1,1,0,0,0,1-1V5a1,1,0,0,0-1-1Z"></path><path d="M2,9H1V2A1,1,0,0,1,2,1H9V2H2Z"></path></svg></button></div></div></template><script>initializeSpa({
|
|
4
4
|
apiUrl: "/openmrs",
|