@openmrs/esm-app-shell 4.4.1-pre.686 → 4.4.1-pre.693

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.
Files changed (106) hide show
  1. package/.turbo/turbo-build.log +23 -25
  2. package/dist/{9ba041394f8260c3.js → b479a07e6bd61faf.js} +1 -1
  3. package/dist/{9ba041394f8260c3.js.map → b479a07e6bd61faf.js.map} +1 -1
  4. package/dist/index.html +1 -1
  5. package/dist/{openmrs.ae355a4ce30461e1.js → openmrs.80f8f2e3e01a3925.js} +2 -2
  6. package/dist/{openmrs.ae355a4ce30461e1.js.map → openmrs.80f8f2e3e01a3925.js.map} +1 -1
  7. package/dist/service-worker.js +1 -1
  8. package/lib/esm-devtools-app/889.js +1 -1
  9. package/lib/esm-devtools-app/889.js.map +1 -1
  10. package/lib/esm-devtools-app/988.js +1 -1
  11. package/lib/esm-devtools-app/main.js +1 -1
  12. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js +1 -1
  13. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.buildmanifest.json +6 -6
  14. package/lib/esm-devtools-app/openmrs-esm-devtools-app.old +1 -1
  15. package/lib/esm-implementer-tools-app/807.js +1 -1
  16. package/lib/esm-implementer-tools-app/889.js +1 -1
  17. package/lib/esm-implementer-tools-app/889.js.map +1 -1
  18. package/lib/esm-implementer-tools-app/main.js +1 -1
  19. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js +1 -1
  20. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.buildmanifest.json +6 -6
  21. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.old +1 -1
  22. package/lib/esm-login-app/337.js +1 -1
  23. package/lib/esm-login-app/889.js +1 -1
  24. package/lib/esm-login-app/889.js.map +1 -1
  25. package/lib/esm-login-app/main.js +1 -1
  26. package/lib/esm-login-app/openmrs-esm-login-app.js +1 -1
  27. package/lib/esm-login-app/openmrs-esm-login-app.js.buildmanifest.json +6 -6
  28. package/lib/esm-login-app/openmrs-esm-login-app.old +1 -1
  29. package/lib/esm-primary-navigation-app/363.js +1 -1
  30. package/lib/esm-primary-navigation-app/889.js +1 -1
  31. package/lib/esm-primary-navigation-app/889.js.map +1 -1
  32. package/lib/esm-primary-navigation-app/main.js +1 -1
  33. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js +1 -1
  34. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json +6 -6
  35. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.old +1 -1
  36. package/lib/index.html +1 -1
  37. package/lib/openmrs.js +40 -7
  38. package/lib/service-worker.js +1 -1
  39. package/package.json +4 -4
  40. package/lib/esm-offline-tools-app/1584c81d564cacde.svg +0 -8
  41. package/lib/esm-offline-tools-app/206.js +0 -1
  42. package/lib/esm-offline-tools-app/206.js.map +0 -1
  43. package/lib/esm-offline-tools-app/263.js +0 -1
  44. package/lib/esm-offline-tools-app/263.js.map +0 -1
  45. package/lib/esm-offline-tools-app/264.js +0 -1
  46. package/lib/esm-offline-tools-app/264.js.map +0 -1
  47. package/lib/esm-offline-tools-app/281.js +0 -1
  48. package/lib/esm-offline-tools-app/281.js.map +0 -1
  49. package/lib/esm-offline-tools-app/290.js +0 -1
  50. package/lib/esm-offline-tools-app/290.js.map +0 -1
  51. package/lib/esm-offline-tools-app/316.js +0 -1
  52. package/lib/esm-offline-tools-app/316.js.map +0 -1
  53. package/lib/esm-offline-tools-app/391.js +0 -1
  54. package/lib/esm-offline-tools-app/391.js.map +0 -1
  55. package/lib/esm-offline-tools-app/412.js +0 -1
  56. package/lib/esm-offline-tools-app/412.js.map +0 -1
  57. package/lib/esm-offline-tools-app/47.js +0 -1
  58. package/lib/esm-offline-tools-app/47.js.map +0 -1
  59. package/lib/esm-offline-tools-app/501.js +0 -1
  60. package/lib/esm-offline-tools-app/501.js.map +0 -1
  61. package/lib/esm-offline-tools-app/526.js +0 -1
  62. package/lib/esm-offline-tools-app/526.js.map +0 -1
  63. package/lib/esm-offline-tools-app/538.js +0 -1
  64. package/lib/esm-offline-tools-app/538.js.map +0 -1
  65. package/lib/esm-offline-tools-app/541.js +0 -1
  66. package/lib/esm-offline-tools-app/541.js.map +0 -1
  67. package/lib/esm-offline-tools-app/574.js +0 -1
  68. package/lib/esm-offline-tools-app/594.js +0 -1
  69. package/lib/esm-offline-tools-app/594.js.map +0 -1
  70. package/lib/esm-offline-tools-app/63.js +0 -2
  71. package/lib/esm-offline-tools-app/63.js.LICENSE.txt +0 -32
  72. package/lib/esm-offline-tools-app/63.js.map +0 -1
  73. package/lib/esm-offline-tools-app/697.js +0 -2
  74. package/lib/esm-offline-tools-app/697.js.LICENSE.txt +0 -9
  75. package/lib/esm-offline-tools-app/697.js.map +0 -1
  76. package/lib/esm-offline-tools-app/733.js +0 -1
  77. package/lib/esm-offline-tools-app/733.js.map +0 -1
  78. package/lib/esm-offline-tools-app/735.js +0 -2
  79. package/lib/esm-offline-tools-app/735.js.LICENSE.txt +0 -9
  80. package/lib/esm-offline-tools-app/735.js.map +0 -1
  81. package/lib/esm-offline-tools-app/752.js +0 -1
  82. package/lib/esm-offline-tools-app/752.js.map +0 -1
  83. package/lib/esm-offline-tools-app/757.js +0 -1
  84. package/lib/esm-offline-tools-app/78.js +0 -1
  85. package/lib/esm-offline-tools-app/78.js.map +0 -1
  86. package/lib/esm-offline-tools-app/788.js +0 -2
  87. package/lib/esm-offline-tools-app/788.js.LICENSE.txt +0 -19
  88. package/lib/esm-offline-tools-app/788.js.map +0 -1
  89. package/lib/esm-offline-tools-app/82.js +0 -2
  90. package/lib/esm-offline-tools-app/82.js.LICENSE.txt +0 -5
  91. package/lib/esm-offline-tools-app/82.js.map +0 -1
  92. package/lib/esm-offline-tools-app/889.js +0 -2
  93. package/lib/esm-offline-tools-app/889.js.LICENSE.txt +0 -3
  94. package/lib/esm-offline-tools-app/889.js.map +0 -1
  95. package/lib/esm-offline-tools-app/937.js +0 -1
  96. package/lib/esm-offline-tools-app/937.js.map +0 -1
  97. package/lib/esm-offline-tools-app/967.js +0 -1
  98. package/lib/esm-offline-tools-app/967.js.map +0 -1
  99. package/lib/esm-offline-tools-app/main.js +0 -2
  100. package/lib/esm-offline-tools-app/main.js.LICENSE.txt +0 -5
  101. package/lib/esm-offline-tools-app/main.js.map +0 -1
  102. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js +0 -1
  103. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.buildmanifest.json +0 -754
  104. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.map +0 -1
  105. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.old +0 -1
  106. /package/dist/{openmrs.ae355a4ce30461e1.js.LICENSE.txt → openmrs.80f8f2e3e01a3925.js.LICENSE.txt} +0 -0
