@tesouro/embedded-components-react 0.5.141 → 0.5.144

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 (168) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +11 -11
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +9 -24
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +21 -37
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +21 -14
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +41 -8
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +16 -4
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +8 -98
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +4 -83
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +98 -3
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +78 -135
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +4 -45
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +139 -109
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +44 -186
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +108 -72
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +188 -29
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +71 -83
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +27 -406
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +88 -12
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +403 -77
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +13 -80
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +77 -221
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +78 -41
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +212 -234
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +44 -21
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +234 -557
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +23 -4
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +581 -40
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +4 -251
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +45 -3
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +261 -2
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +3 -46
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +4 -1
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +44 -6
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +1 -13
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +6 -127
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +13 -3
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +126 -3
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +3 -127
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +3 -8
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +124 -7
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +8 -46
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +8 -21
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +51 -20
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +20 -28
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +19 -83
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +28 -47
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +76 -252
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +48 -33
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +249 -142
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +27 -206
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +160 -4
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +217 -5
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +3 -112
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +7 -1
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +104 -18
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +1 -0
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index92.js +27 -0
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +48 -48
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +12 -2
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +102 -27
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -128
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +31 -2
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +125 -30
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +2 -10
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +29 -177
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +10 -2
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +178 -11
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -108
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +14 -2
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +106 -8
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -52
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -2
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +26 -16
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +14 -19
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -11
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +19 -14
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +14 -2
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +16 -2
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -30
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +4 -2
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +26 -28
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -0
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +28 -31
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +1 -19
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +27 -117
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +19 -2
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +123 -2
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -16
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +4 -2
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +14 -2
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -22
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +4 -2
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +20 -99
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -79
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +97 -273
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +79 -2
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +273 -18
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -56
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +21 -2
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +52 -14
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +2 -50
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +18 -2
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +47 -32
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +2 -374
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +35 -2
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +369 -18
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -96
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +23 -2
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +93 -29
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +1 -51
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +31 -1
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +49 -53
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -13
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +53 -194
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +13 -2
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +195 -2
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +2 -41
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +4 -2
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +37 -15
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -88
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +19 -2
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +78 -308
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -9
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +311 -27
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +9 -2
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +33 -2
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +1 -0
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -8
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +1 -39
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -2
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +37 -2
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -36
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +4 -2
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +34 -37
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -12
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +37 -199
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +12 -3
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +199 -15
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +2 -402
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +13 -6
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +413 -6
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +8 -91
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +9 -0
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +93 -2
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +2 -28
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +118 -87
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +28 -2
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +92 -5
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -30
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -2
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +28 -5
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -34
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +7 -2
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +32 -10
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +1 -105
  164. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  165. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/relativeCalendarDay.js +12 -0
  166. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  167. package/package.json +1 -1
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +0 -125
@@ -1,251 +1,4 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
6
- import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
7
- import { useAllLedgerAccountsQuery as ee } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
8
- import "../../../shared/data-access/dist/index.js";
9
- import { buildPayableAuditHistory as te, hasUnattributedAuditRows as ne } from "../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
10
- import { useWidgetConfig as n } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
- import { useOrganizationUserNames as r } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
12
- import "../../../shared/feature/dist/index.js";
13
- import { usePayableApprovalRequestsQuery as i } from "../../data-access/dist/index8.js";
14
- import { usePayableHistoryQuery as a } from "../../data-access/dist/index9.js";
15
- import { useAllPayableLineItemsQuery as o } from "../../data-access/dist/index10.js";
16
- import { usePayableQuery as s } from "../../data-access/dist/index17.js";
17
- import "../../data-access/dist/index.js";
18
- import { BillDecisionDialog as c } from "../../ui/dist/index63.js";
19
- import { BillDetailsSheet as l } from "../../ui/dist/index65.js";
20
- import { BillDuplicateNotice as u } from "../../ui/dist/index72.js";
21
- import { MarkAsPaidDialog as d } from "../../ui/dist/index102.js";
22
- import "../../ui/dist/index.js";
23
- import { usePayableDuplicateReview as f } from "./index13.js";
24
- import "./index14.js";
25
- import { canOverrideApprovalPolicy as p, canReadCounterpartBankAccounts as re } from "./index20.js";
26
- import { resolveAmountDueMinorUnits as ie } from "./index21.js";
27
- import { usePayableAchInstructions as ae } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
28
- import "../../../shared/counterpart-management/feature/dist/index.js";
29
- import { PayBillFlow as oe } from "./index27.js";
30
- import "./index28.js";
31
- import { mapPayableToBillDetails as se } from "./index42.js";
32
- import { mergeMarkAsPaidFlowLabels as ce } from "./index15.js";
33
- import { useMarkAsPaidFlow as le } from "./index17.js";
34
- import "./index18.js";
35
- import { mergeDecisionDialogCopy as ue, mergePaymentHistoryMethodLabels as de } from "./index45.js";
36
- import { buildPaymentHistory as fe } from "./index3.js";
37
- import { currentApprovalRound as pe } from "./index4.js";
38
- import { usePayableApprovalRoundStart as me } from "./index32.js";
39
- import { useApprovalPolicyCardView as he } from "./index33.js";
40
- import { resolveBillRejectionNotice as ge } from "./index34.js";
41
- import { useCurrentApprovalRequestId as _e } from "./index35.js";
42
- import { usePayableDetailActions as ve } from "./index36.js";
43
- import { useScheduledPayment as ye } from "./index37.js";
44
- import { BILL_DETAILS_LABELS_EN as m } from "./index62.js";
45
- import { useMemo as h, useRef as be } from "react";
46
- import { Fragment as xe, jsx as g, jsxs as Se } from "react/jsx-runtime";
47
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js
48
- function _({ open: _, onOpenChange: v, payableId: y, onClose: b, onExpand: x, onEdit: S, testId: C, labels: w, poweredByBankName: T }) {
49
- let E = h(() => ({
50
- ...m,
51
- ...w,
52
- sheet: {
53
- ...m.sheet,
54
- ...w?.sheet,
55
- statusBadge: {
56
- ...m.sheet.statusBadge,
57
- ...w?.sheet?.statusBadge
58
- },
59
- approvalPolicy: {
60
- ...m.sheet.approvalPolicy,
61
- ...w?.sheet?.approvalPolicy
62
- },
63
- dueDate: {
64
- ...m.sheet.dueDate,
65
- ...w?.sheet?.dueDate
66
- },
67
- auditHistory: {
68
- ...m.sheet.auditHistory,
69
- ...w?.sheet?.auditHistory
70
- }
71
- },
72
- decisionDialog: ue(m.decisionDialog, w?.decisionDialog),
73
- approvalPolicyCopy: {
74
- ...m.approvalPolicyCopy,
75
- ...w?.approvalPolicyCopy
76
- },
77
- history: {
78
- ...m.history,
79
- ...w?.history
80
- },
81
- markAsPaid: ce(w?.markAsPaid),
82
- actionSuccess: {
83
- ...m.actionSuccess,
84
- ...w?.actionSuccess
85
- },
86
- paymentHistoryMethodLabels: de(w?.paymentHistoryMethodLabels)
87
- }), [w]), D = s(y), O = o(y), k = ee(), { initResponse: A } = n(), j = D.data, M = be(null), N = _e({
88
- payableId: y,
89
- status: j?.status
90
- }), Ce = j?.status === "rejected", we = e(A?.scopes, [t.ApprovalRequestReadOrg]), P = Ce && we, F = me({
91
- payableId: y,
92
- enabled: P
93
- }), I = i(y, { enabled: P }), L = e(A?.scopes, [t.UserReadOrg]), { userNames: R, isError: Te, isResolving: Ee } = r({ enabled: L }), z = h(() => pe(I.data?.data, F.roundStartedAt), [I.data, F.roundStartedAt]), B = h(() => ge({
94
- payableStatus: j?.status,
95
- approvalRequests: z,
96
- userNames: R,
97
- payableUpdatedAt: j?.updated_at,
98
- labels: E
99
- }), [
100
- j?.status,
101
- j?.updated_at,
102
- z,
103
- R,
104
- E
105
- ]), V = he({
106
- payableId: y,
107
- approvalPolicyId: j?.approval_policy_id,
108
- copy: E.approvalPolicyCopy
109
- }), H = p({
110
- status: j?.status,
111
- scopes: A?.scopes,
112
- arePendingApproversUnknown: V.isLoading,
113
- hasApprovalPolicy: !!j?.approval_policy_id,
114
- hasWaitingRequest: N.hasWaitingRequest
115
- }), U = !!N.id, W = N.isLoading || V.isLoading, G = h(() => V.pendingApprovers.length ? V.pendingApprovers.flatMap((e) => e.names) : void 0, [V.pendingApprovers]), K = ye({
116
- payableId: y,
117
- scheduledPaymentDate: j?.scheduled_payment_date
118
- }), q = re(A?.scopes), J = ae({
119
- counterpartId: j?.counterpart_id,
120
- currency: j?.currency,
121
- currentBankAccountId: j?.counterpart_bank_account_id,
122
- enabled: q
123
- }), Y = le({
124
- payableId: y,
125
- amountDueMinorUnits: ie(j) ?? 0,
126
- amountToPayMinorUnits: j?.amount_to_pay ?? void 0,
127
- currencyCode: j?.currency ?? void 0,
128
- dueDate: j?.due_date,
129
- hasScheduledPayment: K.hasScheduledPayment,
130
- testId: C,
131
- labels: E.markAsPaid
132
- }), { actions: De, decisionDialog: Oe } = ve({
133
- payableId: j ? y : void 0,
134
- status: j?.status,
135
- currentApprovalRequestId: N.id,
136
- hasScheduledPayment: K.hasScheduledPayment,
137
- scheduledPaymentIntentId: K.scheduledPaymentIntentId,
138
- isScheduledPaymentUnknown: K.isResolving,
139
- isPayabilityUnknown: J.isLoading,
140
- hasApprovalPolicy: !!j?.approval_policy_id,
141
- hasWaitingRequest: N.hasWaitingRequest,
142
- pendingApprovers: V.pendingApprovers,
143
- arePendingApproversUnknown: V.isLoading,
144
- labels: {
145
- edit: E.sheet.editButton,
146
- payBill: E.sheet.payButton,
147
- markAsPaid: E.sheet.markAsPaidButton,
148
- reject: E.sheet.rejectButton,
149
- approve: E.sheet.approveButton,
150
- cancel: E.sheet.cancelButton,
151
- cancelScheduledPayment: E.sheet.cancelScheduledPaymentButton,
152
- reopen: E.sheet.reopenButton,
153
- forceApprove: E.sheet.forceApproveButton,
154
- forceReject: E.sheet.forceRejectButton,
155
- policyOverridesHeading: E.sheet.policyOverridesGroup,
156
- decisionDialog: E.decisionDialog,
157
- actionError: E.actionError,
158
- actionSuccess: E.actionSuccess
159
- },
160
- isMarkAsPaidPending: Y.isPending,
161
- onMarkAsPaidSelect: Y.open,
162
- onPayBillSelect: () => M.current?.open(),
163
- onEditSelect: S,
164
- onActionSucceeded: (e) => {
165
- e === "reopen" && S?.();
166
- }
167
- }), ke = K.hasScheduledPayment && K.scheduledDateLabel ? E.scheduledSummary(K.scheduledDateLabel) : void 0, X = f({
168
- payable: j,
169
- canManage: e(A?.scopes, [t.PayableWriteOrg])
170
- }), Z = X.isPossibleDuplicate ? /* @__PURE__ */ g(u, {
171
- onNotADuplicate: X.onNotADuplicate,
172
- isActionDisabled: X.isBusy
173
- }) : void 0, Q = a(y), $ = h(() => te(Q.data?.data ?? [], R, E.history), [
174
- Q.data,
175
- R,
176
- E.history
177
- ]), Ae = L && Te && ne(Q.data?.data ?? [], $, R), je = h(() => fe({
178
- records: K.paymentRecords,
179
- events: Q.data?.data ?? [],
180
- currencyCode: j?.currency,
181
- labels: E
182
- }), [
183
- K.paymentRecords,
184
- Q.data,
185
- j?.currency,
186
- E
187
- ]), Me = h(() => j ? se({
188
- payable: j,
189
- lineItems: O.lineItems,
190
- ledgerAccounts: k.data?.data ?? [],
191
- labels: E,
192
- hasScheduledPayment: K.hasScheduledPayment,
193
- rejection: B,
194
- achInstructions: J.achInstructions,
195
- achInstructionsReadable: q && !J.isLoading && !J.isError
196
- }) : void 0, [
197
- j,
198
- O.lineItems,
199
- k.data,
200
- E,
201
- K.hasScheduledPayment,
202
- B,
203
- J.achInstructions,
204
- J.isError,
205
- J.isLoading,
206
- q
207
- ]), Ne = D.isLoading || O.isResolving || k.isResolving || J.isLoading, Pe = D.isError || O.isError || k.isError;
208
- return /* @__PURE__ */ Se(xe, { children: [
209
- /* @__PURE__ */ g(l, {
210
- open: _,
211
- onOpenChange: v,
212
- details: Me,
213
- actions: De,
214
- approvalPolicy: V.view,
215
- showApprovalOverrideNotice: !W && H && !U,
216
- awaitingApprovalNotice: !W && !U && !H && j?.status === "approve_in_progress" && j?.approval_policy_id ? G ? E.awaitingApprovalNotice(G) : E.awaitingApprovalUnknownNotice : void 0,
217
- scheduledSummary: ke,
218
- auditHistory: $,
219
- auditHistoryError: Q.isError,
220
- auditHistoryLoading: Q.isLoading || Ee,
221
- auditHistoryNamesError: Ae,
222
- paymentHistory: je,
223
- paymentHistoryError: K.isError || Q.isError,
224
- paymentHistoryLoading: K.isResolving || Q.isLoading,
225
- isLoading: Ne,
226
- isError: Pe,
227
- notice: Z,
228
- onClose: b,
229
- onExpand: x,
230
- testId: C,
231
- labels: E.sheet
232
- }),
233
- /* @__PURE__ */ g(c, {
234
- ...Oe,
235
- labels: { cancelButton: E.decisionDialog.cancelButton },
236
- testId: C ? `${C}-decision-dialog` : void 0,
237
- confirmTestId: C ? `${C}-decision-confirm` : void 0,
238
- reasonTestId: C ? `${C}-decision-reason` : void 0,
239
- reasonFieldId: C ? `${C}-decision-reason-field` : void 0
240
- }),
241
- /* @__PURE__ */ g(d, { ...Y.dialogProps }),
242
- j ? /* @__PURE__ */ g(oe, {
243
- ref: M,
244
- payable: j,
245
- onMissingAchInstructions: x,
246
- poweredByBankName: T
247
- }) : null
248
- ] });
249
- }
250
- //#endregion
251
- export { _ as BillDetailsContainer, _ as default };
1
+ import "./index50.js";
2
+ import "./index58.js";
3
+ import "./index60.js";
4
+ import "./index62.js";
@@ -1,3 +1,45 @@
1
- import "./index42.js";
2
- import "./index62.js";
3
- import "./index63.js";
1
+ import { BILL_DETAILS_SHEET_LABELS_EN as e } from "../../ui/dist/index38.js";
2
+ import "../../ui/dist/index.js";
3
+ import { MARK_AS_PAID_FLOW_LABELS_EN as t } from "./index15.js";
4
+ import "./index18.js";
5
+ import { APPROVAL_POLICY_RULE_COPY_EN as n } from "./index29.js";
6
+ import { AWAITING_APPROVAL_LABEL_EN as r, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as i, BILL_DETAIL_ACTIONS_LABELS_EN as a, PAYMENT_HISTORY_LABELS_EN as o, SCHEDULED_RELATIVE_DAY_LABELS_EN as s, SCHEDULED_STATUS_BADGE_LABEL_EN as c, SCHEDULED_SUMMARY_LABEL_EN as l } from "./index47.js";
7
+ import { PAYABLE_AUDIT_HISTORY_LABELS_EN as u } from "./index48.js";
8
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js
9
+ var d = {
10
+ subtitle: "Accounts payable",
11
+ vendorRow: "Vendor",
12
+ bankAccountRow: "ACH bank account",
13
+ bankAccountValue: (e) => `Account ending in ${e}`,
14
+ ...o,
15
+ invoiceNumberRow: "Number",
16
+ issueDateRow: "Issue date",
17
+ dueDateRow: "Due date",
18
+ poNumberRow: "PO number",
19
+ notProvided: "Not provided",
20
+ glCodeMissing: "GL code not specified",
21
+ quantityValue: (e, t) => `${e} x ${t}`,
22
+ quantityOnlyValue: (e) => e,
23
+ subtotalRow: "Subtotal",
24
+ discountsRow: "Discounts",
25
+ taxRow: "Tax",
26
+ totalRow: "Total",
27
+ actionError: a.actionError,
28
+ actionSuccess: a.actionSuccess,
29
+ scheduledRelativeDay: s,
30
+ scheduledSummary: l,
31
+ scheduledStatusBadge: c,
32
+ awaitingApprovalNotice: r,
33
+ awaitingApprovalUnknownNotice: i,
34
+ paidOnLabel: (e) => `Paid on ${e}`,
35
+ rejectedByOn: (e, t) => `Rejected by ${e} on ${t}`,
36
+ rejectedOn: (e) => `Rejected on ${e}`,
37
+ rejectionMessage: (e) => `"${e}"`,
38
+ sheet: e,
39
+ history: u,
40
+ decisionDialog: a.decisionDialog,
41
+ approvalPolicyCopy: n,
42
+ markAsPaid: t
43
+ };
44
+ //#endregion
45
+ export { d as BILL_DETAILS_LABELS_EN };
@@ -1,4 +1,263 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
6
+ import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
7
+ import { useAllLedgerAccountsQuery as ee } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
8
+ import "../../../shared/data-access/dist/index.js";
9
+ import { buildPayableAuditHistory as te, hasUnattributedAuditRows as ne } from "../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
10
+ import { useWidgetConfig as n } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import { useOrganizationUserNames as r } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
12
+ import "../../../shared/feature/dist/index.js";
13
+ import { usePayableApprovalRequestsQuery as i } from "../../data-access/dist/index8.js";
14
+ import { usePayableHistoryQuery as a } from "../../data-access/dist/index9.js";
15
+ import { useAllPayableLineItemsQuery as o } from "../../data-access/dist/index10.js";
16
+ import { usePayableQuery as s } from "../../data-access/dist/index17.js";
17
+ import "../../data-access/dist/index.js";
18
+ import { BillDecisionDialog as re } from "../../ui/dist/index65.js";
19
+ import { BillDetailsSheet as ie } from "../../ui/dist/index67.js";
20
+ import { BillDuplicateNotice as ae } from "../../ui/dist/index74.js";
21
+ import { MarkAsPaidDialog as oe } from "../../ui/dist/index104.js";
22
+ import "../../ui/dist/index.js";
23
+ import { usePayableDuplicateReview as se } from "./index13.js";
24
+ import "./index14.js";
25
+ import { canOverrideApprovalPolicy as ce, canReadCounterpartBankAccounts as le } from "./index20.js";
26
+ import { resolveAmountDueMinorUnits as ue } from "./index21.js";
27
+ import { usePayableAchInstructions as de } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
28
+ import "../../../shared/counterpart-management/feature/dist/index.js";
29
+ import { PayBillFlow as fe } from "./index27.js";
30
+ import "./index28.js";
31
+ import { mapPayableToBillDetails as c } from "./index44.js";
32
+ import { mergeMarkAsPaidFlowLabels as l } from "./index15.js";
33
+ import { useMarkAsPaidFlow as u } from "./index17.js";
34
+ import "./index18.js";
35
+ import { mergeDecisionDialogCopy as d, mergePaymentHistoryMethodLabels as pe } from "./index47.js";
36
+ import { buildPaymentHistory as me } from "./index3.js";
37
+ import { currentApprovalRound as he } from "./index4.js";
38
+ import { usePayableApprovalRoundStart as ge } from "./index32.js";
39
+ import { useApprovalPolicyCardView as _e } from "./index33.js";
40
+ import { resolveBillRejectionNotice as ve } from "./index34.js";
41
+ import { useCurrentApprovalRequestId as ye } from "./index35.js";
42
+ import { usePayableDetailActions as be } from "./index36.js";
43
+ import { formatScheduledDateLabel as xe } from "./index37.js";
44
+ import { useLocalCalendarDay as Se } from "./index38.js";
45
+ import { useScheduledPayment as Ce } from "./index39.js";
46
+ import { BILL_DETAILS_LABELS_EN as f } from "./index64.js";
47
+ import { useMemo as p, useRef as we } from "react";
48
+ import { Fragment as Te, jsx as m, jsxs as Ee } from "react/jsx-runtime";
1
49
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js
2
- var e = { Mounted: "bill_pay_widget.mounted" }, t = "bill_pay_widget";
50
+ function h({ open: h, onOpenChange: g, payableId: _, onClose: v, onExpand: y, onEdit: b, testId: x, labels: S, poweredByBankName: C }) {
51
+ let w = p(() => ({
52
+ ...f,
53
+ ...S,
54
+ sheet: {
55
+ ...f.sheet,
56
+ ...S?.sheet,
57
+ statusBadge: {
58
+ ...f.sheet.statusBadge,
59
+ ...S?.sheet?.statusBadge
60
+ },
61
+ approvalPolicy: {
62
+ ...f.sheet.approvalPolicy,
63
+ ...S?.sheet?.approvalPolicy
64
+ },
65
+ dueDate: {
66
+ ...f.sheet.dueDate,
67
+ ...S?.sheet?.dueDate
68
+ },
69
+ auditHistory: {
70
+ ...f.sheet.auditHistory,
71
+ ...S?.sheet?.auditHistory
72
+ }
73
+ },
74
+ decisionDialog: d(f.decisionDialog, S?.decisionDialog),
75
+ approvalPolicyCopy: {
76
+ ...f.approvalPolicyCopy,
77
+ ...S?.approvalPolicyCopy
78
+ },
79
+ history: {
80
+ ...f.history,
81
+ ...S?.history
82
+ },
83
+ markAsPaid: l(S?.markAsPaid),
84
+ scheduledRelativeDay: {
85
+ ...f.scheduledRelativeDay,
86
+ ...S?.scheduledRelativeDay
87
+ },
88
+ actionSuccess: {
89
+ ...f.actionSuccess,
90
+ ...S?.actionSuccess
91
+ },
92
+ paymentHistoryMethodLabels: pe(S?.paymentHistoryMethodLabels)
93
+ }), [S]), T = s(_), E = o(_), D = ee(), { initResponse: O } = n(), k = T.data, A = we(null), j = ye({
94
+ payableId: _,
95
+ status: k?.status
96
+ }), M = k?.status === "rejected", De = e(O?.scopes, [t.ApprovalRequestReadOrg]), N = M && De, P = ge({
97
+ payableId: _,
98
+ enabled: N
99
+ }), F = i(_, { enabled: N }), I = e(O?.scopes, [t.UserReadOrg]), { userNames: L, isError: Oe, isResolving: ke } = r({ enabled: I }), R = p(() => he(F.data?.data, P.roundStartedAt), [F.data, P.roundStartedAt]), z = p(() => ve({
100
+ payableStatus: k?.status,
101
+ approvalRequests: R,
102
+ userNames: L,
103
+ payableUpdatedAt: k?.updated_at,
104
+ labels: w
105
+ }), [
106
+ k?.status,
107
+ k?.updated_at,
108
+ R,
109
+ L,
110
+ w
111
+ ]), B = _e({
112
+ payableId: _,
113
+ approvalPolicyId: k?.approval_policy_id,
114
+ copy: w.approvalPolicyCopy
115
+ }), V = ce({
116
+ status: k?.status,
117
+ scopes: O?.scopes,
118
+ arePendingApproversUnknown: B.isLoading,
119
+ hasApprovalPolicy: !!k?.approval_policy_id,
120
+ hasWaitingRequest: j.hasWaitingRequest
121
+ }), H = !!j.id, U = j.isLoading || B.isLoading, W = p(() => B.pendingApprovers.length ? B.pendingApprovers.flatMap((e) => e.names) : void 0, [B.pendingApprovers]), G = Ce({
122
+ payableId: _,
123
+ scheduledPaymentDate: k?.scheduled_payment_date
124
+ }), K = le(O?.scopes), q = de({
125
+ counterpartId: k?.counterpart_id,
126
+ currency: k?.currency,
127
+ currentBankAccountId: k?.counterpart_bank_account_id,
128
+ enabled: K
129
+ }), J = u({
130
+ payableId: _,
131
+ amountDueMinorUnits: ue(k) ?? 0,
132
+ amountToPayMinorUnits: k?.amount_to_pay ?? void 0,
133
+ currencyCode: k?.currency ?? void 0,
134
+ dueDate: k?.due_date,
135
+ hasScheduledPayment: G.hasScheduledPayment,
136
+ testId: x,
137
+ labels: w.markAsPaid
138
+ }), { actions: Ae, decisionDialog: je } = be({
139
+ payableId: k ? _ : void 0,
140
+ status: k?.status,
141
+ currentApprovalRequestId: j.id,
142
+ hasScheduledPayment: G.hasScheduledPayment,
143
+ scheduledPaymentIntentId: G.scheduledPaymentIntentId,
144
+ isScheduledPaymentUnknown: G.isResolving,
145
+ isPayabilityUnknown: q.isLoading,
146
+ hasApprovalPolicy: !!k?.approval_policy_id,
147
+ hasWaitingRequest: j.hasWaitingRequest,
148
+ pendingApprovers: B.pendingApprovers,
149
+ arePendingApproversUnknown: B.isLoading,
150
+ labels: {
151
+ edit: w.sheet.editButton,
152
+ payBill: w.sheet.payButton,
153
+ markAsPaid: w.sheet.markAsPaidButton,
154
+ reject: w.sheet.rejectButton,
155
+ approve: w.sheet.approveButton,
156
+ cancel: w.sheet.cancelButton,
157
+ cancelScheduledPayment: w.sheet.cancelScheduledPaymentButton,
158
+ reopen: w.sheet.reopenButton,
159
+ forceApprove: w.sheet.forceApproveButton,
160
+ forceReject: w.sheet.forceRejectButton,
161
+ policyOverridesHeading: w.sheet.policyOverridesGroup,
162
+ decisionDialog: w.decisionDialog,
163
+ actionError: w.actionError,
164
+ actionSuccess: w.actionSuccess
165
+ },
166
+ isMarkAsPaidPending: J.isPending,
167
+ onMarkAsPaidSelect: J.open,
168
+ onPayBillSelect: () => A.current?.open(),
169
+ onEditSelect: b,
170
+ onActionSucceeded: (e) => {
171
+ e === "reopen" && b?.();
172
+ }
173
+ }), Y = Se(), X = p(() => G.hasScheduledPayment && G.scheduledDate ? xe(G.scheduledDate, w.scheduledRelativeDay, Y) : void 0, [
174
+ G.hasScheduledPayment,
175
+ G.scheduledDate,
176
+ w.scheduledRelativeDay,
177
+ Y
178
+ ]), Me = X ? w.scheduledSummary(X.label) : void 0, Z = se({
179
+ payable: k,
180
+ canManage: e(O?.scopes, [t.PayableWriteOrg])
181
+ }), Ne = Z.isPossibleDuplicate ? /* @__PURE__ */ m(ae, {
182
+ onNotADuplicate: Z.onNotADuplicate,
183
+ isActionDisabled: Z.isBusy
184
+ }) : void 0, Q = a(_), $ = p(() => te(Q.data?.data ?? [], L, w.history), [
185
+ Q.data,
186
+ L,
187
+ w.history
188
+ ]), Pe = I && Oe && ne(Q.data?.data ?? [], $, L), Fe = p(() => me({
189
+ records: G.paymentRecords,
190
+ events: Q.data?.data ?? [],
191
+ currencyCode: k?.currency,
192
+ labels: w
193
+ }), [
194
+ G.paymentRecords,
195
+ Q.data,
196
+ k?.currency,
197
+ w
198
+ ]), Ie = p(() => k ? c({
199
+ payable: k,
200
+ lineItems: E.lineItems,
201
+ ledgerAccounts: D.data?.data ?? [],
202
+ labels: w,
203
+ hasScheduledPayment: G.hasScheduledPayment,
204
+ rejection: z,
205
+ achInstructions: q.achInstructions,
206
+ achInstructionsReadable: K && !q.isLoading && !q.isError
207
+ }) : void 0, [
208
+ k,
209
+ E.lineItems,
210
+ D.data,
211
+ w,
212
+ G.hasScheduledPayment,
213
+ z,
214
+ q.achInstructions,
215
+ q.isError,
216
+ q.isLoading,
217
+ K
218
+ ]), Le = T.isLoading || E.isResolving || D.isResolving || q.isLoading, Re = T.isError || E.isError || D.isError;
219
+ return /* @__PURE__ */ Ee(Te, { children: [
220
+ /* @__PURE__ */ m(ie, {
221
+ open: h,
222
+ onOpenChange: g,
223
+ details: Ie,
224
+ actions: Ae,
225
+ approvalPolicy: B.view,
226
+ showApprovalOverrideNotice: !U && V && !H,
227
+ awaitingApprovalNotice: !U && !H && !V && k?.status === "approve_in_progress" && k?.approval_policy_id ? W ? w.awaitingApprovalNotice(W) : w.awaitingApprovalUnknownNotice : void 0,
228
+ scheduledSummary: Me,
229
+ scheduledSummaryDate: X?.absoluteLabel,
230
+ auditHistory: $,
231
+ auditHistoryError: Q.isError,
232
+ auditHistoryLoading: Q.isLoading || ke,
233
+ auditHistoryNamesError: Pe,
234
+ paymentHistory: Fe,
235
+ paymentHistoryError: G.isError || Q.isError,
236
+ paymentHistoryLoading: G.isResolving || Q.isLoading,
237
+ isLoading: Le,
238
+ isError: Re,
239
+ notice: Ne,
240
+ onClose: v,
241
+ onExpand: y,
242
+ testId: x,
243
+ labels: w.sheet
244
+ }),
245
+ /* @__PURE__ */ m(re, {
246
+ ...je,
247
+ labels: { cancelButton: w.decisionDialog.cancelButton },
248
+ testId: x ? `${x}-decision-dialog` : void 0,
249
+ confirmTestId: x ? `${x}-decision-confirm` : void 0,
250
+ reasonTestId: x ? `${x}-decision-reason` : void 0,
251
+ reasonFieldId: x ? `${x}-decision-reason-field` : void 0
252
+ }),
253
+ /* @__PURE__ */ m(oe, { ...J.dialogProps }),
254
+ k ? /* @__PURE__ */ m(fe, {
255
+ ref: A,
256
+ payable: k,
257
+ onMissingAchInstructions: y,
258
+ poweredByBankName: C
259
+ }) : null
260
+ ] });
261
+ }
3
262
  //#endregion
