@openmrs/esm-stock-management-app 3.3.1 → 3.3.2-pre.116

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 (309) hide show
  1. package/README.md +20 -0
  2. package/dist/1164.js +1 -1
  3. package/dist/1164.js.map +1 -1
  4. package/dist/1207.js +1 -0
  5. package/dist/1207.js.map +1 -0
  6. package/dist/1209.js +1 -0
  7. package/dist/1209.js.map +1 -0
  8. package/dist/1480.js +1 -1
  9. package/dist/1480.js.map +1 -1
  10. package/dist/1600.js +1 -1
  11. package/dist/1600.js.map +1 -1
  12. package/dist/1646.js +1 -1
  13. package/dist/1646.js.map +1 -1
  14. package/dist/1869.js +1 -1
  15. package/dist/1869.js.map +1 -1
  16. package/dist/1877.js +1 -1
  17. package/dist/1877.js.map +1 -1
  18. package/dist/1878.js +1 -1
  19. package/dist/1878.js.map +1 -1
  20. package/dist/2317.js +1 -1
  21. package/dist/2317.js.map +1 -1
  22. package/dist/2392.js +11 -11
  23. package/dist/2392.js.map +1 -1
  24. package/dist/2416.js +1 -1
  25. package/dist/2416.js.map +1 -1
  26. package/dist/2713.js +1 -1
  27. package/dist/2713.js.map +1 -1
  28. package/dist/282.js +1 -1
  29. package/dist/282.js.map +1 -1
  30. package/dist/2881.js +1 -1
  31. package/dist/2881.js.map +1 -1
  32. package/dist/3378.js +1 -1
  33. package/dist/3378.js.map +1 -1
  34. package/dist/3576.js +2 -2
  35. package/dist/3576.js.map +1 -1
  36. package/dist/3588.js +1 -0
  37. package/dist/3588.js.map +1 -0
  38. package/dist/3936.js +12 -12
  39. package/dist/3936.js.map +1 -1
  40. package/dist/3963.js +1 -1
  41. package/dist/3963.js.map +1 -1
  42. package/dist/4106.js +1 -1
  43. package/dist/4106.js.map +1 -1
  44. package/dist/4111.js +1 -1
  45. package/dist/4111.js.map +1 -1
  46. package/dist/4214.js +1 -1
  47. package/dist/4214.js.map +1 -1
  48. package/dist/434.js +1 -1
  49. package/dist/434.js.map +1 -1
  50. package/dist/4348.js +1 -1
  51. package/dist/4348.js.map +1 -1
  52. package/dist/4383.js +1 -1
  53. package/dist/4383.js.map +1 -1
  54. package/dist/4658.js +1 -1
  55. package/dist/4658.js.map +1 -1
  56. package/dist/4928.js +1 -1
  57. package/dist/4928.js.map +1 -1
  58. package/dist/5117.js +1 -1
  59. package/dist/5117.js.map +1 -1
  60. package/dist/5132.js +1 -1
  61. package/dist/5132.js.map +1 -1
  62. package/dist/5145.js +1 -1
  63. package/dist/5145.js.map +1 -1
  64. package/dist/5503.js +1 -1
  65. package/dist/5503.js.map +1 -1
  66. package/dist/556.js +1 -1
  67. package/dist/556.js.map +1 -1
  68. package/dist/5644.js +1 -1
  69. package/dist/5644.js.map +1 -1
  70. package/dist/5838.js +1 -1
  71. package/dist/5838.js.map +1 -1
  72. package/dist/5940.js +1 -1
  73. package/dist/5940.js.map +1 -1
  74. package/dist/5996.js +1 -1
  75. package/dist/5996.js.map +1 -1
  76. package/dist/6047.js +1 -1
  77. package/dist/6047.js.map +1 -1
  78. package/dist/6105.js +1 -1
  79. package/dist/6105.js.map +1 -1
  80. package/dist/6371.js +1 -1
  81. package/dist/6371.js.map +1 -1
  82. package/dist/6377.js +1 -1
  83. package/dist/6377.js.map +1 -1
  84. package/dist/6444.js +1 -1
  85. package/dist/6444.js.map +1 -1
  86. package/dist/6508.js +1 -1
  87. package/dist/6508.js.map +1 -1
  88. package/dist/6724.js +1 -1
  89. package/dist/6724.js.map +1 -1
  90. package/dist/6904.js +1 -1
  91. package/dist/6904.js.map +1 -1
  92. package/dist/6981.js +1 -1
  93. package/dist/6981.js.map +1 -1
  94. package/dist/7037.js +1 -1
  95. package/dist/7045.js +1 -1
  96. package/dist/7045.js.map +1 -1
  97. package/dist/7175.js +1 -1
  98. package/dist/7175.js.map +1 -1
  99. package/dist/7182.js +1 -1
  100. package/dist/7182.js.map +1 -1
  101. package/dist/7742.js +1 -1
  102. package/dist/7742.js.map +1 -1
  103. package/dist/7912.js +1 -1
  104. package/dist/7912.js.map +1 -1
  105. package/dist/8156.js +1 -1
  106. package/dist/8156.js.map +1 -1
  107. package/dist/822.js +1 -1
  108. package/dist/822.js.map +1 -1
  109. package/dist/8358.js +1 -1
  110. package/dist/8358.js.map +1 -1
  111. package/dist/8359.js +1 -1
  112. package/dist/8359.js.map +1 -1
  113. package/dist/8473.js +1 -0
  114. package/dist/8473.js.map +1 -0
  115. package/dist/854.js +1 -0
  116. package/dist/854.js.map +1 -0
  117. package/dist/8661.js +1 -1
  118. package/dist/8661.js.map +1 -1
  119. package/dist/8695.js +1 -1
  120. package/dist/8695.js.map +1 -1
  121. package/dist/8990.js +1 -1
  122. package/dist/8990.js.map +1 -1
  123. package/dist/903.js +1 -1
  124. package/dist/903.js.map +1 -1
  125. package/dist/9072.js +1 -1
  126. package/dist/9072.js.map +1 -1
  127. package/dist/9154.js +1 -1
  128. package/dist/9154.js.map +1 -1
  129. package/dist/9806.js +1 -1
  130. package/dist/9806.js.map +1 -1
  131. package/dist/openmrs-esm-stock-management-app.js +2 -2
  132. package/dist/openmrs-esm-stock-management-app.js.map +1 -1
  133. package/dist/routes.json +1 -1
  134. package/package.json +3 -2
  135. package/src/config-schema.ts +38 -0
  136. package/src/constants.ts +0 -13
  137. package/src/stock-home/expired-stock.modal.tsx +2 -6
  138. package/src/stock-home/expired-stock.test.tsx +23 -0
  139. package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.component.tsx +3 -3
  140. package/src/stock-items/add-stock-item/stock-item-units-edit/stock-item-units-edit.component.test.tsx +69 -0
  141. package/src/stock-items/add-stock-item/stock-item-units-edit/stock-item-units-edit.component.tsx +1 -1
  142. package/src/stock-items/validationSchema.test.ts +51 -0
  143. package/src/stock-items/validationSchema.ts +10 -1
  144. package/src/stock-locations/stock-locations-table.resource.test.ts +24 -2
  145. package/src/stock-lookups/stock-lookups.resource.ts +6 -2
  146. package/src/stock-operations/stock-operations-forms/steps/base-operation-details-form-step.test.tsx +64 -0
  147. package/src/stock-operations/stock-operations-forms/steps/base-operation-details-form-step.tsx +16 -5
  148. package/src/stock-operations/stock-operations-forms/steps/stock-operation-submission-form-step.component.tsx +21 -3
  149. package/src/stock-operations/stock-operations-forms/steps/stock-operation-submission-form-step.test.tsx +126 -0
  150. package/src/stock-operations/stock-print-reports/StockOperationReport.test.ts +15 -0
  151. package/src/stock-operations/stock-print-reports/StockOperationReport.tsx +5 -2
  152. package/src/stock-user-role-scopes/add-stock-user-scope/add-stock-user-role-scope.test.tsx +49 -0
  153. package/src/stock-user-role-scopes/add-stock-user-scope/add-stock-user-role-scope.workspace.tsx +6 -21
  154. package/translations/am.json +1 -0
  155. package/translations/ar.json +1 -0
  156. package/translations/ar_SY.json +1 -0
  157. package/translations/bn.json +1 -0
  158. package/translations/cs.json +1 -0
  159. package/translations/de.json +1 -0
  160. package/translations/en.json +1 -0
  161. package/translations/en_US.json +1 -0
  162. package/translations/es.json +1 -0
  163. package/translations/es_MX.json +1 -0
  164. package/translations/fr.json +1 -0
  165. package/translations/he.json +1 -0
  166. package/translations/hi.json +1 -0
  167. package/translations/hi_IN.json +1 -0
  168. package/translations/id.json +1 -0
  169. package/translations/it.json +1 -0
  170. package/translations/ka.json +1 -0
  171. package/translations/km.json +1 -0
  172. package/translations/ku.json +1 -0
  173. package/translations/ky.json +1 -0
  174. package/translations/lg.json +1 -0
  175. package/translations/ne.json +1 -0
  176. package/translations/pl.json +1 -0
  177. package/translations/pt.json +1 -0
  178. package/translations/pt_BR.json +1 -0
  179. package/translations/qu.json +1 -0
  180. package/translations/ro_RO.json +1 -0
  181. package/translations/ru_RU.json +1 -0
  182. package/translations/si.json +1 -0
  183. package/translations/sq.json +1 -0
  184. package/translations/sw.json +1 -0
  185. package/translations/sw_KE.json +1 -0
  186. package/translations/tr.json +1 -0
  187. package/translations/tr_TR.json +1 -0
  188. package/translations/uk.json +1 -0
  189. package/translations/uz.json +1 -0
  190. package/translations/uz@Latn.json +1 -0
  191. package/translations/uz_UZ.json +1 -0
  192. package/translations/vi.json +1 -0
  193. package/translations/zh.json +1 -0
  194. package/translations/zh_CN.json +1 -0
  195. package/translations/zh_TW.json +1 -0
  196. package/coverage/__mocks__/index.html +0 -161
  197. package/coverage/__mocks__/index.ts.html +0 -91
  198. package/coverage/__mocks__/operation-type.mock.ts.html +0 -1681
  199. package/coverage/__mocks__/react-i18next.js.html +0 -259
  200. package/coverage/__mocks__/workspace2-props.mock.ts.html +0 -145
  201. package/coverage/base.css +0 -224
  202. package/coverage/block-navigation.js +0 -87
  203. package/coverage/clover.xml +0 -1659
  204. package/coverage/coverage-final.json +0 -69
  205. package/coverage/favicon.png +0 -0
  206. package/coverage/index.html +0 -611
  207. package/coverage/prettify.css +0 -1
  208. package/coverage/prettify.js +0 -2
  209. package/coverage/sort-arrow-sprite.png +0 -0
  210. package/coverage/sorter.js +0 -210
  211. package/coverage/src/constants.ts.html +0 -598
  212. package/coverage/src/core/api/api.ts.html +0 -181
  213. package/coverage/src/core/api/index.html +0 -116
  214. package/coverage/src/core/api/types/BatchJob.ts.html +0 -415
  215. package/coverage/src/core/api/types/index.html +0 -116
  216. package/coverage/src/core/api/types/stockOperation/StockOperationStatus.ts.html +0 -139
  217. package/coverage/src/core/api/types/stockOperation/StockOperationType.ts.html +0 -460
  218. package/coverage/src/core/api/types/stockOperation/index.html +0 -131
  219. package/coverage/src/core/components/carbon/controlled-number-input.component.tsx.html +0 -226
  220. package/coverage/src/core/components/carbon/controlled-radio-button-group.component.tsx.html +0 -253
  221. package/coverage/src/core/components/carbon/controlled-text-input.component.tsx.html +0 -202
  222. package/coverage/src/core/components/carbon/index.html +0 -146
  223. package/coverage/src/core/hooks/debounce-hook.ts.html +0 -181
  224. package/coverage/src/core/hooks/index.html +0 -116
  225. package/coverage/src/core/utils/datetimeUtils.ts.html +0 -289
  226. package/coverage/src/core/utils/index.html +0 -131
  227. package/coverage/src/core/utils/utils.ts.html +0 -382
  228. package/coverage/src/index.html +0 -131
  229. package/coverage/src/stock-items/add-bulk-stock-item/add-stock-items-bulk-import-action-button.component.tsx.html +0 -151
  230. package/coverage/src/stock-items/add-bulk-stock-item/index.html +0 -131
  231. package/coverage/src/stock-items/add-bulk-stock-item/stock-items-bulk-import.modal.tsx.html +0 -340
  232. package/coverage/src/stock-items/add-stock-item/add-stock-action-button.component.tsx.html +0 -145
  233. package/coverage/src/stock-items/add-stock-item/add-stock-item.component.tsx.html +0 -376
  234. package/coverage/src/stock-items/add-stock-item/batch-information/batch-information.resource.ts.html +0 -262
  235. package/coverage/src/stock-items/add-stock-item/batch-information/index.html +0 -116
  236. package/coverage/src/stock-items/add-stock-item/concepts-selector/concepts-selector.component.tsx.html +0 -301
  237. package/coverage/src/stock-items/add-stock-item/concepts-selector/index.html +0 -116
  238. package/coverage/src/stock-items/add-stock-item/drug-selector/drug-selector.component.tsx.html +0 -454
  239. package/coverage/src/stock-items/add-stock-item/drug-selector/index.html +0 -116
  240. package/coverage/src/stock-items/add-stock-item/index.html +0 -131
  241. package/coverage/src/stock-items/add-stock-item/stock-item-category-selector/index.html +0 -116
  242. package/coverage/src/stock-items/add-stock-item/stock-item-category-selector/stock-item-category-selector.component.tsx.html +0 -319
  243. package/coverage/src/stock-items/add-stock-item/stock-item-details/index.html +0 -131
  244. package/coverage/src/stock-items/add-stock-item/stock-item-details/stock-item-details.component.tsx.html +0 -862
  245. package/coverage/src/stock-items/add-stock-item/stock-item-details/stock-item-details.resource.ts.html +0 -142
  246. package/coverage/src/stock-items/components/filter-stock-items/filter-stock-items.component.tsx.html +0 -166
  247. package/coverage/src/stock-items/components/filter-stock-items/index.html +0 -116
  248. package/coverage/src/stock-items/edit-stock-item/edit-stock-item-action-menu.component.tsx.html +0 -169
  249. package/coverage/src/stock-items/edit-stock-item/index.html +0 -116
  250. package/coverage/src/stock-items/index.html +0 -161
  251. package/coverage/src/stock-items/stock-item.utils.tsx.html +0 -103
  252. package/coverage/src/stock-items/stock-items-table.component.tsx.html +0 -910
  253. package/coverage/src/stock-items/stock-items.resource.ts.html +0 -1342
  254. package/coverage/src/stock-items/validationSchema.ts.html +0 -325
  255. package/coverage/src/stock-locations/add-location.modal.tsx.html +0 -289
  256. package/coverage/src/stock-locations/index.html +0 -146
  257. package/coverage/src/stock-locations/location-admin-form.component.tsx.html +0 -574
  258. package/coverage/src/stock-locations/stock-locations-table.resource.ts.html +0 -370
  259. package/coverage/src/stock-lookups/index.html +0 -116
  260. package/coverage/src/stock-lookups/stock-lookups.resource.ts.html +0 -997
  261. package/coverage/src/stock-operations/index.html +0 -131
  262. package/coverage/src/stock-operations/stock-operation.utils.tsx.html +0 -184
  263. package/coverage/src/stock-operations/stock-operations-forms/hooks/index.html +0 -161
  264. package/coverage/src/stock-operations/stock-operations-forms/hooks/useFilterableStockItems.ts.html +0 -211
  265. package/coverage/src/stock-operations/stock-operations-forms/hooks/useOperationTypePermisions.ts.html +0 -172
  266. package/coverage/src/stock-operations/stock-operations-forms/hooks/useSearchUser.ts.html +0 -226
  267. package/coverage/src/stock-operations/stock-operations-forms/hooks/useStockItemBatchNumbers.ts.html +0 -208
  268. package/coverage/src/stock-operations/stock-operations-forms/index.html +0 -116
  269. package/coverage/src/stock-operations/stock-operations-forms/input-components/batch-no-selector.component.tsx.html +0 -439
  270. package/coverage/src/stock-operations/stock-operations-forms/input-components/index.html +0 -176
  271. package/coverage/src/stock-operations/stock-operations-forms/input-components/quantity-uom-selector.component.tsx.html +0 -259
  272. package/coverage/src/stock-operations/stock-operations-forms/input-components/stock-item-search.component.tsx.html +0 -319
  273. package/coverage/src/stock-operations/stock-operations-forms/input-components/stock-operation-reason-selector.component.tsx.html +0 -286
  274. package/coverage/src/stock-operations/stock-operations-forms/input-components/users-selector.component.tsx.html +0 -412
  275. package/coverage/src/stock-operations/stock-operations-forms/steps/base-operation-details-form-step.tsx.html +0 -868
  276. package/coverage/src/stock-operations/stock-operations-forms/steps/index.html +0 -236
  277. package/coverage/src/stock-operations/stock-operations-forms/steps/quantity-uom-cell.component.tsx.html +0 -184
  278. package/coverage/src/stock-operations/stock-operations-forms/steps/received-items.component.tsx.html +0 -433
  279. package/coverage/src/stock-operations/stock-operations-forms/steps/stock-availability-cell.component.tsx.html +0 -238
  280. package/coverage/src/stock-operations/stock-operations-forms/steps/stock-operation-item-batch-no-cell.component.tsx.html +0 -205
  281. package/coverage/src/stock-operations/stock-operations-forms/steps/stock-operation-item-cell.component.tsx.html +0 -232
  282. package/coverage/src/stock-operations/stock-operations-forms/steps/stock-operation-item-expiry-cell.component.tsx.html +0 -208
  283. package/coverage/src/stock-operations/stock-operations-forms/steps/stock-operation-items-form-step.component.tsx.html +0 -910
  284. package/coverage/src/stock-operations/stock-operations-forms/steps/stock-operation-submission-form-step.component.tsx.html +0 -850
  285. package/coverage/src/stock-operations/stock-operations-forms/stock-item-form/index.html +0 -116
  286. package/coverage/src/stock-operations/stock-operations-forms/stock-item-form/stock-item-form.workspace.tsx.html +0 -781
  287. package/coverage/src/stock-operations/stock-operations-forms/stock-operation-form.component.tsx.html +0 -973
  288. package/coverage/src/stock-operations/stock-operations-forms/stock-operation-stepper/index.html +0 -116
  289. package/coverage/src/stock-operations/stock-operations-forms/stock-operation-stepper/stock-operation-stepper.component.tsx.html +0 -238
  290. package/coverage/src/stock-operations/validation-schema.ts.html +0 -847
  291. package/coverage/src/stock-reports/report-list/index.html +0 -116
  292. package/coverage/src/stock-reports/report-list/stock-report-status.utils.ts.html +0 -130
  293. package/coverage/src/stock-sources/add-stock-source-button.component.tsx.html +0 -145
  294. package/coverage/src/stock-sources/add-stock-sources/add-stock-sources.workspace.tsx.html +0 -550
  295. package/coverage/src/stock-sources/add-stock-sources/index.html +0 -116
  296. package/coverage/src/stock-sources/edit-stock-source/edit-stock-source.component.tsx.html +0 -175
  297. package/coverage/src/stock-sources/edit-stock-source/index.html +0 -116
  298. package/coverage/src/stock-sources/index.html +0 -146
  299. package/coverage/src/stock-sources/stock-sources-delete/index.html +0 -116
  300. package/coverage/src/stock-sources/stock-sources-delete/stock-sources-delete.component.tsx.html +0 -277
  301. package/coverage/src/stock-sources/stock-sources-filter/index.html +0 -116
  302. package/coverage/src/stock-sources/stock-sources-filter/stock-sources-filter.component.tsx.html +0 -235
  303. package/coverage/src/stock-sources/stock-sources-items-table.component.tsx.html +0 -661
  304. package/coverage/src/stock-sources/stock-sources.resource.ts.html +0 -295
  305. package/coverage/src/stock-user-role-scopes/delete-stock-user-scope.modal.tsx.html +0 -214
  306. package/coverage/src/stock-user-role-scopes/index.html +0 -116
  307. package/coverage/src/utils.ts.html +0 -133
  308. package/dist/138.js +0 -1
  309. package/dist/138.js.map +0 -1