@@ -1,9 +1,9 @@
1
- @openmrs/esm-app-shell:build: cache hit, replaying output 60f43c3b9cb276f6
1
+ @openmrs/esm-app-shell:build: cache hit, replaying output 92b2ac879519808c
2
2
  @openmrs/esm-app-shell:build: 
3
- @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.4.1-pre.686 build:production
3
+ @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.4.1-pre.693 build:production
4
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
5
  @openmrs/esm-app-shell:build: 
6
- @openmrs/esm-app-shell:build: (node:3044) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
6
+ @openmrs/esm-app-shell:build: (node:2817) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
7
7
  @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
8
8
  @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
9
9
  @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
@@ -11,7 +11,7 @@
11
11
  @openmrs/esm-app-shell:build: assets by info 3.82 MiB [immutable]
12
12
  @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
13
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.42 MiB [big] 2 assets
14
+ @openmrs/esm-app-shell:build:  assets by status 1.43 MiB [big] 2 assets
15
15
  @openmrs/esm-app-shell:build:  + 1 asset
16
16
  @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
17
17
  @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
@@ -23,12 +23,12 @@
23
23
  @openmrs/esm-app-shell:build: asset logo.svg 1.33 KiB [emitted] [from: src/assets/logo.svg] [copied]
24
24
  @openmrs/esm-app-shell:build: asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