4
- export { e as BillPayWidgetAnalyticsEvent, t as WIDGET_NAME };
263
+ export { h as BillDetailsContainer, h as default };
@@ -1,46 +1,3 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { useAnalyticsTrack as e } from "../../../shared/feature/dist/lib/analytics/hooks.js";
6
- import "../../../shared/feature/dist/index.js";
7
- import { BillPayWidgetAnalyticsEvent as t, WIDGET_NAME as n } from "./index65.js";
8
- import { Payables as r } from "../../../monite-sdk/dist/index434.js";
9
- import "../../../monite-sdk/dist/index.js";
10
- import { MoniteRegionProvider as i } from "../../../shared/monite-wrapper/feature/dist/lib/MoniteRegionProvider.js";
11
- import "../../../shared/monite-wrapper/feature/dist/index.js";
12
- import { useEffect as a } from "react";
13
- import { jsx as o } from "react/jsx-runtime";
14
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js
15
- var s = (e) => e;
16
- function c(n) {
17
- let i = e();
18
- return a(() => {
19
- i(t.Mounted);
20
- }, [i]), /* @__PURE__ */ o(r, { ...n });
21
- }
22
- function l({ baseUrl: e, widgetToken: t, organizationId: r, configClient: a, gatewayRouting: l, linkComponent: u, implementation: d, uiFramework: f, errorFallback: p, onError: m, finopsThemeColors: h, analytics: g, disclosuresAcceptance: _, providerLabels: v, pageTitleComponent: y = s, ...b }) {
23
- return /* @__PURE__ */ o(i, {
24
- widgetName: n,
25
- baseUrl: e,
26
- widgetToken: t,
27
- organizationId: r,
28
- configClient: a,
29
- gatewayRouting: l,
30
- linkComponent: u,
31
- implementation: d,
32
- uiFramework: f,
33
- errorFallback: p,
34
- onError: m,
35
- finopsThemeColors: h,
36
- analytics: g,
37
- disclosuresAcceptance: _,
38
- providerLabels: v,
39
- children: /* @__PURE__ */ o(c, {
40
- ...b,
41
- pageTitleComponent: y
42
- })
43
- });
44
- }
45
- //#endregion
46
- export { l as BillPayWidgetMonite, l as default };
1
+ import "./index44.js";
2
+ import "./index64.js";
3
+ import "./index65.js";
@@ -1 +1,4 @@
1
- import "./index66.js";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js
2
+ var e = { Mounted: "bill_pay_widget.mounted" }, t = "bill_pay_widget";
3
+ //#endregion
4
+ export { e as BillPayWidgetAnalyticsEvent, t as WIDGET_NAME };
@@ -1,8 +1,46 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { useAnalyticsTrack as e } from "../../../shared/feature/dist/lib/analytics/hooks.js";
6
+ import "../../../shared/feature/dist/index.js";
7
+ import { BillPayWidgetAnalyticsEvent as t, WIDGET_NAME as n } from "./index67.js";
8
+ import { Payables as r } from "../../../monite-sdk/dist/index434.js";
9
+ import "../../../monite-sdk/dist/index.js";
10
+ import { MoniteRegionProvider as i } from "../../../shared/monite-wrapper/feature/dist/lib/MoniteRegionProvider.js";
11
+ import "../../../shared/monite-wrapper/feature/dist/index.js";
12
+ import { useEffect as a } from "react";
13
+ import { jsx as o } from "react/jsx-runtime";
1
14
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js
2
- var e = (e) => [
3
- "bill-pay",
4
- "upload-queue",
5
- e ?? ""
6
- ];
15
+ var s = (e) => e;
16
+ function c(n) {
17
+ let i = e();
18
+ return a(() => {
19
+ i(t.Mounted);
20
+ }, [i]), /* @__PURE__ */ o(r, { ...n });
21
+ }
22
+ function l({ baseUrl: e, widgetToken: t, organizationId: r, configClient: a, gatewayRouting: l, linkComponent: u, implementation: d, uiFramework: f, errorFallback: p, onError: m, finopsThemeColors: h, analytics: g, disclosuresAcceptance: _, providerLabels: v, pageTitleComponent: y = s, ...b }) {
23
+ return /* @__PURE__ */ o(i, {
24
+ widgetName: n,
25
+ baseUrl: e,
26
+ widgetToken: t,
27
+ organizationId: r,
28
+ configClient: a,
29
+ gatewayRouting: l,
30
+ linkComponent: u,
31
+ implementation: d,
32
+ uiFramework: f,
33
+ errorFallback: p,
34
+ onError: m,
35
+ finopsThemeColors: h,
36
+ analytics: g,
37
+ disclosuresAcceptance: _,
38
+ providerLabels: v,
39
+ children: /* @__PURE__ */ o(c, {
40
+ ...b,
41
+ pageTitleComponent: y
42
+ })
43
+ });
44
+ }
7
45
  //#endregion
8
- export { e as billPayUploadQueueKey };
46
+ export { l as BillPayWidgetMonite, l as default };