@openmrs/esm-app-shell 4.3.2-pre.674 → 4.3.2-pre.677

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.
@@ -1,102 +1,102 @@
1
- @openmrs/esm-app-shell:build: cache hit, replaying output ed84bb2a2d5df0d8
2
- @openmrs/esm-app-shell:build: 
3
- @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.3.2-pre.674 build:production
4
- @openmrs/esm-app-shell:build: > cross-env OMRS_ESM_IMPORTMAP_URL="https://dev3.openmrs.org/openmrs/spa/importmap.json" OMRS_OFFLINE="enable" NODE_ENV="production" webpack --mode production
5
- @openmrs/esm-app-shell:build: 
6
- @openmrs/esm-app-shell:build: (node:2846) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
7
- @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
8
- @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
9
- @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
10
- @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
11
- @openmrs/esm-app-shell:build: assets by info 3.74 MiB [immutable]
12
- @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
13
- @openmrs/esm-app-shell:build:  assets by path *.woff2 1.04 MiB 90 assets
14
- @openmrs/esm-app-shell:build:  assets by status 1.34 MiB [big] 2 assets
15
- @openmrs/esm-app-shell:build:  + 1 asset
16
- @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
17
- @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
18
- @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
19
- @openmrs/esm-app-shell:build:  asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
20
- @openmrs/esm-app-shell:build:  + 5 assets
21
- @openmrs/esm-app-shell:build: asset service-worker.js 156 KiB [emitted] [minimized] 1 related asset
22
- @openmrs/esm-app-shell:build: asset index.html 2.82 KiB [emitted]
23
- @openmrs/esm-app-shell:build: asset logo.svg 1.33 KiB [emitted] [from: src/assets/logo.svg] [copied]
24
- @openmrs/esm-app-shell:build: asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
25
- @openmrs/esm-app-shell:build: asset favicon.ico 1.12 KiB [emitted] [from: src/assets/favicon.ico] [copied]
26
- @openmrs/esm-app-shell:build: Entrypoint main [big] 1.34 MiB (947 KiB) = openmrs.a88c696b0c32abb9.css 658 KiB openmrs.809ffd9b9fa00d8c.js 715 KiB 2 auxiliary assets
27
- @openmrs/esm-app-shell:build: orphan modules 5.76 MiB (javascript) 2.4 MiB (asset) 8.23 KiB (runtime) [orphan] 1256 modules
28
- @openmrs/esm-app-shell:build: runtime modules 18.7 KiB 14 modules
29
- @openmrs/esm-app-shell:build: built modules 1.98 MiB (javascript) 665 KiB (css/mini-extract) 336 bytes (share-init) 336 bytes (consume-shared) [built]
30
- @openmrs/esm-app-shell:build:  modules by path ../../ 1.87 MiB (javascript) 665 KiB (css/mini-extract)
31
- @openmrs/esm-app-shell:build:  modules by path ../../../node_modules/ 1.59 MiB 143 modules
32
- @openmrs/esm-app-shell:build:  modules by path ../../framework/ 286 KiB (javascript) 665 KiB (css/mini-extract) 99 modules
33
- @openmrs/esm-app-shell:build:  provide-module modules 336 bytes
34
- @openmrs/esm-app-shell:build:  modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
35
- @openmrs/esm-app-shell:build:  + 6 modules
36
- @openmrs/esm-app-shell:build:  consume-shared-module modules 336 bytes
37
- @openmrs/esm-app-shell:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
38
- @openmrs/esm-app-shell:build:  + 6 modules
39
- @openmrs/esm-app-shell:build:  modules by path ./ 111 KiB
40
- @openmrs/esm-app-shell:build:  modules by path ./src/*.ts 107 KiB 2 modules
41
- @openmrs/esm-app-shell:build:  + 2 modules
42
- @openmrs/esm-app-shell:build: 
43
- @openmrs/esm-app-shell:build: LOG from InjectManifest
44
- @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
45
- @openmrs/esm-app-shell:build: <i>  189 URLs, totaling 3.94 MB.
46
- @openmrs/esm-app-shell:build: 
47
- @openmrs/esm-app-shell:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
48
- @openmrs/esm-app-shell:build: This can impact web performance.
49
- @openmrs/esm-app-shell:build: Assets:
50
- @openmrs/esm-app-shell:build:  openmrs.a88c696b0c32abb9.css (658 KiB)
51
- @openmrs/esm-app-shell:build:  openmrs.809ffd9b9fa00d8c.js (715 KiB)
52
- @openmrs/esm-app-shell:build: 
53
- @openmrs/esm-app-shell:build: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
54
- @openmrs/esm-app-shell:build: Entrypoints:
55
- @openmrs/esm-app-shell:build:  main (1.34 MiB)
56
- @openmrs/esm-app-shell:build:  openmrs.a88c696b0c32abb9.css
57
- @openmrs/esm-app-shell:build:  openmrs.809ffd9b9fa00d8c.js
58
- @openmrs/esm-app-shell:build: 
59
- @openmrs/esm-app-shell:build: 
60
- @openmrs/esm-app-shell:build: webpack 5.77.0 compiled with 2 warnings in 110057 ms
61
- @openmrs/esm-app-shell:build: 
62
- @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.3.2-pre.674 build:development
63
- @openmrs/esm-app-shell:build: > cross-env OMRS_OFFLINE="enable" NODE_ENV="development" webpack --mode development
64
- @openmrs/esm-app-shell:build: 
65
- @openmrs/esm-app-shell:build: (node:3056) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
66
- @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
67
- @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
68
- @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
69
- @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
70
- @openmrs/esm-app-shell:build: assets by chunk 2.4 MiB (auxiliary name: main)
71
- @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
72
- @openmrs/esm-app-shell:build:  assets by path *.woff2 1.04 MiB 90 assets
73
- @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
74
- @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
75
- @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
76
- @openmrs/esm-app-shell:build:  + 6 assets
77
- @openmrs/esm-app-shell:build: assets by path *.js 24.5 MiB
78
- @openmrs/esm-app-shell:build:  asset openmrs.js 23 MiB [emitted] (name: main)
79
- @openmrs/esm-app-shell:build:  asset service-worker.js 1.44 MiB [emitted]
80
- @openmrs/esm-app-shell:build:  asset 326dd794d98c4ce5.js 12.1 KiB [emitted] [immutable]
81
- @openmrs/esm-app-shell:build: asset index.html 3.19 KiB [emitted]
82
- @openmrs/esm-app-shell:build: asset logo.svg 1.33 KiB [emitted] [from: src/assets/logo.svg] [copied]
83
- @openmrs/esm-app-shell:build: asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
84
- @openmrs/esm-app-shell:build: asset favicon.ico 1.12 KiB [emitted] [from: src/assets/favicon.ico] [copied]
85
- @openmrs/esm-app-shell:build: orphan modules 1.03 MiB [orphan] 418 modules
86
- @openmrs/esm-app-shell:build: runtime modules 20.8 KiB 14 modules
87
- @openmrs/esm-app-shell:build: javascript modules 6.4 MiB 864 modules
88
- @openmrs/esm-app-shell:build: asset modules 40.1 KiB (javascript) 2.4 MiB (asset)
89
- @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/dist/ 7.38 KiB (javascript) 2.4 MiB (asset) 180 modules
90
- @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/src/ 32.7 KiB 27 modules
91
- @openmrs/esm-app-shell:build: provide-module modules 336 bytes
92
- @openmrs/esm-app-shell:build:  modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
93
- @openmrs/esm-app-shell:build:  + 6 modules
94
- @openmrs/esm-app-shell:build: consume-shared-module modules 336 bytes
95
- @openmrs/esm-app-shell:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
96
- @openmrs/esm-app-shell:build:  + 6 modules
97
- @openmrs/esm-app-shell:build: 
98
- @openmrs/esm-app-shell:build: LOG from InjectManifest
99
- @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
100
- @openmrs/esm-app-shell:build: <i>  187 URLs, totaling 26.7 MB.
101
- @openmrs/esm-app-shell:build: 
102
- @openmrs/esm-app-shell:build: webpack 5.77.0 compiled successfully in 13638 ms
1
+ @openmrs/esm-app-shell:build: cache hit, replaying output 6dde7fa1cc9be919
2
+ @openmrs/esm-app-shell:build: 
3
+ @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.3.2-pre.677 build:production
4
+ @openmrs/esm-app-shell:build: > cross-env OMRS_ESM_IMPORTMAP_URL="https://dev3.openmrs.org/openmrs/spa/importmap.json" OMRS_OFFLINE="enable" NODE_ENV="production" webpack --mode production
5
+ @openmrs/esm-app-shell:build: 
6
+ @openmrs/esm-app-shell:build: (node:2876) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
7
+ @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
8
+ @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
9
+ @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
10
+ @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
11
+ @openmrs/esm-app-shell:build: assets by info 3.74 MiB [immutable]
12
+ @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
13
+ @openmrs/esm-app-shell:build:  assets by path *.woff2 1.04 MiB 90 assets
14
+ @openmrs/esm-app-shell:build:  assets by status 1.34 MiB [big] 2 assets
15
+ @openmrs/esm-app-shell:build:  + 1 asset
16
+ @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
17
+ @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
18
+ @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
19
+ @openmrs/esm-app-shell:build:  asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
20
+ @openmrs/esm-app-shell:build:  + 5 assets
21
+ @openmrs/esm-app-shell:build: asset service-worker.js 156 KiB [emitted] [minimized] 1 related asset
22
+ @openmrs/esm-app-shell:build: asset index.html 2.83 KiB [emitted]
23
+ @openmrs/esm-app-shell:build: asset logo.svg 1.33 KiB [emitted] [from: src/assets/logo.svg] [copied]
24
+ @openmrs/esm-app-shell:build: asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
25
+ @openmrs/esm-app-shell:build: asset favicon.ico 1.12 KiB [emitted] [from: src/assets/favicon.ico] [copied]
26
+ @openmrs/esm-app-shell:build: Entrypoint main [big] 1.34 MiB (948 KiB) = openmrs.a88c696b0c32abb9.css 658 KiB openmrs.3bbdd38e3cb142dd.js 715 KiB 2 auxiliary assets
27
+ @openmrs/esm-app-shell:build: orphan modules 5.76 MiB (javascript) 2.4 MiB (asset) 8.23 KiB (runtime) [orphan] 1256 modules
28
+ @openmrs/esm-app-shell:build: runtime modules 18.7 KiB 14 modules
29
+ @openmrs/esm-app-shell:build: built modules 1.98 MiB (javascript) 665 KiB (css/mini-extract) 336 bytes (share-init) 336 bytes (consume-shared) [built]
30
+ @openmrs/esm-app-shell:build:  modules by path ../../ 1.87 MiB (javascript) 665 KiB (css/mini-extract)
31
+ @openmrs/esm-app-shell:build:  modules by path ../../../node_modules/ 1.59 MiB 143 modules
32
+ @openmrs/esm-app-shell:build:  modules by path ../../framework/ 286 KiB (javascript) 665 KiB (css/mini-extract) 99 modules
33
+ @openmrs/esm-app-shell:build:  provide-module modules 336 bytes
34
+ @openmrs/esm-app-shell:build:  modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
35
+ @openmrs/esm-app-shell:build:  + 6 modules
36
+ @openmrs/esm-app-shell:build:  consume-shared-module modules 336 bytes
37
+ @openmrs/esm-app-shell:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
38
+ @openmrs/esm-app-shell:build:  + 6 modules
39
+ @openmrs/esm-app-shell:build:  modules by path ./ 111 KiB
40
+ @openmrs/esm-app-shell:build:  modules by path ./src/*.ts 107 KiB 2 modules
41
+ @openmrs/esm-app-shell:build:  + 2 modules
42
+ @openmrs/esm-app-shell:build: 
43
+ @openmrs/esm-app-shell:build: LOG from InjectManifest
44
+ @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
45
+ @openmrs/esm-app-shell:build: <i>  189 URLs, totaling 3.94 MB.
46
+ @openmrs/esm-app-shell:build: 
47
+ @openmrs/esm-app-shell:build: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
48
+ @openmrs/esm-app-shell:build: This can impact web performance.
49
+ @openmrs/esm-app-shell:build: Assets:
50
+ @openmrs/esm-app-shell:build:  openmrs.a88c696b0c32abb9.css (658 KiB)
51
+ @openmrs/esm-app-shell:build:  openmrs.3bbdd38e3cb142dd.js (715 KiB)
52
+ @openmrs/esm-app-shell:build: 
53
+ @openmrs/esm-app-shell:build: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
54
+ @openmrs/esm-app-shell:build: Entrypoints:
55
+ @openmrs/esm-app-shell:build:  main (1.34 MiB)
56
+ @openmrs/esm-app-shell:build:  openmrs.a88c696b0c32abb9.css
57
+ @openmrs/esm-app-shell:build:  openmrs.3bbdd38e3cb142dd.js
58
+ @openmrs/esm-app-shell:build: 
59
+ @openmrs/esm-app-shell:build: 
60
+ @openmrs/esm-app-shell:build: webpack 5.77.0 compiled with 2 warnings in 112744 ms
61
+ @openmrs/esm-app-shell:build: 
62
+ @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.3.2-pre.677 build:development
63
+ @openmrs/esm-app-shell:build: > cross-env OMRS_OFFLINE="enable" NODE_ENV="development" webpack --mode development
64
+ @openmrs/esm-app-shell:build: 
65
+ @openmrs/esm-app-shell:build: (node:3078) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
66
+ @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
67
+ @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
68
+ @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
69
+ @openmrs/esm-app-shell:build: (Use `node --trace-deprecation ...` to show where the warning was created)
70
+ @openmrs/esm-app-shell:build: assets by chunk 2.4 MiB (auxiliary name: main)
71
+ @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
72
+ @openmrs/esm-app-shell:build:  assets by path *.woff2 1.04 MiB 90 assets
73
+ @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
74
+ @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
75
+ @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
76
+ @openmrs/esm-app-shell:build:  + 6 assets
77
+ @openmrs/esm-app-shell:build: assets by path *.js 24.5 MiB
78
+ @openmrs/esm-app-shell:build:  asset openmrs.js 23 MiB [emitted] (name: main)
79
+ @openmrs/esm-app-shell:build:  asset service-worker.js 1.44 MiB [emitted]
80
+ @openmrs/esm-app-shell:build:  asset 326dd794d98c4ce5.js 12.1 KiB [emitted] [immutable]
81
+ @openmrs/esm-app-shell:build: asset index.html 3.2 KiB [emitted]
82
+ @openmrs/esm-app-shell:build: asset logo.svg 1.33 KiB [emitted] [from: src/assets/logo.svg] [copied]
83
+ @openmrs/esm-app-shell:build: asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
84
+ @openmrs/esm-app-shell:build: asset favicon.ico 1.12 KiB [emitted] [from: src/assets/favicon.ico] [copied]
85
+ @openmrs/esm-app-shell:build: orphan modules 1.03 MiB [orphan] 418 modules
86
+ @openmrs/esm-app-shell:build: runtime modules 20.8 KiB 14 modules
87
+ @openmrs/esm-app-shell:build: javascript modules 6.4 MiB 864 modules
88
+ @openmrs/esm-app-shell:build: asset modules 40.1 KiB (javascript) 2.4 MiB (asset)
89
+ @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/dist/ 7.38 KiB (javascript) 2.4 MiB (asset) 180 modules
90
+ @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/src/ 32.7 KiB 27 modules
91
+ @openmrs/esm-app-shell:build: provide-module modules 336 bytes
92
+ @openmrs/esm-app-shell:build:  modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
93
+ @openmrs/esm-app-shell:build:  + 6 modules
94
+ @openmrs/esm-app-shell:build: consume-shared-module modules 336 bytes
95
+ @openmrs/esm-app-shell:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
96
+ @openmrs/esm-app-shell:build:  + 6 modules
97
+ @openmrs/esm-app-shell:build: 
98
+ @openmrs/esm-app-shell:build: LOG from InjectManifest
99
+ @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
100
+ @openmrs/esm-app-shell:build: <i>  187 URLs, totaling 26.7 MB.
101
+ @openmrs/esm-app-shell:build: 
102
+ @openmrs/esm-app-shell:build: webpack 5.77.0 compiled successfully in 16596 ms
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[917],{2917:(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(1469),o=r(7129),c=Object.defineProperty,i=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e},g=(e,t)=>i(e,l(t));function d(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,c]=(0,n.useState)("");return(0,n.useEffect)((()=>{"function"==typeof e.settings.title?Promise.resolve(e.settings.title(t)).then((e=>c(e))):c(e.settings.title)}),[e,t]),s().createElement(a.gN6,{key:e.settings.path},s().createElement(o.ConfigurableLink,{to:d(e.settings.path,t)},r||s().createElement(a.lSo,null)))},y=()=>{const[e,t]=(0,n.useState)(location.pathname),r=(0,o.getBreadcrumbsFor)(e),c=r[r.length-1],i=h(e,null==c?void 0:c.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,g(f({},r[1]),{settings:g(f({},r[1].settings),{title:"..."})})),s().createElement(a.aGc,{className:"breadcrumbs-container"},r.map(((e,t)=>s().createElement(v,{key:`breadcrumb-item-${t}`,breadcrumbRegistration:e,params:i}))))},w=y}}]);
1
+ "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[917],{2917:(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(1469),o=r(2967),c=Object.defineProperty,i=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&b(e,r,t[r]);if(p)for(var r of p(t))m.call(t,r)&&b(e,r,t[r]);return e},g=(e,t)=>i(e,l(t));function d(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,c]=(0,n.useState)("");return(0,n.useEffect)((()=>{"function"==typeof e.settings.title?Promise.resolve(e.settings.title(t)).then((e=>c(e))):c(e.settings.title)}),[e,t]),s().createElement(a.gN6,{key:e.settings.path},s().createElement(o.ConfigurableLink,{to:d(e.settings.path,t)},r||s().createElement(a.lSo,null)))},y=()=>{const[e,t]=(0,n.useState)(location.pathname),r=(0,o.getBreadcrumbsFor)(e),c=r[r.length-1],i=h(e,null==c?void 0:c.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,g(f({},r[1]),{settings:g(f({},r[1].settings),{title:"..."})})),s().createElement(a.aGc,{className:"breadcrumbs-container"},r.map(((e,t)=>s().createElement(v,{key:`breadcrumb-item-${t}`,breadcrumbRegistration:e,params:i}))))},w=y}}]);
@@ -1 +1 @@
1
- {"version":3,"file":"c6549db7b75e3d92.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,KAAKT,GAE5B,GAAIQ,EAAO,CACT,MAAO,IAAKP,GAAUO,EACtB,OAAOP,CACT,CAAO,CACL,MAAMS,EAAWV,EAAKW,MAAM,KAG5B,GAFAD,EAASE,MAELF,EAASG,OAAS,EAEpB,OAAOP,EADSI,EAASI,KAAK,KACJP,EAE9B,CAEA,MAAO,EACT,CAOO,MAAMQ,EAA4D,EACvEC,yBACAf,aAEA,MAAOgB,EAAOC,IAAY,IAAAC,UAAS,IAYnC,OAVA,IAAAC,YAAU,KAC6C,mBAA1CJ,EAAuBK,SAASJ,MACzCK,QAAQC,QAAQP,EAAuBK,SAASJ,MAAMhB,IAASuB,MAC5DC,GAAQP,EAASO,KAGpBP,EAASF,EAAuBK,SAASJ,MAC3C,GACC,CAACD,EAAwBf,IAG1B,kBAAC,MAAc,CAACyB,IAAKV,EAAuBK,SAASrB,MACnD,kBAAC,EAAA2B,iBAAgB,CACfC,GAAI7B,EAAQiB,EAAuBK,SAASrB,KAAMC,IAEjDgB,GAAgB,kBAAC,MAAa,OAEnC,EAISY,EAAwB,KACnC,MAAO7B,EAAM8B,IAAW,IAAAX,UAASY,SAASC,UACpCC,GAAc,IAAAC,mBAAkBlC,GAChCmC,EAAYF,EAAYA,EAAYpB,OAAS,GAC7CZ,EAASK,EAAUN,EAAM,MAAAmC,OAAA,EAAAA,EAAW5B,SAkB1C,OAhBA,IAAAa,YAAU,KACR,MAAMgB,EAAU,IAAMN,EAAQC,SAASC,UAEvC,OADAK,OAAOC,iBAAiB,WAAYF,GAC7B,IAAMC,OAAOE,oBAAoB,WAAYH,EAAQ,GAC3D,IAECH,EAAYpB,OAAS,GACvBoB,EAAYO,OAAO,EAAGP,EAAYpB,OAAS,EAAG,OACzCoB,EAAY,IAD6B,CAE5CZ,SAAU,OACLY,EAAY,GAAGZ,UADV,CAERJ,MAAO,WAMX,kBAAC,MAAU,CAACwB,UAAU,yBACnBR,EAAYS,KAAI,CAACC,EAAIC,IACpB,kBAAC7B,EAAA,CACCW,IAAK,mBAAmBkB,IACxB5B,uBAAwB2B,EACxB1C,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","key","ConfigurableLink","to","Breadcrumbs","setPath","location","pathname","breadcrumbs","getBreadcrumbsFor","currentBc","handler","window","addEventListener","removeEventListener","splice","className","map","bc","index"],"sourceRoot":""}
1
+ {"version":3,"file":"c6a9224c943bb00d.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,KAAKT,GAE5B,GAAIQ,EAAO,CACT,MAAO,IAAKP,GAAUO,EACtB,OAAOP,CACT,CAAO,CACL,MAAMS,EAAWV,EAAKW,MAAM,KAG5B,GAFAD,EAASE,MAELF,EAASG,OAAS,EAEpB,OAAOP,EADSI,EAASI,KAAK,KACJP,EAE9B,CAEA,MAAO,EACT,CAOO,MAAMQ,EAA4D,EACvEC,yBACAf,aAEA,MAAOgB,EAAOC,IAAY,IAAAC,UAAS,IAYnC,OAVA,IAAAC,YAAU,KAC6C,mBAA1CJ,EAAuBK,SAASJ,MACzCK,QAAQC,QAAQP,EAAuBK,SAASJ,MAAMhB,IAASuB,MAC5DC,GAAQP,EAASO,KAGpBP,EAASF,EAAuBK,SAASJ,MAC3C,GACC,CAACD,EAAwBf,IAG1B,kBAAC,MAAc,CAACyB,IAAKV,EAAuBK,SAASrB,MACnD,kBAAC,EAAA2B,iBAAgB,CACfC,GAAI7B,EAAQiB,EAAuBK,SAASrB,KAAMC,IAEjDgB,GAAgB,kBAAC,MAAa,OAEnC,EAISY,EAAwB,KACnC,MAAO7B,EAAM8B,IAAW,IAAAX,UAASY,SAASC,UACpCC,GAAc,IAAAC,mBAAkBlC,GAChCmC,EAAYF,EAAYA,EAAYpB,OAAS,GAC7CZ,EAASK,EAAUN,EAAM,MAAAmC,OAAA,EAAAA,EAAW5B,SAkB1C,OAhBA,IAAAa,YAAU,KACR,MAAMgB,EAAU,IAAMN,EAAQC,SAASC,UAEvC,OADAK,OAAOC,iBAAiB,WAAYF,GAC7B,IAAMC,OAAOE,oBAAoB,WAAYH,EAAQ,GAC3D,IAECH,EAAYpB,OAAS,GACvBoB,EAAYO,OAAO,EAAGP,EAAYpB,OAAS,EAAG,OACzCoB,EAAY,IAD6B,CAE5CZ,SAAU,OACLY,EAAY,GAAGZ,UADV,CAERJ,MAAO,WAMX,kBAAC,MAAU,CAACwB,UAAU,yBACnBR,EAAYS,KAAI,CAACC,EAAIC,IACpB,kBAAC7B,EAAA,CACCW,IAAK,mBAAmBkB,IACxB5B,uBAAwB2B,EACxB1C,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","key","ConfigurableLink","to","Breadcrumbs","setPath","location","pathname","breadcrumbs","getBreadcrumbsFor","currentBc","handler","window","addEventListener","removeEventListener","splice","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.a88c696b0c32abb9.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.809ffd9b9fa00d8c.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>
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="/openmrs/spa/favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="importmap-type" content="systemjs-importmap"><link href="/openmrs/spa/openmrs.a88c696b0c32abb9.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.3bbdd38e3cb142dd.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",