@epcare/esm-report-builder 0.1.1-pre.16 → 0.1.1-pre.2

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 (226) hide show
  1. package/package.json +12 -2
  2. package/routes.json +21 -0
  3. package/.eslintignore +0 -5
  4. package/.eslintrc.js +0 -19
  5. package/.github/workflows/main.yml +0 -162
  6. package/.prettierrc +0 -8
  7. package/dist-build-23689353221/0081d5d3d536cb23.js +0 -1
  8. package/dist-build-23689353221/02acc4469a2fe2e4.woff2 +0 -0
  9. package/dist-build-23689353221/081587ca0db8e63f.woff2 +0 -0
  10. package/dist-build-23689353221/08cf53c4e5e71cf1.woff2 +0 -0
  11. package/dist-build-23689353221/090b2bc014d24ea4.woff2 +0 -0
  12. package/dist-build-23689353221/09de5db63ef7b579.js +0 -1
  13. package/dist-build-23689353221/0ae92bcea615e948.woff2 +0 -0
  14. package/dist-build-23689353221/0be8520d8945b3b7.woff2 +0 -0
  15. package/dist-build-23689353221/0e7dd073cd8bb0ad.woff2 +0 -0
  16. package/dist-build-23689353221/0edb77cd19e43550.js +0 -1
  17. package/dist-build-23689353221/14869ac5d1830304.woff2 +0 -0
  18. package/dist-build-23689353221/14aaceff85fc8b28.woff2 +0 -0
  19. package/dist-build-23689353221/14c3abea79fc1389.js +0 -1
  20. package/dist-build-23689353221/155a4ac079785bfd.js +0 -1
  21. package/dist-build-23689353221/155a4ac079785bfd.js.map +0 -1
  22. package/dist-build-23689353221/16f443eed01776ca.woff2 +0 -0
  23. package/dist-build-23689353221/183bae0e53a22182.woff2 +0 -0
  24. package/dist-build-23689353221/19c8f94ccd6289f5.woff2 +0 -0
  25. package/dist-build-23689353221/1ae86565eab7451c.woff2 +0 -0
  26. package/dist-build-23689353221/1c7bf8797e0a9be6.woff2 +0 -0
  27. package/dist-build-23689353221/1f266d3619b30f16.woff2 +0 -0
  28. package/dist-build-23689353221/1f8c5a4087a524fd.woff2 +0 -0
  29. package/dist-build-23689353221/20ba2b23c5c0cd0b.woff2 +0 -0
  30. package/dist-build-23689353221/22a32bd51591301b.js +0 -1
  31. package/dist-build-23689353221/273c72d90e432a3d.js +0 -1
  32. package/dist-build-23689353221/295dd01a1fbfee6d.woff2 +0 -0
  33. package/dist-build-23689353221/29cbe6827c3f03ef.js +0 -1
  34. package/dist-build-23689353221/2f686985e26e7107.woff2 +0 -0
  35. package/dist-build-23689353221/315eff729e4ccbd9.woff2 +0 -0
  36. package/dist-build-23689353221/368d16e3259bf207.woff2 +0 -0
  37. package/dist-build-23689353221/36c49aa341a7079a.woff2 +0 -0
  38. package/dist-build-23689353221/36e1e0430475edee.woff2 +0 -0
  39. package/dist-build-23689353221/374c3ee36d9e040a.js +0 -1
  40. package/dist-build-23689353221/377971e519bf3f4a.js +0 -2
  41. package/dist-build-23689353221/377971e519bf3f4a.js.LICENSE.txt +0 -39
  42. package/dist-build-23689353221/377971e519bf3f4a.js.map +0 -1
  43. package/dist-build-23689353221/3b0ea8395009dcf3.js +0 -2
  44. package/dist-build-23689353221/3b0ea8395009dcf3.js.LICENSE.txt +0 -9
  45. package/dist-build-23689353221/3b0ea8395009dcf3.js.map +0 -1
  46. package/dist-build-23689353221/3bc19662b8630ee9.woff2 +0 -0
  47. package/dist-build-23689353221/3f645f473b3f8fba.woff2 +0 -0
  48. package/dist-build-23689353221/41320d8930d23b36.js +0 -1
  49. package/dist-build-23689353221/4218ac9901b9d36d.woff2 +0 -0
  50. package/dist-build-23689353221/4659f3ca46d928b5.js +0 -1
  51. package/dist-build-23689353221/4659f3ca46d928b5.js.map +0 -1
  52. package/dist-build-23689353221/4680ba68412e4da9.woff2 +0 -0
  53. package/dist-build-23689353221/48e37bd7ebf85a1f.woff2 +0 -0
  54. package/dist-build-23689353221/4aabceefe5a2494a.js +0 -1
  55. package/dist-build-23689353221/4c188cbaefba58cd.js +0 -1
  56. package/dist-build-23689353221/4e11b8a7c445255f.woff2 +0 -0
  57. package/dist-build-23689353221/537ddd61c5c1fce2.woff2 +0 -0
  58. package/dist-build-23689353221/54f5eee3a7989556.js +0 -1
  59. package/dist-build-23689353221/55c9107b50dd747c.js +0 -1
  60. package/dist-build-23689353221/56c4118c0907f151.woff2 +0 -0
  61. package/dist-build-23689353221/5938bc2ae7ec60c0.woff2 +0 -0
  62. package/dist-build-23689353221/5c6586155f0d278a.woff2 +0 -0
  63. package/dist-build-23689353221/5e50c92017029ca3.js +0 -1
  64. package/dist-build-23689353221/5e50c92017029ca3.js.map +0 -1
  65. package/dist-build-23689353221/600aca7295d8bcb7.js +0 -2
  66. package/dist-build-23689353221/600aca7295d8bcb7.js.LICENSE.txt +0 -9
  67. package/dist-build-23689353221/600aca7295d8bcb7.js.map +0 -1
  68. package/dist-build-23689353221/60ec587649ba812a.woff2 +0 -0
  69. package/dist-build-23689353221/64cf08a5ac3266d8.js +0 -1
  70. package/dist-build-23689353221/652f476a8a1603d3.js +0 -2
  71. package/dist-build-23689353221/652f476a8a1603d3.js.LICENSE.txt +0 -9
  72. package/dist-build-23689353221/652f476a8a1603d3.js.map +0 -1
  73. package/dist-build-23689353221/65e6511e035870e1.woff2 +0 -0
  74. package/dist-build-23689353221/661425f6798cd16a.woff2 +0 -0
  75. package/dist-build-23689353221/66b864fe213caf46.woff2 +0 -0
  76. package/dist-build-23689353221/680eb791e6266590.js +0 -2
  77. package/dist-build-23689353221/680eb791e6266590.js.LICENSE.txt +0 -19
  78. package/dist-build-23689353221/680eb791e6266590.js.map +0 -1
  79. package/dist-build-23689353221/69d087d970ee9455.woff2 +0 -0
  80. package/dist-build-23689353221/69e3aa4276b4cb4b.js +0 -1
  81. package/dist-build-23689353221/6a88f03fc4e7c3da.js +0 -1
  82. package/dist-build-23689353221/6c6c45e66ff54281.woff2 +0 -0
  83. package/dist-build-23689353221/6d9009857c6df878.js +0 -1
  84. package/dist-build-23689353221/6ebe7cea59ed2853.js +0 -1
  85. package/dist-build-23689353221/6f3181849e740935.js +0 -1
  86. package/dist-build-23689353221/6f3181849e740935.js.map +0 -1
  87. package/dist-build-23689353221/7073a7323e92bd11.woff2 +0 -0
  88. package/dist-build-23689353221/70ac433ae2a89a89.js +0 -1
  89. package/dist-build-23689353221/70ee4ee625ac0ec1.js +0 -1
  90. package/dist-build-23689353221/718c6cc31274ab1a.woff2 +0 -0
  91. package/dist-build-23689353221/727696c3934d0966.js +0 -1
  92. package/dist-build-23689353221/727763c0f0df59dc.js +0 -1
  93. package/dist-build-23689353221/727763c0f0df59dc.js.map +0 -1
  94. package/dist-build-23689353221/72cdbedfe04be9f9.woff2 +0 -0
  95. package/dist-build-23689353221/7509c9f56fe9e532.woff2 +0 -0
  96. package/dist-build-23689353221/75dc5c5b04adc8bf.woff2 +0 -0
  97. package/dist-build-23689353221/77b48bc05299ecca.woff2 +0 -0
  98. package/dist-build-23689353221/7a0a0215c248c73d.woff2 +0 -0
  99. package/dist-build-23689353221/7c0d0c5180de8729.js +0 -1
  100. package/dist-build-23689353221/7f00bebb24e40167.woff2 +0 -0
  101. package/dist-build-23689353221/802c6176541eeed7.woff2 +0 -0
  102. package/dist-build-23689353221/8080081b3379c637.woff2 +0 -0
  103. package/dist-build-23689353221/81cfdaeaa0bbca1f.js +0 -1
  104. package/dist-build-23689353221/8605507b7a8487c4.woff2 +0 -0
  105. package/dist-build-23689353221/893a160d06428365.js +0 -1
  106. package/dist-build-23689353221/893a160d06428365.js.map +0 -1
  107. package/dist-build-23689353221/8a83d654702f6534.woff2 +0 -0
  108. package/dist-build-23689353221/8fe71173a13fe571.woff2 +0 -0
  109. package/dist-build-23689353221/94aa912dcac90114.js +0 -1
  110. package/dist-build-23689353221/9624cec0f9bdd81e.woff2 +0 -0
  111. package/dist-build-23689353221/98a3af55a1698171.woff2 +0 -0
  112. package/dist-build-23689353221/99823aaebba56f46.js +0 -1
  113. package/dist-build-23689353221/9ba85996af74c5ce.woff2 +0 -0
  114. package/dist-build-23689353221/9ddb22faa35006e7.woff2 +0 -0
  115. package/dist-build-23689353221/a167fb2799dd741b.woff2 +0 -0
  116. package/dist-build-23689353221/a2045a5cc4fdf94f.woff2 +0 -0
  117. package/dist-build-23689353221/a246c73905a31c93.woff2 +0 -0
  118. package/dist-build-23689353221/a325099b0a580ce2.js +0 -2
  119. package/dist-build-23689353221/a325099b0a580ce2.js.LICENSE.txt +0 -14
  120. package/dist-build-23689353221/a325099b0a580ce2.js.map +0 -1
  121. package/dist-build-23689353221/a401aa7939cb6e6f.woff2 +0 -0
  122. package/dist-build-23689353221/a40fef67997d3b2c.js +0 -1
  123. package/dist-build-23689353221/a62897b000a24b86.js +0 -1
  124. package/dist-build-23689353221/a6ed036f17a1ea29.woff2 +0 -0
  125. package/dist-build-23689353221/a77bac4877483a0a.js +0 -1
  126. package/dist-build-23689353221/a9f25ca430709a1a.woff2 +0 -0
  127. package/dist-build-23689353221/aa0dfbdd569b1c24.js +0 -2
  128. package/dist-build-23689353221/aa0dfbdd569b1c24.js.LICENSE.txt +0 -5
  129. package/dist-build-23689353221/aa0dfbdd569b1c24.js.map +0 -1
  130. package/dist-build-23689353221/ab0f637d6cff12e4.js +0 -1
  131. package/dist-build-23689353221/afa9121a49e95351.woff2 +0 -0
  132. package/dist-build-23689353221/afcda12d9f805543.woff2 +0 -0
  133. package/dist-build-23689353221/b09ded85a7da77f1.woff2 +0 -0
  134. package/dist-build-23689353221/b10dbe5318a91a12.js +0 -1
  135. package/dist-build-23689353221/b2f4e9d1e821b71c.woff2 +0 -0
  136. package/dist-build-23689353221/b4a074bf828bb757.woff2 +0 -0
  137. package/dist-build-23689353221/b7f447da43f6e596.woff2 +0 -0
  138. package/dist-build-23689353221/bcca84a524572d10.woff2 +0 -0
  139. package/dist-build-23689353221/be093e052a6d50eb.js +0 -1
  140. package/dist-build-23689353221/be4d1f97b11d087c.woff2 +0 -0
  141. package/dist-build-23689353221/bec14780d81164de.woff2 +0 -0
  142. package/dist-build-23689353221/c31657fe213c1b5e.js +0 -1
  143. package/dist-build-23689353221/c49ef726d3f0420b.js +0 -1
  144. package/dist-build-23689353221/c553f7e0199c5084.woff2 +0 -0
  145. package/dist-build-23689353221/c94ac2fdc1ff1418.js +0 -1
  146. package/dist-build-23689353221/c9d9ce9f465df4fe.woff2 +0 -0
  147. package/dist-build-23689353221/cbbb57b397433964.js +0 -2
  148. package/dist-build-23689353221/cbbb57b397433964.js.LICENSE.txt +0 -14
  149. package/dist-build-23689353221/cbbb57b397433964.js.map +0 -1
  150. package/dist-build-23689353221/d188f7f036ac5779.woff2 +0 -0
  151. package/dist-build-23689353221/d1aa59bd9c702dc4.js +0 -2
  152. package/dist-build-23689353221/d1aa59bd9c702dc4.js.LICENSE.txt +0 -32
  153. package/dist-build-23689353221/d1aa59bd9c702dc4.js.map +0 -1
  154. package/dist-build-23689353221/d265d81c58525ae4.woff2 +0 -0
  155. package/dist-build-23689353221/d5942cd81663e136.woff2 +0 -0
  156. package/dist-build-23689353221/d66b8ff73d95cabb.woff2 +0 -0
  157. package/dist-build-23689353221/d84bac6d07672dd2.js +0 -1
  158. package/dist-build-23689353221/d84bac6d07672dd2.js.map +0 -1
  159. package/dist-build-23689353221/d88899ef0fd16719.woff2 +0 -0
  160. package/dist-build-23689353221/d92b5ecf31fc187b.js +0 -1
  161. package/dist-build-23689353221/d9a5d958e69e058d.woff2 +0 -0
  162. package/dist-build-23689353221/dac90d495be353a0.woff2 +0 -0
  163. package/dist-build-23689353221/db0550511978dc47.js +0 -1
  164. package/dist-build-23689353221/dd8ce598529c3fab.woff2 +0 -0
  165. package/dist-build-23689353221/de013f1be25103fa.woff2 +0 -0
  166. package/dist-build-23689353221/df222fceeffca849.woff2 +0 -0
  167. package/dist-build-23689353221/df22bda08ec7964c.js +0 -1
  168. package/dist-build-23689353221/e05b7f902b02a251.js +0 -1
  169. package/dist-build-23689353221/e05b7f902b02a251.js.map +0 -1
  170. package/dist-build-23689353221/e465f1481f0d2e1c.js +0 -1
  171. package/dist-build-23689353221/e62b00b9199c1ac9.woff2 +0 -0
  172. package/dist-build-23689353221/e696cef1407b2610.woff2 +0 -0
  173. package/dist-build-23689353221/eb42de5422d9af00.js +0 -1
  174. package/dist-build-23689353221/eed48feba743e21c.woff2 +0 -0
  175. package/dist-build-23689353221/f135ef54213f8975.js +0 -1
  176. package/dist-build-23689353221/f260e50923d4283b.js +0 -1
  177. package/dist-build-23689353221/f543c88feb236d11.woff2 +0 -0
  178. package/dist-build-23689353221/f591b0079faa93fe.woff2 +0 -0
  179. package/dist-build-23689353221/f6ed27923769ad1d.woff2 +0 -0
  180. package/dist-build-23689353221/f8d066e92ea157c6.js +0 -1
  181. package/dist-build-23689353221/fae042506530c1e6.js +0 -1
  182. package/dist-build-23689353221/favicon.ico +0 -0
  183. package/dist-build-23689353221/fbebeb4336e67012.woff2 +0 -0
  184. package/dist-build-23689353221/fd574df77d31a5eb.js +0 -1
  185. package/dist-build-23689353221/icon_128x128.3dde25c6e69b1c010a6a5d6b27b3f436.png +0 -0
  186. package/dist-build-23689353221/icon_144x144.e263e02b838d229b02ff9133e6e0f2ba.png +0 -0
  187. package/dist-build-23689353221/icon_192x192.d3d318638bbe8a10a3c687d3d302d01a.png +0 -0
  188. package/dist-build-23689353221/icon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png +0 -0
  189. package/dist-build-23689353221/icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png +0 -0
  190. package/dist-build-23689353221/icon_512x512.7163efb26df832de513bc58d925ea22e.png +0 -0
  191. package/dist-build-23689353221/icon_96x96.682ee334ae19d49894217370b8596f61.png +0 -0
  192. package/dist-build-23689353221/index.html +0 -9
  193. package/dist-build-23689353221/logo-512.png +0 -0
  194. package/dist-build-23689353221/logo.svg +0 -30
  195. package/dist-build-23689353221/manifest.266df36f2271d27ae9bcaa196a2976ae.json +0 -47
  196. package/dist-build-23689353221/openmrs.39723c21cec4b1fc.css +0 -1
  197. package/dist-build-23689353221/openmrs.39723c21cec4b1fc.css.map +0 -1
  198. package/dist-build-23689353221/openmrs.44bac4c8520ee42f.css +0 -2
  199. package/dist-build-23689353221/openmrs.44bac4c8520ee42f.css.map +0 -1
  200. package/dist-build-23689353221/openmrs.936e8cf6a4b1599d.css +0 -2
  201. package/dist-build-23689353221/openmrs.936e8cf6a4b1599d.css.map +0 -1
  202. package/dist-build-23689353221/openmrs.c3adea28ef850516.js +0 -1
  203. package/dist-build-23689353221/openmrs.c3adea28ef850516.js.map +0 -1
  204. package/dist-build-23689353221/openmrs.e4daba1e3b840e70.css +0 -25
  205. package/dist-build-23689353221/openmrs.e4daba1e3b840e70.css.map +0 -1
  206. package/dist-build-23689353221/service-worker.js +0 -1
  207. package/dist-build-23689353221/service-worker.js.map +0 -1
  208. package/e2e/core/env.ts +0 -5
  209. package/e2e/core/global-setup.ts +0 -34
  210. package/e2e/core/test.ts +0 -21
  211. package/e2e/pages/app-shell.page.ts +0 -34
  212. package/e2e/pages/etl-sources.page.ts +0 -35
  213. package/e2e/pages/report-sections.page.ts +0 -20
  214. package/e2e/pages/section-preview.modal.ts +0 -29
  215. package/e2e/specs/etl-sources.spec.ts +0 -51
  216. package/e2e/specs/navigation.spec.ts +0 -13
  217. package/e2e/specs/section-preview-validation.spec.ts +0 -38
  218. package/e2e/specs/section-preview.spec.ts +0 -94
  219. package/e2e/tsconfig.json +0 -11
  220. package/example.env +0 -5
  221. package/jest.config.js +0 -28
  222. package/playwright.config.ts +0 -28
  223. package/tools/setup-tests.ts +0 -1
  224. package/translations/en.json +0 -4
  225. package/tsconfig.json +0 -43
  226. package/webpack.config.js +0 -14
