@tesouro/embedded-components-react 0.5.9 → 0.5.12
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/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +4 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +84 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +3 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +30 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +37 -166
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +164 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +48 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +1 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +45 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +8 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +7 -59
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +64 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +18 -139
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +144 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +91 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +92 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +133 -129
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +20 -10
- package/package.json +1 -1
|
@@ -2,149 +2,28 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import "../../../shared/
|
|
7
|
-
import {
|
|
5
|
+
import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
+
import { useCurrentUserQuery as t } from "../../../shared/data-access/dist/lib/useCurrentUserQuery.js";
|
|
7
|
+
import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
8
|
+
import "../../../shared/data-access/dist/index.js";
|
|
9
|
+
import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
8
10
|
import "../../../shared/feature/dist/index.js";
|
|
9
|
-
import {
|
|
10
|
-
import { useCancelPayableMutation as i, useCancelScheduledPaymentMutation as a, useForceApprovePayableMutation as o, useForceRejectPayableMutation as s, useReopenPayableMutation as c } from "../../data-access/dist/index13.js";
|
|
11
|
+
import { usePayableApprovalRequestsQuery as i } from "../../data-access/dist/index8.js";
|
|
11
12
|
import "../../data-access/dist/index.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { BanIcon as d, HandIcon as f } from "lucide-react";
|
|
13
|
+
import { currentApprovalRound as a } from "./index4.js";
|
|
14
|
+
import { usePayableApprovalRoundStart as o } from "./index32.js";
|
|
15
15
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js
|
|
16
|
-
function
|
|
17
|
-
let { initResponse:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
arePendingApproversUnknown: m,
|
|
22
|
-
hasApprovalPolicy: w,
|
|
23
|
-
hasWaitingRequest: T,
|
|
24
|
-
hasScheduledPayment: h || b,
|
|
25
|
-
scheduledPaymentIntentId: _,
|
|
26
|
-
isPayabilityUnknown: x,
|
|
27
|
-
labels: S
|
|
28
|
-
}) : [], U = (t) => ({
|
|
29
|
-
onError: () => e.error(S.actionError),
|
|
30
|
-
onSuccess: () => {
|
|
31
|
-
let n = y(t) && !w ? `${t}NoApprovalPolicy` : t;
|
|
32
|
-
e.success(S.actionSuccess[n]), k?.();
|
|
33
|
-
}
|
|
34
|
-
}), W = {
|
|
35
|
-
reject: {
|
|
36
|
-
isPending: j.isPending,
|
|
37
|
-
run: (e) => p && j.mutate({
|
|
38
|
-
path: { approval_request_id: p },
|
|
39
|
-
body: e ? { reject_reason: e } : void 0
|
|
40
|
-
}, U("reject"))
|
|
41
|
-
},
|
|
42
|
-
approve: {
|
|
43
|
-
isPending: M.isPending,
|
|
44
|
-
run: () => p && M.mutate({ path: { approval_request_id: p } }, U("approve"))
|
|
45
|
-
},
|
|
46
|
-
cancel: {
|
|
47
|
-
isPending: N.isPending,
|
|
48
|
-
run: () => d && N.mutate({ path: { payable_id: d } }, U("cancel"))
|
|
49
|
-
},
|
|
50
|
-
cancelScheduledPayment: {
|
|
51
|
-
isPending: P.isPending,
|
|
52
|
-
run: () => {
|
|
53
|
-
let e = V?.scheduledPaymentIntentId;
|
|
54
|
-
!d || !e || P.mutate({
|
|
55
|
-
path: { payment_intent_id: e },
|
|
56
|
-
payableId: d
|
|
57
|
-
}, U("cancelScheduledPayment"));
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
reopen: {
|
|
61
|
-
isPending: F.isPending,
|
|
62
|
-
run: () => d && F.mutate({ path: { payable_id: d } }, U("reopen"))
|
|
63
|
-
},
|
|
64
|
-
forceApprove: {
|
|
65
|
-
isPending: I.isPending,
|
|
66
|
-
run: () => d && I.mutate({ path: { payable_id: d } }, U("forceApprove"))
|
|
67
|
-
},
|
|
68
|
-
forceReject: {
|
|
69
|
-
isPending: L.isPending,
|
|
70
|
-
run: () => d && L.mutate({ path: { payable_id: d } }, U("forceReject"))
|
|
71
|
-
}
|
|
72
|
-
}, G = H.map((e) => ({
|
|
73
|
-
...e,
|
|
74
|
-
disabled: R,
|
|
75
|
-
loading: e.id === "markAsPaid" ? C : W[e.id]?.isPending ?? !1,
|
|
76
|
-
onSelect: () => {
|
|
77
|
-
if (!(R || !d)) {
|
|
78
|
-
if (e.id === "payBill") {
|
|
79
|
-
D();
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
if (e.id === "markAsPaid") {
|
|
83
|
-
O();
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
if (v(e.id)) {
|
|
87
|
-
B({
|
|
88
|
-
id: e.id,
|
|
89
|
-
scheduledPaymentIntentId: _
|
|
90
|
-
});
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
W[e.id]?.run();
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}));
|
|
16
|
+
function s({ payableId: s, status: c }) {
|
|
17
|
+
let { initResponse: l } = r(), u = e(l?.scopes, [n.ApprovalRequestReadOrg]), d = c === "approve_in_progress" && u, f = i(s, { enabled: d }), p = t({ enabled: d }), { roundStartedAt: m } = o({
|
|
18
|
+
payableId: s,
|
|
19
|
+
enabled: d
|
|
20
|
+
}), h = p.data?.id, g = d ? a(f.data?.data, m) : [], _ = (e) => e.caller_is_policy_approver ?? !!(h && e.user_ids.includes(h)), v = g.some(_), y = g.filter((e) => e.status === "waiting");
|
|
97
21
|
return {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
},
|
|
103
|
-
decisionDialog: {
|
|
104
|
-
open: !!V,
|
|
105
|
-
copy: V ? {
|
|
106
|
-
...S.decisionDialog[V.id],
|
|
107
|
-
...y(V.id) && !w ? S.decisionDialog[V.id].noApprovalPolicy : void 0,
|
|
108
|
-
presentation: g(V.id),
|
|
109
|
-
pendingApprovers: y(V.id) ? E ?? [] : void 0
|
|
110
|
-
} : void 0,
|
|
111
|
-
isPending: V ? W[V.id]?.isPending ?? !1 : !1,
|
|
112
|
-
onCancel: () => {
|
|
113
|
-
R || B(void 0);
|
|
114
|
-
},
|
|
115
|
-
onConfirm: (e) => {
|
|
116
|
-
!V || R || (W[V.id]?.run(e), B(void 0));
|
|
117
|
-
}
|
|
118
|
-
}
|
|
22
|
+
id: y.filter(_).find((e) => !(h && (e.approved_by ?? []).includes(h)))?.id,
|
|
23
|
+
isPolicyApprover: v,
|
|
24
|
+
hasWaitingRequest: y.length > 0,
|
|
25
|
+
isLoading: f.isLoading || p.isLoading
|
|
119
26
|
};
|
|
120
27
|
}
|
|
121
|
-
var m = {
|
|
122
|
-
alignment: "center",
|
|
123
|
-
icon: f,
|
|
124
|
-
tone: "destructive",
|
|
125
|
-
actionWidth: "equal"
|
|
126
|
-
}, h = {
|
|
127
|
-
alignment: "center",
|
|
128
|
-
icon: d,
|
|
129
|
-
tone: "destructive",
|
|
130
|
-
actionWidth: "equal"
|
|
131
|
-
};
|
|
132
|
-
function g(e) {
|
|
133
|
-
if (y(e)) return m;
|
|
134
|
-
if (e === "reject") return h;
|
|
135
|
-
}
|
|
136
|
-
var _ = [
|
|
137
|
-
"reject",
|
|
138
|
-
"cancel",
|
|
139
|
-
"cancelScheduledPayment",
|
|
140
|
-
"forceApprove",
|
|
141
|
-
"forceReject"
|
|
142
|
-
];
|
|
143
|
-
function v(e) {
|
|
144
|
-
return _.includes(e);
|
|
145
|
-
}
|
|
146
|
-
function y(e) {
|
|
147
|
-
return e === "forceApprove" || e === "forceReject";
|
|
148
|
-
}
|
|
149
28
|
//#endregion
|
|
150
|
-
export {
|
|
29
|
+
export { s as useCurrentApprovalRequestId };
|
|
@@ -2,26 +2,154 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "../../../shared/
|
|
8
|
-
import { formatCalendarDate as n } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
9
|
-
import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
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";
|
|
10
8
|
import "../../../shared/feature/dist/index.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { useApprovePayableApprovalRequestMutation as n, useRejectPayableApprovalRequestMutation as r } from "../../data-access/dist/index8.js";
|
|
10
|
+
import { useCancelPayableMutation as i, useCancelScheduledPaymentMutation as a, useForceApprovePayableMutation as o, useForceRejectPayableMutation as s, useReopenPayableMutation as c } from "../../data-access/dist/index13.js";
|
|
13
11
|
import "../../data-access/dist/index.js";
|
|
12
|
+
import { getBillDetailActions as l } from "./index20.js";
|
|
13
|
+
import { useState as u } from "react";
|
|
14
|
+
import { BanIcon as d, HandIcon as f } from "lucide-react";
|
|
14
15
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js
|
|
15
|
-
function
|
|
16
|
-
let { initResponse:
|
|
16
|
+
function p({ payableId: d, status: f, currentApprovalRequestId: p, arePendingApproversUnknown: m, hasScheduledPayment: h, scheduledPaymentIntentId: _, isScheduledPaymentUnknown: b, isPayabilityUnknown: x, labels: S, isMarkAsPaidPending: C, hasApprovalPolicy: w = !0, hasWaitingRequest: T, pendingApprovers: E, onPayBillSelect: D, onMarkAsPaidSelect: O, onEditSelect: k, onActionSucceeded: A }) {
|
|
17
|
+
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 === _) ? B : void 0, U = d && f ? l({
|
|
18
|
+
status: f,
|
|
19
|
+
scopes: j?.scopes,
|
|
20
|
+
canDecideApprovalRequest: !!p,
|
|
21
|
+
arePendingApproversUnknown: m,
|
|
22
|
+
hasApprovalPolicy: w,
|
|
23
|
+
hasWaitingRequest: T,
|
|
24
|
+
hasScheduledPayment: h || b,
|
|
25
|
+
scheduledPaymentIntentId: _,
|
|
26
|
+
isPayabilityUnknown: x,
|
|
27
|
+
canEdit: !!k,
|
|
28
|
+
labels: S
|
|
29
|
+
}) : [], W = (t) => ({
|
|
30
|
+
onError: () => e.error(S.actionError),
|
|
31
|
+
onSuccess: () => {
|
|
32
|
+
let n = y(t) && !w ? `${t}NoApprovalPolicy` : t;
|
|
33
|
+
e.success(S.actionSuccess[n]), A?.(t);
|
|
34
|
+
}
|
|
35
|
+
}), G = {
|
|
36
|
+
reject: {
|
|
37
|
+
isPending: M.isPending,
|
|
38
|
+
run: (e) => p && M.mutate({
|
|
39
|
+
path: { approval_request_id: p },
|
|
40
|
+
body: e ? { reject_reason: e } : void 0
|
|
41
|
+
}, W("reject"))
|
|
42
|
+
},
|
|
43
|
+
approve: {
|
|
44
|
+
isPending: N.isPending,
|
|
45
|
+
run: () => p && N.mutate({ path: { approval_request_id: p } }, W("approve"))
|
|
46
|
+
},
|
|
47
|
+
cancel: {
|
|
48
|
+
isPending: P.isPending,
|
|
49
|
+
run: () => d && P.mutate({ path: { payable_id: d } }, W("cancel"))
|
|
50
|
+
},
|
|
51
|
+
cancelScheduledPayment: {
|
|
52
|
+
isPending: F.isPending,
|
|
53
|
+
run: () => {
|
|
54
|
+
let e = H?.scheduledPaymentIntentId;
|
|
55
|
+
!d || !e || F.mutate({
|
|
56
|
+
path: { payment_intent_id: e },
|
|
57
|
+
payableId: d
|
|
58
|
+
}, W("cancelScheduledPayment"));
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
reopen: {
|
|
62
|
+
isPending: I.isPending,
|
|
63
|
+
run: () => d && I.mutate({ path: { payable_id: d } }, W("reopen"))
|
|
64
|
+
},
|
|
65
|
+
forceApprove: {
|
|
66
|
+
isPending: L.isPending,
|
|
67
|
+
run: () => d && L.mutate({ path: { payable_id: d } }, W("forceApprove"))
|
|
68
|
+
},
|
|
69
|
+
forceReject: {
|
|
70
|
+
isPending: R.isPending,
|
|
71
|
+
run: () => d && R.mutate({ path: { payable_id: d } }, W("forceReject"))
|
|
72
|
+
}
|
|
73
|
+
}, K = U.map((e) => ({
|
|
74
|
+
...e,
|
|
75
|
+
disabled: z,
|
|
76
|
+
loading: e.id === "markAsPaid" ? C : G[e.id]?.isPending ?? !1,
|
|
77
|
+
onSelect: () => {
|
|
78
|
+
if (!(z || !d)) {
|
|
79
|
+
if (e.id === "payBill") {
|
|
80
|
+
D();
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (e.id === "markAsPaid") {
|
|
84
|
+
O();
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (e.id === "edit") {
|
|
88
|
+
k?.();
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (v(e.id)) {
|
|
92
|
+
V({
|
|
93
|
+
id: e.id,
|
|
94
|
+
scheduledPaymentIntentId: _
|
|
95
|
+
});
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
G[e.id]?.run();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}));
|
|
17
102
|
return {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
103
|
+
isActionPending: z,
|
|
104
|
+
actions: {
|
|
105
|
+
row: K.filter((e) => e.surface === "row"),
|
|
106
|
+
menu: K.filter((e) => e.surface === "menu")
|
|
107
|
+
},
|
|
108
|
+
decisionDialog: {
|
|
109
|
+
open: !!H,
|
|
110
|
+
copy: H ? {
|
|
111
|
+
...S.decisionDialog[H.id],
|
|
112
|
+
...y(H.id) && !w ? S.decisionDialog[H.id].noApprovalPolicy : void 0,
|
|
113
|
+
presentation: g(H.id),
|
|
114
|
+
pendingApprovers: y(H.id) ? E ?? [] : void 0
|
|
115
|
+
} : void 0,
|
|
116
|
+
isPending: H ? G[H.id]?.isPending ?? !1 : !1,
|
|
117
|
+
onCancel: () => {
|
|
118
|
+
z || V(void 0);
|
|
119
|
+
},
|
|
120
|
+
onConfirm: (e) => {
|
|
121
|
+
!H || z || (G[H.id]?.run(e), V(void 0));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
24
124
|
};
|
|
25
125
|
}
|
|
126
|
+
var m = {
|
|
127
|
+
alignment: "center",
|
|
128
|
+
icon: f,
|
|
129
|
+
tone: "destructive",
|
|
130
|
+
actionWidth: "equal"
|
|
131
|
+
}, h = {
|
|
132
|
+
alignment: "center",
|
|
133
|
+
icon: d,
|
|
134
|
+
tone: "destructive",
|
|
135
|
+
actionWidth: "equal"
|
|
136
|
+
};
|
|
137
|
+
function g(e) {
|
|
138
|
+
if (y(e)) return m;
|
|
139
|
+
if (e === "reject") return h;
|
|
140
|
+
}
|
|
141
|
+
var _ = [
|
|
142
|
+
"reject",
|
|
143
|
+
"cancel",
|
|
144
|
+
"cancelScheduledPayment",
|
|
145
|
+
"forceApprove",
|
|
146
|
+
"forceReject"
|
|
147
|
+
];
|
|
148
|
+
function v(e) {
|
|
149
|
+
return _.includes(e);
|
|
150
|
+
}
|
|
151
|
+
function y(e) {
|
|
152
|
+
return e === "forceApprove" || e === "forceReject";
|
|
153
|
+
}
|
|
26
154
|
//#endregion
|
|
27
|
-
export {
|
|
155
|
+
export { p as usePayableDetailActions };
|
|
@@ -1,7 +1,27 @@
|
|
|
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 "../../../shared/data-access/dist/index.js";
|
|
8
|
+
import { formatCalendarDate as n } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
9
|
+
import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
10
|
+
import "../../../shared/feature/dist/index.js";
|
|
11
|
+
import { isLiveScheduledPaymentRecord as i } from "../../data-access/dist/index3.js";
|
|
12
|
+
import { usePayablePaymentRecordsQuery as a } from "../../data-access/dist/index11.js";
|
|
13
|
+
import "../../data-access/dist/index.js";
|
|
1
14
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return
|
|
15
|
+
function o({ payableId: o, scheduledPaymentDate: s, enabled: c = !0 }) {
|
|
16
|
+
let { initResponse: l } = r(), u = e(l?.scopes, [t.PaymentRecordReadOrg]), d = a(c ? o : void 0, { enabled: c && u }), f = d.paymentRecords.find(i), p = !!f || !!s, m = f?.planned_payment_date ?? (p ? s : void 0);
|
|
17
|
+
return {
|
|
18
|
+
hasScheduledPayment: p,
|
|
19
|
+
paymentRecords: d.paymentRecords,
|
|
20
|
+
isError: d.isError,
|
|
21
|
+
isResolving: d.isResolving,
|
|
22
|
+
scheduledDateLabel: m ? n(m) : void 0,
|
|
23
|
+
scheduledPaymentIntentId: f?.payment_intent_id ?? void 0
|
|
24
|
+
};
|
|
5
25
|
}
|
|
6
26
|
//#endregion
|
|
7
|
-
export {
|
|
27
|
+
export { o as useScheduledPayment };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
2
|
import { derivePayableStatus as t } from "./index7.js";
|
|
3
3
|
import { resolveVendor as n } from "./index8.js";
|
|
4
|
-
import { resolveAmountDueMinorUnits as r } from "./
|
|
5
|
-
import { maskAccountNumber as i } from "./
|
|
4
|
+
import { resolveAmountDueMinorUnits as r } from "./index21.js";
|
|
5
|
+
import { maskAccountNumber as i } from "./index23.js";
|
|
6
6
|
import { formatBillMoney as a } from "./index2.js";
|
|
7
7
|
import { resolveLineItemAmountMinorUnits as o } from "./index40.js";
|
|
8
8
|
import { getPaidAtLabel as s } from "./index41.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BILL_REJECTED_BANNER_LABELS_EN as e } from "../../ui/dist/index68.js";
|
|
2
2
|
import { UNSAVED_BILL_DIALOG_LABELS_EN as t } from "../../ui/dist/index105.js";
|
|
3
3
|
import "../../ui/dist/index.js";
|
|
4
|
-
import { PAY_BILL_FLOW_LABELS_EN as n, mergePayBillFlowLabels as r } from "./
|
|
4
|
+
import { PAY_BILL_FLOW_LABELS_EN as n, mergePayBillFlowLabels as r } from "./index25.js";
|
|
5
5
|
import { MARK_AS_PAID_FLOW_LABELS_EN as i, mergeMarkAsPaidFlowLabels as a } from "./index15.js";
|
|
6
6
|
import "./index18.js";
|
|
7
|
-
import { APPROVAL_POLICY_RULE_COPY_EN as o } from "./
|
|
7
|
+
import { APPROVAL_POLICY_RULE_COPY_EN as o } from "./index29.js";
|
|
8
8
|
import { BILL_DETAIL_ACTIONS_LABELS_EN as s, PAYMENT_HISTORY_LABELS_EN as c, SCHEDULED_SUMMARY_LABEL_EN as l, mergeBillDetailActionsLabels as u, mergePaymentHistoryMethodLabels as d } from "./index45.js";
|
|
9
9
|
import { SOURCE_DOCUMENT_PREVIEW_LABELS_EN as f } from "./index46.js";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js
|
|
@@ -11,7 +11,7 @@ import { useCounterpartsQuery as r } from "../../../shared/counterpart-managemen
|
|
|
11
11
|
import { useCreateCounterpartBankAccountMutation as ee, useUpdateCounterpartBankAccountMutation as te } from "../../../shared/counterpart-management/data-access/dist/index5.js";
|
|
12
12
|
import { usePayableSuggestionsQuery as i } from "../../data-access/dist/index18.js";
|
|
13
13
|
import "../../data-access/dist/index.js";
|
|
14
|
-
import { maskAccountNumber as a } from "./
|
|
14
|
+
import { maskAccountNumber as a } from "./index23.js";
|
|
15
15
|
import { counterpartFormBankAccountToCreatePayload as ne, counterpartFormBankAccountToUpdatePayload as re, getAchInstructions as ie, getCounterpartEmail as o, getCounterpartName as s, getPayableAchInstructions as c, hasAchFormValues as l, resolveCounterpartBankAccountWrite as ae, validateAchFormValues as oe } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
16
16
|
import { useCounterpartDetails as se } from "../../../shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js";
|
|
17
17
|
import "../../../shared/counterpart-management/feature/dist/index.js";
|