25
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.42 MiB (974 KiB) = openmrs.9de7d269437362e4.css 658 KiB openmrs.ae355a4ce30461e1.js 798 KiB 2 auxiliary assets
27
- @openmrs/esm-app-shell:build: orphan modules 6.81 MiB (javascript) 2.4 MiB (asset) 8.23 KiB (runtime) [orphan] 1281 modules
26
+ @openmrs/esm-app-shell:build: Entrypoint main [big] 1.43 MiB (975 KiB) = openmrs.9de7d269437362e4.css 658 KiB openmrs.80f8f2e3e01a3925.js 801 KiB 2 auxiliary assets
27
+ @openmrs/esm-app-shell:build: orphan modules 6.81 MiB (javascript) 2.4 MiB (asset) 8.23 KiB (runtime) [orphan] 1283 modules
28
28
  @openmrs/esm-app-shell:build: runtime modules 18.7 KiB 14 modules
29
- @openmrs/esm-app-shell:build: built modules 2.56 MiB (javascript) 664 KiB (css/mini-extract) 336 bytes (share-init) 336 bytes (consume-shared) [built]
29
+ @openmrs/esm-app-shell:build: built modules 2.57 MiB (javascript) 664 KiB (css/mini-extract) 336 bytes (share-init) 336 bytes (consume-shared) [built]
30
30
  @openmrs/esm-app-shell:build:  modules by path ../../../node_modules/ 1.87 MiB 143 modules
31
- @openmrs/esm-app-shell:build:  modules by path ../../framework/ 528 KiB (javascript) 664 KiB (css/mini-extract) 74 modules
31
+ @openmrs/esm-app-shell:build:  modules by path ../../framework/ 536 KiB (javascript) 664 KiB (css/mini-extract) 75 modules
32
32
  @openmrs/esm-app-shell:build:  provide-module modules 336 bytes
33
33
  @openmrs/esm-app-shell:build:  modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
34
34
  @openmrs/esm-app-shell:build:  + 6 modules
@@ -47,26 +47,26 @@
47
47
  @openmrs/esm-app-shell:build: This can impact web performance.
48
48
  @openmrs/esm-app-shell:build: Assets:
49
49
  @openmrs/esm-app-shell:build:  openmrs.9de7d269437362e4.css (658 KiB)
50
- @openmrs/esm-app-shell:build:  openmrs.ae355a4ce30461e1.js (798 KiB)
50
+ @openmrs/esm-app-shell:build:  openmrs.80f8f2e3e01a3925.js (801 KiB)
51
51
  @openmrs/esm-app-shell:build: 
52
52
  @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.
53
53
  @openmrs/esm-app-shell:build: Entrypoints:
54
- @openmrs/esm-app-shell:build:  main (1.42 MiB)
54
+ @openmrs/esm-app-shell:build:  main (1.43 MiB)
55
55
  @openmrs/esm-app-shell:build:  openmrs.9de7d269437362e4.css
56
- @openmrs/esm-app-shell:build:  openmrs.ae355a4ce30461e1.js
56
+ @openmrs/esm-app-shell:build:  openmrs.80f8f2e3e01a3925.js
57
57
  @openmrs/esm-app-shell:build: 
58
58
  @openmrs/esm-app-shell:build: 
59
- @openmrs/esm-app-shell:build: webpack 5.77.0 compiled with 2 warnings in 54044 ms
59
+ @openmrs/esm-app-shell:build: webpack 5.77.0 compiled with 2 warnings in 107699 ms
60
60
  @openmrs/esm-app-shell:build: 
61
- @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.4.1-pre.686 build:development
61
+ @openmrs/esm-app-shell:build: > @openmrs/esm-app-shell@4.4.1-pre.693 build:development
62
62
  @openmrs/esm-app-shell:build: > cross-env OMRS_OFFLINE="enable" NODE_ENV="development" webpack --mode development
63
63
  @openmrs/esm-app-shell:build: 
64
64
  @openmrs/esm-app-shell:build: Serving built artifact for @openmrs/esm-devtools-app from /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-devtools-app/dist
