@openmrs/esm-billing-app 1.1.2-pre.9 → 1.2.0

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 (390) hide show
  1. package/.turbo/cache/31f1dfc7f71601df-meta.json +1 -0
  2. package/.turbo/cache/31f1dfc7f71601df.tar.zst +0 -0
  3. package/.turbo/turbo-build.log +13 -42
  4. package/__mocks__/bills.mock.ts +3 -2
  5. package/dist/1480.js +1 -0
  6. package/dist/1480.js.map +1 -0
  7. package/dist/1564.js +1 -0
  8. package/dist/1564.js.map +1 -0
  9. package/dist/1578.js +1 -0
  10. package/dist/1578.js.map +1 -0
  11. package/dist/1646.js +1 -0
  12. package/dist/1646.js.map +1 -0
  13. package/dist/1869.js +1 -0
  14. package/dist/1869.js.map +1 -0
  15. package/dist/1877.js +1 -0
  16. package/dist/1877.js.map +1 -0
  17. package/dist/1899.js +1 -0
  18. package/dist/1899.js.map +1 -0
  19. package/dist/196.js +2 -0
  20. package/dist/196.js.map +1 -0
  21. package/dist/2250.js +43 -0
  22. package/dist/2250.js.map +1 -0
  23. package/dist/2269.js +1 -0
  24. package/dist/2269.js.map +1 -0
  25. package/dist/2317.js +1 -0
  26. package/dist/2317.js.map +1 -0
  27. package/dist/2416.js +1 -0
  28. package/dist/2416.js.map +1 -0
  29. package/dist/2489.js +1 -0
  30. package/dist/2489.js.map +1 -0
  31. package/dist/282.js +1 -0
  32. package/dist/282.js.map +1 -0
  33. package/dist/2881.js +1 -0
  34. package/dist/2881.js.map +1 -0
  35. package/dist/2997.js +1 -0
  36. package/dist/2997.js.map +1 -0
  37. package/dist/3378.js +1 -0
  38. package/dist/3378.js.map +1 -0
  39. package/dist/3379.js +1 -0
  40. package/dist/3379.js.map +1 -0
  41. package/dist/3784.js +1 -0
  42. package/dist/3784.js.map +1 -0
  43. package/dist/3963.js +1 -0
  44. package/dist/3963.js.map +1 -0
  45. package/dist/4106.js +1 -0
  46. package/dist/4106.js.map +1 -0
  47. package/dist/4111.js +1 -0
  48. package/dist/4111.js.map +1 -0
  49. package/dist/434.js +1 -0
  50. package/dist/434.js.map +1 -0
  51. package/dist/4348.js +1 -0
  52. package/dist/4348.js.map +1 -0
  53. package/dist/4383.js +1 -0
  54. package/dist/4383.js.map +1 -0
  55. package/dist/4658.js +1 -0
  56. package/dist/4658.js.map +1 -0
  57. package/dist/4870.js +1 -0
  58. package/dist/4870.js.map +1 -0
  59. package/dist/4928.js +1 -0
  60. package/dist/4928.js.map +1 -0
  61. package/dist/5098.js +1 -0
  62. package/dist/5098.js.map +1 -0
  63. package/dist/5117.js +1 -0
  64. package/dist/5117.js.map +1 -0
  65. package/dist/5132.js +1 -0
  66. package/dist/5132.js.map +1 -0
  67. package/dist/5145.js +1 -0
  68. package/dist/5145.js.map +1 -0
  69. package/dist/5390.js +1 -0
  70. package/dist/5390.js.map +1 -0
  71. package/dist/5503.js +1 -0
  72. package/dist/5503.js.map +1 -0
  73. package/dist/556.js +1 -0
  74. package/dist/556.js.map +1 -0
  75. package/dist/5644.js +1 -0
  76. package/dist/5644.js.map +1 -0
  77. package/dist/5898.js +1 -0
  78. package/dist/5898.js.map +1 -0
  79. package/dist/5940.js +1 -0
  80. package/dist/5940.js.map +1 -0
  81. package/dist/6047.js +1 -0
  82. package/dist/6047.js.map +1 -0
  83. package/dist/6237.js +1 -0
  84. package/dist/6237.js.map +1 -0
  85. package/dist/6362.js +1 -0
  86. package/dist/6362.js.map +1 -0
  87. package/dist/6371.js +1 -0
  88. package/dist/6371.js.map +1 -0
  89. package/dist/6377.js +1 -0
  90. package/dist/6377.js.map +1 -0
  91. package/dist/6444.js +1 -0
  92. package/dist/6444.js.map +1 -0
  93. package/dist/6508.js +1 -0
  94. package/dist/6508.js.map +1 -0
  95. package/dist/6594.js +1 -0
  96. package/dist/6594.js.map +1 -0
  97. package/dist/6724.js +1 -0
  98. package/dist/6724.js.map +1 -0
  99. package/dist/6904.js +1 -0
  100. package/dist/6904.js.map +1 -0
  101. package/dist/7045.js +1 -0
  102. package/dist/7045.js.map +1 -0
  103. package/dist/7175.js +1 -0
  104. package/dist/7175.js.map +1 -0
  105. package/dist/7182.js +1 -0
  106. package/dist/7182.js.map +1 -0
  107. package/dist/7247.js +1 -0
  108. package/dist/7247.js.map +1 -0
  109. package/dist/7742.js +1 -0
  110. package/dist/7742.js.map +1 -0
  111. package/dist/7912.js +1 -0
  112. package/dist/7912.js.map +1 -0
  113. package/dist/8358.js +1 -0
  114. package/dist/8358.js.map +1 -0
  115. package/dist/8359.js +1 -0
  116. package/dist/8359.js.map +1 -0
  117. package/dist/8695.js +1 -0
  118. package/dist/8695.js.map +1 -0
  119. package/dist/903.js +1 -0
  120. package/dist/903.js.map +1 -0
  121. package/dist/9072.js +1 -0
  122. package/dist/9072.js.map +1 -0
  123. package/dist/9414.js +1 -0
  124. package/dist/9414.js.map +1 -0
  125. package/dist/9655.js +11 -0
  126. package/dist/9655.js.map +1 -0
  127. package/dist/9806.js +1 -0
  128. package/dist/9806.js.map +1 -0
  129. package/dist/990.js +1 -0
  130. package/dist/990.js.map +1 -0
  131. package/dist/main.js +17 -2
  132. package/dist/main.js.map +1 -1
  133. package/dist/openmrs-esm-billing-app.js +6 -1
  134. package/dist/openmrs-esm-billing-app.js.buildmanifest.json +643 -436
  135. package/dist/openmrs-esm-billing-app.js.map +1 -1
  136. package/dist/routes.json +1 -1
  137. package/e2e/commands/billing-operations.ts +21 -0
  138. package/e2e/commands/types.ts +9 -1
  139. package/e2e/pages/discounts-page.ts +75 -0
  140. package/e2e/pages/index.ts +1 -0
  141. package/e2e/pages/invoice-page.ts +7 -7
  142. package/e2e/specs/bill-discounts.spec.ts +255 -0
  143. package/e2e/specs/billing-dashboard.spec.ts +3 -3
  144. package/e2e/specs/billing-patient-chart.spec.ts +2 -2
  145. package/package.json +13 -22
  146. package/rspack.config.js +1 -0
  147. package/src/bill-history/bill-action-menu.component.tsx +20 -2
  148. package/src/bill-history/bill-history.test.tsx +23 -22
  149. package/src/bill-item-actions/edit-bill-item.modal.tsx +1 -1
  150. package/src/bill-item-actions/edit-bill-item.test.tsx +29 -27
  151. package/src/billable-services/billable-service-form/billable-service-form.test.tsx +74 -73
  152. package/src/billable-services/billable-services-home.component.tsx +4 -2
  153. package/src/billable-services/billable-services.test.tsx +8 -7
  154. package/src/billable-services/dashboard/dashboard.test.tsx +3 -2
  155. package/src/billable-services-admin-card-link.test.tsx +2 -1
  156. package/src/billing-dashboard/billing-dashboard.test.tsx +19 -3
  157. package/src/billing-form/billing-checkin-form.component.tsx +7 -3
  158. package/src/billing-form/billing-checkin-form.test.tsx +22 -21
  159. package/src/billing-form/billing-form.resource.test.ts +7 -6
  160. package/src/billing-form/billing-form.test.tsx +77 -40
  161. package/src/billing-form/billing-form.workspace.tsx +25 -6
  162. package/src/billing-form/visit-attributes/visit-attributes-form.component.tsx +6 -2
  163. package/src/billing.resource.test.ts +43 -41
  164. package/src/billing.resource.ts +65 -16
  165. package/src/bills-table/bills-table.component.tsx +15 -4
  166. package/src/bills-table/bills-table.test.tsx +72 -71
  167. package/src/config-schema.ts +0 -7
  168. package/src/discounts/admin/discount-requests-left-panel-link.component.tsx +43 -0
  169. package/src/discounts/admin/discount-requests.component.tsx +316 -0
  170. package/src/discounts/admin/discount-requests.scss +133 -0
  171. package/src/discounts/admin/discount-requests.test.tsx +104 -0
  172. package/src/discounts/admin/review-bill-discounts/bill-line-items-table/bill-line-items-table.component.tsx +42 -0
  173. package/src/discounts/admin/review-bill-discounts/bill-line-items-table/bill-line-items-table.scss +76 -0
  174. package/src/discounts/admin/review-bill-discounts/bill-payments-table/bill-payments-table.component.tsx +50 -0
  175. package/src/discounts/admin/review-bill-discounts/bill-payments-table/bill-payments-table.scss +63 -0
  176. package/src/discounts/admin/review-bill-discounts/bill-receipt-rail/bill-receipt-rail.component.tsx +73 -0
  177. package/src/discounts/admin/review-bill-discounts/bill-receipt-rail/bill-receipt-rail.scss +54 -0
  178. package/src/discounts/admin/review-bill-discounts/bill-totals-summary/bill-totals-summary.component.tsx +95 -0
  179. package/src/discounts/admin/review-bill-discounts/bill-totals-summary/bill-totals-summary.scss +128 -0
  180. package/src/discounts/admin/review-bill-discounts/discount-card/discount-card.component.tsx +158 -0
  181. package/src/discounts/admin/review-bill-discounts/discount-card/discount-card.scss +164 -0
  182. package/src/discounts/admin/review-bill-discounts/discount-review-stack/discount-review-stack.component.tsx +86 -0
  183. package/src/discounts/admin/review-bill-discounts/discount-review-stack/discount-review-stack.scss +40 -0
  184. package/src/discounts/admin/review-bill-discounts/review-bill-discounts.modal.scss +14 -0
  185. package/src/discounts/admin/review-bill-discounts/review-bill-discounts.modal.test.tsx +153 -0
  186. package/src/discounts/admin/review-bill-discounts/review-bill-discounts.modal.tsx +167 -0
  187. package/src/discounts/admin/review-bill-discounts/review-bill-discounts.utils.ts +42 -0
  188. package/src/discounts/discounts-table.component.tsx +109 -0
  189. package/src/discounts/discounts-table.scss +37 -0
  190. package/src/discounts/discounts-table.test.tsx +67 -0
  191. package/src/discounts/discounts.resource.ts +71 -0
  192. package/src/discounts/request-discount.modal.scss +88 -0
  193. package/src/discounts/request-discount.modal.test.tsx +161 -0
  194. package/src/discounts/request-discount.modal.tsx +253 -0
  195. package/src/index.ts +52 -21
  196. package/src/invoice/invoice-table.component.tsx +116 -18
  197. package/src/invoice/invoice-table.test.tsx +165 -13
  198. package/src/invoice/invoice.component.tsx +111 -7
  199. package/src/invoice/invoice.test.tsx +366 -66
  200. package/src/invoice/line-item-action-menu.component.tsx +31 -1
  201. package/src/invoice/payments/payment-form/payment-form.test.tsx +20 -19
  202. package/src/invoice/payments/payment-history/payment-history.test.tsx +13 -10
  203. package/src/invoice/payments/payments.component.tsx +20 -6
  204. package/src/invoice/payments/payments.test.tsx +88 -23
  205. package/src/invoice/printable-invoice/print-receipt.test.tsx +10 -28
  206. package/src/invoice/printable-invoice/printable-footer.test.tsx +5 -4
  207. package/src/invoice/printable-invoice/printable-invoice-header.component.tsx +3 -3
  208. package/src/invoice/printable-invoice/printable-invoice-header.test.tsx +26 -11
  209. package/src/invoice/printable-invoice/printable-invoice.component.tsx +38 -15
  210. package/src/left-panel-link.test.tsx +3 -3
  211. package/src/metrics-cards/metrics-cards.test.tsx +11 -10
  212. package/src/modal/delete-bill-confirmation.modal.test.tsx +134 -0
  213. package/src/modal/delete-bill-confirmation.modal.tsx +98 -0
  214. package/src/modal/delete-line-item-confirmation.modal.test.tsx +11 -9
  215. package/src/modal/finalize-bill-confirmation.modal.test.tsx +10 -8
  216. package/src/modal/require-payment-modal.test.tsx +12 -11
  217. package/src/payment-status-tag/payment-status-tag.component.tsx +50 -0
  218. package/src/payment-status-tag/payment-status-tag.scss +6 -0
  219. package/src/payment-status-tag/payment-status-tag.test.tsx +113 -0
  220. package/src/refunds/admin/refund-requests-left-panel-link.component.tsx +43 -0
  221. package/src/refunds/admin/refund-requests.component.tsx +324 -0
  222. package/src/refunds/admin/refund-requests.scss +133 -0
  223. package/src/refunds/admin/refund-requests.test.tsx +99 -0
  224. package/src/refunds/admin/review-bill-refunds/bill-line-items-table/bill-line-items-table.component.tsx +42 -0
  225. package/src/refunds/admin/review-bill-refunds/bill-line-items-table/bill-line-items-table.scss +76 -0
  226. package/src/refunds/admin/review-bill-refunds/bill-payments-table/bill-payments-table.component.tsx +50 -0
  227. package/src/refunds/admin/review-bill-refunds/bill-payments-table/bill-payments-table.scss +63 -0
  228. package/src/refunds/admin/review-bill-refunds/bill-receipt-rail/bill-receipt-rail.component.tsx +84 -0
  229. package/src/refunds/admin/review-bill-refunds/bill-receipt-rail/bill-receipt-rail.scss +54 -0
  230. package/src/refunds/admin/review-bill-refunds/bill-totals-summary/bill-totals-summary.component.tsx +83 -0
  231. package/src/refunds/admin/review-bill-refunds/bill-totals-summary/bill-totals-summary.scss +65 -0
  232. package/src/refunds/admin/review-bill-refunds/refund-card/refund-card.component.tsx +170 -0
  233. package/src/refunds/admin/review-bill-refunds/refund-card/refund-card.scss +155 -0
  234. package/src/refunds/admin/review-bill-refunds/refund-review-stack/refund-review-stack.component.tsx +86 -0
  235. package/src/refunds/admin/review-bill-refunds/refund-review-stack/refund-review-stack.scss +40 -0
  236. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.modal.scss +14 -0
  237. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.modal.test.tsx +313 -0
  238. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.modal.tsx +188 -0
  239. package/src/refunds/admin/review-bill-refunds/review-bill-refunds.utils.ts +66 -0
  240. package/src/refunds/refunds-table.component.tsx +137 -0
  241. package/src/refunds/refunds-table.scss +37 -0
  242. package/src/refunds/refunds-table.test.tsx +105 -0
  243. package/src/refunds/refunds.resource.test.ts +44 -0
  244. package/src/refunds/refunds.resource.ts +42 -0
  245. package/src/refunds/refunds.types.test.ts +15 -0
  246. package/src/refunds/request-refund.modal.scss +84 -0
  247. package/src/refunds/request-refund.modal.test.tsx +204 -0
  248. package/src/refunds/request-refund.modal.tsx +218 -0
  249. package/src/routes.json +36 -2
  250. package/src/types/index.ts +116 -1
  251. package/src/visit-bills/visit-bills-panel.component.tsx +151 -0
  252. package/src/visit-bills/visit-bills-panel.scss +31 -0
  253. package/src/visit-bills/visit-bills-panel.test.tsx +113 -0
  254. package/tools/empty-module.ts +1 -0
  255. package/tools/setup-tests.ts +9 -9
  256. package/translations/am.json +154 -16
  257. package/translations/ar.json +154 -16
  258. package/translations/ar_SY.json +154 -16
  259. package/translations/bn.json +154 -16
  260. package/translations/cs.json +154 -16
  261. package/translations/de.json +154 -16
  262. package/translations/en.json +154 -16
  263. package/translations/en_US.json +154 -16
  264. package/translations/es.json +154 -16
  265. package/translations/es_MX.json +154 -16
  266. package/translations/fr.json +154 -16
  267. package/translations/he.json +154 -16
  268. package/translations/hi.json +154 -16
  269. package/translations/hi_IN.json +154 -16
  270. package/translations/id.json +154 -16
  271. package/translations/it.json +154 -16
  272. package/translations/ka.json +154 -16
  273. package/translations/km.json +154 -16
  274. package/translations/ku.json +154 -16
  275. package/translations/ky.json +154 -16
  276. package/translations/lg.json +154 -16
  277. package/translations/ne.json +154 -16
  278. package/translations/pl.json +154 -16
  279. package/translations/pt.json +154 -16
  280. package/translations/pt_BR.json +154 -16
  281. package/translations/qu.json +154 -16
  282. package/translations/ro_RO.json +154 -16
  283. package/translations/ru_RU.json +154 -16
  284. package/translations/si.json +154 -16
  285. package/translations/sq.json +154 -16
  286. package/translations/sw.json +154 -16
  287. package/translations/sw_KE.json +154 -16
  288. package/translations/tr.json +154 -16
  289. package/translations/tr_TR.json +154 -16
  290. package/translations/uk.json +154 -16
  291. package/translations/uz.json +154 -16
  292. package/translations/uz@Latn.json +154 -16
  293. package/translations/uz_UZ.json +154 -16
  294. package/translations/vi.json +154 -16
  295. package/translations/zh.json +154 -16
  296. package/translations/zh_CN.json +179 -41
  297. package/translations/zh_TW.json +154 -16
  298. package/tsconfig.json +3 -3
  299. package/vitest.config.js +28 -0
  300. package/.turbo/cache/4e30f71f570fc412-meta.json +0 -1
  301. package/.turbo/cache/4e30f71f570fc412.tar.zst +0 -0
  302. package/dist/1119.js +0 -1
  303. package/dist/1197.js +0 -1
  304. package/dist/1435.js +0 -1
  305. package/dist/1435.js.map +0 -1
  306. package/dist/1807.js +0 -1
  307. package/dist/1807.js.map +0 -1
  308. package/dist/2146.js +0 -1
  309. package/dist/2177.js +0 -2
  310. package/dist/2177.js.LICENSE.txt +0 -9
  311. package/dist/2177.js.map +0 -1
  312. package/dist/2690.js +0 -1
  313. package/dist/2704.js +0 -1
  314. package/dist/2704.js.map +0 -1
  315. package/dist/3002.js +0 -1
  316. package/dist/3002.js.map +0 -1
  317. package/dist/3041.js +0 -1
  318. package/dist/3041.js.map +0 -1
  319. package/dist/3099.js +0 -1
  320. package/dist/3184.js +0 -2
  321. package/dist/3184.js.LICENSE.txt +0 -14
  322. package/dist/3184.js.map +0 -1
  323. package/dist/3584.js +0 -1
  324. package/dist/4055.js +0 -1
  325. package/dist/4132.js +0 -1
  326. package/dist/4225.js +0 -1
  327. package/dist/4225.js.map +0 -1
  328. package/dist/4300.js +0 -1
  329. package/dist/4335.js +0 -1
  330. package/dist/439.js +0 -1
  331. package/dist/4618.js +0 -1
  332. package/dist/4652.js +0 -1
  333. package/dist/4944.js +0 -1
  334. package/dist/5173.js +0 -1
  335. package/dist/5241.js +0 -1
  336. package/dist/5422.js +0 -1
  337. package/dist/5422.js.map +0 -1
  338. package/dist/5442.js +0 -1
  339. package/dist/5661.js +0 -1
  340. package/dist/6022.js +0 -1
  341. package/dist/6404.js +0 -1
  342. package/dist/6404.js.map +0 -1
  343. package/dist/6468.js +0 -1
  344. package/dist/6540.js +0 -2
  345. package/dist/6540.js.LICENSE.txt +0 -9
  346. package/dist/6540.js.map +0 -1
  347. package/dist/6589.js +0 -1
  348. package/dist/6606.js +0 -1
  349. package/dist/6606.js.map +0 -1
  350. package/dist/6679.js +0 -1
  351. package/dist/6792.js +0 -1
  352. package/dist/6792.js.map +0 -1
  353. package/dist/6840.js +0 -1
  354. package/dist/6859.js +0 -1
  355. package/dist/7097.js +0 -1
  356. package/dist/7159.js +0 -1
  357. package/dist/723.js +0 -1
  358. package/dist/7255.js +0 -1
  359. package/dist/7255.js.map +0 -1
  360. package/dist/7617.js +0 -1
  361. package/dist/795.js +0 -1
  362. package/dist/8163.js +0 -1
  363. package/dist/8341.js +0 -2
  364. package/dist/8341.js.LICENSE.txt +0 -52
  365. package/dist/8341.js.map +0 -1
  366. package/dist/8349.js +0 -1
  367. package/dist/8371.js +0 -1
  368. package/dist/8421.js +0 -1
  369. package/dist/8421.js.map +0 -1
  370. package/dist/8618.js +0 -1
  371. package/dist/890.js +0 -1
  372. package/dist/9214.js +0 -1
  373. package/dist/9538.js +0 -1
  374. package/dist/9569.js +0 -1
  375. package/dist/961.js +0 -2
  376. package/dist/961.js.LICENSE.txt +0 -19
  377. package/dist/961.js.map +0 -1
  378. package/dist/986.js +0 -1
  379. package/dist/9879.js +0 -1
  380. package/dist/9895.js +0 -1
  381. package/dist/9900.js +0 -1
  382. package/dist/9913.js +0 -1
  383. package/dist/main.js.LICENSE.txt +0 -62
  384. package/src/billable-services/bill-waiver/bill-selection.component.tsx +0 -76
  385. package/src/billable-services/bill-waiver/bill-waiver-form.component.tsx +0 -107
  386. package/src/billable-services/bill-waiver/bill-waiver-form.scss +0 -34
  387. package/src/billable-services/bill-waiver/bill-waiver.component.tsx +0 -34
  388. package/src/billable-services/bill-waiver/bill-waiver.scss +0 -10
  389. package/src/billable-services/bill-waiver/patient-bills.component.tsx +0 -134
  390. package/webpack.config.js +0 -1