@@ -1,133 +0,0 @@
1
-
2
- <!doctype html>
3
- <html lang="en">
4
-
5
- <head>
6
- <title>Code coverage report for src/utils.ts</title>
7
- <meta charset="utf-8" />
8
- <link rel="stylesheet" href="../prettify.css" />
9
- <link rel="stylesheet" href="../base.css" />
10
- <link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
11
- <meta name="viewport" content="width=device-width, initial-scale=1" />
12
- <style type='text/css'>
13
- .coverage-summary .sorter {
14
- background-image: url(../sort-arrow-sprite.png);
15
- }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <div class='wrapper'>
21
- <div class='pad1'>
22
- <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> utils.ts</h1>
23
- <div class='clearfix'>
24
-
25
- <div class='fl pad1y space-right2'>
26
- <span class="strong">100% </span>
27
- <span class="quiet">Statements</span>
28
- <span class='fraction'>5/5</span>
29
- </div>
30
-
31
-
32
- <div class='fl pad1y space-right2'>
33
- <span class="strong">100% </span>
34
- <span class="quiet">Branches</span>
35
- <span class='fraction'>2/2</span>
36
- </div>
37
-
38
-
39
- <div class='fl pad1y space-right2'>
40
- <span class="strong">100% </span>
41
- <span class="quiet">Functions</span>
42
- <span class='fraction'>3/3</span>
43
- </div>
44
-
45
-
46
- <div class='fl pad1y space-right2'>
47
- <span class="strong">100% </span>
48
- <span class="quiet">Lines</span>
49
- <span class='fraction'>4/4</span>
50
- </div>
51
-
52
-
53
- </div>
54
- <p class="quiet">
55
- Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56
- </p>
57
- <template id="filterTemplate">
58
- <div class="quiet">
59
- Filter:
60
- <input type="search" id="fileSearch">
61
- </div>
62
- </template>
63
- </div>
64
- <div class='status-line high'></div>
65
- <pre><table class="coverage">
66
- <tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
67
- <a name='L2'></a><a href='#L2'>2</a>
68
- <a name='L3'></a><a href='#L3'>3</a>
69
- <a name='L4'></a><a href='#L4'>4</a>
70
- <a name='L5'></a><a href='#L5'>5</a>
71
- <a name='L6'></a><a href='#L6'>6</a>
72
- <a name='L7'></a><a href='#L7'>7</a>
73
- <a name='L8'></a><a href='#L8'>8</a>
74
- <a name='L9'></a><a href='#L9'>9</a>
75
- <a name='L10'></a><a href='#L10'>10</a>
76
- <a name='L11'></a><a href='#L11'>11</a>
77
- <a name='L12'></a><a href='#L12'>12</a>
78
- <a name='L13'></a><a href='#L13'>13</a>
79
- <a name='L14'></a><a href='#L14'>14</a>
80
- <a name='L15'></a><a href='#L15'>15</a>
81
- <a name='L16'></a><a href='#L16'>16</a>
82
- <a name='L17'></a><a href='#L17'>17</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
83
- <span class="cline-any cline-neutral">&nbsp;</span>
84
- <span class="cline-any cline-neutral">&nbsp;</span>
85
- <span class="cline-any cline-neutral">&nbsp;</span>
86
- <span class="cline-any cline-neutral">&nbsp;</span>
87
- <span class="cline-any cline-neutral">&nbsp;</span>
88
- <span class="cline-any cline-neutral">&nbsp;</span>
89
- <span class="cline-any cline-neutral">&nbsp;</span>
90
- <span class="cline-any cline-yes">7x</span>
91
- <span class="cline-any cline-yes">52x</span>
92
- <span class="cline-any cline-neutral">&nbsp;</span>
93
- <span class="cline-any cline-yes">52x</span>
94
- <span class="cline-any cline-yes">3x</span>
95
- <span class="cline-any cline-neutral">&nbsp;</span>
96
- <span class="cline-any cline-neutral">&nbsp;</span>
97
- <span class="cline-any cline-neutral">&nbsp;</span>
98
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { useCallback } from 'react';
99
- import { useSWRConfig } from 'swr';
100
- &nbsp;
101
- /**
102
- * Returns a function that revalidates every SWR cache entry whose key starts with the given URL.
103
- * It uses the cache from the nearest `SWRConfig` (the one the framework provides to each
104
- * component), so it must be called from a component rendered inside that provider.
105
- */
106
- export const useHandleMutate = () =&gt; {
107
- const { mutate } = useSWRConfig();
108
- &nbsp;
109
- return useCallback(
110
- (url: string) =&gt; mutate((key) =&gt; typeof key === 'string' &amp;&amp; key.startsWith(url), undefined),
111
- [mutate],
112
- );
113
- };
114
- &nbsp;</pre></td></tr></table></pre>
115
-
116
- <div class='push'></div><!-- for sticky footer -->
117
- </div><!-- /wrapper -->
118
- <div class='footer quiet pad2 space-top1 center small'>
119
- Code coverage generated by
120
- <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
121
- at 2026-10-19T11:46:33.626Z
122
- </div>
123
- <script src="../prettify.js"></script>
124
- <script>
125
- window.onload = function () {
126
- prettyPrint();
127
- };
128
- </script>
129
- <script src="../sorter.js"></script>
130
- <script src="../block-navigation.js"></script>
131
- </body>
132
- </html>
133
-
package/dist/138.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_stock_management_app=globalThis.webpackChunk_openmrs_esm_stock_management_app||[]).push([["138"],{1020(t,e,i){var s=i(9691),r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(t,e,i){var s,n={},u=null,m=null;for(s in void 0!==i&&(u=""+i),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(m=e.ref),e)o.call(e,s)&&!l.hasOwnProperty(s)&&(n[s]=e[s]);if(t&&t.defaultProps)for(s in e=t.defaultProps)void 0===n[s]&&(n[s]=e[s]);return{$$typeof:r,type:t,key:u,ref:m,props:n,_owner:a.current}}e.Fragment=n,e.jsx=u,e.jsxs=u},4848(t,e,i){t.exports=i(1020)},137(t,e,i){i.d(e,{K:()=>a});let s=new Map,r=!1;try{r="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let n=!1;try{n="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let o={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class a{format(t){let e="";if(e=r||null==this.options.signDisplay?this.numberFormatter.format(t):function(t,e,i){if("auto"===e)return t.format(i);{if("never"===e)return t.format(Math.abs(i));let s=!1;if("always"===e?s=i>0||Object.is(i,0):"exceptZero"===e&&(Object.is(i,-0)||Object.is(i,0)?i=Math.abs(i):s=i>0),!s)return t.format(i);{let e=t.format(-i),s=t.format(i),r=e.replace(s,"").replace(/\u200e|\u061C/,"");return 1!=[...r].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),e.replace(s,"!!!").replace(r,"+").replace("!!!",s)}}}(this.numberFormatter,this.options.signDisplay,t),"unit"===this.options.style&&!n){var i;let{unit:t,unitDisplay:s="short",locale:r}=this.resolvedOptions();if(!t)return e;let n=null==(i=o[t])?void 0:i[s];e+=n[r]||n.default}return e}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,e){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(t,e);if(e<t)throw RangeError("End date must be >= start date");return`${this.format(t)} \u{2013} ${this.format(e)}`}formatRangeToParts(t,e){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(t,e);if(e<t)throw RangeError("End date must be >= start date");let i=this.numberFormatter.formatToParts(t),s=this.numberFormatter.formatToParts(e);return[...i.map(t=>({...t,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...s.map(t=>({...t,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return r||null==this.options.signDisplay||(t={...t,signDisplay:this.options.signDisplay}),n||"unit"!==this.options.style||(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,e={}){this.numberFormatter=function(t,e={}){let{numberingSystem:i}=e;if(i&&t.includes("-nu-")&&(t.includes("-u-")||(t+="-u-"),t+=`-nu-${i}`),"unit"===e.style&&!n){var r;let{unit:t,unitDisplay:i="short"}=e;if(!t)throw Error('unit option must be provided with style: "unit"');if(!(null==(r=o[t])?void 0:r[i]))throw Error(`Unsupported unit ${t} with unitDisplay = ${i}`);e={...e,style:"decimal"}}let a=t+(e?Object.entries(e).sort((t,e)=>t[0]<e[0]?-1:1).join():"");if(s.has(a))return s.get(a);let l=new Intl.NumberFormat(t,e);return s.set(a,l),l}(t,e),this.options=e}}},7120(t,e,i){i.d(e,{d:()=>o});var s=i(137);let r=RegExp("^.*\\(.*\\).*$"),n=["latn","arab","hanidec","deva","beng"];class o{parse(t){return l(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,e,i){return l(this.locale,this.options,t).isValidPartialNumber(t,e,i)}getNumberingSystem(t){return l(this.locale,this.options,t).options.numberingSystem}constructor(t,e={}){this.locale=t,this.options=e}}let a=new Map;function l(t,e,i){let s=u(t,e);if(!t.includes("-nu-")&&!s.isValidPartialNumber(i)){for(let r of n)if(r!==s.options.numberingSystem){let s=u(t+(t.includes("-u-")?"-nu-":"-u-nu-")+r,e);if(s.isValidPartialNumber(i))return s}}return s}function u(t,e){let i=t+(e?Object.entries(e).sort((t,e)=>t[0]<e[0]?-1:1).join():""),s=a.get(i);return s||(s=new m(t,e),a.set(i,s)),s}class m{parse(t){let e=this.sanitize(t);if(this.symbols.group&&(e=c(e,this.symbols.group,"")),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(e=e.replace(this.symbols.minusSign,"-")),e=e.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let t=e.indexOf("-"),i=(e=e.replace("-","")).indexOf(".");-1===i&&(i=e.length),e=e.replace(".",""),e=i-2==0?`0.${e}`:i-2==-1?`0.0${e}`:i-2==-2?"0.00":`${e.slice(0,i-2)}.${e.slice(i-2)}`,t>-1&&(e=`-${e}`)}let i=e?+e:NaN;if(isNaN(i))return NaN;if("percent"===this.options.style){var n,a;let t={...this.options,style:"decimal",minimumFractionDigits:Math.min((null!=(n=this.options.minimumFractionDigits)?n:0)+2,20),maximumFractionDigits:Math.min((null!=(a=this.options.maximumFractionDigits)?a:0)+2,20)};return new o(this.locale,t).parse(new(0,s.K)(this.locale,t).format(i))}return"accounting"===this.options.currencySign&&r.test(t)&&(i*=-1),i}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(t=(t=t.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(t=c(t,".",this.symbols.group))),"fr-FR"===this.options.locale&&this.symbols.group&&(t=c(t," ",this.symbols.group),t=c(t,/\u00A0/g,this.symbols.group)),t}isValidPartialNumber(t,e=-1/0,i=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&e<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&i>0&&(t=t.slice(this.symbols.plusSign.length)),!(this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&0===this.options.maximumFractionDigits)&&(this.symbols.group&&(t=c(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),0===t.length)}constructor(t,e={}){var i,s;this.locale=t,this.formatter=new Intl.NumberFormat(t,e),this.options=this.formatter.resolvedOptions(),this.symbols=function(t,e,i,s){var r,n,o,a,l;let u=new Intl.NumberFormat(t,{...i,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),m=u.formatToParts(-10000.111),c=u.formatToParts(10000.111),f=h.map(t=>u.formatToParts(t)),y=null!=(l=null==(r=m.find(t=>"minusSign"===t.type))?void 0:r.value)?l:"-",b=null==(n=c.find(t=>"plusSign"===t.type))?void 0:n.value;b||(null==s?void 0:s.signDisplay)!=="exceptZero"&&(null==s?void 0:s.signDisplay)!=="always"||(b="+");let d=null==(o=new Intl.NumberFormat(t,{...i,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(t=>"decimal"===t.type))?void 0:o.value,v=null==(a=m.find(t=>"group"===t.type))?void 0:a.value,S=[...new Set([...m.filter(t=>!p.has(t.type)).map(t=>g(t.value)),...f.flatMap(t=>t.filter(t=>!p.has(t.type)).map(t=>g(t.value)))])].sort((t,e)=>e.length-t.length),w=0===S.length?RegExp("[\\p{White_Space}]","gu"):RegExp(`${S.join("|")}|[\\p{White_Space}]`,"gu"),F=[...new Intl.NumberFormat(i.locale,{useGrouping:!1}).format(0x24cb016ea)].reverse(),D=new Map(F.map((t,e)=>[t,e]));return{minusSign:y,plusSign:b,decimal:d,group:v,literals:w,numeral:RegExp(`[${F.join("")}]`,"g"),index:t=>String(D.get(t))}}(t,this.formatter,this.options,e),"percent"===this.options.style&&((null!=(i=this.options.minimumFractionDigits)?i:0)>18||(null!=(s=this.options.maximumFractionDigits)?s:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}let p=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),h=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function c(t,e,i){return t.replaceAll?t.replaceAll(e,i):t.split(e).join(i)}function g(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}}]);
package/dist/138.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"138.js","sources":["webpack://@openmrs/esm-stock-management-app/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@openmrs/esm-stock-management-app/./node_modules/react/jsx-runtime.js","webpack://@openmrs/esm-stock-management-app/./node_modules/@internationalized/number/dist/NumberFormatter.mjs","webpack://@openmrs/esm-stock-management-app/./node_modules/@internationalized/number/dist/NumberParser.mjs"],"names":["Symbol","Object","e","Map","Intl","Math","console","RangeError","Error","RegExp","i","NaN","isNaN","String","d","Set"],"mappings":"gKASa,IAAI,EAAE,EAAQ,MAAS,EAAEA,OAAO,GAAG,CAAC,iBAAiB,EAAEA,OAAO,GAAG,CAAC,kBAAkB,EAAEC,OAAO,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,kDAAkD,CAAC,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,CAAC,EAClP,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,KAAiF,IAAI,KAAhF,KAAK,IAAI,GAAI,GAAE,GAAG,GAAG,KAAK,IAAI,EAAE,GAAG,EAAG,GAAE,GAAG,EAAE,GAAG,AAAD,EAAG,KAAK,IAAI,EAAE,GAAG,EAAG,GAAE,EAAE,GAAG,AAAD,EAAY,EAAE,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc,CAAC,IAAK,EAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,AAAD,EAAG,GAAG,GAAG,EAAE,YAAY,CAAC,IAAI,KAAK,EAAE,EAAE,YAAY,CAAG,KAAK,IAAI,CAAC,CAAC,EAAE,EAAG,EAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,AAAD,EAAG,MAAM,CAAC,SAAS,E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