65
65
  @openmrs/esm-app-shell:build: Serving built artifact for @openmrs/esm-implementer-tools-app from /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-implementer-tools-app/dist
66
66
  @openmrs/esm-app-shell:build: Serving built artifact for @openmrs/esm-login-app from /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-login-app/dist
67
- @openmrs/esm-app-shell:build: Serving built artifact for @openmrs/esm-offline-tools-app from /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-offline-tools-app/dist
67
+ @openmrs/esm-app-shell:build: Not serving @openmrs/esm-offline-tools-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-offline-tools-app/dist
68
68
  @openmrs/esm-app-shell:build: Serving built artifact for @openmrs/esm-primary-navigation-app from /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-primary-navigation-app/dist
69
- @openmrs/esm-app-shell:build: (node:3097) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
69
+ @openmrs/esm-app-shell:build: (node:3010) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
70
70
  @openmrs/esm-app-shell:build: BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
71
71
  @openmrs/esm-app-shell:build:  Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
72
72
  @openmrs/esm-app-shell:build:  Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
@@ -74,21 +74,19 @@
74
74
  @openmrs/esm-app-shell:build: assets by info 2.41 MiB [immutable]
75
75
  @openmrs/esm-app-shell:build:  assets by path *.woff 1.35 MiB 90 assets
76
76
  @openmrs/esm-app-shell:build:  assets by path *.woff2 1.04 MiB 90 assets
77
- @openmrs/esm-app-shell:build:  + 1 asset
78
- @openmrs/esm-app-shell:build: assets by path esm-offline-tools-app/ 3.11 MiB 66 assets
79
- @openmrs/esm-app-shell:build: assets by path esm-login-app/ 1.84 MiB 50 assets
77
+ @openmrs/esm-app-shell:build:  asset aaa38d426dcdf2a4.js 17.3 KiB [emitted] [immutable]
78
+ @openmrs/esm-app-shell:build: assets by path esm-login-app/ 1.85 MiB 50 assets
80
79
  @openmrs/esm-app-shell:build: assets by path esm-implementer-tools-app/ 3.37 MiB 48 assets
81
- @openmrs/esm-app-shell:build: assets by path esm-primary-navigation-app/ 1.72 MiB 41 assets
82
- @openmrs/esm-app-shell:build: assets by path esm-devtools-app/ 965 KiB 16 assets
80
+ @openmrs/esm-app-shell:build: assets by path esm-primary-navigation-app/ 1.73 MiB 41 assets
81
+ @openmrs/esm-app-shell:build: assets by path esm-devtools-app/ 974 KiB 16 assets
83
82
  @openmrs/esm-app-shell:build: assets by path *.png 64.8 KiB
84
83
  @openmrs/esm-app-shell:build:  asset logo-512.png 15.5 KiB [emitted] [from: src/assets/logo-512.png] [copied]
85
84
  @openmrs/esm-app-shell:build:  asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
86
- @openmrs/esm-app-shell:build:  asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
87
- @openmrs/esm-app-shell:build:  + 5 assets
85
+ @openmrs/esm-app-shell:build:  + 6 assets
88
86
  @openmrs/esm-app-shell:build: + 6 assets
89
87
  @openmrs/esm-app-shell:build: orphan modules 1.29 MiB [orphan] 418 modules
90
88
  @openmrs/esm-app-shell:build: runtime modules 20.8 KiB 14 modules
91
- @openmrs/esm-app-shell:build: javascript modules 8.1 MiB 864 modules
89
+ @openmrs/esm-app-shell:build: javascript modules 8.11 MiB 867 modules
92
90
  @openmrs/esm-app-shell:build: asset modules 40.1 KiB (javascript) 2.4 MiB (asset)
93
91
  @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/dist/ 7.38 KiB (javascript) 2.4 MiB (asset) 180 modules
94
92
  @openmrs/esm-app-shell:build:  modules by path ../../framework/esm-styleguide/src/ 32.7 KiB 27 modules
@@ -101,6 +99,6 @@
101
99
  @openmrs/esm-app-shell:build: 
102
100
  @openmrs/esm-app-shell:build: LOG from InjectManifest
103
101
  @openmrs/esm-app-shell:build: <i> The service worker at service-worker.js will precache
104
- @openmrs/esm-app-shell:build: <i>  324 URLs, totaling 35.7 MB.
102
+ @openmrs/esm-app-shell:build: <i>  285 URLs, totaling 34 MB.
105
103
  @openmrs/esm-app-shell:build: 