@@ -0,0 +1 @@
1
+ {"hash":"31f1dfc7f71601df","duration":17644}
@@ -1,44 +1,15 @@
1
- assets by path *.js 4.88 MiB
2
- assets by chunk 2.27 MiB (id hint: vendors)
3
- assets by status 1.98 MiB [big]
4
- asset 6792.js 1.66 MiB [emitted] [minimized] [big] (id hint: vendors) 1 related asset
5
- asset 8341.js 321 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
6
- asset 961.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
7
- asset 1435.js 99 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
8
- asset 3184.js 45.4 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
9
- asset 7255.js 13.5 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
10
- asset 2177.js 11.2 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
11
- + 54 assets
12
- assets by path *.json 31.4 KiB
13
- asset openmrs-esm-billing-app.js.buildmanifest.json 28.7 KiB [emitted]
14
- asset routes.json 2.7 KiB [emitted] [from: src/routes.json] [copied]
15
- orphan modules 8.37 MiB [orphan] 2678 modules
16
- runtime modules 40.8 KiB 28 modules
17
- built modules 8.63 MiB (javascript) 294 bytes (share-init) 294 bytes (consume-shared) [built]
18
- modules by path ./node_modules/ 7.02 MiB 413 modules
19
- modules by path ./translations/ 466 KiB
20
- ./translations/ lazy nonrecursive .json$ 160 bytes [built] [code generated]
21
- + 42 modules
22
- modules by path ./src/ 1.15 MiB 39 modules
23
- provide-module modules 294 bytes
24
- modules by path provide shared module (default) swr/ 84 bytes 2 modules
25
- + 5 modules
26
- consume-shared-module modules 294 bytes
27
- modules by path consume shared module (default) swr/ 84 bytes 2 modules
28
- + 5 modules
29
- container entry 42 bytes [built] [code generated]
1
+ WARNING in ⚠ asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
2
+ Assets:
3
+ │ 9655.js (335.189 KiB)
4
+ │ main.js (1.756 MiB)
5
+ │ 2250.js (1.677 MiB)
6
+ │ 990.js (1.227 MiB)
7
+ 
30
8
 
31
- WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
32
- This can impact web performance.
33
- Assets:
34
- main.js (1.2 MiB)
35
- 8421.js (799 KiB)
36
- 6792.js (1.66 MiB)
37
- 8341.js (321 KiB)
9
+ WARNING in ⚠ entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244.141 KiB). This can impact web performance.
10
+ Entrypoints:
11
+ │ main (1.756 MiB)
12
+ main.js
13
+ 
38
14
 
39
- WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
40
- Entrypoints:
41
- main (1.2 MiB)
42
- main.js
43
-
44
- webpack 5.105.3 compiled with 2 warnings in 39178 ms
15
+ Rspack compiled with 2 warnings in 15.21 s
@@ -1,5 +1,5 @@
1
1
  import { restBaseUrl } from '@openmrs/esm-framework';
2
- import { BillStatus } from '../src/types';
2
+ import { BillLineItemStatus, BillStatus } from '../src/types';
3
3
 
4
4
  export const mockPatient = {
5
5
  uuid: 'dda9b65f-0037-11ec-85e7-04ed33c79a3e',
@@ -378,13 +378,14 @@ export const mockBill = {
378
378
  priceName: '',
379
379
  priceUuid: '',
380
380
  lineItemOrder: 0,
381
- paymentStatus: BillStatus.PENDING,
381
+ status: BillLineItemStatus.PENDING,
382
382
  resourceVersion: '1.8',
383
383
  },
384
384
  ],
385
385
  billingService: 'Hemoglobin',
386
386
  payments: [],
387
387
  totalAmount: 100,
388
+ netAmount: 100,
388
389
  tenderedAmount: 0,
389
390
  };
390
391
 
