@tesouro/embedded-components-react 0.9.24 → 0.9.26
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.
- package/README.md +13 -0
- package/dist/index.css +93 -55
- package/dist/index.d.ts +53 -3
- package/dist/index.js +9 -7
- package/dist/lib/AccountsQuickViewWidget.d.ts +650 -0
- package/dist/lib/AccountsQuickViewWidget.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/data-access/dist/index.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/data-access/dist/index2.js +21 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/feature/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/feature/dist/lib/AccountsQuickViewWidget/AccountsQuickViewWidgetFeature.js +82 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/feature/dist/lib/AccountsQuickViewWidget/labels.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/feature/dist/lib/AccountsQuickViewWidget/testIds.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/feature/dist/lib/accountsBalanceSummary/summarizeAccountBalances.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/feature/dist/lib/accountsBalanceSummary/useAccountsBalanceSummary.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/feature/dist/lib/analytics/events.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/ui/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/ui/dist/index2.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/accounts-quick-view-widget/ui/dist/index3.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index10.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index11.js +59 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index12.js +10 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index13.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index14.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index15.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index16.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index17.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index18.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js +155 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index20.js +13 -157
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +99 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js +69 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +3 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +57 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +114 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +190 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index29.js +75 -187
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js +35 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index30.js +67 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +111 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +461 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index33.js +102 -452
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +12 -116
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +67 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js +231 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index38.js +38 -232
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +245 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +169 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +21 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +534 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +4 -542
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index43.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +236 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index45.js +3 -240
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +63 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +1 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +82 -225
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index6.js +45 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index7.js +4 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index8.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index9.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +138 -155
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +48 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +219 -207
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index4.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index6.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +278 -322
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index11.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +39 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +2 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +78 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/quick-view/ui/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/shared/quick-view/ui/dist/index2.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/shared/quick-view/ui/dist/index3.js +100 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/themeTokens.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +4696 -4681
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index49.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +0 -29
|
@@ -2,31 +2,23 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "
|
|
8
|
-
import { useWidgetConfig as n } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
|
-
import "../../../../shared/feature/dist/index.js";
|
|
10
|
-
import { usePayableApprovalRequestsQuery as r } from "../../data-access/dist/index2.js";
|
|
5
|
+
import { buildPayableAuditHistory as e, hasUnattributedAuditRows as t } from "../../../../shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js";
|
|
6
|
+
import "../../../../shared/util/dist/index.js";
|
|
7
|
+
import { usePayableHistoryQuery as n } from "../../data-access/dist/index3.js";
|
|
11
8
|
import "../../data-access/dist/index.js";
|
|
12
|
-
import {
|
|
13
|
-
import { usePayableApprovalRoundStart as a } from "./index11.js";
|
|
9
|
+
import { useMemo as r } from "react";
|
|
14
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index18.js
|
|
15
|
-
function
|
|
16
|
-
let
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
hasAwaitedRequest: u ? (e) => i(e, d).some(p) : void 0,
|
|
22
|
-
currentRoundStartedAt: d
|
|
23
|
-
}), h = u ? i(m.data?.data, d) : [], g = h.some(p), _ = h.filter((e) => e.status === "waiting");
|
|
11
|
+
function i({ payableId: i, userNames: a, isRosterError: o, labels: s }) {
|
|
12
|
+
let c = n(i), l = r(() => e(c.data?.data ?? [], a, s), [
|
|
13
|
+
c.data,
|
|
14
|
+
a,
|
|
15
|
+
s
|
|
16
|
+
]);
|
|
24
17
|
return {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
isLoading: m.isLoading
|
|
18
|
+
historyQuery: c,
|
|
19
|
+
rows: l,
|
|
20
|
+
namesError: o && t(c.data?.data ?? [], l, a)
|
|
29
21
|
};
|
|
30
22
|
}
|
|
31
23
|
//#endregion
|
|
32
|
-
export {
|
|
24
|
+
export { i as usePayableAuditHistory };
|
|
@@ -2,23 +2,164 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../shared/
|
|
7
|
-
import {
|
|
5
|
+
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import "../../../../shared/ui/dist/index.js";
|
|
7
|
+
import { useWidgetConfig as t } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
8
|
+
import "../../../../shared/feature/dist/index.js";
|
|
9
|
+
import { useApprovePayableApprovalRequestMutation as n, useRejectPayableApprovalRequestMutation as r } from "../../data-access/dist/index2.js";
|
|
10
|
+
import { useCancelPayableMutation as i } from "../../data-access/dist/index6.js";
|
|
11
|
+
import { useCancelScheduledPaymentMutation as a } from "../../data-access/dist/index7.js";
|
|
12
|
+
import { useForceApprovePayableMutation as o } from "../../data-access/dist/index11.js";
|
|
13
|
+
import { useForceRejectPayableMutation as s } from "../../data-access/dist/index12.js";
|
|
14
|
+
import { useReopenPayableMutation as c } from "../../data-access/dist/index13.js";
|
|
8
15
|
import "../../data-access/dist/index.js";
|
|
9
|
-
import {
|
|
16
|
+
import { getBillDetailActions as l } from "./index5.js";
|
|
17
|
+
import { useState as u } from "react";
|
|
18
|
+
import { BanIcon as d, HandIcon as f } from "lucide-react";
|
|
10
19
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js
|
|
11
|
-
function
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
function p({ payableId: d, status: f, currentApprovalRequestId: p, arePendingApproversUnknown: m, hasScheduledPayment: h, scheduledPaymentIntentId: g, isScheduledPaymentUnknown: v, isPayabilityUnknown: x, labels: S, isMarkAsPaidPending: C, hasApprovalPolicy: w = !0, hasWaitingRequest: T, pendingApprovers: E, onPayBillSelect: D, onMarkAsPaidSelect: O, onEditSelect: k, onActionSucceeded: A }) {
|
|
21
|
+
let { initResponse: j } = t(), M = r(), N = n(), P = i(), F = a(), I = c(), L = o(), R = s(), z = C || M.isPending || N.isPending || P.isPending || F.isPending || I.isPending || L.isPending || R.isPending, [B, V] = u(), H = B && (B.id !== "cancelScheduledPayment" || B.scheduledPaymentIntentId === g) ? B : void 0, U = d && f ? l({
|
|
22
|
+
status: f,
|
|
23
|
+
scopes: j?.scopes,
|
|
24
|
+
canDecideApprovalRequest: !!p,
|
|
25
|
+
arePendingApproversUnknown: m,
|
|
26
|
+
hasApprovalPolicy: w,
|
|
27
|
+
hasWaitingRequest: T,
|
|
28
|
+
hasScheduledPayment: h || v,
|
|
29
|
+
scheduledPaymentIntentId: g,
|
|
30
|
+
isPayabilityUnknown: x,
|
|
31
|
+
canEdit: !!k,
|
|
32
|
+
labels: S
|
|
33
|
+
}) : [], W = (t) => ({
|
|
34
|
+
onError: () => e.error(S.actionError),
|
|
35
|
+
onSuccess: () => {
|
|
36
|
+
let n = b(t) && !w ? `${t}NoApprovalPolicy` : t;
|
|
37
|
+
e.success(S.actionSuccess[n]), A?.(t);
|
|
38
|
+
}
|
|
39
|
+
}), G = {
|
|
40
|
+
reject: {
|
|
41
|
+
isPending: M.isPending,
|
|
42
|
+
run: (e) => p && M.mutate({
|
|
43
|
+
path: { approval_request_id: p },
|
|
44
|
+
body: e ? { reject_reason: e } : void 0
|
|
45
|
+
}, W("reject"))
|
|
46
|
+
},
|
|
47
|
+
approve: {
|
|
48
|
+
isPending: N.isPending,
|
|
49
|
+
run: () => p && N.mutate({ path: { approval_request_id: p } }, W("approve"))
|
|
50
|
+
},
|
|
51
|
+
cancel: {
|
|
52
|
+
isPending: P.isPending,
|
|
53
|
+
run: () => d && P.mutate({ path: { payable_id: d } }, W("cancel"))
|
|
54
|
+
},
|
|
55
|
+
cancelScheduledPayment: {
|
|
56
|
+
isPending: F.isPending,
|
|
57
|
+
run: () => {
|
|
58
|
+
let e = H?.scheduledPaymentIntentId;
|
|
59
|
+
d && e && F.mutate({
|
|
60
|
+
path: { payment_intent_id: e },
|
|
61
|
+
payableId: d
|
|
62
|
+
}, W("cancelScheduledPayment"));
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
reopen: {
|
|
66
|
+
isPending: I.isPending,
|
|
67
|
+
run: () => d && I.mutate({ path: { payable_id: d } }, W("reopen"))
|
|
68
|
+
},
|
|
69
|
+
forceApprove: {
|
|
70
|
+
isPending: L.isPending,
|
|
71
|
+
run: () => d && L.mutate({ path: { payable_id: d } }, W("forceApprove"))
|
|
72
|
+
},
|
|
73
|
+
forceReject: {
|
|
74
|
+
isPending: R.isPending,
|
|
75
|
+
run: () => d && R.mutate({ path: { payable_id: d } }, W("forceReject"))
|
|
76
|
+
}
|
|
77
|
+
}, K = U.map((e) => ({
|
|
78
|
+
...e,
|
|
79
|
+
disabled: z,
|
|
80
|
+
loading: e.id === "markAsPaid" ? C : G[e.id]?.isPending ?? !1,
|
|
81
|
+
onSelect: () => {
|
|
82
|
+
if (!z && d) {
|
|
83
|
+
if (e.id === "payBill") {
|
|
84
|
+
D();
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (e.id === "markAsPaid") {
|
|
88
|
+
O();
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (e.id === "edit") {
|
|
92
|
+
k?.();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (y(e.id)) {
|
|
96
|
+
V({
|
|
97
|
+
id: e.id,
|
|
98
|
+
scheduledPaymentIntentId: g
|
|
99
|
+
});
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
G[e.id]?.run();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}));
|
|
17
106
|
return {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
107
|
+
isActionPending: z,
|
|
108
|
+
actions: {
|
|
109
|
+
row: K.filter((e) => e.surface === "row"),
|
|
110
|
+
menu: K.filter((e) => e.surface === "menu")
|
|
111
|
+
},
|
|
112
|
+
decisionDialog: {
|
|
113
|
+
open: !!H,
|
|
114
|
+
copy: H ? {
|
|
115
|
+
...S.decisionDialog[H.id],
|
|
116
|
+
...b(H.id) && !w ? S.decisionDialog[H.id].noApprovalPolicy : void 0,
|
|
117
|
+
presentation: _(H.id),
|
|
118
|
+
pendingApprovers: b(H.id) ? E ?? [] : void 0
|
|
119
|
+
} : void 0,
|
|
120
|
+
isPending: H ? G[H.id]?.isPending ?? !1 : !1,
|
|
121
|
+
onCancel: () => {
|
|
122
|
+
z || V(void 0);
|
|
123
|
+
},
|
|
124
|
+
onConfirm: (e) => {
|
|
125
|
+
H && !z && (G[H.id]?.run(e), V(void 0));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
21
128
|
};
|
|
22
129
|
}
|
|
130
|
+
var m = {
|
|
131
|
+
alignment: "center",
|
|
132
|
+
icon: f,
|
|
133
|
+
tone: "destructive",
|
|
134
|
+
actionWidth: "equal"
|
|
135
|
+
}, h = {
|
|
136
|
+
alignment: "center",
|
|
137
|
+
icon: d,
|
|
138
|
+
tone: "destructive",
|
|
139
|
+
actionWidth: "equal"
|
|
140
|
+
}, g = {
|
|
141
|
+
alignment: "center",
|
|
142
|
+
icon: d,
|
|
143
|
+
tone: "destructive",
|
|
144
|
+
actionWidth: "equal"
|
|
145
|
+
};
|
|
146
|
+
function _(e) {
|
|
147
|
+
if (b(e)) return m;
|
|
148
|
+
if (e === "reject") return h;
|
|
149
|
+
if (e === "cancel") return g;
|
|
150
|
+
}
|
|
151
|
+
var v = [
|
|
152
|
+
"reject",
|
|
153
|
+
"cancel",
|
|
154
|
+
"cancelScheduledPayment",
|
|
155
|
+
"forceApprove",
|
|
156
|
+
"forceReject"
|
|
157
|
+
];
|
|
158
|
+
function y(e) {
|
|
159
|
+
return v.includes(e);
|
|
160
|
+
}
|
|
161
|
+
function b(e) {
|
|
162
|
+
return e === "forceApprove" || e === "forceReject";
|
|
163
|
+
}
|
|
23
164
|
//#endregion
|
|
24
|
-
export {
|
|
165
|
+
export { p as usePayableDetailActions };
|
|
@@ -2,164 +2,20 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import "../../../../shared/ui/dist/index.js";
|
|
7
|
-
import { useWidgetConfig as t } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
5
|
+
import { useLocalCalendarDay as e } from "../../../../shared/feature/dist/lib/calendar/useLocalCalendarDay.js";
|
|
8
6
|
import "../../../../shared/feature/dist/index.js";
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import { useForceApprovePayableMutation as o } from "../../data-access/dist/index11.js";
|
|
13
|
-
import { useForceRejectPayableMutation as s } from "../../data-access/dist/index12.js";
|
|
14
|
-
import { useReopenPayableMutation as c } from "../../data-access/dist/index13.js";
|
|
15
|
-
import "../../data-access/dist/index.js";
|
|
16
|
-
import { getBillDetailActions as l } from "./index6.js";
|
|
17
|
-
import { useState as u } from "react";
|
|
18
|
-
import { BanIcon as d, HandIcon as f } from "lucide-react";
|
|
7
|
+
import { formatScheduledDateLabel as t } from "../../../util/dist/lib/formatScheduledDateLabel.js";
|
|
8
|
+
import "../../../util/dist/index.js";
|
|
9
|
+
import { useMemo as n } from "react";
|
|
19
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index20.js
|
|
20
|
-
function
|
|
21
|
-
let
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
hasScheduledPayment: h || v,
|
|
29
|
-
scheduledPaymentIntentId: g,
|
|
30
|
-
isPayabilityUnknown: x,
|
|
31
|
-
canEdit: !!k,
|
|
32
|
-
labels: S
|
|
33
|
-
}) : [], W = (t) => ({
|
|
34
|
-
onError: () => e.error(S.actionError),
|
|
35
|
-
onSuccess: () => {
|
|
36
|
-
let n = b(t) && !w ? `${t}NoApprovalPolicy` : t;
|
|
37
|
-
e.success(S.actionSuccess[n]), A?.(t);
|
|
38
|
-
}
|
|
39
|
-
}), G = {
|
|
40
|
-
reject: {
|
|
41
|
-
isPending: M.isPending,
|
|
42
|
-
run: (e) => p && M.mutate({
|
|
43
|
-
path: { approval_request_id: p },
|
|
44
|
-
body: e ? { reject_reason: e } : void 0
|
|
45
|
-
}, W("reject"))
|
|
46
|
-
},
|
|
47
|
-
approve: {
|
|
48
|
-
isPending: N.isPending,
|
|
49
|
-
run: () => p && N.mutate({ path: { approval_request_id: p } }, W("approve"))
|
|
50
|
-
},
|
|
51
|
-
cancel: {
|
|
52
|
-
isPending: P.isPending,
|
|
53
|
-
run: () => d && P.mutate({ path: { payable_id: d } }, W("cancel"))
|
|
54
|
-
},
|
|
55
|
-
cancelScheduledPayment: {
|
|
56
|
-
isPending: F.isPending,
|
|
57
|
-
run: () => {
|
|
58
|
-
let e = H?.scheduledPaymentIntentId;
|
|
59
|
-
d && e && F.mutate({
|
|
60
|
-
path: { payment_intent_id: e },
|
|
61
|
-
payableId: d
|
|
62
|
-
}, W("cancelScheduledPayment"));
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
reopen: {
|
|
66
|
-
isPending: I.isPending,
|
|
67
|
-
run: () => d && I.mutate({ path: { payable_id: d } }, W("reopen"))
|
|
68
|
-
},
|
|
69
|
-
forceApprove: {
|
|
70
|
-
isPending: L.isPending,
|
|
71
|
-
run: () => d && L.mutate({ path: { payable_id: d } }, W("forceApprove"))
|
|
72
|
-
},
|
|
73
|
-
forceReject: {
|
|
74
|
-
isPending: R.isPending,
|
|
75
|
-
run: () => d && R.mutate({ path: { payable_id: d } }, W("forceReject"))
|
|
76
|
-
}
|
|
77
|
-
}, K = U.map((e) => ({
|
|
78
|
-
...e,
|
|
79
|
-
disabled: z,
|
|
80
|
-
loading: e.id === "markAsPaid" ? C : G[e.id]?.isPending ?? !1,
|
|
81
|
-
onSelect: () => {
|
|
82
|
-
if (!z && d) {
|
|
83
|
-
if (e.id === "payBill") {
|
|
84
|
-
D();
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
if (e.id === "markAsPaid") {
|
|
88
|
-
O();
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
if (e.id === "edit") {
|
|
92
|
-
k?.();
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
if (y(e.id)) {
|
|
96
|
-
V({
|
|
97
|
-
id: e.id,
|
|
98
|
-
scheduledPaymentIntentId: g
|
|
99
|
-
});
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
G[e.id]?.run();
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}));
|
|
106
|
-
return {
|
|
107
|
-
isActionPending: z,
|
|
108
|
-
actions: {
|
|
109
|
-
row: K.filter((e) => e.surface === "row"),
|
|
110
|
-
menu: K.filter((e) => e.surface === "menu")
|
|
111
|
-
},
|
|
112
|
-
decisionDialog: {
|
|
113
|
-
open: !!H,
|
|
114
|
-
copy: H ? {
|
|
115
|
-
...S.decisionDialog[H.id],
|
|
116
|
-
...b(H.id) && !w ? S.decisionDialog[H.id].noApprovalPolicy : void 0,
|
|
117
|
-
presentation: _(H.id),
|
|
118
|
-
pendingApprovers: b(H.id) ? E ?? [] : void 0
|
|
119
|
-
} : void 0,
|
|
120
|
-
isPending: H ? G[H.id]?.isPending ?? !1 : !1,
|
|
121
|
-
onCancel: () => {
|
|
122
|
-
z || V(void 0);
|
|
123
|
-
},
|
|
124
|
-
onConfirm: (e) => {
|
|
125
|
-
H && !z && (G[H.id]?.run(e), V(void 0));
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
var m = {
|
|
131
|
-
alignment: "center",
|
|
132
|
-
icon: f,
|
|
133
|
-
tone: "destructive",
|
|
134
|
-
actionWidth: "equal"
|
|
135
|
-
}, h = {
|
|
136
|
-
alignment: "center",
|
|
137
|
-
icon: d,
|
|
138
|
-
tone: "destructive",
|
|
139
|
-
actionWidth: "equal"
|
|
140
|
-
}, g = {
|
|
141
|
-
alignment: "center",
|
|
142
|
-
icon: d,
|
|
143
|
-
tone: "destructive",
|
|
144
|
-
actionWidth: "equal"
|
|
145
|
-
};
|
|
146
|
-
function _(e) {
|
|
147
|
-
if (b(e)) return m;
|
|
148
|
-
if (e === "reject") return h;
|
|
149
|
-
if (e === "cancel") return g;
|
|
150
|
-
}
|
|
151
|
-
var v = [
|
|
152
|
-
"reject",
|
|
153
|
-
"cancel",
|
|
154
|
-
"cancelScheduledPayment",
|
|
155
|
-
"forceApprove",
|
|
156
|
-
"forceReject"
|
|
157
|
-
];
|
|
158
|
-
function y(e) {
|
|
159
|
-
return v.includes(e);
|
|
160
|
-
}
|
|
161
|
-
function b(e) {
|
|
162
|
-
return e === "forceApprove" || e === "forceReject";
|
|
11
|
+
function r({ hasScheduledPayment: r, scheduledDate: i, labels: a }) {
|
|
12
|
+
let o = e();
|
|
13
|
+
return n(() => r && i ? t(i, a, o) : void 0, [
|
|
14
|
+
r,
|
|
15
|
+
i,
|
|
16
|
+
a,
|
|
17
|
+
o
|
|
18
|
+
]);
|
|
163
19
|
}
|
|
164
20
|
//#endregion
|
|
165
|
-
export {
|
|
21
|
+
export { r as useScheduledDateLabel };
|
|
@@ -2,20 +2,26 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
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 "../../../../shared/data-access/dist/index.js";
|
|
8
|
+
import { useWidgetConfig as n } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
6
9
|
import "../../../../shared/feature/dist/index.js";
|
|
7
|
-
import {
|
|
10
|
+
import { isLiveScheduledPaymentRecord as r } from "../../../util/dist/lib/isLiveScheduledPaymentRecord.js";
|
|
8
11
|
import "../../../util/dist/index.js";
|
|
9
|
-
import {
|
|
12
|
+
import { usePayablePaymentRecordsQuery as i } from "../../data-access/dist/index18.js";
|
|
13
|
+
import "../../data-access/dist/index.js";
|
|
10
14
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js
|
|
11
|
-
function
|
|
12
|
-
let
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
function a({ payableId: a, scheduledPaymentDate: o, enabled: s = !0 }) {
|
|
16
|
+
let { initResponse: c } = n(), l = e(c?.scopes, [t.PaymentRecordReadOrg]), u = i(s ? a : void 0, { enabled: s && l }), d = u.paymentRecords.find(r), f = !!d || !!o, p = d?.planned_payment_date ?? (f ? o : void 0);
|
|
17
|
+
return {
|
|
18
|
+
hasScheduledPayment: f,
|
|
19
|
+
paymentRecords: u.paymentRecords,
|
|
20
|
+
isError: u.isError,
|
|
21
|
+
isResolving: u.isResolving,
|
|
22
|
+
scheduledDate: p ?? void 0,
|
|
23
|
+
scheduledPaymentIntentId: d?.payment_intent_id ?? void 0
|
|
24
|
+
};
|
|
19
25
|
}
|
|
20
26
|
//#endregion
|
|
21
|
-
export {
|
|
27
|
+
export { a as useScheduledPayment };
|
|
@@ -2,26 +2,43 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
|
+
import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
7
8
|
import "../../../../shared/data-access/dist/index.js";
|
|
8
|
-
import
|
|
9
|
+
import "../../../../shared/ui/dist/index.js";
|
|
10
|
+
import { useWidgetConfig as r } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
9
11
|
import "../../../../shared/feature/dist/index.js";
|
|
10
|
-
import {
|
|
11
|
-
import "../../../util/dist/index.js";
|
|
12
|
-
import { usePayablePaymentRecordsQuery as i } from "../../data-access/dist/index18.js";
|
|
12
|
+
import { useDeletePayableMutation as i } from "../../data-access/dist/index10.js";
|
|
13
13
|
import "../../data-access/dist/index.js";
|
|
14
|
+
import { useState as a } from "react";
|
|
14
15
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js
|
|
15
|
-
function
|
|
16
|
-
let { initResponse:
|
|
16
|
+
function o({ payableId: o, status: s, enabled: c = !0, labels: l, onDeleted: u }) {
|
|
17
|
+
let { initResponse: d } = r(), f = i(), [p, m] = a(!1), h = t(d?.scopes, [n.PayableWriteOrg]), g = !!(c && o && s === "draft" && h), _ = g ? [{
|
|
18
|
+
id: "deleteDraft",
|
|
19
|
+
label: l.menuItem,
|
|
20
|
+
destructive: !0,
|
|
21
|
+
onSelect: () => m(!0)
|
|
22
|
+
}] : [], v = p && g;
|
|
17
23
|
return {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
menuItems: _,
|
|
25
|
+
dialog: {
|
|
26
|
+
open: v,
|
|
27
|
+
copy: v ? l.dialog : void 0,
|
|
28
|
+
isPending: f.isPending,
|
|
29
|
+
onCancel: () => {
|
|
30
|
+
f.isPending || m(!1);
|
|
31
|
+
},
|
|
32
|
+
onConfirm: () => {
|
|
33
|
+
g && o && !f.isPending && f.mutate({ path: { payable_id: o } }, {
|
|
34
|
+
onError: () => e.error(l.error),
|
|
35
|
+
onSuccess: () => {
|
|
36
|
+
m(!1), u();
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
24
41
|
};
|
|
25
42
|
}
|
|
26
43
|
//#endregion
|
|
27
|
-
export {
|
|
44
|
+
export { o as useDraftDelete };
|
|
@@ -1,44 +1,104 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import "
|
|
9
|
-
import "../../../../shared/
|
|
10
|
-
import { useWidgetConfig as r } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
11
|
-
import "../../../../shared/feature/dist/index.js";
|
|
12
|
-
import { useDeletePayableMutation as i } from "../../data-access/dist/index10.js";
|
|
13
|
-
import "../../data-access/dist/index.js";
|
|
14
|
-
import { useState as a } from "react";
|
|
1
|
+
import { formatCalendarDate as e } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
+
import "../../../../shared/util/dist/index.js";
|
|
3
|
+
import { formatBillMoney as t } from "../../../util/dist/lib/formatBillMoney.js";
|
|
4
|
+
import { resolveLineItemAmountMinorUnits as n } from "../../../util/dist/lib/resolveLineItemAmount.js";
|
|
5
|
+
import { resolveLineItemQuantity as r } from "../../../util/dist/lib/resolveLineItemQuantity.js";
|
|
6
|
+
import { resolveVendor as i, resolveVendorName as a } from "../../../util/dist/lib/resolveVendor.js";
|
|
7
|
+
import "../../../util/dist/index.js";
|
|
8
|
+
import { formatGlCodeLabel as o } from "./index12.js";
|
|
9
|
+
import { derivePayableStatus as s } from "../../../../shared/document-status/util/dist/lib/derivePayableStatus.js";
|
|
15
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
function c(e) {
|
|
12
|
+
return e.total_amount ?? e.amount_due ?? void 0;
|
|
13
|
+
}
|
|
14
|
+
function l(e) {
|
|
15
|
+
return typeof e == "string" ? e : "";
|
|
16
|
+
}
|
|
17
|
+
function u({ payable: u, lineItems: f, ledgerAccounts: p, labels: m, hasScheduledPayment: h, now: g, rejection: _, achInstructions: v, achInstructionsReadable: y = !1 }) {
|
|
18
|
+
let b = u.currency, x = (e) => t(e, b), S = s({
|
|
19
|
+
apiStatus: u.status,
|
|
20
|
+
dueDate: u.due_date,
|
|
21
|
+
scheduledPaymentDate: u.scheduled_payment_date,
|
|
22
|
+
hasScheduledPayment: h,
|
|
23
|
+
now: g
|
|
24
|
+
}), C = i(u), w = a(u), T = e(u.issued_at) || m.notProvided, E = e(u.due_date) || m.notProvided, D = [{
|
|
25
|
+
label: m.vendorRow,
|
|
26
|
+
value: w || m.notProvided,
|
|
27
|
+
secondaryValue: C?.email ?? void 0
|
|
28
|
+
}], O = y ? v?.account_number : void 0;
|
|
29
|
+
O && D.push({
|
|
30
|
+
label: m.bankAccountRow,
|
|
31
|
+
value: m.bankAccountValue(O.slice(-4))
|
|
32
|
+
});
|
|
33
|
+
let k = [
|
|
34
|
+
{
|
|
35
|
+
label: m.invoiceNumberRow,
|
|
36
|
+
value: u.document_id || m.notProvided
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: m.issueDateRow,
|
|
40
|
+
value: T
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: m.dueDateRow,
|
|
44
|
+
value: E
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: m.poNumberRow,
|
|
48
|
+
value: l(u.purchase_order_number) || m.notProvided
|
|
40
49
|
}
|
|
50
|
+
], A = new Map(p.map((e) => [e.id, o(e)])), j = f.map((e) => {
|
|
51
|
+
let t = x(e.unit_price), i = String(r(e));
|
|
52
|
+
return {
|
|
53
|
+
id: e.id,
|
|
54
|
+
description: e.name ?? e.description ?? "",
|
|
55
|
+
glCodeLabel: (e.ledger_account_id ? A.get(e.ledger_account_id) : void 0) || m.glCodeMissing,
|
|
56
|
+
quantityLabel: t ? m.quantityValue(i, t) : m.quantityOnlyValue(i),
|
|
57
|
+
amountLabel: x(n(e)) ?? ""
|
|
58
|
+
};
|
|
59
|
+
}), M = [
|
|
60
|
+
{
|
|
61
|
+
label: m.subtotalRow,
|
|
62
|
+
value: u.subtotal
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
label: m.discountsRow,
|
|
66
|
+
value: u.discount
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: m.taxRow,
|
|
70
|
+
value: u.tax_amount
|
|
71
|
+
}
|
|
72
|
+
].map(({ label: e, value: t }) => ({
|
|
73
|
+
label: e,
|
|
74
|
+
value: x(t)
|
|
75
|
+
})).filter((e) => !!e.value), N = x(c(u));
|
|
76
|
+
N && M.push({
|
|
77
|
+
label: m.totalRow,
|
|
78
|
+
value: N,
|
|
79
|
+
emphasis: !0
|
|
80
|
+
});
|
|
81
|
+
let P = d(u);
|
|
82
|
+
return {
|
|
83
|
+
title: w,
|
|
84
|
+
subtitle: m.subtitle,
|
|
85
|
+
status: S.status,
|
|
86
|
+
statusTone: S.tone,
|
|
87
|
+
amountDueLabel: x(u.amount_due) ?? x(u.total_amount) ?? "",
|
|
88
|
+
amountPaidLabel: P ? x(u.amount_paid) : void 0,
|
|
89
|
+
paidOnLabel: P ? m.paidOnLabel(P) : void 0,
|
|
90
|
+
invoiceDateLabel: T,
|
|
91
|
+
dueDateLabel: E,
|
|
92
|
+
dueDateTone: S.isOverdue ? "danger" : "default",
|
|
93
|
+
payToItems: D,
|
|
94
|
+
invoiceItems: k,
|
|
95
|
+
lineItems: j,
|
|
96
|
+
totals: M,
|
|
97
|
+
rejection: _
|
|
41
98
|
};
|
|
42
99
|
}
|
|
100
|
+
function d(t) {
|
|
101
|
+
return t.status === "paid" && t.paid_at ? e(t.paid_at.slice(0, 10)) : void 0;
|
|
102
|
+
}
|
|
43
103
|
//#endregion
|
|
44
|
-
export {
|
|
104
|
+
export { d as getPaidAtLabel, u as mapPayableToBillDetails, c as resolveInvoiceTotalMinorUnits };
|