package/package.json CHANGED
@@ -1,14 +1,24 @@
1
1
  {
2
2
  "name": "@epcare/esm-report-builder",
3
- "version": "0.1.1-pre.16",
3
+ "version": "0.1.1-pre.2",
4
4
  "license": "MPL-2.0",
5
5
  "description": "OpenMRS ESM Report Builder",
6
6
  "browser": "dist/openmrs-esm-report-builder.js",
7
7
  "main": "src/index.ts",
8
8
  "source": true,
9
+ "files": [
10
+ "dist",
11
+ "routes.json",
12
+ "src",
13
+ "package.json",
14
+ "README.md",
15
+ "LICENSE"
16
+ ],
9
17
  "scripts": {
10
18
  "start": "openmrs develop",
11
19
  "build": "openmrs build",
20
+ "prepack": "cp src/routes.json routes.json",
21
+ "postpack": "rm -f routes.json",
12
22
  "analyze": "openmrs build --analyze",
13
23
  "lint": "eslint --ext js,jsx,ts,tsx .",
14
24
  "typescript": "tsc",
@@ -73,7 +83,7 @@
73
83
  "rootDir": "src",
74
84
  "config": {
75
85
  "paths": {
76
- "@openmrs/esm-report-builder": [
86
+ "@epcare/esm-report-builder": [
77
87
  "src"
78
88
  ]
79
89
  }
package/routes.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json.openmrs.org/routes.schema.json",
3
+ "pages": [
4
+ {
5
+ "component": "root",
6
+ "route": "report-builder",
7
+ "online": true,
8
+ "offline": false,
9
+ "order": 1
10
+ }
11
+ ],
12
+ "extensions": [
13
+ {
14
+ "name": "system-administration-report-builder-card-link",
15
+ "slot": "system-admin-page-card-link-slot",
16
+ "component": "reportBuilderAdminLink",
17
+ "online": true,
18
+ "offline": false
19
+ }
20
+ ]
21
+ }
package/.eslintignore DELETED
@@ -1,5 +0,0 @@
1
- dist
2
- coverage
3
- node_modules
4
- playwright-report
5
- test-results
package/.eslintrc.js DELETED
@@ -1,19 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- env: {
4
- browser: true,
5
- node: true,
6
- es2021: true,
7
- jest: true,
8
- },
9
- parser: '@typescript-eslint/parser',
10
- extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
11
- plugins: ['@typescript-eslint', 'import', 'react-hooks'],
12
- rules: {
13
- 'react-hooks/rules-of-hooks': 'error',
14
- 'react-hooks/exhaustive-deps': 'warn',
15
- '@typescript-eslint/no-explicit-any': 'off',
16
- '@typescript-eslint/ban-types': 'off',
17
- },
18
- ignorePatterns: ['dist/', 'coverage/', 'node_modules/', 'playwright-report/', 'test-results/'],
19
- };
@@ -1,162 +0,0 @@
1
- name: ePCare CI
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches: [main]
7
- pull_request:
8
- branches: [main]
9
- release:
10
- types:
11
- - created
12
-
13
- concurrency:
14
- group: epcare-ci-${{ github.ref }}
15
- cancel-in-progress: true
16
-
17
- jobs:
18
- build:
19
- runs-on: ubuntu-latest
20
-
21
- steps:
22
- - uses: actions/checkout@v4
23
-
24
- - name: 🟢 Use Node.js
25
- uses: actions/setup-node@v4
26
- with:
27
- node-version: "20.x"
28
- registry-url: "https://registry.npmjs.org"
29
- cache: yarn
30
-
31
- - name: Enable Corepack
32
- run: corepack enable
33
-
34
- - name: Cache dependencies
35
- id: cache
36
- uses: actions/cache@v4
37
- with:
38
- path: |
39
- **/node_modules
40
- key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
41
-
42
- - name: 📦 Install dependencies
43
- if: steps.cache.outputs.cache-hit != 'true'
44
- run: yarn install --frozen-lockfile
45
-
46
- - name: ✅ Verify
47
- run: yarn verify
48
-
49
- - name: 🛠️ Build
50
- run: yarn build
51
-
52
- - name: 📤 Upload Artifacts
53
- uses: actions/upload-artifact@v4
54
- with:
55
- name: dist-${{ github.job }}-${{ github.run_id }}
56
- path: |
57
- dist
58
- if-no-files-found: error
59
-
60
- pre_release:
61
- runs-on: ubuntu-latest
62
- needs: build
63
- if: ${{ github.event_name == 'push' }}
64
-
65
- steps:
66
- - uses: actions/checkout@v4
67
-
68
- - name: Download Artifacts
69
- uses: actions/download-artifact@v4
70
-
71
- - name: 🟢 Use Node.js
72
- uses: actions/setup-node@v4
73
- with:
74
- node-version: "20.x"
75
- registry-url: "https://registry.npmjs.org"
76
- cache: yarn
77
-
78
- - name: Enable Corepack
79
- run: corepack enable
80
-
81
- - name: Cache dependencies
82
- id: cache
83
- uses: actions/cache@v4
84
- with:
85
- path: |
86
- **/node_modules
87
- key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
88
-
89
- - name: 📦 Install dependencies
90
- if: steps.cache.outputs.cache-hit != 'true'
91
- run: yarn install --frozen-lockfile
92
-
93
- - name: 🏷️ Version
94
- run: yarn version --no-git-tag-version --new-version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}"
95
-
96
- - name: 🛠️ Build
97
- run: yarn build
98
-
99
- - name: Commit prerelease version
100
- run: |
101
- git config user.email "<>"
102
- git config user.name "OpenMRS CI"
103
- git add package.json
104
- git commit -m "Prerelease version" --no-verify
105
-
106
- - name: 🚢 Pre-release
107
- run: |
108
- echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
109
- npm publish --access public --tag next
110
- env:
111
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
112
-
113
- - name: Upload Artifacts
114
- uses: actions/upload-artifact@v4
115
- with:
116
- name: dist
117
- path: |
118
- dist
119
- overwrite: true
120
-
121
- release:
122
- runs-on: ubuntu-latest
123
- needs: build
124
- if: ${{ github.event_name == 'release' }}
125
-
126
- steps:
127
- - uses: actions/checkout@v4
128
-
129
- - name: Download Artifacts
130
- uses: actions/download-artifact@v4
131
-
132
- - name: 🟢 Use Node.js
133
- uses: actions/setup-node@v4
134
- with:
135
- node-version: "20.x"
136
- registry-url: "https://registry.npmjs.org"
137
- cache: yarn
138
-
139
- - name: Enable Corepack
140
- run: corepack enable
141
-
142
- - name: Cache dependencies
143
- id: cache
144
- uses: actions/cache@v4
145
- with:
146
- path: |
147
- **/node_modules
148
- key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
149
-
150
- - name: 📦 Install dependencies
151
- if: steps.cache.outputs.cache-hit != 'true'
152
- run: yarn install --frozen-lockfile
153
-
154
- - name: 🛠️ Build
155
- run: yarn build
156
-
157
- - name: 🚢 Publish
158
- run: |
159
- echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
160
- npm publish --access public
161
- env:
162
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
package/.prettierrc DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "bracketSpacing": true,
3
- "printWidth": 120,
4
- "semi": true,
5
- "singleQuote": true,
6
- "tabWidth": 2,
7
- "trailingComma": "all"
8
- }
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[9725],{19725(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[3663],{63663(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Ações","address":"Endereço","address1":"Endereço linha 1","address2":"Endereço linha 2","address3":"Endereço linha 3","address4":"Endereço linha 4","address5":"Endereço linha 5","address6":"Endereço linha 6","age":"Idade","cancel":"Cancelar","change":"Alterar","city":"Cidade","cityVillage":"Cidade","Clinic":"Clinic","close":"Fechar","closeAllOpenedWorkspaces":"Descartar alterações em {{count}} espaços de trabalho","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"Você tem alterações não gravadas","confirm":"Confirmar","contactAdministratorIfIssuePersists":"Contacte o administrador do sistema se o problema persistir.","contactDetails":"Detalhes de contato","country":"País","countyDistrict":"Distrito","delete":"Delete","discard":"Descartar","discardChanges":"Discard changes","district":"Distrito","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Erro","errorCopy":"Desculpe, ocorreu um problema ao visualizar essas informações. Você pode tentar recarregar esta página ou entrar em contato com o administrador do sistema providenciando o código de erro acima.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Feminino","hide":"Esconder","leftNavigation":"Left navigation","loading":"Carregando","male":"Masculino","maximize":"Maximizar","minimize":"Minimizar","noResultsToDisplay":"No results to display","openAnyway":"Abrir mesmo assim","other":"Outro","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Etiqueta de Identificador do Utente","patientLists":"Lista de Utentes","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Caixa postal","print":"Imprimir","printError":"Erro de impressão","printErrorExplainer":"Ocorreu um erro em {{errorLocation}}","printIdentifierSticker":"Imprimir etiqueta do identificador","printing":"Imprimindo","recordNewEntry":"Record {{displayText}}","relationships":"Relacionamentos","resetOverrides":"Redefinir substituições","save":"Salvar","scriptLoadingError":"Falha ao carregar o script de substituíção de {{url}}. Verifique se o script incluído está disponível no URL esperado. Clique no botão abaixo para redefinir todas as substituições de mapas de importação.","scriptLoadingFailed":"Erro: O carregamento do script falhou","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"Ver {{count}} mais listas","sex":"Sexo","showLess":"Mostrar menos","showMore":"Mostrar mais","snackbarNotification":"Snackbar notification","state":"Estado","stateProvince":"Estado","toggleDevTools":"Toggle dev tools","unknown":"Desconhecido","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Alterações não gravadas","workspaceHeader":"Cabeçalho do espaço de trabalho","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[2800],{42800(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[914],{40914(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[1632],{21632(e,t,n){n.r(t),n.d(t,{INFINITE_PREFIX:()=>H,IS_REACT_LEGACY:()=>T,IS_SERVER:()=>k,OBJECT:()=>s,SWRConfig:()=>G,SWRGlobalState:()=>p,UNDEFINED:()=>i,cache:()=>$,compare:()=>U,createCacheHelper:()=>y,defaultConfig:()=>J,defaultConfigOptions:()=>S,getTimestamp:()=>V,hasRequestAnimationFrame:()=>v,initCache:()=>P,internalMutate:()=>M,isDocumentDefined:()=>_,isFunction:()=>c,isPromiseLike:()=>l,isUndefined:()=>a,isWindowDefined:()=>g,mergeConfigs:()=>j,mergeObjects:()=>u,mutate:()=>q,noop:()=>r,normalize:()=>Y,preload:()=>Q,preset:()=>O,rAF:()=>I,revalidateEvents:()=>W,serialize:()=>F,slowConnection:()=>L,stableHash:()=>E,subscribeCallback:()=>te,useIsomorphicLayoutEffect:()=>A,useSWRConfig:()=>K,withArgs:()=>ee,withMiddleware:()=>ne});var o=n(34227);const r=()=>{},i=r(),s=Object,a=e=>e===i,c=e=>"function"==typeof e,u=(e,t)=>({...e,...t}),l=e=>c(e.then),f=new WeakMap;let d=0;const E=e=>{const t=typeof e,n=e&&e.constructor,o=n==Date;let r,i;if(s(e)!==e||o||n==RegExp)r=o?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(r=f.get(e),r)return r;if(r=++d+"~",f.set(e,r),n==Array){for(r="@",i=0;i<e.length;i++)r+=E(e[i])+",";f.set(e,r)}if(n==s){r="#";const t=s.keys(e).sort();for(;!a(i=t.pop());)a(e[i])||(r+=i+":"+E(e[i])+",");f.set(e,r)}}return r},p=new WeakMap,h={},m={},w="undefined",g=typeof window!=w,_=typeof document!=w,v=()=>g&&typeof window.requestAnimationFrame!=w,y=(e,t)=>{const n=p.get(e);return[()=>!a(t)&&e.get(t)||h,o=>{if(!a(t)){const r=e.get(t);t in m||(m[t]=r),n[5](t,u(r,o),r||h)}},n[6],()=>!a(t)&&t in m?m[t]:!a(t)&&e.get(t)||h]};let b=!0;const[R,C]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[r,r],O={isOnline:()=>b,isVisible:()=>{const e=_&&document.visibilityState;return a(e)||"hidden"!==e}},S={initFocus:e=>(_&&document.addEventListener("visibilitychange",e),R("focus",e),()=>{_&&document.removeEventListener("visibilitychange",e),C("focus",e)}),initReconnect:e=>{const t=()=>{b=!0,e()},n=()=>{b=!1};return R("online",t),R("offline",n),()=>{C("online",t),C("offline",n)}}},T=!o.useId,k=!g||"Deno"in window,I=e=>v()?window.requestAnimationFrame(e):setTimeout(e,1),A=k?o.useEffect:o.useLayoutEffect,D="undefined"!=typeof navigator&&navigator.connection,L=!k&&D&&(["slow-2g","2g"].includes(D.effectiveType)||D.saveData),F=e=>{if(c(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?E(e):"",t]};let N=0;const V=()=>++N;var W={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function M(...e){const[t,n,o,r]=e,s=u({populateCache:!0,throwOnError:!0},"boolean"==typeof r?{revalidate:r}:r||{});let f=s.populateCache;const d=s.rollbackOnError;let E=s.optimisticData;const h=s.throwOnError;if(c(n)){const e=n,o=[],r=t.keys();for(const n of r)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&o.push(n);return Promise.all(o.map(m))}return m(n);async function m(n){const[r]=F(n);if(!r)return;const[u,m]=y(t,r),[w,g,_,v]=p.get(t),b=()=>{const e=w[r];return(c(s.revalidate)?s.revalidate(u().data,n):!1!==s.revalidate)&&(delete _[r],delete v[r],e&&e[0])?e[0](2).then(()=>u().data):u().data};if(e.length<3)return b();let R,C=o;const O=V();g[r]=[O,0];const S=!a(E),T=u(),k=T.data,I=T._c,A=a(I)?k:I;if(S&&(E=c(E)?E(A,k):E,m({data:E,_c:A})),c(C))try{C=C(A)}catch(e){R=e}if(C&&l(C)){if(C=await C.catch(e=>{R=e}),O!==g[r][0]){if(R)throw R;return C}R&&S&&(e=>"function"==typeof d?d(e):!1!==d)(R)&&(f=!0,m({data:A,_c:i}))}if(f&&!R)if(c(f)){const e=f(C,A);m({data:e,error:i,_c:i})}else m({data:C,error:i,_c:i});if(g[r][1]=V(),Promise.resolve(b()).then(()=>{m({_c:i})}),!R)return C;if(h)throw R}}const x=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},P=(e,t)=>{if(!p.has(e)){const n=u(S,t),o={},s=M.bind(i,e);let a=r;const c={},l=(e,t)=>{const n=c[e]||[];return c[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,o)=>{e.set(t,n);const r=c[t];if(r)for(const e of r)e(n,o)},d=()=>{if(!p.has(e)&&(p.set(e,[o,{},{},{},s,f,l]),!k)){const t=n.initFocus(setTimeout.bind(i,x.bind(i,o,0))),r=n.initReconnect(setTimeout.bind(i,x.bind(i,o,1)));a=()=>{t&&t(),r&&r(),p.delete(e)}}};return d(),[e,s,d,a]}return[e,p.get(e)[4]]},U=(e,t)=>E(e)==E(t),[$,q]=P(new Map),J=u({onLoadingSlow:r,onSuccess:r,onError:r,onErrorRetry:(e,t,n,o,r)=>{const i=n.errorRetryCount,s=r.retryCount,c=~~((Math.random()+.5)*(1<<(s<8?s:8)))*n.errorRetryInterval;!a(i)&&s>i||setTimeout(o,c,r)},onDiscarded:r,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:U,isPaused:()=>!1,cache:$,mutate:q,fallback:{}},O),j=(e,t)=>{const n=u(e,t);if(t){const{use:o,fallback:r}=e,{use:i,fallback:s}=t;o&&i&&(n.use=o.concat(i)),r&&s&&(n.fallback=u(r,s))}return n},z=(0,o.createContext)({}),G=e=>{const{value:t}=e,n=(0,o.useContext)(z),r=c(t),s=(0,o.useMemo)(()=>r?t(n):t,[r,n,t]),a=(0,o.useMemo)(()=>r?s:j(n,s),[r,n,s]),l=s&&s.provider,f=(0,o.useRef)(i);l&&!f.current&&(f.current=P(l(a.cache||$),s));const d=f.current;return d&&(a.cache=d[0],a.mutate=d[1]),A(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,o.createElement)(z.Provider,u(e,{value:a}))},H="$inf$",B=g&&window.__SWR_DEVTOOLS_USE__,X=B?window.__SWR_DEVTOOLS_USE__:[],Y=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],K=()=>u(J,(0,o.useContext)(z)),Q=(e,t)=>{const[n,o]=F(e),[,,,r]=p.get($);if(r[n])return r[n];const i=t(o);return r[n]=i,i},Z=X.concat(e=>(t,n,o)=>e(t,n&&((...e)=>{const[o]=F(t),[,,,r]=p.get($);if(o.startsWith(H))return n(...e);const i=r[o];return a(i)?n(...e):(delete r[o],i)}),o)),ee=e=>function(...t){const n=K(),[o,r,i]=Y(t),s=j(n,i);let a=e;const{use:c}=s,u=(c||[]).concat(Z);for(let e=u.length;e--;)a=u[e](a);return a(o,r||s.fetcher||null,s)},te=(e,t,n)=>{const o=t[e]||(t[e]=[]);return o.push(n),()=>{const e=o.indexOf(n);e>=0&&(o[e]=o[o.length-1],o.pop())}},ne=(e,t)=>(...n)=>{const[o,r,i]=Y(n),s=(i.use||[]).concat(t);return e(o,r,{...i,use:s})};B&&(window.__SWR_DEVTOOLS_REACT__=o)}}]);
@@ -1 +0,0 @@
1
- {"version":3,"file":"155a4ac079785bfd.js","mappings":"40BAGA,MAAMA,EAAO,OAKPC,EAA8BD,IAC9BE,EAASC,OACTC,EAAeC,GAAIA,IAAMJ,EACzBK,EAAcD,GAAgB,mBAALA,EACzBE,EAAe,CAACC,EAAGC,KAAI,IAClBD,KACAC,IAELC,EAAiBC,GAAIL,EAAWK,EAAEC,MAMlCC,EAAQ,IAAIC,QAElB,IAAIC,EAAU,EASd,MAAMC,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CmC,EAAQxE,GACRqK,EACV,GACgClD,IAOnCuD,GAAYC,GACP,YAAuBtI,GAE1B,MAAMuI,EAAiBZ,KAEhBhK,EAAKoG,EAAIyE,GAAWd,EAAU1H,GAE/B8E,EAASmB,EAAasC,EAAgBC,GAE5C,IAAIC,EAAOH,EACX,MAAM,IAAEpC,GAAQpB,EACV4D,GAAcxC,GAAO,IAAIK,OAAO0B,GACtC,IAAI,IAAIU,EAAID,EAAW9L,OAAQ+L,KAC3BF,EAAOC,EAAWC,GAAGF,GAEzB,OAAOA,EAAK9K,EAAKoG,GAAMe,EAAOgD,SAAW,KAAMhD,EACnD,EAKE8D,GAAoB,CAACjL,EAAKkL,EAAWlK,KACvC,MAAMmK,EAAoBD,EAAUlL,KAASkL,EAAUlL,GAAO,IAE9D,OADAmL,EAAkBnH,KAAKhD,GAChB,KACH,MAAMxC,EAAQ2M,EAAkBlF,QAAQjF,GACpCxC,GAAS,IAET2M,EAAkB3M,GAAS2M,EAAkBA,EAAkBlM,OAAS,GACxEkM,EAAkB/L,SAMxBgM,GAAiB,CAACC,EAAQN,IACrB,IAAI1I,KACP,MAAOrC,EAAKoG,EAAIe,GAAU4C,EAAU1H,GAC9BiJ,GAAQnE,EAAOoB,KAAO,IAAIK,OAAOmC,GACvC,OAAOM,EAAOrL,EAAKoG,EAAI,IAChBe,EACHoB,IAAK+C,KA9FTzB,IAEAnK,OAAO6L,uBAAyB,E","sources":["webpack://openmrs/../swr/dist/_internal/index.mjs"],"names":["noop","UNDEFINED","OBJECT","Object","isUndefined","v","isFunction","mergeObjects","a","b","isPromiseLike","x","then","table","WeakMap","counter","stableHash","arg","type","constructor","isDate","Date","result","index","RegExp","toJSON","toString","JSON","stringify","get","set","Array","length","keys","sort","pop","SWRGlobalState","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","window","isDocumentDefined","document","hasRequestAnimationFrame","createCacheHelper","cache","key","state","info","prev","online","onWindowEvent","offWindowEvent","addEventListener","bind","removeEventListener","preset","isOnline","isVisible","visibilityState","defaultConfigOptions","initFocus","callback","initReconnect","onOnline","onOffline","IS_REACT_LEGACY","IS_SERVER","rAF","f","setTimeout","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","navigatorConnection","navigator","connection","slowConnection","includes","effectiveType","saveData","serialize","err","args","isArray","__timestamp","getTimestamp","events","__proto__","ERROR_REVALIDATE_EVENT","FOCUS_EVENT","MUTATE_EVENT","RECONNECT_EVENT","async","internalMutate","_key","_data","_opts","options","populateCache","throwOnError","revalidate","rollbackOnErrorOption","rollbackOnError","optimisticData","keyFilter","matchedKeys","it","test","_k","push","Promise","all","map","mutateByKey","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","startRevalidate","revalidators","data","error","beforeMutationTs","hasOptimisticData","displayedData","currentData","_c","committedData","catch","populateCachedData","resolve","revalidateAllKeys","initCache","provider","has","opts","mutate","unmount","subscriptions","subscribe","subs","splice","indexOf","setter","value","fn","initProvider","releaseFocus","releaseReconnect","delete","compare","newData","Map","defaultConfig","onLoadingSlow","onSuccess","onError","onErrorRetry","_","__","config","maxRetryCount","errorRetryCount","currentRetryCount","retryCount","timeout","Math","random","errorRetryInterval","onDiscarded","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","shouldRetryOnError","focusThrottleInterval","dedupingInterval","loadingTimeout","isPaused","fallback","mergeConfigs","use","u1","f1","u2","f2","concat","SWRConfigContext","createContext","SWRConfig","props","parentConfig","useContext","isFunctionalConfig","useMemo","extendedConfig","cacheContextRef","useRef","current","cacheContext","createElement","Provider","INFINITE_PREFIX","enableDevtools","__SWR_DEVTOOLS_USE__","normalize","useSWRConfig","preload","key_","fetcher","fnArg","req","BUILT_IN_MIDDLEWARE","useSWRNext","fetcher_","startsWith","withArgs","hook","fallbackConfig","_config","next","middleware","i","subscribeCallback","callbacks","keyedRevalidators","withMiddleware","useSWR","uses","__SWR_DEVTOOLS_REACT__"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[6911],{56911(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Adresse","address1":"Adresse: ligne 1","address2":"Adresse: ligne 2","address3":"Adresse : ligne 3","address4":"Adresse : ligne 4","address5":"Adresse : ligne 5","address6":"Adresse : ligne 6","age":"Âge","cancel":"Annuler","change":"Modifier","city":"Ville","cityVillage":"Ville","Clinic":"Clinique","close":"Fermer","closeAllOpenedWorkspaces":"Abandonner les modifications dans les {{count}} espaces de travail ","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"Vous êtes sur le point de fermer l(es) espace(s) de travail suivant(s) qui pourrai(en)t avoir des modifications non enregistrées:","closeWorkspaces2PromptTitle":"Fermer l(es) espace(s) de travail","closingAllWorkspacesPromptBody":"Il se pourrait qu\'il y ait des modifications non enregistrées dans les espaces de travail suivants. Voulez-vous ignorer les modifications apportées dans les espace de travail suivants ? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"Vous avez des modifications non enregistrées","confirm":"Valider","contactAdministratorIfIssuePersists":"Si le problème persiste, veuillez contacter votre administrateur système.","contactDetails":"Coordonnées","country":"Pays","countyDistrict":"District","delete":"Supprimer","discard":"Abandonner","discardChanges":"Abandonner les modifications","district":"District","edit":"Modifier","emptyStateText":"There are no {{displayText}} to display","error":"Erreur","errorCopy":"Désolé, il y a eu un problème lors de l\'affichage de cette information. Vous pouvez essayer de rafraîchir cette page ou contacter l\'administrateur du site en mentionnant le code d\'erreur ci-dessus.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Femme","hide":"Cacher","leftNavigation":"Left navigation","loading":"Chargement","male":"Homme","maximize":"Agrandir","minimize":"Réduire","noResultsToDisplay":"No results to display","openAnyway":"Ouvrir malgré tout","other":"Autre","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Etiquette d\'identification","patientLists":"Listes","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Code postal","print":"Imprimer","printError":"Erreur d\'impression","printErrorExplainer":"Une erreur s\'est produite dans {{errorLocation}}","printIdentifierSticker":"Imprimer l\'etiquette d\'identification","printing":"Impression en cours","recordNewEntry":"Record {{displayText}}","relationships":"Relations et liens de parenté","resetOverrides":"Réinitialiser les modifications","save":"Enregistrer","scriptLoadingError":"Échec du chargement du script depuis {{url}}. Veuillez vérifier que le script est disponible à l\'URL spécifiée. Cliquez sur le bouton ci-dessous pour réinitialiser l\'import map","scriptLoadingFailed":"Erreur : Le chargement du script a échoué","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"Voir {{count}} listes de plus","sex":"Sexe","showLess":"Afficher moins","showMore":"Afficher plus","snackbarNotification":"Snackbar notification","state":"État","stateProvince":"État","toggleDevTools":"Activer/Désactiver les outils de développement","unknown":"Inconnu","unsavedChangesInOpenedWorkspace":"Il se pourrait que vous ayez des modifications non enregistrées dans l\'espace de travail ouvert. Voulez-vous abandonner ces modifications ?","unsavedChangesInWorkspace":"Il se peut que des modifications non enregistrées aient été apportées à « {{workspaceName}} ». Veuillez les enregistrer avant d\'ouvrir un autre espace de travail.","unsavedChangesTitleText":"Modifications non enregistrées","workspaceHeader":"En-tête de l\'espace de travail","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[1858],{21858(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[9543],{29543(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"ផ្លាស់ប្តូរ","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[4945],{74945(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);