package/dist/1480.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1480"],{70795(e){e.exports=JSON.parse('{"action":"Action","add":"Add","addBillableService":"Add billable service","addBillItems":"Add bill items","addCashPoint":"Add cash point","addItemsToBill":"Add items to bill","addNewBillableService":"Add new billable service","addNewCashPoint":"Add new cash point","addNewPaymentMode":"Add new payment mode","addNewService":"ახალი სერვისის დამატება","addPaymentMode":"Add payment mode","addPaymentOption":"Add payment option","address":"Address","adjusted":"Adjusted","all":"All","allBills":"All bills","alreadyRefunded":"Already refunded","amount":"რაოდენობა","amountAfterRefund":"Amount after refund","amountBalance":"Amount balance","amountDue":"Amount due","amountDueOnBillAfterDiscount":"Amount due on bill after discount","amountExceedsRefundable":"Amount cannot exceed {{max}}","amountMustBePositive":"Amount must be greater than 0","amountPaid":"Amount paid","amountRequired":"Amount is required","amountTendered":"Amount tendered","approve":"Approve","approveBlocked":"Cannot approve discount","approveBlockedExceedsLineTotal":"Approving this refund would exceed the line item total.","approveBlockedExceedsTotal":"Approving this refund would exceed the bill total.","approveBlockedNegativeDue":"Approving this discount would push the amount due below zero.","approveBlockedRefund":"Cannot approve refund","approved":"Approved","approvedRefundPendingPayout":"Approved refund (pending payout)","approveFailed":"Approve failed","associatedConcept":"Associated concept","awaitingCashierProcessing":"Awaiting cashier processing","balance":"Balance","billableService":"ფასიანი მომსახურება","billableServiceCreated":"Billable service created","billableServiceCreatedSuccessfully":"Billable service created successfully","billableServiceForm":"Billable service form","billableServices":"Billable services","billableServices__lower":"billable services","billableServicesManagement":"Billable services management","billableServiceUpdated":"Billable service updated","billableServiceUpdatedSuccessfully":"Billable service updated successfully","billAmount":"Bill amount","billCreatedSuccessfully":"Bill created successfully","billCreationError":"Bill creation error","billDate":"Bill date","billDeleted":"Bill deleted","billDeleteFailed":"Failed to delete bill","billDeleteSuccess":"Bill deleted successfully","billDiscounts":"Bill discounts","billedItems":"Billed items","billErrorService":"Billing service error","billFinalized":"Bill finalized","billFinalizedSuccess":"Bill has been finalized successfully","billFinalizeFailed":"Failed to finalize bill","billing":"ბილინგი","billingDetails":"Billing details","billingHistory":"Billing history","billingSettings":"Billing settings","billItem":"Bill item","billJustificationPlaceholder":"e.g., hardship assistance, charity case, write-off","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billLoadFailed":"Failed to load bill","billLoadFailedSubtitle":"Bill data could not be loaded. Please close and try again.","billMetrics":"Bill metrics","billNotFound":"Bill details could not be loaded","billPayment":"Bill payment","billPaymentError":"ჩეკის გადახდის შეცდომა","billPaymentRequiredMessage":"The current patient has a pending bill. Advise the patient to settle the bill before receiving services","billProcessed":"Bill processed","billProcessedSuccessfully":"Bill processed successfully","billProcessingError":"Bill processing error","billReasonPlaceholder":"e.g., payment made in error, duplicate payment","billRefunds":"Bill refunds","billTotal":"Bill total","billTotalLabel":"Bill total {{total}}","birthDate":"Date of birth","cashier":"Cashier","cashPointConfig":"Cash point configuration","cashPointHistory":"Cash point history","cashPointLocation":"Cash point location","cashPointName":"Cash point name","cashPointNamePlaceholder":"For example, Pharmacy Cash Point","cashPointNameRequired":"Cash point name is required","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash point UUID","cashPointUuidPlaceholder":"შეიყვანეთ UUID","checkFilters":"Check the filters above","childUnder5":"Child under 5","clearSearch":"Clear","completed":"Completed","confirmDelete":"Confirm delete","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","confirmedDiscounts":"Confirmed discounts","confirmReject":"Confirm reject","createBill":"Create bill","cumulativeBills":"Cumulative bills","currentNet":"Current net","currentPrice":"მიმდინარე ფასი","date":"Date","dateAndTime":"Date and time","dateBillCreated":"Date bill created","dateOfPayment":"Date of payment","decidedRefunds":"Decided refunds","delete":"Delete","deleteBill":"Delete bill","deleteBillConfirmation":"Are you sure you want to delete bill {{receiptNumber}}? This action cannot be undone.","deleteBillFailedTryAgain":"Unable to delete bill. Please try again.","deleteBillReasonPlaceholder":"Enter the reason for deleting this bill","deleteBlocked":"Cannot delete discount","deleteBlockedFullyPaid":"An approved discount cannot be removed once the bill is fully paid.","deleteConfirm":"Delete this discount?","deleteConfirmation":"Are you sure you want to delete \\"{{itemName}}\\" from this bill?","deleteConfirmRefund":"Delete this refund?","deleteFailed":"Delete failed","deleteFailedTryAgain":"Unable to delete line item. Please try again.","deleteLineItem":"Delete line item","deletePaymentMode":"Delete payment mode","deleteReason":"Reason for deletion","deleteReasonPlaceholder":"Enter the reason for removing this line item from the bill","deleting":"Deleting","description":"აღწერა","descriptionPlaceholder":"For example, Used for all cash transactions","discard":"მოცილება","discount":"ფასდაკლება","discountAmount":"Amount","discountApproved":"Discount approved","discountDeleted":"Discount deleted","discountExceedsAmountDue":"Discount cannot exceed the amount due","discountExceedsLineTotal":"Discount cannot exceed the line item total","discountItem":"Item","discountLabel":"Discount","discountPendingReview":"An admin will review your request","discountRejected":"Discount rejected","discountRequested":"Discount request submitted","discountRequestFailed":"Could not submit discount request","discountRequests":"Discount requests","discounts":"Discounts","discountsAppliedToBill":"Discounts applied to this bill","discountScope":"Scope","discountSummary":"Discount summary","discountType":"Type","discountWithPercent":"Discount ({{percent}}%)","editBillableService":"Edit billable service","editBillLineItem":"Edit bill line item","editPaymentMode":"Edit payment mode","enterAmount":"შეიყვანეთ რაოდენობა","enterReferenceNumber":"Enter reference number","enterSellingPrice":"Enter selling price","enterServiceName":"Enter service name","enterServiceShortName":"Enter service short name","errorCreatingBill":"An error occurred while creating the bill","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorLoadingBill":"Error loading bill","errorLoadingBillableServices":"Error loading billable services","errorLoadingBillServices":"Error loading bill services","errorLoadingLastVisit":"An error occurred while loading the last visit","errorLoadingPaymentModes":"Error loading payment modes","errorPrintingInvoice":"Error printing invoice","errorProcessingPayment":"Error processing payment","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","existingItems":"Existing items","filterBillsByPatient":"Filter bills by patient name or identifier","filterBy":"Filter by:","filterTable":"ცხრილის გაფილტვრა","finalize":"Finalize","finalizeBill":"Finalize bill","finalizeBillConfirmation":"Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.","finalizeFailedTryAgain":"Unable to finalize bill. Please try again.","finalizing":"Finalizing","fixedAmount":"Fixed amount","gender":"Gender","grandTotal":"მთლიანი ჯამი","home":"საწყისი","ifPendingApproved":"If pending discounts approved","insuranceScheme":"დაზღვევის სქემა","invalidUuidFormat":"Invalid UUID format","inventoryItem":"Inventory item","invoice":"ინვოისი","invoiceDate":"Invoice date","invoiceError":"ინვოისის შეცდომა","invoiceLabel":"Invoice {{number}}","invoiceLineItems":"Invoice line items","invoiceNo":"Invoice #","invoiceNumber":"Invoice number","invoiceStatus":"Invoice status","invoiceSummary":"Invoice summary","issued":"Issued","item":"ელემენტი","itemsAddedToBill":"Items added to bill","itemsAddedToBillSuccessfully":"Items have been added to the bill successfully","itemsToBeBilled":"Items to be billed","justification":"Justification","justificationTooLong":"Justification cannot exceed 1000 characters","lastVisitError":"Last visit error","lastVisitInfo":"Last Visit Information","lastVisitMsg_one":"The last visit was a {{type}} {{count}} day ago at {{location}}","lastVisitMsg_other":"The last visit was a {{type}} {{count}} days ago at {{location}}","lineAfterDiscount":"Line after discount","lineItemCount_one":"{{count}} line items","lineItemCount_other":"{{count}} line items","lineItemDeleted":"Line item deleted","lineItemDeleteFailed":"Failed to delete line item","lineItemDeleteSuccess":"Bill line item deleted successfully","lineItemJustificationPlaceholder":"e.g., damaged item, wrong quantity billed, expired stock","lineItemReasonPlaceholder":"e.g., duplicate charge, wrong item billed","lineItems":"Line items","lineItemUpdated":"Line item updated","lineItemUpdateErrorDefault":"Unable to update the bill line item. Please try again.","lineItemUpdateFailed":"Failed to update line item","lineItemUpdateSuccess":"The bill line item has been updated successfully","lineTotal":"Line total","lineTotalLabel":"Line total {{total}}","loading":"Loading data","loadingBillInfo":"Loading bill information","loadingBillingServices":"Loading billing services","loadingBillItems":"Loading bill items","loadingBillMetrics":"Loading bill metrics","loadingDescription":"მიმდინარეობს ჩატვირთვა","location":"Location","locationRequired":"Location is required","manageBillableServices":"Manage billable services","method":"Method","name":"სახელი","netAmount":"Net amount","newItems":"New items","nextPage":"შემდეგი გვერდი","no":"No","noBillsToDisplay":"There are no bills to display.","noDiscountRequestsToDisplay":"There are no discount requests to display.","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","nonPaying":"Non paying","nonPayingInfo":"Any services rendered to non-paying patients will not be billed","noRefundableAmount":"No refundable amount remaining on this bill","noRefundRequestsToDisplay":"There are no refund requests to display.","noResultsFor":"No results for {{searchTerm}}","number":"Number","ok":"დიახ","outstanding":"Outstanding","paid":"Paid","PAID":"PAID","paidBills":"Paid bills","partially_refunded":"Partially refunded","patient":"Patient","patientBill":"Patient bill","patientBillingAlert":"Patient billing alert","patientCategory":"პაციენტის კატეგორია","patientIdentifier":"Patient identifier","patientInformation":"Patient information","patientName":"Patient name","paying":"Paying","paymentAmountCannotExceedAmountDue":"Payment amount cannot exceed amount due","paymentDetails":"Payment details","paymentHistory":"Payment History","paymentMethod":"გადახდის მეთოდი","paymentMethodRequired":"Payment method is required for all items","paymentMode":"Payment mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment mode history","paymentModeNameLabel":"Payment mode name","paymentModeNamePlaceholder":"For example, Cash, Credit Card","paymentModeNameRequired":"Payment mode name is required","paymentModeNameToDelete":"Payment mode name: {{paymentModeName}}","paymentModeRequired":"Payment mode is required","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment modes configuration","paymentOptionRequired":"At least one payment option is required","paymentProcessedSuccessfully":"Payment processed successfully","payments":"გადახდები","paymentsReceived":"Payments received","pending":"Pending","pendingBills":"Pending bills","pendingConfirmationBills":"Pending confirmation","pendingDiscounts":"Pending discounts","pendingPaymentBills":"Pending payment","pendingRefundBills":"Pending refunds","percentage":"Percentage","percentageTooHigh":"Value cannot exceed 100","policyNumber":"პოლიტიკის ნომერი","posted":"Posted","previousPage":"წინა გვერდი","price":"Price","priceIsRequired":"ფასი აუცილებელია","priceMustBeNonNegative":"Price must be 0 or greater","priceMustBeNumber":"Price must be a valid number","priceMustBePositive":"Price must be greater than 0","prices":"ფასები","printBill":"ანგარიშის დაბეჭდვა","printReceipt":"რეცეპტის დაბეჭდვა","processing":"Processing","processPayment":"Process payment","processRefund":"Process refund","projectedNet":"Projected net","qty":"Qty","qtyTimesPrice":"Qty {{quantity}} \xd7 {{price}}","quantity":"რაოდენობა","quantityCannotExceed100":"Quantity cannot exceed 100","quantityMustBeAtLeastOne":"Quantity must be at least 1","quantityMustBeInteger":"Quantity must be a whole number","quantityMustBeNumber":"Quantity must be a valid number","quantityRequired":"რაოდენობა აუცილებელია","reason":"Reason","reasonForDiscount":"Reason for discount","reasonForRefund":"Reason for refund","reasonTooLong":"Reason cannot exceed 1000 characters","receiptNumber":"Receipt #","referenceNumber":"მიმართვის ნომერი","refund_requested":"Refund requested","refundAmount":"Refund amount","refundAmountLabel":"Refund amount ({{currency}})","refundApproved":"Refund approved","refundDeleted":"Refund deleted","refunded":"Refunded","refundedBills":"Refunded bills","refundInProgress":"A refund is already in progress for one or more line items","refundItem":"Item","refundPaidOut":"Refund paid out","refundPendingReview":"An admin will review your request","refundProcessed":"Refund processed","refundProcessFailed":"Could not process refund","refundRejected":"Refund rejected","refundRequested":"Refund request submitted","refundRequestFailed":"Could not submit refund request","refundRequests":"Refund requests","refunds":"Refunds","refundScope":"Refund scope","refundsOnBill":"Refunds on this bill","refundSummary":"Refund summary","refundUnavailable":"Refund unavailable","refundUnavailableSubtitle":"Bill amount could not be determined. Please reload and try again.","reject":"Reject","rejectConfirm":"Reject this discount?","rejectConfirmRefund":"Reject this refund?","rejected":"Rejected","rejectFailed":"Reject failed","remove":"Remove","requestDiscount":"Request discount","requested":"Requested","requestedBy":"Requested by","requestedRefunds":"Requested refunds","requestRefund":"Request refund","reviewDiscounts":"Review discounts","reviewRefunds":"Review refunds","saveAndClose":"შენახვა და დახურვა","saving":"მიმდინარეობს შენახვა","searchByPatientOrBill":"Search by patient name or bill #","searchConcepts":"Search associated concept","searchDiscountRequests":"Search discount requests","searchForPatient":"Search for a patient by name","searching":"მიმდინარეობს ძებნა","searchItems":"ელემენტებისა და სერვისების ძებნა","searchRefundRequests":"Search refund requests","searchThisTable":"ამ ცხრილში ძებნა","selectBillableService":"Select a billable service","selectedItems":"Selected items","selectLocation":"Select location","selectPatientCategory":"აირჩიეთ პაციენტის კატეგორია","selectPaymentMethod":"აირჩიეთ გადახდის მეთოდი","selectPaymentMode":"Select payment mode","selectServiceType":"Select service type","sellingPrice":"Selling price","serviceList":"Service list","serviceName":"Service name","serviceNameExceedsLimit":"Service name cannot exceed {{MAX_NAME_LENGTH}} characters","serviceNameRequired":"Service name is required","serviceResolutionError":"Could not resolve service \\"{{service}}\\"","servicesList":"სერვისების სია","serviceStatus":"Service status","serviceType":"Service type","serviceTypeRequired":"Service type is required","shortName":"Short name","shortNameExceedsLimit":"Short name cannot exceed {{MAX_NAME_LENGTH}} characters","showInformation":"Show information","status":"Service status","student":"Student","submitRequest":"Submit request","submitting":"Submitting","subtotal":"Subtotal","success":"წარმატებულია","tendered":"Tendered","total":"ჯამში","totalAmount":"Total amount","totalPaid":"Total paid","totalPendingPayout":"Total pending payout","totalRefunded":"Total refunded","totalTendered":"Total tendered","unitPrice":"ერთეულის ფასი","unitPriceHelperText":"This is the unit price for this item","unknownBillError":"An unexpected error occurred","UNPAID":"UNPAID","uuid":"UUID","uuidRequired":"UUID is required","validationError":"Validation error","valueAmountLabel":"Value ({{currency}})","valueMustBePositive":"Value must be greater than 0","valuePercentLabel":"Value (%)","wholeBill":"Whole bill","wholeBillScope":"Whole bill"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1480.js","sources":["webpack://@openmrs/esm-billing-app/json|/home/runner/work/openmrs-esm-billing-app/openmrs-esm-billing-app/translations/ka.json"],"names":["JSON"],"mappings":"4IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,22hB"}
package/dist/1564.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1564"],{17093(e,n,t){t.d(n,{A:()=>o});var r=t(54991),a=t.n(r),l=t(76314),i=t.n(l)()(a());i.push([e.id,".-esm-billing__delete-line-item-confirmation__spinner___pvl4L .cds--inline-loading{min-height:1rem}.-esm-billing__delete-line-item-confirmation__spinner___pvl4L .cds--inline-loading__text{font-size:unset !important}.-esm-billing__delete-line-item-confirmation__modalBody___EJ97w{padding-bottom:1rem}.-esm-billing__delete-line-item-confirmation__sectionTitle___IAvf7{margin-bottom:.75rem}","",{version:3,sources:["webpack://./src/modal/delete-line-item-confirmation.scss","webpack://./node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAGE,mFACE,eC2BS,CDxBX,yFACE,0BAAA,CAIJ,gEACE,mBCkBW,CDfb,mEACE,oBCSW",sourcesContent:["@use '@carbon/layout';\n\n.spinner {\n :global(.cds--inline-loading) {\n min-height: layout.$spacing-05;\n }\n\n :global(.cds--inline-loading__text) {\n font-size: unset !important;\n }\n}\n\n.modalBody {\n padding-bottom: layout.$spacing-05;\n}\n\n.sectionTitle {\n margin-bottom: layout.$spacing-04;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),i.locals={spinner:"-esm-billing__delete-line-item-confirmation__spinner___pvl4L",modalBody:"-esm-billing__delete-line-item-confirmation__modalBody___EJ97w",sectionTitle:"-esm-billing__delete-line-item-confirmation__sectionTitle___IAvf7"};let o=i},37670(e,n,t){t.d(n,{A:()=>y});var r=t(85072),a=t.n(r),l=t(97825),i=t.n(l),o=t(77659),c=t.n(o),s=t(55056),u=t.n(s),p=t(10540),m=t.n(p),d=t(41113),g=t.n(d),b=t(17093),f={};f.styleTagTransform=g(),f.setAttributes=u(),f.insert=c().bind(null,"head"),f.domAPI=i(),f.insertStyleElement=m(),a()(b.A,f);let y=b.A&&b.A.locals?b.A.locals:void 0},46903(e,n,t){t.r(n),t.d(n,{default:()=>d});var r=t(15275),a=t.n(r),l=t(76800),i=t(38395),o=t(43137),c=t(46199),s=t(37670);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function p(e,n,t,r,a,l,i){try{var o=e[l](i),c=o.value}catch(e){t(e);return}o.done?n(c):Promise.resolve(c).then(r,a)}function m(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],i=!0,o=!1;try{for(a=a.call(e);!(i=(t=a.next()).done)&&(l.push(t.value),!n||l.length!==n);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==a.return||a.return()}finally{if(o)throw r}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return u(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}let d=function(e){var n=e.closeModal,t=e.item,u=e.onMutate,d=(0,i.useTranslation)().t,g=m((0,r.useState)(!1),2),b=g[0],f=g[1],y=m((0,r.useState)(""),2),_=y[0],h=y[1],v=t.billableService||t.item;return a().createElement(a().Fragment,null,a().createElement(l.rQ0,{className:s.A.sectionTitle,closeModal:n,title:d("deleteLineItem","Delete line item")}),a().createElement(l.cwr,{className:s.A.modalBody},a().createElement(l.BJc,{gap:5},a().createElement("p",null,d("deleteConfirmation",'Are you sure you want to delete "{{itemName}}" from this bill?',{itemName:v})),a().createElement(l.fs1,{enableCounter:!0,id:"deleteReason",labelText:d("deleteReason","Reason for deletion"),maxCount:255,onChange:function(e){return h(e.target.value)},placeholder:d("deleteReasonPlaceholder","Enter the reason for removing this line item from the bill"),required:!0,rows:3,value:_}))),a().createElement(l.jlY,null,a().createElement(l.$nd,{kind:"secondary",onClick:n},(0,o.getCoreTranslation)("cancel")),a().createElement(l.$nd,{kind:"danger",onClick:function(){var e;return(e=function(){var e,r,a,l;return function(e,n){var t,r,a,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),o=Object.defineProperty;return o(i,"next",{value:c(0)}),o(i,"throw",{value:c(1)}),o(i,"return",{value:c(2)}),"function"==typeof Symbol&&o(i,Symbol.iterator,{value:function(){return this}}),i;function c(o){return function(c){var s=[o,c];if(t)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(l=0)),l;)try{if(t=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,r=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(!(a=(a=l.trys).length>0&&a[a.length-1])&&(6===s[0]||2===s[0])){l=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){l.label=s[1];break}if(6===s[0]&&l.label<a[1]){l.label=a[1],a=s;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(s);break}a[2]&&l.ops.pop(),l.trys.pop();continue}s=n.call(e,l)}catch(e){s=[6,e],r=0}finally{t=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(i){switch(i.label){case 0:f(!0),i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,(0,c.mi)(t.uuid,_.trim())];case 2:return i.sent(),null==u||u(),(0,o.showSnackbar)({title:d("lineItemDeleted","Line item deleted"),subtitle:d("lineItemDeleteSuccess","Bill line item deleted successfully"),kind:"success"}),n(),[3,5];case 3:return l=(null==(e=i.sent())||null==(a=e.responseBody)||null==(r=a.error)?void 0:r.message)||(null==e?void 0:e.message)||d("deleteFailedTryAgain","Unable to delete line item. Please try again."),(0,o.showSnackbar)({title:d("lineItemDeleteFailed","Failed to delete line item"),subtitle:l,kind:"error"}),[3,5];case 4:return f(!1),[7];case 5:return[2]}})},function(){var n=this,t=arguments;return new Promise(function(r,a){var l=e.apply(n,t);function i(e){p(l,r,a,i,o,"next",e)}function o(e){p(l,r,a,i,o,"throw",e)}i(void 0)})})()},disabled:b||!_.trim()},b?a().createElement(l.OuH,{className:s.A.spinner,description:d("deleting","Deleting")+"..."}):a().createElement("span",null,(0,o.getCoreTranslation)("delete")))))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1564.js","sources":["webpack://@openmrs/esm-billing-app/./src/modal/delete-line-item-confirmation.scss","webpack://@openmrs/esm-billing-app/./src/modal/delete-line-item-confirmation.scss?adf9","webpack://@openmrs/esm-billing-app/./src/modal/delete-line-item-confirmation.modal.tsx"],"names":["closeModal","item","onMutate","t","useTranslation","_useState","isDeleting","setIsDeleting","_useState1","deleteReason","setDeleteReason","itemName","ModalHeader","styles","ModalBody","Stack","TextArea","onChange","e","ModalFooter","Button","getCoreTranslation","err","_err_responseBody_error","message","deleteBillItem","showSnackbar","InlineLoading"],"mappings":"oMAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,sYAAuY,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,2DAA2D,uEAAuE,CAAC,MAAQ,EAAE,CAAC,SAAW,wEAAwE,eAAiB,CAAC,iUAAiU,05DAA05D,C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A,CAAAA,OAAc,CAAE,YAAaV,EAAE,WAAY,YAAc,K,GAEnF,kBAAC,YAAMkB,AAAAA,GAAAA,EAAAA,kBAAAA,AAAAA,EAAmB,aAMtC,C"}
package/dist/1578.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1578"],{23041(e,r,t){t.r(r),t.d(r,{default:()=>g,infinite:()=>E,unstable_serialize:()=>o});var n=t(15275),i=t.n(n),a=t(19888),u=t(88716);let l=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(r=>{e.status="fulfilled",e.value=r},r=>{e.status="rejected",e.reason=r}),e}),s={dedupe:!0};u.OBJECT.defineProperty(u.SWRConfig,"defaultValue",{value:u.defaultConfig});let d=(0,u.withArgs)((e,r,t)=>{let{cache:i,compare:d,suspense:c,fallbackData:o,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:_,refreshWhenOffline:p,keepPreviousData:h}=t,[U,R,b,C]=u.SWRGlobalState.get(i),[m,v]=(0,u.serialize)(e),I=(0,n.useRef)(!1),T=(0,n.useRef)(!1),V=(0,n.useRef)(m),N=(0,n.useRef)(r),L=(0,n.useRef)(t),S=()=>L.current.isVisible()&&L.current.isOnline(),[k,y,w,F]=(0,u.createCacheHelper)(i,m),D=(0,n.useRef)({}).current,O=(0,u.isUndefined)(o)?t.fallback[m]:o,A=(e,r)=>{for(let t in D)if("data"===t){if(!d(e[t],r[t])&&(!(0,u.isUndefined)(e[t])||!d(X,r[t])))return!1}else if(r[t]!==e[t])return!1;return!0},P=(0,n.useMemo)(()=>{let e=!!m&&!!r&&((0,u.isUndefined)(f)?!L.current.isPaused()&&!c&&(!!(0,u.isUndefined)(E)||E):f),t=r=>{let t=(0,u.mergeObjects)(r);return(delete t._k,e)?{isValidating:!0,isLoading:!0,...t}:t},n=k(),i=F(),a=t(n),l=n===i?a:t(i),s=a;return[()=>{let e=t(k());return A(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>l]},[i,m]),H=(0,a.useSyncExternalStore)((0,n.useCallback)(e=>w(m,(r,t)=>{A(t,r)||e()}),[i,m]),P[0],P[1]),z=!I.current,G=U[m]&&U[m].length>0,M=H.data,j=(0,u.isUndefined)(M)?O:M,W=H.error,x=(0,n.useRef)(j),X=h?(0,u.isUndefined)(M)?x.current:M:j,Y=(!G||!!(0,u.isUndefined)(W))&&(z&&!(0,u.isUndefined)(f)?f:!L.current.isPaused()&&(c?!(0,u.isUndefined)(j)&&E:(0,u.isUndefined)(j)||E)),q=!!(m&&r&&z&&Y),B=(0,u.isUndefined)(H.isValidating)?q:H.isValidating,J=(0,u.isUndefined)(H.isLoading)?q:H.isLoading,K=(0,n.useCallback)(async e=>{let r,n,i=N.current;if(!m||!i||T.current||L.current.isPaused())return!1;let a=!0,l=e||{},s=!b[m]||!l.dedupe,c=()=>u.IS_REACT_LEGACY?!T.current&&m===V.current&&I.current:m===V.current,o={isValidating:!1,isLoading:!1},f=()=>{y(o)},E=()=>{let e=b[m];e&&e[1]===n&&delete b[m]},g={isValidating:!0};(0,u.isUndefined)(k().data)&&(g.isLoading=!0);try{if(s&&(y(g),t.loadingTimeout&&(0,u.isUndefined)(k().data)&&setTimeout(()=>{a&&c()&&L.current.onLoadingSlow(m,t)},t.loadingTimeout),b[m]=[i(v),(0,u.getTimestamp)()]),[r,n]=b[m],r=await r,s&&setTimeout(E,t.dedupingInterval),!b[m]||b[m][1]!==n)return s&&c()&&L.current.onDiscarded(m),!1;o.error=u.UNDEFINED;let e=R[m];if(!(0,u.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),s&&c()&&L.current.onDiscarded(m),!1;let l=k().data;o.data=d(l,r)?l:r,s&&c()&&L.current.onSuccess(r,m,t)}catch(t){E();let e=L.current,{shouldRetryOnError:r}=e;!e.isPaused()&&(o.error=t,s&&c()&&(e.onError(t,m,e),(!0===r||(0,u.isFunction)(r)&&r(t))&&(!L.current.revalidateOnFocus||!L.current.revalidateOnReconnect||S())&&e.onErrorRetry(t,m,e,e=>{let r=U[m];r&&r[0]&&r[0](u.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return a=!1,f(),!0},[m,i]),Q=(0,n.useCallback)((...e)=>(0,u.internalMutate)(i,V.current,...e),[]);if((0,u.useIsomorphicLayoutEffect)(()=>{N.current=r,L.current=t,(0,u.isUndefined)(M)||(x.current=M)}),(0,u.useIsomorphicLayoutEffect)(()=>{if(!m)return;let e=K.bind(u.UNDEFINED,s),r=0,t=(0,u.subscribeCallback)(m,U,(t,n={})=>{if(t==u.revalidateEvents.FOCUS_EVENT){let t=Date.now();L.current.revalidateOnFocus&&t>r&&S()&&(r=t+L.current.focusThrottleInterval,e())}else if(t==u.revalidateEvents.RECONNECT_EVENT)L.current.revalidateOnReconnect&&S()&&e();else if(t==u.revalidateEvents.MUTATE_EVENT)return K();else if(t==u.revalidateEvents.ERROR_REVALIDATE_EVENT)return K(n)});return T.current=!1,V.current=m,I.current=!0,y({_k:v}),Y&&((0,u.isUndefined)(j)||u.IS_SERVER?e():(0,u.rAF)(e)),()=>{T.current=!0,t()}},[m]),(0,u.useIsomorphicLayoutEffect)(()=>{let e;function r(){let r=(0,u.isFunction)(g)?g(k().data):g;r&&-1!==e&&(e=setTimeout(t,r))}function t(){!k().error&&(_||L.current.isVisible())&&(p||L.current.isOnline())?K(s).then(r):r()}return r(),()=>{e&&(clearTimeout(e),e=-1)}},[g,_,p,m]),(0,n.useDebugValue)(X),c&&(0,u.isUndefined)(j)&&m){if(!u.IS_REACT_LEGACY&&u.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");N.current=r,L.current=t,T.current=!1;let e=C[m];if((0,u.isUndefined)(e)||l(Q(e)),(0,u.isUndefined)(W)){let e=K(s);(0,u.isUndefined)(X)||(e.status="fulfilled",e.value=!0),l(e)}else throw W}return{mutate:Q,get data(){return D.data=!0,X},get error(){return D.error=!0,W},get isValidating(){return D.isValidating=!0,B},get isLoading(){return D.isLoading=!0,J}}}),c=e=>(0,u.serialize)(e?e(0,null):null)[0],o=e=>u.INFINITE_PREFIX+c(e),f=Promise.resolve(),E=e=>(r,t,i)=>{let l,s=(0,n.useRef)(!1),{cache:d,initialSize:o=1,revalidateAll:E=!1,persistSize:g=!1,revalidateFirstPage:_=!0,revalidateOnMount:p=!1,parallel:h=!1}=i,[,,,U]=u.SWRGlobalState.get(u.cache);try{(l=c(r))&&(l=u.INFINITE_PREFIX+l)}catch(e){}let[R,b,C]=(0,u.createCacheHelper)(d,l),m=(0,n.useCallback)(()=>(0,u.isUndefined)(R()._l)?o:R()._l,[d,l,o]);(0,a.useSyncExternalStore)((0,n.useCallback)(e=>l?C(l,()=>{e()}):()=>{},[d,l]),m,m);let v=(0,n.useCallback)(()=>{let e=R()._l;return(0,u.isUndefined)(e)?o:e},[l,o]),I=(0,n.useRef)(v());(0,u.useIsomorphicLayoutEffect)(()=>{if(!s.current){s.current=!0;return}l&&b({_l:g?I.current:v()})},[l,d]);let T=p&&!s.current,V=e(l,async e=>{let n=R()._i,a=R()._r;b({_r:u.UNDEFINED});let l=[],s=v(),[c]=(0,u.createCacheHelper)(d,e),o=c().data,f=[],g=null;for(let e=0;e<s;++e){let[s,c]=(0,u.serialize)(r(e,h?null:g));if(!s)break;let[p,R]=(0,u.createCacheHelper)(d,s),b=p().data,C=E||n||(0,u.isUndefined)(b)||_&&!e&&!(0,u.isUndefined)(o)||T||o&&!(0,u.isUndefined)(o[e])&&!i.compare(o[e],b);if(t&&("function"==typeof a?a(b,c):C)){let r=async()=>{if(s in U){let e=U[s];delete U[s],b=await e}else b=await t(c);R({data:b,_k:c}),l[e]=b};h?f.push(r):await r()}else l[e]=b;h||(g=b)}return h&&await Promise.all(f.map(e=>e())),b({_i:u.UNDEFINED}),l},i),N=(0,n.useCallback)(function(e,r){let t="boolean"==typeof r?{revalidate:r}:r||{},n=!1!==t.revalidate;return l?(n&&((0,u.isUndefined)(e)?b({_i:!0,_r:t.revalidate}):b({_i:!1,_r:t.revalidate})),arguments.length?V.mutate(e,{...t,revalidate:n}):V.mutate()):f},[l,d]),L=(0,n.useCallback)(e=>{let t;if(!l)return f;let[,n]=(0,u.createCacheHelper)(d,l);if((0,u.isFunction)(e)?t=e(v()):"number"==typeof e&&(t=e),"number"!=typeof t)return f;n({_l:t}),I.current=t;let i=[],[a]=(0,u.createCacheHelper)(d,l),s=null;for(let e=0;e<t;++e){let[t]=(0,u.serialize)(r(e,s)),[n]=(0,u.createCacheHelper)(d,t),l=t?n().data:u.UNDEFINED;if((0,u.isUndefined)(l))return N(a().data);i.push(l),s=l}return N(i)},[l,d,N,v]);return{size:v(),setSize:L,mutate:N,get data(){return V.data},get error(){return V.error},get isValidating(){return V.isValidating},get isLoading(){return V.isLoading}}},g=(0,u.withMiddleware)(d,E)}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1578.js","sources":["webpack://@openmrs/esm-billing-app/./node_modules/swr/dist/infinite/index.mjs"],"names":["i","s","c","f","setTimeout","r","u","t","Date","clearTimeout","Error","Promise","e","arguments"],"mappings":"oQAMA,IAAM,EAAM,SAAqB,CAAC,IAC9B,GAAI,AAAmB,YAAnB,EAAQ,MAAM,CACd,MAAM,EACH,GAAI,AAAmB,cAAnB,EAAQ,MAAM,CACrB,OAAO,EAAQ,KAAK,CACjB,GAAI,AAAmB,aAAnB,EAAQ,MAAM,CACrB,MAAM,EAAQ,MAAM,AAUpB,OARA,EAAQ,MAAM,CAAG,UACjB,EAAQ,IAAI,CAAC,AAAC,IACV,EAAQ,MAAM,CAAG,YACjB,EAAQ,KAAK,CAAG,CACpB,EAAG,AAAC,IACA,EAAQ,MAAM,CAAG,WACjB,EAAQ,MAAM,CAAG,CACrB,GACM,CAEd,GACM,EAAc,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,AAAc,UAAd,OAAO,GACd,GAAO,CAAE,EAET,AAAe,UAAf,OAAO,EAAkB,OAAO,EACpC,EAAW,CACP,GAAI,CACR,GACA,EAAgB,OAAO,CAAG,EAE1B,IAAM,EAAO,EAAE,CACT,CAAC,EAAiB,CAAG,wBAAkB,EAAS,GAClD,EAAmB,KACvB,IAAI,IAAI,EAAI,EAAG,EAAI,EAAM,EAAE,EAAE,CACzB,GAAM,CAAC,EAAQ,CAAG,gBAAU,EAAO,EAAG,IAChC,CAAC,EAAS,CAAG,wBAAkB,EAAS,GAExC,EAAW,EAAU,IAAW,IAAI,CAAG,WAAS,CAEtD,GAAI,kBAAY,GACZ,OAAO,EAAO,IAAmB,IAAI,EAEzC,EAAK,IAAI,CAAC,GACV,EAAmB,CACvB,CACA,OAAO,EAAO,EAClB,EAEA,CACI,EACA,EACA,EACA,EACH,EAGD,MAAO,CACH,KAAM,IACN,UACA,SACA,IAAI,MAAQ,CACR,OAAO,EAAI,IAAI,AACnB,EACA,IAAI,OAAS,CACT,OAAO,EAAI,KAAK,AACpB,EACA,IAAI,cAAgB,CAChB,OAAO,EAAI,YAAY,AAC3B,EACA,IAAI,WAAa,CACb,OAAO,EAAI,SAAS,AACxB,CACJ,CACJ,EACE,EAAiB,qBAAe,EAAQ,E"}
package/dist/1646.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1646"],{88349(e){e.exports=JSON.parse('{"action":"Action","add":"Add","addBillableService":"Add billable service","addBillItems":"Add bill items","addCashPoint":"Add cash point","addItemsToBill":"Add items to bill","addNewBillableService":"Add new billable service","addNewCashPoint":"Add new cash point","addNewPaymentMode":"Add new payment mode","addNewService":"Add new service","addPaymentMode":"Add payment mode","addPaymentOption":"Add payment option","address":"Address","adjusted":"Adjusted","all":"All","allBills":"All bills","alreadyRefunded":"Already refunded","amount":"Amount","amountAfterRefund":"Amount after refund","amountBalance":"Amount balance","amountDue":"Amount due","amountDueOnBillAfterDiscount":"Amount due on bill after discount","amountExceedsRefundable":"Amount cannot exceed {{max}}","amountMustBePositive":"Amount must be greater than 0","amountPaid":"Amount paid","amountRequired":"Amount is required","amountTendered":"Amount tendered","approve":"Approve","approveBlocked":"Cannot approve discount","approveBlockedExceedsLineTotal":"Approving this refund would exceed the line item total.","approveBlockedExceedsTotal":"Approving this refund would exceed the bill total.","approveBlockedNegativeDue":"Approving this discount would push the amount due below zero.","approveBlockedRefund":"Cannot approve refund","approved":"Approved","approvedRefundPendingPayout":"Approved refund (pending payout)","approveFailed":"Approve failed","associatedConcept":"Associated concept","awaitingCashierProcessing":"Awaiting cashier processing","balance":"Balance","billableService":"Billable service","billableServiceCreated":"Billable service created","billableServiceCreatedSuccessfully":"Billable service created successfully","billableServiceForm":"Billable service form","billableServices":"Billable services","billableServices__lower":"billable services","billableServicesManagement":"Billable services management","billableServiceUpdated":"Billable service updated","billableServiceUpdatedSuccessfully":"Billable service updated successfully","billAmount":"Bill amount","billCreatedSuccessfully":"Bill created successfully","billCreationError":"Bill creation error","billDate":"Bill date","billDeleted":"Bill deleted","billDeleteFailed":"Failed to delete bill","billDeleteSuccess":"Bill deleted successfully","billDiscounts":"Bill discounts","billedItems":"Billed items","billErrorService":"Billing service error","billFinalized":"Bill finalized","billFinalizedSuccess":"Bill has been finalized successfully","billFinalizeFailed":"Failed to finalize bill","billing":"Billing","billingDetails":"Billing details","billingHistory":"Billing history","billingSettings":"Billing settings","billItem":"Bill item","billJustificationPlaceholder":"e.g., hardship assistance, charity case, write-off","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billLoadFailed":"Failed to load bill","billLoadFailedSubtitle":"Bill data could not be loaded. Please close and try again.","billMetrics":"Bill metrics","billNotFound":"Bill details could not be loaded","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has a pending bill. Advise the patient to settle the bill before receiving services","billProcessed":"Bill processed","billProcessedSuccessfully":"Bill processed successfully","billProcessingError":"Bill processing error","billReasonPlaceholder":"e.g., payment made in error, duplicate payment","billRefunds":"Bill refunds","billTotal":"Bill total","billTotalLabel":"Bill total {{total}}","birthDate":"Date of birth","cashier":"Cashier","cashPointConfig":"Cash point configuration","cashPointHistory":"Cash point history","cashPointLocation":"Cash point location","cashPointName":"Cash point name","cashPointNamePlaceholder":"For example, Pharmacy Cash Point","cashPointNameRequired":"Cash point name is required","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","childUnder5":"Child under 5","clearSearch":"Clear","completed":"Completed","confirmDelete":"Confirm delete","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","confirmedDiscounts":"Confirmed discounts","confirmReject":"Confirm reject","createBill":"Create bill","cumulativeBills":"Cumulative bills","currentNet":"Current net","currentPrice":"Current price","date":"Date","dateAndTime":"Date and time","dateBillCreated":"Date bill created","dateOfPayment":"Date of payment","decidedRefunds":"Decided refunds","delete":"Delete","deleteBill":"Delete bill","deleteBillConfirmation":"Are you sure you want to delete bill {{receiptNumber}}? This action cannot be undone.","deleteBillFailedTryAgain":"Unable to delete bill. Please try again.","deleteBillReasonPlaceholder":"Enter the reason for deleting this bill","deleteBlocked":"Cannot delete discount","deleteBlockedFullyPaid":"An approved discount cannot be removed once the bill is fully paid.","deleteConfirm":"Delete this discount?","deleteConfirmation":"Are you sure you want to delete \\"{{itemName}}\\" from this bill?","deleteConfirmRefund":"Delete this refund?","deleteFailed":"Delete failed","deleteFailedTryAgain":"Unable to delete line item. Please try again.","deleteLineItem":"Delete line item","deletePaymentMode":"Delete payment mode","deleteReason":"Reason for deletion","deleteReasonPlaceholder":"Enter the reason for removing this line item from the bill","deleting":"Deleting","description":"Description","descriptionPlaceholder":"For example, Used for all cash transactions","discard":"Discard","discount":"Discount","discountAmount":"Amount","discountApproved":"Discount approved","discountDeleted":"Discount deleted","discountExceedsAmountDue":"Discount cannot exceed the amount due","discountExceedsLineTotal":"Discount cannot exceed the line item total","discountItem":"Item","discountLabel":"Discount","discountPendingReview":"An admin will review your request","discountRejected":"Discount rejected","discountRequested":"Discount request submitted","discountRequestFailed":"Could not submit discount request","discountRequests":"Discount requests","discounts":"Discounts","discountsAppliedToBill":"Discounts applied to this bill","discountScope":"Scope","discountSummary":"Discount summary","discountType":"Type","discountWithPercent":"Discount ({{percent}}%)","editBillableService":"Edit billable service","editBillLineItem":"Edit bill line item","editPaymentMode":"Edit payment mode","enterAmount":"Enter amount","enterReferenceNumber":"Enter reference number","enterSellingPrice":"Enter selling price","enterServiceName":"Enter service name","enterServiceShortName":"Enter service short name","errorCreatingBill":"An error occurred while creating the bill","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorLoadingBill":"Error loading bill","errorLoadingBillableServices":"Error loading billable services","errorLoadingBillServices":"Error loading bill services","errorLoadingLastVisit":"An error occurred while loading the last visit","errorLoadingPaymentModes":"Error loading payment modes","errorPrintingInvoice":"Error printing invoice","errorProcessingPayment":"Error processing payment","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","existingItems":"Existing items","filterBillsByPatient":"Filter bills by patient name or identifier","filterBy":"Filter by:","filterTable":"Filter table","finalize":"Finalize","finalizeBill":"Finalize bill","finalizeBillConfirmation":"Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.","finalizeFailedTryAgain":"Unable to finalize bill. Please try again.","finalizing":"Finalizing","fixedAmount":"Fixed amount","gender":"Gender","grandTotal":"Grand total","home":"Home","ifPendingApproved":"If pending discounts approved","insuranceScheme":"Insurance scheme","invalidUuidFormat":"Invalid UUID format","inventoryItem":"Inventory item","invoice":"Invoice","invoiceDate":"Invoice date","invoiceError":"Invoice error","invoiceLabel":"Invoice {{number}}","invoiceLineItems":"Invoice line items","invoiceNo":"Invoice #","invoiceNumber":"Invoice number","invoiceStatus":"Invoice status","invoiceSummary":"Invoice summary","issued":"Issued","item":"Item","itemsAddedToBill":"Items added to bill","itemsAddedToBillSuccessfully":"Items have been added to the bill successfully","itemsToBeBilled":"Items to be billed","justification":"Justification","justificationTooLong":"Justification cannot exceed 1000 characters","lastVisitError":"Last visit error","lastVisitInfo":"Last Visit Information","lastVisitMsg_one":"The last visit was a {{type}} {{count}} day ago at {{location}}","lastVisitMsg_other":"The last visit was a {{type}} {{count}} days ago at {{location}}","lineAfterDiscount":"Line after discount","lineItemCount_one":"{{count}} line items","lineItemCount_other":"{{count}} line items","lineItemDeleted":"Line item deleted","lineItemDeleteFailed":"Failed to delete line item","lineItemDeleteSuccess":"Bill line item deleted successfully","lineItemJustificationPlaceholder":"e.g., damaged item, wrong quantity billed, expired stock","lineItemReasonPlaceholder":"e.g., duplicate charge, wrong item billed","lineItems":"Line items","lineItemUpdated":"Line item updated","lineItemUpdateErrorDefault":"Unable to update the bill line item. Please try again.","lineItemUpdateFailed":"Failed to update line item","lineItemUpdateSuccess":"The bill line item has been updated successfully","lineTotal":"Line total","lineTotalLabel":"Line total {{total}}","loading":"Loading data","loadingBillInfo":"Loading bill information","loadingBillingServices":"Loading billing services","loadingBillItems":"Loading bill items","loadingBillMetrics":"Loading bill metrics","loadingDescription":"Loading","location":"Location","locationRequired":"Location is required","manageBillableServices":"Manage billable services","method":"Method","name":"Name","netAmount":"Net amount","newItems":"New items","nextPage":"Next page","no":"No","noBillsToDisplay":"There are no bills to display.","noDiscountRequestsToDisplay":"There are no discount requests to display.","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","nonPaying":"Non paying","nonPayingInfo":"Any services rendered to non-paying patients will not be billed","noRefundableAmount":"No refundable amount remaining on this bill","noRefundRequestsToDisplay":"There are no refund requests to display.","noResultsFor":"No results for {{searchTerm}}","number":"Number","ok":"OK","outstanding":"Outstanding","paid":"Paid","PAID":"PAID","paidBills":"Paid bills","partially_refunded":"Partially refunded","patient":"Patient","patientBill":"Patient bill","patientBillingAlert":"Patient billing alert","patientCategory":"Patient category","patientIdentifier":"Patient identifier","patientInformation":"Patient information","patientName":"Patient name","paying":"Paying","paymentAmountCannotExceedAmountDue":"Payment amount cannot exceed amount due","paymentDetails":"Payment details","paymentHistory":"Payment History","paymentMethod":"Payment method","paymentMethodRequired":"Payment method is required for all items","paymentMode":"Payment mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment mode history","paymentModeNameLabel":"Payment mode name","paymentModeNamePlaceholder":"For example, Cash, Credit Card","paymentModeNameRequired":"Payment mode name is required","paymentModeNameToDelete":"Payment mode name: {{paymentModeName}}","paymentModeRequired":"Payment mode is required","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment modes configuration","paymentOptionRequired":"At least one payment option is required","paymentProcessedSuccessfully":"Payment processed successfully","payments":"Payments","paymentsReceived":"Payments received","pending":"Pending","pendingBills":"Pending bills","pendingConfirmationBills":"Pending confirmation","pendingDiscounts":"Pending discounts","pendingPaymentBills":"Pending payment","pendingRefundBills":"Pending refunds","percentage":"Percentage","percentageTooHigh":"Value cannot exceed 100","policyNumber":"Policy number","posted":"Posted","previousPage":"Previous page","price":"Price","priceIsRequired":"Price is required","priceMustBeNonNegative":"Price must be 0 or greater","priceMustBeNumber":"Price must be a valid number","priceMustBePositive":"Price must be greater than 0","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processing":"Processing","processPayment":"Process payment","processRefund":"Process refund","projectedNet":"Projected net","qty":"Qty","qtyTimesPrice":"Qty {{quantity}} \xd7 {{price}}","quantity":"Quantity","quantityCannotExceed100":"Quantity cannot exceed 100","quantityMustBeAtLeastOne":"Quantity must be at least 1","quantityMustBeInteger":"Quantity must be a whole number","quantityMustBeNumber":"Quantity must be a valid number","quantityRequired":"Quantity is required","reason":"Reason","reasonForDiscount":"Reason for discount","reasonForRefund":"Reason for refund","reasonTooLong":"Reason cannot exceed 1000 characters","receiptNumber":"Receipt #","referenceNumber":"Reference number","refund_requested":"Refund requested","refundAmount":"Refund amount","refundAmountLabel":"Refund amount ({{currency}})","refundApproved":"Refund approved","refundDeleted":"Refund deleted","refunded":"Refunded","refundedBills":"Refunded bills","refundInProgress":"A refund is already in progress for one or more line items","refundItem":"Item","refundPaidOut":"Refund paid out","refundPendingReview":"An admin will review your request","refundProcessed":"Refund processed","refundProcessFailed":"Could not process refund","refundRejected":"Refund rejected","refundRequested":"Refund request submitted","refundRequestFailed":"Could not submit refund request","refundRequests":"Refund requests","refunds":"Refunds","refundScope":"Refund scope","refundsOnBill":"Refunds on this bill","refundSummary":"Refund summary","refundUnavailable":"Refund unavailable","refundUnavailableSubtitle":"Bill amount could not be determined. Please reload and try again.","reject":"Reject","rejectConfirm":"Reject this discount?","rejectConfirmRefund":"Reject this refund?","rejected":"Rejected","rejectFailed":"Reject failed","remove":"Remove","requestDiscount":"Request discount","requested":"Requested","requestedBy":"Requested by","requestedRefunds":"Requested refunds","requestRefund":"Request refund","reviewDiscounts":"Review discounts","reviewRefunds":"Review refunds","saveAndClose":"Save and close","saving":"Saving","searchByPatientOrBill":"Search by patient name or bill #","searchConcepts":"Search associated concept","searchDiscountRequests":"Search discount requests","searchForPatient":"Search for a patient by name","searching":"Searching","searchItems":"Search items and services","searchRefundRequests":"Search refund requests","searchThisTable":"Search this table","selectBillableService":"Select a billable service","selectedItems":"Selected items","selectLocation":"Select location","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","selectPaymentMode":"Select payment mode","selectServiceType":"Select service type","sellingPrice":"Selling price","serviceList":"Service list","serviceName":"Service name","serviceNameExceedsLimit":"Service name cannot exceed {{MAX_NAME_LENGTH}} characters","serviceNameRequired":"Service name is required","serviceResolutionError":"Could not resolve service \\"{{service}}\\"","servicesList":"Services list","serviceStatus":"Service status","serviceType":"Service type","serviceTypeRequired":"Service type is required","shortName":"Short name","shortNameExceedsLimit":"Short name cannot exceed {{MAX_NAME_LENGTH}} characters","showInformation":"Show information","status":"Service status","student":"Student","submitRequest":"Submit request","submitting":"Submitting","subtotal":"Subtotal","success":"Success","tendered":"Tendered","total":"Total","totalAmount":"Total amount","totalPaid":"Total paid","totalPendingPayout":"Total pending payout","totalRefunded":"Total refunded","totalTendered":"Total tendered","unitPrice":"Unit price","unitPriceHelperText":"This is the unit price for this item","unknownBillError":"An unexpected error occurred","UNPAID":"UNPAID","uuid":"UUID","uuidRequired":"UUID is required","validationError":"Validation error","valueAmountLabel":"Value ({{currency}})","valueMustBePositive":"Value must be greater than 0","valuePercentLabel":"Value (%)","wholeBill":"Whole bill","wholeBillScope":"Whole bill"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1646.js","sources":["webpack://@openmrs/esm-billing-app/json|/home/runner/work/openmrs-esm-billing-app/openmrs-esm-billing-app/translations/es_MX.json"],"names":["JSON"],"mappings":"4IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,quhB"}
package/dist/1869.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1869"],{99900(e){e.exports=JSON.parse('{"action":"Action","add":"Add","addBillableService":"Add billable service","addBillItems":"Add bill items","addCashPoint":"Add cash point","addItemsToBill":"Add items to bill","addNewBillableService":"Add new billable service","addNewCashPoint":"Add new cash point","addNewPaymentMode":"Add new payment mode","addNewService":"Add new service","addPaymentMode":"Add payment mode","addPaymentOption":"Add payment option","address":"Address","adjusted":"Adjusted","all":"All","allBills":"All bills","alreadyRefunded":"Already refunded","amount":"Amount","amountAfterRefund":"Amount after refund","amountBalance":"Amount balance","amountDue":"Amount due","amountDueOnBillAfterDiscount":"Amount due on bill after discount","amountExceedsRefundable":"Amount cannot exceed {{max}}","amountMustBePositive":"Amount must be greater than 0","amountPaid":"Amount paid","amountRequired":"Amount is required","amountTendered":"Amount tendered","approve":"Approve","approveBlocked":"Cannot approve discount","approveBlockedExceedsLineTotal":"Approving this refund would exceed the line item total.","approveBlockedExceedsTotal":"Approving this refund would exceed the bill total.","approveBlockedNegativeDue":"Approving this discount would push the amount due below zero.","approveBlockedRefund":"Cannot approve refund","approved":"Approved","approvedRefundPendingPayout":"Approved refund (pending payout)","approveFailed":"Approve failed","associatedConcept":"Associated concept","awaitingCashierProcessing":"Awaiting cashier processing","balance":"Balance","billableService":"Billable service","billableServiceCreated":"Billable service created","billableServiceCreatedSuccessfully":"Billable service created successfully","billableServiceForm":"Billable service form","billableServices":"Billable services","billableServices__lower":"billable services","billableServicesManagement":"Billable services management","billableServiceUpdated":"Billable service updated","billableServiceUpdatedSuccessfully":"Billable service updated successfully","billAmount":"Bill amount","billCreatedSuccessfully":"Bill created successfully","billCreationError":"Bill creation error","billDate":"Bill date","billDeleted":"Bill deleted","billDeleteFailed":"Failed to delete bill","billDeleteSuccess":"Bill deleted successfully","billDiscounts":"Bill discounts","billedItems":"Billed items","billErrorService":"Billing service error","billFinalized":"Bill finalized","billFinalizedSuccess":"Bill has been finalized successfully","billFinalizeFailed":"Failed to finalize bill","billing":"Billing","billingDetails":"Billing details","billingHistory":"Billing history","billingSettings":"Billing settings","billItem":"Bill item","billJustificationPlaceholder":"e.g., hardship assistance, charity case, write-off","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billLoadFailed":"Failed to load bill","billLoadFailedSubtitle":"Bill data could not be loaded. Please close and try again.","billMetrics":"Bill metrics","billNotFound":"Bill details could not be loaded","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has a pending bill. Advise the patient to settle the bill before receiving services","billProcessed":"Bill processed","billProcessedSuccessfully":"Bill processed successfully","billProcessingError":"Bill processing error","billReasonPlaceholder":"e.g., payment made in error, duplicate payment","billRefunds":"Bill refunds","billTotal":"Bill total","billTotalLabel":"Bill total {{total}}","birthDate":"Date of birth","cashier":"Cashier","cashPointConfig":"Cash point configuration","cashPointHistory":"Cash point history","cashPointLocation":"Cash point location","cashPointName":"Cash point name","cashPointNamePlaceholder":"For example, Pharmacy Cash Point","cashPointNameRequired":"Cash point name is required","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","childUnder5":"Child under 5","clearSearch":"Clear","completed":"Completed","confirmDelete":"Confirm delete","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","confirmedDiscounts":"Confirmed discounts","confirmReject":"Confirm reject","createBill":"Create bill","cumulativeBills":"Cumulative bills","currentNet":"Current net","currentPrice":"Current price","date":"Date","dateAndTime":"Date and time","dateBillCreated":"Date bill created","dateOfPayment":"Date of payment","decidedRefunds":"Decided refunds","delete":"Delete","deleteBill":"Delete bill","deleteBillConfirmation":"Are you sure you want to delete bill {{receiptNumber}}? This action cannot be undone.","deleteBillFailedTryAgain":"Unable to delete bill. Please try again.","deleteBillReasonPlaceholder":"Enter the reason for deleting this bill","deleteBlocked":"Cannot delete discount","deleteBlockedFullyPaid":"An approved discount cannot be removed once the bill is fully paid.","deleteConfirm":"Delete this discount?","deleteConfirmation":"Are you sure you want to delete \\"{{itemName}}\\" from this bill?","deleteConfirmRefund":"Delete this refund?","deleteFailed":"Delete failed","deleteFailedTryAgain":"Unable to delete line item. Please try again.","deleteLineItem":"Delete line item","deletePaymentMode":"Delete payment mode","deleteReason":"Reason for deletion","deleteReasonPlaceholder":"Enter the reason for removing this line item from the bill","deleting":"Deleting","description":"Description","descriptionPlaceholder":"For example, Used for all cash transactions","discard":"Discard","discount":"Discount","discountAmount":"Amount","discountApproved":"Discount approved","discountDeleted":"Discount deleted","discountExceedsAmountDue":"Discount cannot exceed the amount due","discountExceedsLineTotal":"Discount cannot exceed the line item total","discountItem":"Item","discountLabel":"Discount","discountPendingReview":"An admin will review your request","discountRejected":"Discount rejected","discountRequested":"Discount request submitted","discountRequestFailed":"Could not submit discount request","discountRequests":"Discount requests","discounts":"Discounts","discountsAppliedToBill":"Discounts applied to this bill","discountScope":"Scope","discountSummary":"Discount summary","discountType":"Type","discountWithPercent":"Discount ({{percent}}%)","editBillableService":"Edit billable service","editBillLineItem":"Edit bill line item","editPaymentMode":"Edit payment mode","enterAmount":"Enter amount","enterReferenceNumber":"Enter reference number","enterSellingPrice":"Enter selling price","enterServiceName":"Enter service name","enterServiceShortName":"Enter service short name","errorCreatingBill":"An error occurred while creating the bill","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorLoadingBill":"Error loading bill","errorLoadingBillableServices":"Error loading billable services","errorLoadingBillServices":"Error loading bill services","errorLoadingLastVisit":"An error occurred while loading the last visit","errorLoadingPaymentModes":"Error loading payment modes","errorPrintingInvoice":"Error printing invoice","errorProcessingPayment":"Error processing payment","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","existingItems":"Existing items","filterBillsByPatient":"Filter bills by patient name or identifier","filterBy":"Filter by:","filterTable":"Filter table","finalize":"Finalize","finalizeBill":"Finalize bill","finalizeBillConfirmation":"Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.","finalizeFailedTryAgain":"Unable to finalize bill. Please try again.","finalizing":"Finalizing","fixedAmount":"Fixed amount","gender":"Gender","grandTotal":"Grand total","home":"Home","ifPendingApproved":"If pending discounts approved","insuranceScheme":"Insurance scheme","invalidUuidFormat":"Invalid UUID format","inventoryItem":"Inventory item","invoice":"Invoice","invoiceDate":"Invoice date","invoiceError":"Invoice error","invoiceLabel":"Invoice {{number}}","invoiceLineItems":"Invoice line items","invoiceNo":"Invoice #","invoiceNumber":"Invoice number","invoiceStatus":"Invoice status","invoiceSummary":"Invoice summary","issued":"Issued","item":"Item","itemsAddedToBill":"Items added to bill","itemsAddedToBillSuccessfully":"Items have been added to the bill successfully","itemsToBeBilled":"Items to be billed","justification":"Justification","justificationTooLong":"Justification cannot exceed 1000 characters","lastVisitError":"Last visit error","lastVisitInfo":"Last Visit Information","lastVisitMsg_one":"The last visit was a {{type}} {{count}} day ago at {{location}}","lastVisitMsg_other":"The last visit was a {{type}} {{count}} days ago at {{location}}","lineAfterDiscount":"Line after discount","lineItemCount_one":"{{count}} line items","lineItemCount_other":"{{count}} line items","lineItemDeleted":"Line item deleted","lineItemDeleteFailed":"Failed to delete line item","lineItemDeleteSuccess":"Bill line item deleted successfully","lineItemJustificationPlaceholder":"e.g., damaged item, wrong quantity billed, expired stock","lineItemReasonPlaceholder":"e.g., duplicate charge, wrong item billed","lineItems":"Line items","lineItemUpdated":"Line item updated","lineItemUpdateErrorDefault":"Unable to update the bill line item. Please try again.","lineItemUpdateFailed":"Failed to update line item","lineItemUpdateSuccess":"The bill line item has been updated successfully","lineTotal":"Line total","lineTotalLabel":"Line total {{total}}","loading":"Loading data","loadingBillInfo":"Loading bill information","loadingBillingServices":"Loading billing services","loadingBillItems":"Loading bill items","loadingBillMetrics":"Loading bill metrics","loadingDescription":"Loading","location":"Location","locationRequired":"Location is required","manageBillableServices":"Manage billable services","method":"Method","name":"Name","netAmount":"Net amount","newItems":"New items","nextPage":"Next page","no":"No","noBillsToDisplay":"There are no bills to display.","noDiscountRequestsToDisplay":"There are no discount requests to display.","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","nonPaying":"Non paying","nonPayingInfo":"Any services rendered to non-paying patients will not be billed","noRefundableAmount":"No refundable amount remaining on this bill","noRefundRequestsToDisplay":"There are no refund requests to display.","noResultsFor":"No results for {{searchTerm}}","number":"Number","ok":"OK","outstanding":"Outstanding","paid":"Paid","PAID":"PAID","paidBills":"Paid bills","partially_refunded":"Partially refunded","patient":"Patient","patientBill":"Patient bill","patientBillingAlert":"Patient billing alert","patientCategory":"Patient category","patientIdentifier":"Patient identifier","patientInformation":"Patient information","patientName":"Patient name","paying":"Paying","paymentAmountCannotExceedAmountDue":"Payment amount cannot exceed amount due","paymentDetails":"Payment details","paymentHistory":"Payment History","paymentMethod":"Payment method","paymentMethodRequired":"Payment method is required for all items","paymentMode":"Payment mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment mode history","paymentModeNameLabel":"Payment mode name","paymentModeNamePlaceholder":"For example, Cash, Credit Card","paymentModeNameRequired":"Payment mode name is required","paymentModeNameToDelete":"Payment mode name: {{paymentModeName}}","paymentModeRequired":"Payment mode is required","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment modes configuration","paymentOptionRequired":"At least one payment option is required","paymentProcessedSuccessfully":"Payment processed successfully","payments":"Payments","paymentsReceived":"Payments received","pending":"Pending","pendingBills":"Pending bills","pendingConfirmationBills":"Pending confirmation","pendingDiscounts":"Pending discounts","pendingPaymentBills":"Pending payment","pendingRefundBills":"Pending refunds","percentage":"Percentage","percentageTooHigh":"Value cannot exceed 100","policyNumber":"Policy number","posted":"Posted","previousPage":"Previous page","price":"Price","priceIsRequired":"Price is required","priceMustBeNonNegative":"Price must be 0 or greater","priceMustBeNumber":"Price must be a valid number","priceMustBePositive":"Price must be greater than 0","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processing":"Processing","processPayment":"Process payment","processRefund":"Process refund","projectedNet":"Projected net","qty":"Qty","qtyTimesPrice":"Qty {{quantity}} \xd7 {{price}}","quantity":"Quantity","quantityCannotExceed100":"Quantity cannot exceed 100","quantityMustBeAtLeastOne":"Quantity must be at least 1","quantityMustBeInteger":"Quantity must be a whole number","quantityMustBeNumber":"Quantity must be a valid number","quantityRequired":"Quantity is required","reason":"Reason","reasonForDiscount":"Reason for discount","reasonForRefund":"Reason for refund","reasonTooLong":"Reason cannot exceed 1000 characters","receiptNumber":"Receipt #","referenceNumber":"Reference number","refund_requested":"Refund requested","refundAmount":"Refund amount","refundAmountLabel":"Refund amount ({{currency}})","refundApproved":"Refund approved","refundDeleted":"Refund deleted","refunded":"Refunded","refundedBills":"Refunded bills","refundInProgress":"A refund is already in progress for one or more line items","refundItem":"Item","refundPaidOut":"Refund paid out","refundPendingReview":"An admin will review your request","refundProcessed":"Refund processed","refundProcessFailed":"Could not process refund","refundRejected":"Refund rejected","refundRequested":"Refund request submitted","refundRequestFailed":"Could not submit refund request","refundRequests":"Refund requests","refunds":"Refunds","refundScope":"Refund scope","refundsOnBill":"Refunds on this bill","refundSummary":"Refund summary","refundUnavailable":"Refund unavailable","refundUnavailableSubtitle":"Bill amount could not be determined. Please reload and try again.","reject":"Reject","rejectConfirm":"Reject this discount?","rejectConfirmRefund":"Reject this refund?","rejected":"Rejected","rejectFailed":"Reject failed","remove":"Remove","requestDiscount":"Request discount","requested":"Requested","requestedBy":"Requested by","requestedRefunds":"Requested refunds","requestRefund":"Request refund","reviewDiscounts":"Review discounts","reviewRefunds":"Review refunds","saveAndClose":"Save and close","saving":"Saving","searchByPatientOrBill":"Search by patient name or bill #","searchConcepts":"Search associated concept","searchDiscountRequests":"Search discount requests","searchForPatient":"Search for a patient by name","searching":"Searching","searchItems":"Search items and services","searchRefundRequests":"Search refund requests","searchThisTable":"Search this table","selectBillableService":"Select a billable service","selectedItems":"Selected items","selectLocation":"Select location","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","selectPaymentMode":"Select payment mode","selectServiceType":"Select service type","sellingPrice":"Selling price","serviceList":"Service list","serviceName":"Service name","serviceNameExceedsLimit":"Service name cannot exceed {{MAX_NAME_LENGTH}} characters","serviceNameRequired":"Service name is required","serviceResolutionError":"Could not resolve service \\"{{service}}\\"","servicesList":"Services list","serviceStatus":"Service status","serviceType":"Service type","serviceTypeRequired":"Service type is required","shortName":"Short name","shortNameExceedsLimit":"Short name cannot exceed {{MAX_NAME_LENGTH}} characters","showInformation":"Show information","status":"Service status","student":"Student","submitRequest":"Submit request","submitting":"Submitting","subtotal":"Subtotal","success":"Success","tendered":"Tendered","total":"Total","totalAmount":"Total amount","totalPaid":"Total paid","totalPendingPayout":"Total pending payout","totalRefunded":"Total refunded","totalTendered":"Total tendered","unitPrice":"Unit price","unitPriceHelperText":"This is the unit price for this item","unknownBillError":"An unexpected error occurred","UNPAID":"UNPAID","uuid":"UUID","uuidRequired":"UUID is required","validationError":"Validation error","valueAmountLabel":"Value ({{currency}})","valueMustBePositive":"Value must be greater than 0","valuePercentLabel":"Value (%)","wholeBill":"Whole bill","wholeBillScope":"Whole bill"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1869.js","sources":["webpack://@openmrs/esm-billing-app/json|/home/runner/work/openmrs-esm-billing-app/openmrs-esm-billing-app/translations/tr_TR.json"],"names":["JSON"],"mappings":"4IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,quhB"}
package/dist/1877.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1877"],{36468(e){e.exports=JSON.parse('{"action":"Action","add":"Add","addBillableService":"Add billable service","addBillItems":"Add bill items","addCashPoint":"Add cash point","addItemsToBill":"Add items to bill","addNewBillableService":"Add new billable service","addNewCashPoint":"Add new cash point","addNewPaymentMode":"Add new payment mode","addNewService":"Add new service","addPaymentMode":"Add payment mode","addPaymentOption":"Add payment option","address":"Address","adjusted":"Adjusted","all":"All","allBills":"All bills","alreadyRefunded":"Already refunded","amount":"Amount","amountAfterRefund":"Amount after refund","amountBalance":"Amount balance","amountDue":"Amount due","amountDueOnBillAfterDiscount":"Amount due on bill after discount","amountExceedsRefundable":"Amount cannot exceed {{max}}","amountMustBePositive":"Amount must be greater than 0","amountPaid":"Amount paid","amountRequired":"Amount is required","amountTendered":"Amount tendered","approve":"Approve","approveBlocked":"Cannot approve discount","approveBlockedExceedsLineTotal":"Approving this refund would exceed the line item total.","approveBlockedExceedsTotal":"Approving this refund would exceed the bill total.","approveBlockedNegativeDue":"Approving this discount would push the amount due below zero.","approveBlockedRefund":"Cannot approve refund","approved":"Approved","approvedRefundPendingPayout":"Approved refund (pending payout)","approveFailed":"Approve failed","associatedConcept":"Associated concept","awaitingCashierProcessing":"Awaiting cashier processing","balance":"Balance","billableService":"Billable service","billableServiceCreated":"Billable service created","billableServiceCreatedSuccessfully":"Billable service created successfully","billableServiceForm":"Billable service form","billableServices":"Billable services","billableServices__lower":"billable services","billableServicesManagement":"Billable services management","billableServiceUpdated":"Billable service updated","billableServiceUpdatedSuccessfully":"Billable service updated successfully","billAmount":"Bill amount","billCreatedSuccessfully":"Bill created successfully","billCreationError":"Bill creation error","billDate":"Bill date","billDeleted":"Bill deleted","billDeleteFailed":"Failed to delete bill","billDeleteSuccess":"Bill deleted successfully","billDiscounts":"Bill discounts","billedItems":"Billed items","billErrorService":"Billing service error","billFinalized":"Bill finalized","billFinalizedSuccess":"Bill has been finalized successfully","billFinalizeFailed":"Failed to finalize bill","billing":"Billing","billingDetails":"Billing details","billingHistory":"Billing history","billingSettings":"Billing settings","billItem":"Bill item","billJustificationPlaceholder":"e.g., hardship assistance, charity case, write-off","billLineItemEmpty":"This bill has no line items","billList":"Bill list","billLoadFailed":"Failed to load bill","billLoadFailedSubtitle":"Bill data could not be loaded. Please close and try again.","billMetrics":"Bill metrics","billNotFound":"Bill details could not be loaded","billPayment":"Bill payment","billPaymentError":"Bill payment error","billPaymentRequiredMessage":"The current patient has a pending bill. Advise the patient to settle the bill before receiving services","billProcessed":"Bill processed","billProcessedSuccessfully":"Bill processed successfully","billProcessingError":"Bill processing error","billReasonPlaceholder":"e.g., payment made in error, duplicate payment","billRefunds":"Bill refunds","billTotal":"Bill total","billTotalLabel":"Bill total {{total}}","birthDate":"Date of birth","cashier":"Cashier","cashPointConfig":"Cash point configuration","cashPointHistory":"Cash point history","cashPointLocation":"Cash point location","cashPointName":"Cash point name","cashPointNamePlaceholder":"For example, Pharmacy Cash Point","cashPointNameRequired":"Cash point name is required","cashPointSaved":"Cash point was successfully saved.","cashPointUuid":"Cash point UUID","cashPointUuidPlaceholder":"Enter UUID","checkFilters":"Check the filters above","childUnder5":"Child under 5","clearSearch":"Clear","completed":"Completed","confirmDelete":"Confirm delete","confirmDeleteMessage":"Are you sure you want to delete this payment mode? Proceed cautiously.","confirmedDiscounts":"Confirmed discounts","confirmReject":"Confirm reject","createBill":"Create bill","cumulativeBills":"Cumulative bills","currentNet":"Current net","currentPrice":"Current price","date":"Date","dateAndTime":"Date and time","dateBillCreated":"Date bill created","dateOfPayment":"Date of payment","decidedRefunds":"Decided refunds","delete":"Delete","deleteBill":"Delete bill","deleteBillConfirmation":"Are you sure you want to delete bill {{receiptNumber}}? This action cannot be undone.","deleteBillFailedTryAgain":"Unable to delete bill. Please try again.","deleteBillReasonPlaceholder":"Enter the reason for deleting this bill","deleteBlocked":"Cannot delete discount","deleteBlockedFullyPaid":"An approved discount cannot be removed once the bill is fully paid.","deleteConfirm":"Delete this discount?","deleteConfirmation":"Are you sure you want to delete \\"{{itemName}}\\" from this bill?","deleteConfirmRefund":"Delete this refund?","deleteFailed":"Delete failed","deleteFailedTryAgain":"Unable to delete line item. Please try again.","deleteLineItem":"Delete line item","deletePaymentMode":"Delete payment mode","deleteReason":"Reason for deletion","deleteReasonPlaceholder":"Enter the reason for removing this line item from the bill","deleting":"Deleting","description":"Description","descriptionPlaceholder":"For example, Used for all cash transactions","discard":"Discard","discount":"Discount","discountAmount":"Amount","discountApproved":"Discount approved","discountDeleted":"Discount deleted","discountExceedsAmountDue":"Discount cannot exceed the amount due","discountExceedsLineTotal":"Discount cannot exceed the line item total","discountItem":"Item","discountLabel":"Discount","discountPendingReview":"An admin will review your request","discountRejected":"Discount rejected","discountRequested":"Discount request submitted","discountRequestFailed":"Could not submit discount request","discountRequests":"Discount requests","discounts":"Discounts","discountsAppliedToBill":"Discounts applied to this bill","discountScope":"Scope","discountSummary":"Discount summary","discountType":"Type","discountWithPercent":"Discount ({{percent}}%)","editBillableService":"Edit billable service","editBillLineItem":"Edit bill line item","editPaymentMode":"Edit payment mode","enterAmount":"Enter amount","enterReferenceNumber":"Enter reference number","enterSellingPrice":"Enter selling price","enterServiceName":"Enter service name","enterServiceShortName":"Enter service short name","errorCreatingBill":"An error occurred while creating the bill","errorDeletingPaymentMode":"An error occurred while deleting the payment mode.","errorFetchingCashPoints":"An error occurred while fetching cash points.","errorFetchingLocations":"An error occurred while fetching locations.","errorLoadingBill":"Error loading bill","errorLoadingBillableServices":"Error loading billable services","errorLoadingBillServices":"Error loading bill services","errorLoadingLastVisit":"An error occurred while loading the last visit","errorLoadingPaymentModes":"Error loading payment modes","errorPrintingInvoice":"Error printing invoice","errorProcessingPayment":"Error processing payment","errorSavingCashPoint":"An error occurred while saving the cash point.","errorSavingPaymentMode":"An error occurred while saving the payment mode.","existingItems":"Existing items","filterBillsByPatient":"Filter bills by patient name or identifier","filterBy":"Filter by:","filterTable":"Filter table","finalize":"Finalize","finalizeBill":"Finalize bill","finalizeBillConfirmation":"Are you sure you want to finalize this bill? Once finalized, no further modifications to the bill will be allowed.","finalizeFailedTryAgain":"Unable to finalize bill. Please try again.","finalizing":"Finalizing","fixedAmount":"Fixed amount","gender":"Gender","grandTotal":"Grand total","home":"Home","ifPendingApproved":"If pending discounts approved","insuranceScheme":"Insurance scheme","invalidUuidFormat":"Invalid UUID format","inventoryItem":"Inventory item","invoice":"Invoice","invoiceDate":"Invoice date","invoiceError":"Invoice error","invoiceLabel":"Invoice {{number}}","invoiceLineItems":"Invoice line items","invoiceNo":"Invoice #","invoiceNumber":"Invoice number","invoiceStatus":"Invoice status","invoiceSummary":"Invoice summary","issued":"Issued","item":"Item","itemsAddedToBill":"Items added to bill","itemsAddedToBillSuccessfully":"Items have been added to the bill successfully","itemsToBeBilled":"Items to be billed","justification":"Justification","justificationTooLong":"Justification cannot exceed 1000 characters","lastVisitError":"Last visit error","lastVisitInfo":"Last Visit Information","lastVisitMsg_one":"The last visit was a {{type}} {{count}} day ago at {{location}}","lastVisitMsg_other":"The last visit was a {{type}} {{count}} days ago at {{location}}","lineAfterDiscount":"Line after discount","lineItemCount_one":"{{count}} line items","lineItemCount_other":"{{count}} line items","lineItemDeleted":"Line item deleted","lineItemDeleteFailed":"Failed to delete line item","lineItemDeleteSuccess":"Bill line item deleted successfully","lineItemJustificationPlaceholder":"e.g., damaged item, wrong quantity billed, expired stock","lineItemReasonPlaceholder":"e.g., duplicate charge, wrong item billed","lineItems":"Line items","lineItemUpdated":"Line item updated","lineItemUpdateErrorDefault":"Unable to update the bill line item. Please try again.","lineItemUpdateFailed":"Failed to update line item","lineItemUpdateSuccess":"The bill line item has been updated successfully","lineTotal":"Line total","lineTotalLabel":"Line total {{total}}","loading":"Loading data","loadingBillInfo":"Loading bill information","loadingBillingServices":"Loading billing services","loadingBillItems":"Loading bill items","loadingBillMetrics":"Loading bill metrics","loadingDescription":"Loading","location":"Location","locationRequired":"Location is required","manageBillableServices":"Manage billable services","method":"Method","name":"Name","netAmount":"Net amount","newItems":"New items","nextPage":"Next page","no":"No","noBillsToDisplay":"There are no bills to display.","noDiscountRequestsToDisplay":"There are no discount requests to display.","noMatchingBillsToDisplay":"No matching bills to display","noMatchingItemsToDisplay":"No matching items to display","noMatchingServicesToDisplay":"No matching services to display","nonPaying":"Non paying","nonPayingInfo":"Any services rendered to non-paying patients will not be billed","noRefundableAmount":"No refundable amount remaining on this bill","noRefundRequestsToDisplay":"There are no refund requests to display.","noResultsFor":"No results for {{searchTerm}}","number":"Number","ok":"OK","outstanding":"Outstanding","paid":"Paid","PAID":"PAID","paidBills":"Paid bills","partially_refunded":"Partially refunded","patient":"Patient","patientBill":"Patient bill","patientBillingAlert":"Patient billing alert","patientCategory":"Patient category","patientIdentifier":"Patient identifier","patientInformation":"Patient information","patientName":"Patient name","paying":"Paying","paymentAmountCannotExceedAmountDue":"Payment amount cannot exceed amount due","paymentDetails":"Payment details","paymentHistory":"Payment History","paymentMethod":"Payment method","paymentMethodRequired":"Payment method is required for all items","paymentMode":"Payment mode","paymentModeDeleted":"Payment mode was successfully deleted.","paymentModeHistory":"Payment mode history","paymentModeNameLabel":"Payment mode name","paymentModeNamePlaceholder":"For example, Cash, Credit Card","paymentModeNameRequired":"Payment mode name is required","paymentModeNameToDelete":"Payment mode name: {{paymentModeName}}","paymentModeRequired":"Payment mode is required","paymentModeSaved":"Payment mode was successfully saved.","paymentModesConfig":"Payment modes configuration","paymentOptionRequired":"At least one payment option is required","paymentProcessedSuccessfully":"Payment processed successfully","payments":"Payments","paymentsReceived":"Payments received","pending":"Pending","pendingBills":"Pending bills","pendingConfirmationBills":"Pending confirmation","pendingDiscounts":"Pending discounts","pendingPaymentBills":"Pending payment","pendingRefundBills":"Pending refunds","percentage":"Percentage","percentageTooHigh":"Value cannot exceed 100","policyNumber":"Policy number","posted":"Posted","previousPage":"Previous page","price":"Price","priceIsRequired":"Price is required","priceMustBeNonNegative":"Price must be 0 or greater","priceMustBeNumber":"Price must be a valid number","priceMustBePositive":"Price must be greater than 0","prices":"Prices","printBill":"Print bill","printReceipt":"Print receipt","processing":"Processing","processPayment":"Process payment","processRefund":"Process refund","projectedNet":"Projected net","qty":"Qty","qtyTimesPrice":"Qty {{quantity}} \xd7 {{price}}","quantity":"Quantity","quantityCannotExceed100":"Quantity cannot exceed 100","quantityMustBeAtLeastOne":"Quantity must be at least 1","quantityMustBeInteger":"Quantity must be a whole number","quantityMustBeNumber":"Quantity must be a valid number","quantityRequired":"Quantity is required","reason":"Reason","reasonForDiscount":"Reason for discount","reasonForRefund":"Reason for refund","reasonTooLong":"Reason cannot exceed 1000 characters","receiptNumber":"Receipt #","referenceNumber":"Reference number","refund_requested":"Refund requested","refundAmount":"Refund amount","refundAmountLabel":"Refund amount ({{currency}})","refundApproved":"Refund approved","refundDeleted":"Refund deleted","refunded":"Refunded","refundedBills":"Refunded bills","refundInProgress":"A refund is already in progress for one or more line items","refundItem":"Item","refundPaidOut":"Refund paid out","refundPendingReview":"An admin will review your request","refundProcessed":"Refund processed","refundProcessFailed":"Could not process refund","refundRejected":"Refund rejected","refundRequested":"Refund request submitted","refundRequestFailed":"Could not submit refund request","refundRequests":"Refund requests","refunds":"Refunds","refundScope":"Refund scope","refundsOnBill":"Refunds on this bill","refundSummary":"Refund summary","refundUnavailable":"Refund unavailable","refundUnavailableSubtitle":"Bill amount could not be determined. Please reload and try again.","reject":"Reject","rejectConfirm":"Reject this discount?","rejectConfirmRefund":"Reject this refund?","rejected":"Rejected","rejectFailed":"Reject failed","remove":"Remove","requestDiscount":"Request discount","requested":"Requested","requestedBy":"Requested by","requestedRefunds":"Requested refunds","requestRefund":"Request refund","reviewDiscounts":"Review discounts","reviewRefunds":"Review refunds","saveAndClose":"Save and close","saving":"Saving","searchByPatientOrBill":"Search by patient name or bill #","searchConcepts":"Search associated concept","searchDiscountRequests":"Search discount requests","searchForPatient":"Search for a patient by name","searching":"Searching","searchItems":"Search items and services","searchRefundRequests":"Search refund requests","searchThisTable":"Search this table","selectBillableService":"Select a billable service","selectedItems":"Selected items","selectLocation":"Select location","selectPatientCategory":"Select patient category","selectPaymentMethod":"Select payment method","selectPaymentMode":"Select payment mode","selectServiceType":"Select service type","sellingPrice":"Selling price","serviceList":"Service list","serviceName":"Service name","serviceNameExceedsLimit":"Service name cannot exceed {{MAX_NAME_LENGTH}} characters","serviceNameRequired":"Service name is required","serviceResolutionError":"Could not resolve service \\"{{service}}\\"","servicesList":"Services list","serviceStatus":"Service status","serviceType":"Service type","serviceTypeRequired":"Service type is required","shortName":"Short name","shortNameExceedsLimit":"Short name cannot exceed {{MAX_NAME_LENGTH}} characters","showInformation":"Show information","status":"Service status","student":"Student","submitRequest":"Submit request","submitting":"Submitting","subtotal":"Subtotal","success":"Success","tendered":"Tendered","total":"Total","totalAmount":"Total amount","totalPaid":"Total paid","totalPendingPayout":"Total pending payout","totalRefunded":"Total refunded","totalTendered":"Total tendered","unitPrice":"Unit price","unitPriceHelperText":"This is the unit price for this item","unknownBillError":"An unexpected error occurred","UNPAID":"UNPAID","uuid":"UUID","uuidRequired":"UUID is required","validationError":"Validation error","valueAmountLabel":"Value ({{currency}})","valueMustBePositive":"Value must be greater than 0","valuePercentLabel":"Value (%)","wholeBill":"Whole bill","wholeBillScope":"Whole bill"}')}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1877.js","sources":["webpack://@openmrs/esm-billing-app/json|/home/runner/work/openmrs-esm-billing-app/openmrs-esm-billing-app/translations/pt_BR.json"],"names":["JSON"],"mappings":"4IAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,quhB"}
package/dist/1899.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_billing_app=globalThis.webpackChunk_openmrs_esm_billing_app||[]).push([["1899"],{11444(e,n,t){t.d(n,{A:()=>r});var i=t(54991),l=t.n(i),a=t(76314),o=t.n(a)()(l());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-billing__billing-form__tablet___depIv{padding:1.5rem 1rem;background-color:#fff}.-esm-billing__billing-form__desktop___XrIGU{padding:0rem}.-esm-billing__billing-form__button___\\+KaHL{height:4rem;display:flex;align-content:flex-start;align-items:baseline;min-width:50%}.-esm-billing__billing-form__button___\\+KaHL .cds--inline-loading{min-height:1rem !important}.-esm-billing__billing-form__button___\\+KaHL .cds--inline-loading__text{font-size:unset !important}.-esm-billing__billing-form__mt2___XSCej{margin-top:2rem}.-esm-billing__billing-form__searchContent___rwtx-{position:absolute;background-color:#fff;min-width:230px;overflow:auto;border:1px solid #ddd;z-index:1;width:92%}.-esm-billing__billing-form__searchItem___gJRX7{border-bottom:.1rem solid;border-bottom-color:silver;cursor:pointer}.-esm-billing__billing-form__invalidInput___-CFhJ{border:2px solid red}.-esm-billing__billing-form__removeButton___JOb\\+t{color:#ee0909;right:20px;cursor:pointer}.-esm-billing__billing-form__form___dOD1L{display:flex;flex-direction:column;justify-content:space-between;height:calc(100vh - 6rem)}.omrs-breakpoint-lt-desktop .-esm-billing__billing-form__form___dOD1L{background-color:#ededed}.omrs-breakpoint-gt-tablet .-esm-billing__billing-form__form___dOD1L{background-color:#fff}.-esm-billing__billing-form__grid___bVIsN{margin:1rem;display:flex;flex-direction:column;gap:1rem}.-esm-billing__billing-form__row___kfkPE{margin:.5rem 0rem 0rem;display:flex;flex-flow:row wrap;gap:1rem}.-esm-billing__billing-form__spacer___5WyoB{margin-top:1rem}.-esm-billing__billing-form__existingItemsContainer___ONfRE{padding:1rem;background-color:#f4f4f4;border:1px solid #e0e0e0;border-radius:.25rem}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #e0e0e0}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ:last-of-type{border-bottom:none}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ .-esm-billing__billing-form__existingItemName___X3S0u{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);flex:1;color:#525252}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ .-esm-billing__billing-form__existingItemDetail___LDqAI{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);flex:0 0 auto;color:#525252;margin:0 1rem}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemRow___ZDzhJ .-esm-billing__billing-form__existingItemTotal___orcdj{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);flex:0 0 auto;color:#525252}.-esm-billing__billing-form__existingItemsContainer___ONfRE .-esm-billing__billing-form__existingItemsSubtotal___YO4s5{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px);text-align:right;padding-top:.75rem;border-top:1px solid #e0e0e0;margin-top:.5rem;color:#525252}.-esm-billing__billing-form__sectionHeading___HFgo1{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);margin-bottom:.75rem;color:#525252}.-esm-billing__billing-form__selectedItemsContainer___EgCXw{margin-top:1rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa{border:1px solid #e0e0e0;border-radius:.25rem;padding:1rem;margin-bottom:1rem;background-color:#f4f4f4}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemHeader___IPVIh{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemHeader___IPVIh .-esm-billing__billing-form__itemName___0pvcY{font-weight:600;font-size:1rem;color:#525252}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem;align-items:flex-end}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb{display:flex;flex-direction:column;min-width:0}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:first-child{flex:1 1 auto;min-width:250px}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:nth-child(2){flex:0 0 140px;width:140px}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:last-child{flex:0 0 180px;width:180px;margin-left:auto;text-align:right}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb label{font-size:.875rem;font-weight:500;margin-bottom:.5rem;color:#525252;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--list-box,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--number,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--combo-box,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--list-box__wrapper,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .cds--list-box__field{width:100% !important;max-width:100% !important;min-width:0 !important}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .-esm-billing__billing-form__priceDisplay___MN5Zc,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb .-esm-billing__billing-form__totalDisplay___mNY6D{font-size:.875rem;font-size:.875rem;font-weight:600;color:#525252;padding:.5rem 0;word-break:break-word}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__grandTotal___a5c-8{text-align:right;padding:1rem;border-top:2px solid #0f62fe;margin-top:1rem;background-color:#f4f4f4;font-size:1.125rem;font-weight:600;color:#525252}@media(max-width: 1056px){.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:nth-child(2){flex:1 1 100%;width:100%}}@media(max-width: 768px){.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa{padding:.75rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO{flex-direction:column;gap:.5rem}.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:first-child,.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:nth-child(2),.-esm-billing__billing-form__selectedItemsContainer___EgCXw .-esm-billing__billing-form__itemCard___-qABa .-esm-billing__billing-form__itemControls___T4bKO .-esm-billing__billing-form__controlSection___OAlFb:last-child{flex:1 1 100%;width:100%;max-width:100%}}","",{version:3,sources:["webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/billing-form/billing-form.scss","webpack://./node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,4CACE,mBAAA,CACA,qBDHM,CCMR,6CACE,YAAA,CAGF,6CACE,WC0CW,CDzCX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,aAAA,CAEA,kEACE,0BAAA,CAGF,wEACE,0BAAA,CAIJ,yCACE,eCWW,CDRb,mDACE,iBAAA,CACA,qBAAA,CACA,eAAA,CACA,aAAA,CACA,qBAAA,CACA,SAAA,CACA,SAAA,CAGF,gDACE,yBAAA,CACA,0BAAA,CACA,cAAA,CAGF,kDACE,oBAAA,CAGF,mDACE,aAAA,CACA,UAAA,CACA,cAAA,CAGF,0CACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,yBAAA,CAGF,sEACE,wBAAA,CAGF,qEACE,qBDpEM,CCuER,0CACE,WC5CW,CD6CX,YAAA,CACA,qBAAA,CACA,QC/CW,CDkDb,yCACE,sBAAA,CACA,YAAA,CACA,kBAAA,CACA,QCtDW,CDyDb,4CACE,eC1DW,CD6Db,4DACE,YC9DW,CD+DX,wBD5FM,CC6FN,wBAAA,CACA,oBChFW,CDkFX,iHACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,eAAA,CACA,+BAAA,CAEA,8HACE,kBAAA,CAGF,uKEqvBA,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CFnvBE,MAA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,CAAA,CAQZ,yBAEI,0GACE,cCxOO,CD0OP,4JACE,qBAAA,CACA,SCjPK,CDoPH,opBAGE,aAAA,CACA,UAAA,CACA,cAAA,CAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.tablet {\n padding: layout.$spacing-06 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.desktop {\n padding: 0rem;\n}\n\n.button {\n height: layout.$spacing-10;\n display: flex;\n align-content: flex-start;\n align-items: baseline;\n min-width: 50%;\n\n :global(.cds--inline-loading) {\n min-height: layout.$spacing-05 !important;\n }\n\n :global(.cds--inline-loading__text) {\n font-size: unset !important;\n }\n}\n\n.mt2 {\n margin-top: layout.$spacing-07;\n}\n\n.searchContent {\n position: absolute;\n background-color: #fff;\n min-width: 230px;\n overflow: auto;\n border: 1px solid #ddd;\n z-index: 1;\n width: 92%;\n}\n\n.searchItem {\n border-bottom: 0.1rem solid;\n border-bottom-color: silver;\n cursor: pointer;\n}\n\n.invalidInput {\n border: 2px solid red;\n}\n\n.removeButton {\n color: #ee0909;\n right: 20px;\n cursor: pointer;\n}\n\n.form {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: calc(100vh - 6rem);\n}\n\n:global(.omrs-breakpoint-lt-desktop) .form {\n background-color: #ededed;\n}\n\n:global(.omrs-breakpoint-gt-tablet) .form {\n background-color: $ui-02;\n}\n\n.grid {\n margin: layout.$spacing-05;\n display: flex;\n flex-direction: column;\n gap: layout.$spacing-05;\n}\n\n.row {\n margin: layout.$spacing-03 0rem 0rem;\n display: flex;\n flex-flow: row wrap;\n gap: layout.$spacing-05;\n}\n\n.spacer {\n margin-top: layout.$spacing-05;\n}\n\n.existingItemsContainer {\n padding: layout.$spacing-05;\n background-color: $ui-01;\n border: 1px solid $ui-03;\n border-radius: layout.$spacing-02;\n\n .existingItemRow {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-03 0;\n border-bottom: 1px solid $ui-03;\n\n &:last-of-type {\n border-bottom: none;\n }\n\n .existingItemName {\n @include type.type-style('body-compact-01');\n flex: 1;\n color: $text-02;\n }\n\n .existingItemDetail {\n @include type.type-style('body-compact-01');\n flex: 0 0 auto;\n color: $text-02;\n margin: 0 layout.$spacing-05;\n }\n\n .existingItemTotal {\n @include type.type-style('heading-compact-01');\n flex: 0 0 auto;\n color: $text-02;\n }\n }\n\n .existingItemsSubtotal {\n @include type.type-style('body-compact-01');\n text-align: right;\n padding-top: layout.$spacing-04;\n border-top: 1px solid $ui-03;\n margin-top: layout.$spacing-03;\n color: $text-02;\n }\n}\n\n.sectionHeading {\n @include type.type-style('heading-compact-02');\n margin-bottom: layout.$spacing-04;\n color: $text-02;\n}\n\n.selectedItemsContainer {\n margin-top: layout.$spacing-05;\n \n .itemCard {\n border: 1px solid $ui-03;\n border-radius: layout.$spacing-02;\n padding: layout.$spacing-05;\n margin-bottom: layout.$spacing-05;\n background-color: $ui-01;\n \n .itemHeader {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: layout.$spacing-05;\n \n .itemName {\n font-weight: 600;\n font-size: 1rem;\n color: $text-02;\n }\n }\n \n .itemControls {\n display: flex;\n flex-wrap: wrap;\n gap: layout.$spacing-05;\n margin-top: layout.$spacing-03;\n align-items: flex-end; .controlSection {\n display: flex;\n flex-direction: column;\n min-width: 0;\n \n &:first-child {\n flex: 1 1 auto;\n min-width: 250px;\n }\n \n &:nth-child(2) {\n flex: 0 0 140px;\n width: 140px;\n }\n \n &:last-child {\n flex: 0 0 180px;\n width: 180px;\n margin-left: auto;\n text-align: right;\n }\n \n label {\n font-size: 0.875rem;\n font-weight: 500;\n margin-bottom: layout.$spacing-03;\n color: $text-02;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n \n :global(.cds--list-box),\n :global(.cds--number),\n :global(.cds--combo-box),\n :global(.cds--list-box__wrapper),\n :global(.cds--list-box__field) {\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n }\n \n .priceDisplay,\n .totalDisplay {\n font-size: 0.875rem;\n font-size: 0.875rem;\n font-weight: 600;\n color: $text-02;\n padding: layout.$spacing-03 0;\n word-break: break-word;\n }\n }\n }\n }\n \n .grandTotal {\n text-align: right;\n padding: layout.$spacing-05;\n border-top: 2px solid $interactive-01;\n margin-top: layout.$spacing-05;\n background-color: $ui-01;\n font-size: 1.125rem;\n font-weight: 600;\n color: $text-02;\n }\n}\n\n@media (max-width: 1056px) {\n .selectedItemsContainer {\n .itemCard {\n .itemControls {\n .controlSection {\n &:nth-child(2) {\n flex: 1 1 100%;\n width: 100%;\n }\n }\n }\n }\n }\n}\n\n@media (max-width: 768px) {\n .selectedItemsContainer {\n .itemCard {\n padding: layout.$spacing-04;\n \n .itemControls {\n flex-direction: column;\n gap: layout.$spacing-03;\n \n .controlSection {\n &:first-child,\n &:nth-child(2),\n &:last-child {\n flex: 1 1 100%;\n width: 100%;\n max-width: 100%;\n }\n }\n }\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={tablet:"-esm-billing__billing-form__tablet___depIv",desktop:"-esm-billing__billing-form__desktop___XrIGU",button:"-esm-billing__billing-form__button___+KaHL",mt2:"-esm-billing__billing-form__mt2___XSCej",searchContent:"-esm-billing__billing-form__searchContent___rwtx-",searchItem:"-esm-billing__billing-form__searchItem___gJRX7",invalidInput:"-esm-billing__billing-form__invalidInput___-CFhJ",removeButton:"-esm-billing__billing-form__removeButton___JOb+t",form:"-esm-billing__billing-form__form___dOD1L",grid:"-esm-billing__billing-form__grid___bVIsN",row:"-esm-billing__billing-form__row___kfkPE",spacer:"-esm-billing__billing-form__spacer___5WyoB",existingItemsContainer:"-esm-billing__billing-form__existingItemsContainer___ONfRE",existingItemRow:"-esm-billing__billing-form__existingItemRow___ZDzhJ",existingItemName:"-esm-billing__billing-form__existingItemName___X3S0u",existingItemDetail:"-esm-billing__billing-form__existingItemDetail___LDqAI",existingItemTotal:"-esm-billing__billing-form__existingItemTotal___orcdj",existingItemsSubtotal:"-esm-billing__billing-form__existingItemsSubtotal___YO4s5",sectionHeading:"-esm-billing__billing-form__sectionHeading___HFgo1",selectedItemsContainer:"-esm-billing__billing-form__selectedItemsContainer___EgCXw",itemCard:"-esm-billing__billing-form__itemCard___-qABa",itemHeader:"-esm-billing__billing-form__itemHeader___IPVIh",itemName:"-esm-billing__billing-form__itemName___0pvcY",itemControls:"-esm-billing__billing-form__itemControls___T4bKO",controlSection:"-esm-billing__billing-form__controlSection___OAlFb",priceDisplay:"-esm-billing__billing-form__priceDisplay___MN5Zc",totalDisplay:"-esm-billing__billing-form__totalDisplay___mNY6D",grandTotal:"-esm-billing__billing-form__grandTotal___a5c-8"};let r=o},50662(e,n,t){t.r(n),t.d(n,{default:()=>T});var i=t(15275),l=t.n(i),a=t(38395),o=t(59324),r=t(76800),s=t(43137),c=t(46199),p=t(36994),g=t(87661),m=t(32373),d=t(95084),_=t(85072),u=t.n(_),b=t(97825),f=t.n(b),h=t(77659),y=t.n(h),A=t(55056),C=t.n(A),$=t(10540),w=t.n($),x=t(41113),v=t.n(x),k=t(11444),E={};E.styleTagTransform=v(),E.setAttributes=C(),E.insert=y().bind(null,"head"),E.domAPI=f(),E.insertStyleElement=w(),u()(k.A,E);let I=k.A&&k.A.locals?k.A.locals:void 0;function z(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function B(e,n,t,i,l,a,o){try{var r=e[a](o),s=r.value}catch(e){t(e);return}r.done?n(s):Promise.resolve(s).then(i,l)}function D(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(n){var i;i=t[n],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return e}function M(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function O(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,i,l=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var a=[],o=!0,r=!1;try{for(l=l.call(e);!(o=(t=l.next()).done)&&(a.push(t.value),!n||a.length!==n);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==l.return||l.return()}finally{if(r)throw i}}return a}}(e,n)||N(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||N(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e,n){if(e){if("string"==typeof e)return z(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return z(e,n)}}let T=function(e){var n=e.workspaceProps,t=n.patientUuid,_=n.onMutate,u=n.billUuid,b=e.closeWorkspace,f="tablet"===(0,s.useLayoutType)(),h=(0,a.useTranslation)().t,y=(0,o.iX)().mutate,A=(0,s.useConfig)(),C=A.defaultCurrency,$=A.postBilledItems,w=O((0,i.useState)(!1),2),x=w[0],v=w[1],k=O((0,i.useState)([]),2),E=k[0],z=k[1],N=(0,c.ly)(),T=N.data,q=N.error,F=N.isLoading,P=(0,c.DX)(u),H=P.bill,X=P.isLoading,j=P.error,G=(0,p.ly)(),K=G.billableServices,L=G.isLoading,R=G.error,W=!!u&&!!H,J=(0,s.useVisit)(t).activeVisit,U=(0,i.useMemo)(function(){return W?(0,m.Zz)(H.lineItems):0},[W,null==H?void 0:H.lineItems]),Y=(0,i.useMemo)(function(){if(!T)return[];if(!W)return T;var e,n=new Set((null!=(e=H.lineItems)?e:[]).flatMap(function(e){return[e.billableService,e.item].filter(Boolean)}));return T.filter(function(e){return e.name&&!n.has(e.name)})},[T,W,null==H?void 0:H.lineItems]),V=function(e){if(e){var n=E.find(function(n){return n.uuid===e.uuid});if(n){var t=M(D({},n),{quantity:n.quantity+1});z(S(E).map(function(n){return n.uuid===e.uuid?t:n}));return}var i=e.servicePrices||[],l=0,a=null;if(1===i.length){var o=i[0].price;l="number"==typeof o?o:parseFloat(o),a=i[0]}var r={uuid:e.uuid,display:e.name,quantity:1,price:l,billableService:e.uuid,status:d.zk.PENDING,lineItemOrder:0,selectedPaymentMethod:a,availablePaymentMethods:i};z(S(E).concat([r]))}},Z=function(e,n){z(S(E).map(function(t){return t.uuid===e?M(D({},t),{quantity:n}):t}))},Q=function(e){z(S(E).filter(function(n){return n.uuid!==e}))},ee=function(e,n){z(S(E).map(function(t){return t.uuid===e?M(D({},t),{selectedPaymentMethod:n,price:"number"==typeof n.price?n.price:parseFloat(n.price),priceName:n.name,priceUuid:n.uuid}):t}))},en=function(){if(0===E.length)return!1;var e=!0,n=!1,t=void 0;try{for(var i,l=E[Symbol.iterator]();!(e=(i=l.next()).done);e=!0){var a=i.value;if(a.availablePaymentMethods&&a.availablePaymentMethods.length>1&&!a.selectedPaymentMethod)return(0,s.showSnackbar)({title:h("validationError","Validation error"),subtitle:h("paymentMethodRequired","Payment method is required for all items"),kind:"error"}),!1;if(!a.quantity||a.quantity<1)return!1}}catch(e){n=!0,t=e}finally{try{e||null==l.return||l.return()}finally{if(n)throw t}}return!0},et=function(){var e;return(e=function(){var e,n,i,l,a;return function(e,n){var t,i,l,a={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),r=Object.defineProperty;return r(o,"next",{value:s(0)}),r(o,"throw",{value:s(1)}),r(o,"return",{value:s(2)}),"function"==typeof Symbol&&r(o,Symbol.iterator,{value:function(){return this}}),o;function s(r){return function(s){var c=[r,s];if(t)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(a=0)),a;)try{if(t=1,i&&(l=2&c[0]?i.return:c[0]?i.throw||((l=i.return)&&l.call(i),0):i.next)&&!(l=l.call(i,c[1])).done)return l;switch(i=0,l&&(c=[2&c[0],l.value]),c[0]){case 0:case 1:l=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(l=(l=a.trys).length>0&&l[l.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!l||c[1]>l[0]&&c[1]<l[3])){a.label=c[1];break}if(6===c[0]&&a.label<l[1]){a.label=l[1],l=c;break}if(l&&a.label<l[2]){a.label=l[2],a.ops.push(c);break}l[2]&&a.ops.pop(),a.trys.pop();continue}c=n.call(e,a)}catch(e){c=[6,e],i=0}finally{t=l=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(o){switch(o.label){case 0:if(x||0===E.length||W&&(L||R)||!en())return[2];v(!0),e=E.map(function(e){return{quantity:e.quantity,price:e.price,lineItemOrder:0,status:d.zk.PENDING,billableService:e.uuid}}),o.label=1;case 1:if(o.trys.push([1,6,7,8]),!W)return[3,3];return n=H.lineItems.map(function(e){var n=(0,g.e)(K,e.billableService||e.item);if(!n)throw Error(h("serviceResolutionError",'Could not resolve service "{{service}}"',{service:e.billableService||e.item}));return{uuid:e.uuid,quantity:e.quantity,price:e.price,lineItemOrder:e.lineItemOrder,status:e.status,billableService:n,priceName:e.priceName,priceUuid:e.priceUuid}}),i={cashPoint:H.cashPointUuid,cashier:H.cashier.uuid,lineItems:S(n).concat(S(e)),patient:H.patientUuid,status:H.status,uuid:H.uuid},[4,(0,c.FR)(i)];case 2:return o.sent(),[3,5];case 3:return l=D({cashPoint:$.cashPoint,cashier:$.cashier,lineItems:e,payments:[],patient:t,status:d.ih.PENDING},(null==J?void 0:J.uuid)&&{visit:J.uuid}),[4,(0,c.Xn)(l)];case 4:o.sent(),o.label=5;case 5:return b({discardUnsavedChanges:!0}),null==_||_(),y((0,c.Z5)(t)),(0,s.showSnackbar)({title:W?h("itemsAddedToBill","Items added to bill"):h("billProcessed","Bill processed"),subtitle:W?h("itemsAddedToBillSuccessfully","Items have been added to the bill successfully"):h("billProcessedSuccessfully","Bill processed successfully"),kind:"success"}),[3,8];case 6:var r;return a=o.sent(),(0,s.showSnackbar)({title:h("billProcessingError","Bill processing error"),kind:"error",subtitle:(null!=(r=Error)&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](a):a instanceof r)?a.message:h("unknownBillError","An unexpected error occurred")}),[3,8];case 7:return v(!1),[7];case 8:return[2]}})},function(){var n=this,t=arguments;return new Promise(function(i,l){var a=e.apply(n,t);function o(e){B(a,i,l,o,r,"next",e)}function r(e){B(a,i,l,o,r,"throw",e)}o(void 0)})})()};return l().createElement(s.Workspace2,{title:W?h("addItemsToBill","Add items to bill"):h("addBillItems","Add bill items"),hasUnsavedChanges:E.length>0},l().createElement(r.lVW,{className:I.form,onSubmit:function(e){e.preventDefault(),et()}},l().createElement("div",{className:I.grid},u&&X?l().createElement(r.OuH,{description:(0,s.getCoreTranslation)("loading")+"..."}):u&&j?l().createElement(r.jeF,{kind:"error",lowContrast:!0,title:h("errorLoadingBill","Error loading bill"),subtitle:null==j?void 0:j.message}):W&&R?l().createElement(r.jeF,{kind:"error",lowContrast:!0,title:h("errorLoadingBillableServices","Error loading billable services"),subtitle:null==R?void 0:R.message}):l().createElement(l().Fragment,null,W&&l().createElement("div",{className:I.existingItemsContainer},l().createElement("h4",{className:I.sectionHeading},h("existingItems","Existing items")),H.lineItems.map(function(e){return l().createElement("div",{key:e.uuid,className:I.existingItemRow},l().createElement("span",{className:I.existingItemName},e.billableService||e.item||e.display),l().createElement("span",{className:I.existingItemDetail},e.quantity," x ",(0,m.aL)(e.price,C)),l().createElement("span",{className:I.existingItemTotal},(0,m.aL)(e.price*e.quantity,C)))}),l().createElement("div",{className:I.existingItemsSubtotal},l().createElement("strong",null,h("subtotal","Subtotal"),": ",(0,m.aL)(U,C)))),W&&l().createElement("h4",{className:I.sectionHeading},h("newItems","New items")),F?l().createElement(r.OuH,{description:(0,s.getCoreTranslation)("loading")+"..."}):q?l().createElement(r.jeF,{kind:"error",lowContrast:!0,title:h("errorLoadingBillableServices","Error loading billable services"),subtitle:null==q?void 0:q.message}):l().createElement(r.a32,{id:"searchItems",onChange:function(e){return V(e.selectedItem)},itemToString:function(e){return(null==e?void 0:e.name)||""},items:Y,titleText:h("searchItems","Search items and services")})),E&&E.length>0&&l().createElement("div",{className:I.selectedItemsContainer},l().createElement("h4",{className:I.sectionHeading},h("selectedItems","Selected items")),E.map(function(e){return l().createElement("div",{key:e.uuid,className:I.itemCard},l().createElement("div",{className:I.itemHeader},l().createElement("span",{className:I.itemName},e.display),l().createElement(r.K0,{align:"top-end",kind:"ghost",label:h("remove","Remove"),onClick:function(){return Q(e.uuid)}},l().createElement(s.TrashCanIcon,{size:16}))),l().createElement("div",{className:I.itemControls},e.availablePaymentMethods&&e.availablePaymentMethods.length>1?l().createElement("div",{className:I.controlSection},l().createElement("label",null,h("selectPaymentMethod","Select payment method")),l().createElement(r.a32,{id:"payment-method-".concat(e.uuid),items:e.availablePaymentMethods,itemToString:function(e){return e?"".concat(e.name," - ").concat((0,m.aL)("number"==typeof e.price?e.price:parseFloat(e.price),C)):""},selectedItem:e.selectedPaymentMethod,onChange:function(n){var t=n.selectedItem;t&&ee(e.uuid,t)},placeholder:h("selectPaymentMethod","Select payment method"),titleText:""})):l().createElement("div",{className:I.controlSection},l().createElement("label",null,h("unitPrice","Unit price")),l().createElement("span",{className:I.priceDisplay},(0,m.aL)(e.price,C))),l().createElement("div",{className:I.controlSection},l().createElement("label",null,h("quantity","Quantity")),l().createElement(r.Q7x,{allowEmpty:!0,disableWheel:!0,hideSteppers:!0,id:"quantity-".concat(e.uuid),invalid:!e.quantity||e.quantity<1,invalidText:h("quantityMustBeAtLeastOne","Quantity must be at least 1"),onChange:function(n,t){var i=parseFloat(String(t.value));Z(e.uuid,isNaN(i)?0:i)},value:e.quantity})),l().createElement("div",{className:I.controlSection},l().createElement("label",null,h("total","Total")),l().createElement("span",{className:I.totalDisplay},(0,m.aL)(e.price*e.quantity,C)))))}),l().createElement("div",{className:I.grandTotal},l().createElement("strong",null,h("grandTotal","Grand total"),":"," ",(0,m.aL)(U+(0,m.Zz)(E),C))))),l().createElement(r.Te$,{className:f?I.tablet:I.desktop},l().createElement(r.$nd,{className:I.button,kind:"secondary",disabled:x,onClick:function(){return b({discardUnsavedChanges:!1})}},h("discard","Discard")),l().createElement(r.$nd,{className:I.button,kind:"primary",disabled:x||0===E.length||W&&L,type:"submit"},x?l().createElement(r.OuH,{description:h("saving","Saving")+"..."}):h("saveAndClose","Save and close")))))}}}]);