106
- @openmrs/esm-app-shell:build: webpack 5.77.0 compiled successfully in 12113 ms
104
+ @openmrs/esm-app-shell:build: webpack 5.77.0 compiled successfully in 15928 ms
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[435],{1435:(e,t,r)=>{r.r(t),r.d(t,{Breadcrumbs:()=>O,CustomBreadcrumbItem:()=>v,default:()=>w});var n=r(7959),o=r.n(n),a=r(7993),u=r(1515);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){if(Array.isArray(e))return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){s(e,t,r[t])}))}return e}function m(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function y(e,t){return l(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}}(e,t)||d(e,t)||p()}function d(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function g(e,t){var r,n,o=function(e){if(Array.isArray(e))return c(e)}(n=t)||f(n)||d(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return e.replace(/:([A-Za-z0-9_]+)/g,(function(e){return null!==(r=o.shift())&&void 0!==r?r:e}))}function h(e,t){var r=null==t?void 0:t.exec(e);if(r)return(l(n=r)||f(n)||d(n,i)||p()).slice(1);var n,o=e.split("/");return o.pop(),o.length>1?h(o.join("/"),t):[]}var v=function(e){var t=e.breadcrumbRegistration,r=e.params,i=y((0,n.useState)(""),2),c=i[0],l=i[1];return(0,n.useEffect)((function(){"function"==typeof t.settings.title?Promise.resolve(t.settings.title(r)).then((function(e){return l(e)})):l(t.settings.title)}),[t,r]),o().createElement(a.gN6,{key:t.settings.path},o().createElement(u.ConfigurableLink,{to:g(t.settings.path,r)},c||o().createElement(a.lSo,null)))},O=function(){var e=y((0,n.useState)(location.pathname),2),t=e[0],r=e[1],i=(0,u.getBreadcrumbsFor)(t),c=i[i.length-1],l=h(t,null==c?void 0:c.matcher);return(0,n.useEffect)((function(){var e=function(){return r(location.pathname)};return window.addEventListener("popstate",e),function(){return window.removeEventListener("popstate",e)}}),[]),i.length>4&&i.splice(1,i.length-3,m(b({},i[1]),{settings:m(b({},i[1].settings),{title:"..."})})),o().createElement(a.aGc,{className:"breadcrumbs-container"},i.map((function(e,t){return o().createElement(v,{key:"breadcrumb-item-".concat(t),breadcrumbRegistration:e,params:l})})))};const w=O}}]);
1
+ "use strict";(self.webpackChunk_openmrs_esm_app_shell=self.webpackChunk_openmrs_esm_app_shell||[]).push([[435],{1435:(e,t,r)=>{r.r(t),r.d(t,{Breadcrumbs:()=>O,CustomBreadcrumbItem:()=>v,default:()=>w});var n=r(7959),o=r.n(n),a=r(7993),u=r(3178);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){if(Array.isArray(e))return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){s(e,t,r[t])}))}return e}function m(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function y(e,t){return l(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){u=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}}(e,t)||d(e,t)||p()}function d(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function g(e,t){var r,n,o=function(e){if(Array.isArray(e))return c(e)}(n=t)||f(n)||d(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return e.replace(/:([A-Za-z0-9_]+)/g,(function(e){return null!==(r=o.shift())&&void 0!==r?r:e}))}function h(e,t){var r=null==t?void 0:t.exec(e);if(r)return(l(n=r)||f(n)||d(n,i)||p()).slice(1);var n,o=e.split("/");return o.pop(),o.length>1?h(o.join("/"),t):[]}var v=function(e){var t=e.breadcrumbRegistration,r=e.params,i=y((0,n.useState)(""),2),c=i[0],l=i[1];return(0,n.useEffect)((function(){"function"==typeof t.settings.title?Promise.resolve(t.settings.title(r)).then((function(e){return l(e)})):l(t.settings.title)}),[t,r]),o().createElement(a.gN6,{key:t.settings.path},o().createElement(u.ConfigurableLink,{to:g(t.settings.path,r)},c||o().createElement(a.lSo,null)))},O=function(){var e=y((0,n.useState)(location.pathname),2),t=e[0],r=e[1],i=(0,u.getBreadcrumbsFor)(t),c=i[i.length-1],l=h(t,null==c?void 0:c.matcher);return(0,n.useEffect)((function(){var e=function(){return r(location.pathname)};return window.addEventListener("popstate",e),function(){return window.removeEventListener("popstate",e)}}),[]),i.length>4&&i.splice(1,i.length-3,m(b({},i[1]),{settings:m(b({},i[1].settings),{title:"..."})})),o().createElement(a.aGc,{className:"breadcrumbs-container"},i.map((function(e,t){return o().createElement(v,{key:"breadcrumb-item-".concat(t),breadcrumbRegistration:e,params:l})})))};const w=O}}]);
@@ -1 +1 @@
1
- {"version":3,"file":"9ba041394f8260c3.js","mappings":"qPAAA,iB,01DAQA,SAASA,EAAQC,EAAcC,GAC7B,IACgDC,E,EAD1CA,E,+CAAYD,I,uLAClB,OAAOD,EAAKG,QAAQ,qBAAqB,SAACC,G,OAAiB,QAAXF,EAAAA,EAAMG,eAANH,IAAAA,EAAAA,EAAiBE,C,GACnE,CAEA,SAASE,EAAUN,EAAcO,GAC/B,IAAMC,EAAQD,aAAAA,EAAAA,EAASE,KAAKT,GAE5B,GAAIQ,EAEF,O,IADsBA,I,mBAAAA,MAAb,GAGT,I,EAAME,EAAWV,EAAKW,MAAM,KAG5B,OAFAD,EAASE,MAELF,EAASG,OAAS,EAEbP,EADSI,EAASI,KAAK,KACJP,GAIvB,EACT,CAOO,IAAMQ,EAA4D,Y,IACvEC,EAAAA,EAAAA,uBACAf,EAAAA,EAAAA,OAE0BgB,EAAAA,GAAAA,EAAAA,EAAAA,UAAS,OAA5BC,EAAmBD,EAAAA,GAAZE,EAAYF,EAAAA,GAY1B,OAVAG,EAAAA,EAAAA,YAAU,WAC6C,mBAA1CJ,EAAuBK,SAASH,MACzCI,QAAQC,QAAQP,EAAuBK,SAASH,MAAMjB,IAASuB,MAC7D,SAACC,G,OAAQN,EAASM,E,IAGpBN,EAASH,EAAuBK,SAASH,MAE7C,GAAG,CAACF,EAAwBf,IAG1B,kBAACyB,EAAAA,IAAcA,CAACC,IAAKX,EAAuBK,SAASrB,MACnD,kBAAC4B,EAAAA,iBAAgBA,CACfC,GAAI9B,EAAQiB,EAAuBK,SAASrB,KAAMC,IAEjDiB,GAAgB,kBAACY,EAAAA,IAAaA,OAIvC,EAEaC,EAAwB,WACnC,IAAwBd,EAAAA,GAAAA,EAAAA,EAAAA,UAASe,SAASC,UAAQ,GAA3CjC,EAAiBiB,EAAAA,GAAXiB,EAAWjB,EAAAA,GAClBkB,GAAcC,EAAAA,EAAAA,mBAAkBpC,GAChCqC,EAAYF,EAAYA,EAAYtB,OAAS,GAC7CZ,EAASK,EAAUN,EAAMqC,aAAAA,EAAAA,EAAW9B,SAkB1C,OAhBAa,EAAAA,EAAAA,YAAU,WACR,IAAMkB,EAAU,W,OAAMJ,EAAQF,SAASC,S,EAEvC,OADAM,OAAOC,iBAAiB,WAAYF,GAC7B,W,OAAMC,OAAOE,oBAAoB,WAAYH,E,CACtD,GAAG,IAECH,EAAYtB,OAAS,GACvBsB,EAAYO,OAAO,EAAGP,EAAYtB,OAAS,EAAG,OACzCsB,EAAY,IAAE,CACjBd,SAAU,OACLc,EAAY,GAAGd,UAAQ,CAC1BH,MAAO,WAMX,kBAACyB,EAAAA,IAAUA,CAACC,UAAU,yBACnBT,EAAYU,KAAI,SAACC,EAAIC,G,OACpB,kBAAChC,EAAAA,CACCY,IAAK,mBAAyB,OAANoB,GACxB/B,uBAAwB8B,EACxB7C,OAAQA,G,IAKlB,EAEA,S","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","useState","title","setTitle","useEffect","settings","Promise","resolve","then","res","BreadcrumbItem","key","ConfigurableLink","to","InlineLoading","Breadcrumbs","location","pathname","setPath","breadcrumbs","getBreadcrumbsFor","currentBc","handler","window","addEventListener","removeEventListener","splice","Breadcrumb","className","map","bc","index"],"sourceRoot":""}
1
+ {"version":3,"file":"b479a07e6bd61faf.js","mappings":"qPAAA,iB,01DAQA,SAASA,EAAQC,EAAcC,GAC7B,IACgDC,E,EAD1CA,E,+CAAYD,I,uLAClB,OAAOD,EAAKG,QAAQ,qBAAqB,SAACC,G,OAAiB,QAAXF,EAAAA,EAAMG,eAANH,IAAAA,EAAAA,EAAiBE,C,GACnE,CAEA,SAASE,EAAUN,EAAcO,GAC/B,IAAMC,EAAQD,aAAAA,EAAAA,EAASE,KAAKT,GAE5B,GAAIQ,EAEF,O,IADsBA,I,mBAAAA,MAAb,GAGT,I,EAAME,EAAWV,EAAKW,MAAM,KAG5B,OAFAD,EAASE,MAELF,EAASG,OAAS,EAEbP,EADSI,EAASI,KAAK,KACJP,GAIvB,EACT,CAOO,IAAMQ,EAA4D,Y,IACvEC,EAAAA,EAAAA,uBACAf,EAAAA,EAAAA,OAE0BgB,EAAAA,GAAAA,EAAAA,EAAAA,UAAS,OAA5BC,EAAmBD,EAAAA,GAAZE,EAAYF,EAAAA,GAY1B,OAVAG,EAAAA,EAAAA,YAAU,WAC6C,mBAA1CJ,EAAuBK,SAASH,MACzCI,QAAQC,QAAQP,EAAuBK,SAASH,MAAMjB,IAASuB,MAC7D,SAACC,G,OAAQN,EAASM,E,IAGpBN,EAASH,EAAuBK,SAASH,MAE7C,GAAG,CAACF,EAAwBf,IAG1B,kBAACyB,EAAAA,IAAcA,CAACC,IAAKX,EAAuBK,SAASrB,MACnD,kBAAC4B,EAAAA,iBAAgBA,CACfC,GAAI9B,EAAQiB,EAAuBK,SAASrB,KAAMC,IAEjDiB,GAAgB,kBAACY,EAAAA,IAAaA,OAIvC,EAEaC,EAAwB,WACnC,IAAwBd,EAAAA,GAAAA,EAAAA,EAAAA,UAASe,SAASC,UAAQ,GAA3CjC,EAAiBiB,EAAAA,GAAXiB,EAAWjB,EAAAA,GAClBkB,GAAcC,EAAAA,EAAAA,mBAAkBpC,GAChCqC,EAAYF,EAAYA,EAAYtB,OAAS,GAC7CZ,EAASK,EAAUN,EAAMqC,aAAAA,EAAAA,EAAW9B,SAkB1C,OAhBAa,EAAAA,EAAAA,YAAU,WACR,IAAMkB,EAAU,W,OAAMJ,EAAQF,SAASC,S,EAEvC,OADAM,OAAOC,iBAAiB,WAAYF,GAC7B,W,OAAMC,OAAOE,oBAAoB,WAAYH,E,CACtD,GAAG,IAECH,EAAYtB,OAAS,GACvBsB,EAAYO,OAAO,EAAGP,EAAYtB,OAAS,EAAG,OACzCsB,EAAY,IAAE,CACjBd,SAAU,OACLc,EAAY,GAAGd,UAAQ,CAC1BH,MAAO,WAMX,kBAACyB,EAAAA,IAAUA,CAACC,UAAU,yBACnBT,EAAYU,KAAI,SAACC,EAAIC,G,OACpB,kBAAChC,EAAAA,CACCY,IAAK,mBAAyB,OAANoB,GACxB/B,uBAAwB8B,EACxB7C,OAAQA,G,IAKlB,EAEA,S","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","useState","title","setTitle","useEffect","settings","Promise","resolve","then","res","BreadcrumbItem","key","ConfigurableLink","to","InlineLoading","Breadcrumbs","location","pathname","setPath","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="/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.9de7d269437362e4.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.ae355a4ce30461e1.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.9de7d269437362e4.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.80f8f2e3e01a3925.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",