@openmrs/esm-app-shell 4.0.3-pre.459 → 4.0.3-pre.460
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 +21 -20
- package/dist/815e39b706ac244de30b.js +1 -0
- package/dist/openmrs.js +1 -1
- package/dist/service-worker.js +1 -1
- package/lib/openmrs.js +7 -1750
- package/lib/service-worker.js +1 -1
- package/package.json +4 -4
- package/dist/a3575b98b8b290647c49.js +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
[35m@openmrs/esm-app-shell:build[0m: cache hit, replaying output [
|
|
1
|
+
[35m@openmrs/esm-app-shell:build[0m: cache hit, replaying output [2md53298315aead3d9[0m
|
|
2
2
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
3
|
-
[35m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.0.3-pre.
|
|
3
|
+
[35m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.0.3-pre.460 build:production
|
|
4
4
|
[35m@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
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
6
|
-
[35m@openmrs/esm-app-shell:build: [0m(node:
|
|
6
|
+
[35m@openmrs/esm-app-shell:build: [0m(node:2892) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
|
|
7
7
|
[35m@openmrs/esm-app-shell:build: [0mBREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
|
|
8
8
|
[35m@openmrs/esm-app-shell:build: [0m Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
|
|
9
9
|
[35m@openmrs/esm-app-shell:build: [0m Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
|
|
@@ -16,16 +16,17 @@
|
|
|
16
16
|
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: src/assets/logo-512.png] [1m[32m[copied][39m[22m
|
|
17
17
|
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
18
18
|
[35m@openmrs/esm-app-shell:build: [0m + 6 assets
|
|
19
|
-
[35m@openmrs/esm-app-shell:build: [0massets by status [1m[33m1.
|
|
20
|
-
[35m@openmrs/esm-app-shell:build: [0m asset [1m[33mopenmrs.js[39m[22m [1m[33m1.
|
|
19
|
+
[35m@openmrs/esm-app-shell:build: [0massets by status [1m[33m1.83 MiB[39m[22m [1m[33m[big][39m[22m
|
|
20
|
+
[35m@openmrs/esm-app-shell:build: [0m asset [1m[33mopenmrs.js[39m[22m [1m[33m1.19 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (name: main) 1 related asset
|
|
21
21
|
[35m@openmrs/esm-app-shell:build: [0m asset [1m[33mopenmrs.css[39m[22m [1m[33m659 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[33m[big][39m[22m (name: main)
|
|
22
22
|
[35m@openmrs/esm-app-shell:build: [0m+ 5 assets
|
|
23
|
-
[35m@openmrs/esm-app-shell:build: [0mEntrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 1.
|
|
23
|
+
[35m@openmrs/esm-app-shell:build: [0mEntrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 1.83 MiB = [1m[32mopenmrs.css[39m[22m 659 KiB [1m[32mopenmrs.js[39m[22m 1.19 MiB
|
|
24
24
|
[35m@openmrs/esm-app-shell:build: [0morphan modules 4.82 MiB (javascript) 2.4 MiB (asset) 8.23 KiB (runtime) [1m[33m[orphan][39m[22m 1238 modules
|
|
25
25
|
[35m@openmrs/esm-app-shell:build: [0mruntime modules 19.2 KiB 15 modules
|
|
26
|
-
[35m@openmrs/esm-app-shell:build: [0mbuilt modules 3.
|
|
27
|
-
[35m@openmrs/esm-app-shell:build: [0m modules by path [1m
|
|
28
|
-
[35m@openmrs/esm-app-shell:build: [0m
|
|
26
|
+
[35m@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
|
|
27
|
+
[35m@openmrs/esm-app-shell:build: [0m modules by path [1m../../[39m[22m 3.82 MiB (javascript) 665 KiB (css/mini-extract)
|
|
28
|
+
[35m@openmrs/esm-app-shell:build: [0m modules by path [1m../../../node_modules/[39m[22m 3.53 MiB 156 modules
|
|
29
|
+
[35m@openmrs/esm-app-shell:build: [0m modules by path [1m../../framework/[39m[22m 289 KiB (javascript) 665 KiB (css/mini-extract) 101 modules
|
|
29
30
|
[35m@openmrs/esm-app-shell:build: [0m provide-module modules 420 bytes
|
|
30
31
|
[35m@openmrs/esm-app-shell:build: [0m modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
|
|
31
32
|
[35m@openmrs/esm-app-shell:build: [0m + 8 modules
|
|
@@ -38,27 +39,27 @@
|
|
|
38
39
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
39
40
|
[35m@openmrs/esm-app-shell:build: [0m[1mLOG from InjectManifest[39m[22m
|
|
40
41
|
[35m@openmrs/esm-app-shell:build: [0m<i> [1m[32mThe service worker at service-worker.js will precache[39m[22m
|
|
41
|
-
[35m@openmrs/esm-app-shell:build: [0m<i> [1m[32m 189 URLs, totaling 4.
|
|
42
|
+
[35m@openmrs/esm-app-shell:build: [0m<i> [1m[32m 189 URLs, totaling 4.46 MB.[39m[22m
|
|
42
43
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
43
44
|
[35m@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).
|
|
44
45
|
[35m@openmrs/esm-app-shell:build: [0mThis can impact web performance.
|
|
45
46
|
[35m@openmrs/esm-app-shell:build: [0mAssets:
|
|
46
47
|
[35m@openmrs/esm-app-shell:build: [0m openmrs.css (659 KiB)
|
|
47
|
-
[35m@openmrs/esm-app-shell:build: [0m openmrs.js (1.
|
|
48
|
+
[35m@openmrs/esm-app-shell:build: [0m openmrs.js (1.19 MiB)[39m[22m
|
|
48
49
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
49
50
|
[35m@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.
|
|
50
51
|
[35m@openmrs/esm-app-shell:build: [0mEntrypoints:
|
|
51
|
-
[35m@openmrs/esm-app-shell:build: [0m main (1.
|
|
52
|
+
[35m@openmrs/esm-app-shell:build: [0m main (1.83 MiB)
|
|
52
53
|
[35m@openmrs/esm-app-shell:build: [0m openmrs.css
|
|
53
54
|
[35m@openmrs/esm-app-shell:build: [0m openmrs.js
|
|
54
55
|
[35m@openmrs/esm-app-shell:build: [0m[39m[22m
|
|
55
56
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
56
|
-
[35m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled with [1m[33m2 warnings[39m[22m in
|
|
57
|
+
[35m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled with [1m[33m2 warnings[39m[22m in 111606 ms
|
|
57
58
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
58
|
-
[35m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.0.3-pre.
|
|
59
|
+
[35m@openmrs/esm-app-shell:build: [0m> @openmrs/esm-app-shell@4.0.3-pre.460 build:development
|
|
59
60
|
[35m@openmrs/esm-app-shell:build: [0m> cross-env OMRS_OFFLINE="enable" NODE_ENV="development" webpack --mode development
|
|
60
61
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
61
|
-
[35m@openmrs/esm-app-shell:build: [0m(node:
|
|
62
|
+
[35m@openmrs/esm-app-shell:build: [0m(node:3174) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
|
|
62
63
|
[35m@openmrs/esm-app-shell:build: [0mBREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
|
|
63
64
|
[35m@openmrs/esm-app-shell:build: [0m Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
|
|
64
65
|
[35m@openmrs/esm-app-shell:build: [0m Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
|
|
@@ -70,8 +71,8 @@
|
|
|
70
71
|
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: src/assets/logo-512.png] [1m[32m[copied][39m[22m
|
|
71
72
|
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
72
73
|
[35m@openmrs/esm-app-shell:build: [0m + 6 assets
|
|
73
|
-
[35m@openmrs/esm-app-shell:build: [0massets by path [1m[32m*.js[39m[22m
|
|
74
|
-
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32mopenmrs.js[39m[22m 22.
|
|
74
|
+
[35m@openmrs/esm-app-shell:build: [0massets by path [1m[32m*.js[39m[22m 23.9 MiB
|
|
75
|
+
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32mopenmrs.js[39m[22m 22.5 MiB [1m[32m[emitted][39m[22m (name: main)
|
|
75
76
|
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32mservice-worker.js[39m[22m 1.38 MiB [1m[32m[emitted][39m[22m
|
|
76
77
|
[35m@openmrs/esm-app-shell:build: [0m asset [1m[32md3c6a54d292b7c23f8fb.js[39m[22m 11.5 KiB [1m[32m[emitted][39m[22m [1m[32m[immutable][39m[22m
|
|
77
78
|
[35m@openmrs/esm-app-shell:build: [0masset [1m[32mindex.html[39m[22m 3.19 KiB [1m[32m[emitted][39m[22m
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
[35m@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
|
|
81
82
|
[35m@openmrs/esm-app-shell:build: [0morphan modules 1.03 MiB [1m[33m[orphan][39m[22m 418 modules
|
|
82
83
|
[35m@openmrs/esm-app-shell:build: [0mruntime modules 21.8 KiB 14 modules
|
|
83
|
-
[35m@openmrs/esm-app-shell:build: [0mjavascript modules 6.
|
|
84
|
+
[35m@openmrs/esm-app-shell:build: [0mjavascript modules 6.4 MiB 862 modules
|
|
84
85
|
[35m@openmrs/esm-app-shell:build: [0masset modules 40.1 KiB (javascript) 2.4 MiB (asset)
|
|
85
86
|
[35m@openmrs/esm-app-shell:build: [0m modules by path [1m../../framework/esm-styleguide/dist/[39m[22m 7.38 KiB (javascript) 2.4 MiB (asset) 180 modules
|
|
86
87
|
[35m@openmrs/esm-app-shell:build: [0m modules by path [1m../../framework/esm-styleguide/src/[39m[22m 32.7 KiB 27 modules
|
|
@@ -93,6 +94,6 @@
|
|
|
93
94
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
94
95
|
[35m@openmrs/esm-app-shell:build: [0m[1mLOG from InjectManifest[39m[22m
|
|
95
96
|
[35m@openmrs/esm-app-shell:build: [0m<i> [1m[32mThe service worker at service-worker.js will precache[39m[22m
|
|
96
|
-
[35m@openmrs/esm-app-shell:build: [0m<i> [1m[32m 187 URLs, totaling 26.
|
|
97
|
+
[35m@openmrs/esm-app-shell:build: [0m<i> [1m[32m 187 URLs, totaling 26.1 MB.[39m[22m
|
|
97
98
|
[35m@openmrs/esm-app-shell:build: [0m
|
|
98
|
-
[35m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled [1m[32msuccessfully[39m[22m in
|
|
99
|
+
[35m@openmrs/esm-app-shell:build: [0mwebpack 5.74.0 compiled [1m[32msuccessfully[39m[22m in 12669 ms
|
|
@@ -0,0 +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(2533),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}}]);
|