@tesouro/embedded-components-react 0.5.169 → 0.5.171

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