@tesouro/embedded-components-react 0.2.331 → 0.2.333
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/index.css +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +86 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +59 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +12 -204
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +254 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +6 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +10 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +7 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +11 -86
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +89 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -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 +1274 -1266
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +0 -2
package/dist/index.css
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { resolveAmountDueMinorUnits as e } from "./index2.js";
|
|
6
6
|
import { resolveVendor as t } from "./index3.js";
|
|
7
7
|
import { payBillFlowTestIds as n } from "./index4.js";
|
|
8
|
-
import { ReviewTransactionDialog as r } from "../../ui/dist/
|
|
9
|
-
import { SchedulePaymentDialog as i } from "../../ui/dist/
|
|
8
|
+
import { ReviewTransactionDialog as r } from "../../ui/dist/index67.js";
|
|
9
|
+
import { SchedulePaymentDialog as i } from "../../ui/dist/index71.js";
|
|
10
10
|
import "../../ui/dist/index.js";
|
|
11
11
|
import { usePayBillFlow as a } from "./index9.js";
|
|
12
12
|
import { useImperativeHandle as o } from "react";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { SourceDocumentPanel as e } from "../../ui/dist/
|
|
5
|
+
import { SourceDocumentPanel as e } from "../../ui/dist/index74.js";
|
|
6
6
|
import "../../ui/dist/index.js";
|
|
7
7
|
import { useAttachPayableFileMutation as t, useDeletePayableFileMutation as n } from "../../data-access/dist/index10.js";
|
|
8
8
|
import "../../data-access/dist/index.js";
|
|
@@ -13,7 +13,7 @@ import "../../../shared/feature/dist/index.js";
|
|
|
13
13
|
import { resolveVendor as ie } from "./index3.js";
|
|
14
14
|
import { BillCreateScreen as ae } from "../../ui/dist/index40.js";
|
|
15
15
|
import { BillDecisionDialog as oe } from "../../ui/dist/index46.js";
|
|
16
|
-
import { ExtractionNotice as se } from "../../ui/dist/
|
|
16
|
+
import { ExtractionNotice as se } from "../../ui/dist/index61.js";
|
|
17
17
|
import "../../ui/dist/index.js";
|
|
18
18
|
import { usePayableHistoryQuery as ce } from "../../data-access/dist/index6.js";
|
|
19
19
|
import { useAllPayableLineItemsQuery as le } from "../../data-access/dist/index7.js";
|
|
@@ -1,53 +1,110 @@
|
|
|
1
|
+
import { BillColumn as e } from "../../ui/dist/index53.js";
|
|
2
|
+
import "../../ui/dist/index.js";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js
|
|
2
|
-
var
|
|
4
|
+
var t = {
|
|
3
5
|
Drafts: "drafts",
|
|
4
6
|
Pending: "pending",
|
|
5
7
|
Scheduled: "scheduled",
|
|
6
8
|
Paid: "paid",
|
|
7
9
|
All: "all"
|
|
8
|
-
},
|
|
9
|
-
[
|
|
10
|
-
[
|
|
10
|
+
}, n = {
|
|
11
|
+
[t.Drafts]: ["draft"],
|
|
12
|
+
[t.Pending]: [
|
|
11
13
|
"new",
|
|
12
14
|
"approve_in_progress",
|
|
13
15
|
"waiting_to_be_paid",
|
|
14
16
|
"partially_paid"
|
|
15
17
|
],
|
|
16
|
-
[
|
|
18
|
+
[t.Scheduled]: [
|
|
17
19
|
"new",
|
|
18
20
|
"approve_in_progress",
|
|
19
21
|
"waiting_to_be_paid",
|
|
20
22
|
"partially_paid"
|
|
21
23
|
],
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
},
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
e.Pending
|
|
33
|
-
e.Scheduled,
|
|
34
|
-
e.Paid,
|
|
35
|
-
e.All
|
|
36
|
-
];
|
|
37
|
-
function a(e) {
|
|
38
|
-
let n = t[e];
|
|
39
|
-
return n ? [...n] : void 0;
|
|
24
|
+
[t.Paid]: ["paid"],
|
|
25
|
+
[t.All]: void 0
|
|
26
|
+
}, r = {
|
|
27
|
+
[t.Drafts]: void 0,
|
|
28
|
+
[t.Pending]: !1,
|
|
29
|
+
[t.Scheduled]: !0,
|
|
30
|
+
[t.Paid]: void 0,
|
|
31
|
+
[t.All]: void 0
|
|
32
|
+
};
|
|
33
|
+
function i(e) {
|
|
34
|
+
return e === t.Pending || e === t.Drafts;
|
|
40
35
|
}
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
var a = t.Pending, o = [
|
|
37
|
+
t.Pending,
|
|
38
|
+
t.Drafts,
|
|
39
|
+
t.Scheduled,
|
|
40
|
+
t.Paid,
|
|
41
|
+
t.All
|
|
42
|
+
], s = {
|
|
43
|
+
[t.Drafts]: [
|
|
44
|
+
e.Vendor,
|
|
45
|
+
e.DueDate,
|
|
46
|
+
e.Status,
|
|
47
|
+
e.AmountDue,
|
|
48
|
+
e.AddedOn
|
|
49
|
+
],
|
|
50
|
+
[t.Pending]: [
|
|
51
|
+
e.Vendor,
|
|
52
|
+
e.DueDate,
|
|
53
|
+
e.Status,
|
|
54
|
+
e.AmountDue,
|
|
55
|
+
e.AddedOn
|
|
56
|
+
],
|
|
57
|
+
[t.Scheduled]: [
|
|
58
|
+
e.Vendor,
|
|
59
|
+
e.DueDate,
|
|
60
|
+
e.ScheduledDate,
|
|
61
|
+
e.Status,
|
|
62
|
+
e.AmountScheduled,
|
|
63
|
+
e.AddedOn
|
|
64
|
+
],
|
|
65
|
+
[t.Paid]: [
|
|
66
|
+
e.Vendor,
|
|
67
|
+
e.PaidDate,
|
|
68
|
+
e.Status,
|
|
69
|
+
e.AmountPaid,
|
|
70
|
+
e.AddedOn
|
|
71
|
+
],
|
|
72
|
+
[t.All]: [
|
|
73
|
+
e.Vendor,
|
|
74
|
+
e.DueDate,
|
|
75
|
+
e.ScheduledDate,
|
|
76
|
+
e.Status,
|
|
77
|
+
e.AmountDue,
|
|
78
|
+
e.AmountPaid,
|
|
79
|
+
e.AddedOn
|
|
80
|
+
]
|
|
81
|
+
};
|
|
82
|
+
function c(e) {
|
|
83
|
+
return s[e];
|
|
84
|
+
}
|
|
85
|
+
function l(e) {
|
|
86
|
+
let t = n[e];
|
|
87
|
+
return t ? [...t] : void 0;
|
|
43
88
|
}
|
|
44
|
-
|
|
89
|
+
function u(e) {
|
|
90
|
+
return r[e];
|
|
91
|
+
}
|
|
92
|
+
var d = {
|
|
45
93
|
vendorLabel: "counterpart_name",
|
|
46
94
|
dueDateLabel: "due_date",
|
|
95
|
+
scheduledDateLabel: "scheduled_payment_date",
|
|
47
96
|
addedOnLabel: "created_at"
|
|
97
|
+
}, f = {
|
|
98
|
+
[e.Vendor]: "vendorLabel",
|
|
99
|
+
[e.DueDate]: "dueDateLabel",
|
|
100
|
+
[e.ScheduledDate]: "scheduledDateLabel",
|
|
101
|
+
[e.AddedOn]: "addedOnLabel"
|
|
48
102
|
};
|
|
49
|
-
function
|
|
50
|
-
|
|
103
|
+
function p(e) {
|
|
104
|
+
return f[e];
|
|
105
|
+
}
|
|
106
|
+
function m(e) {
|
|
107
|
+
if (e) return d[e];
|
|
51
108
|
}
|
|
52
109
|
//#endregion
|
|
53
|
-
export {
|
|
110
|
+
export { s as BILL_QUEUE_COLUMNS, r as BILL_QUEUE_HAS_SCHEDULED_PAYMENT, o as BILL_QUEUE_ORDER, n as BILL_QUEUE_STATUSES, d as BILL_SORT_FIELDS, t as BillQueue, a as DEFAULT_BILL_QUEUE, c as billQueueColumns, u as billQueueHasScheduledPayment, i as billQueueOffersAddPanel, l as billQueueStatuses, p as billSortColumnId, m as billSortField };
|
|
@@ -7,12 +7,34 @@ var t = {
|
|
|
7
7
|
[e.Paid]: "Paid",
|
|
8
8
|
[e.All]: "All bills"
|
|
9
9
|
}, n = {
|
|
10
|
+
[e.Drafts]: {
|
|
11
|
+
title: "No drafts",
|
|
12
|
+
description: "Bills wait here until someone submits them for approval."
|
|
13
|
+
},
|
|
14
|
+
[e.Pending]: {
|
|
15
|
+
title: "Nothing to act on",
|
|
16
|
+
description: "Every bill has been paid, scheduled, or is still a draft."
|
|
17
|
+
},
|
|
18
|
+
[e.Scheduled]: {
|
|
19
|
+
title: "No scheduled bills",
|
|
20
|
+
description: "Bills appear here once a payment date is set for them."
|
|
21
|
+
},
|
|
22
|
+
[e.Paid]: {
|
|
23
|
+
title: "No paid bills",
|
|
24
|
+
description: "Bills appear here once their payment has gone out."
|
|
25
|
+
},
|
|
26
|
+
[e.All]: {
|
|
27
|
+
title: "No bills",
|
|
28
|
+
description: "Bills appear here as soon as they are added."
|
|
29
|
+
}
|
|
30
|
+
}, r = {
|
|
10
31
|
emptyHeading: "Add your first bill",
|
|
11
32
|
nonEmptyHeading: "Add a bill",
|
|
12
33
|
createButton: "Add bill",
|
|
13
34
|
emailCopiedToast: "Email address copied to clipboard",
|
|
14
35
|
emailCopyFailedToast: "Could not copy the email address",
|
|
15
|
-
queues: t
|
|
36
|
+
queues: t,
|
|
37
|
+
queueEmptyStates: n
|
|
16
38
|
};
|
|
17
39
|
//#endregion
|
|
18
|
-
export {
|
|
40
|
+
export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
|
|
@@ -8,73 +8,84 @@ import { resolveVendorName as n } from "./index3.js";
|
|
|
8
8
|
import { usePayablesQuery as r, usePayablesTotalCountQuery as i } from "../../data-access/dist/index13.js";
|
|
9
9
|
import "../../data-access/dist/index.js";
|
|
10
10
|
import { derivePayableStatus as a } from "./index20.js";
|
|
11
|
-
import { DEFAULT_BILL_QUEUE as o,
|
|
12
|
-
import { useCallback as
|
|
11
|
+
import { DEFAULT_BILL_QUEUE as o, billQueueColumns as s, billQueueHasScheduledPayment as c, billQueueOffersAddPanel as l, billQueueStatuses as u, billSortColumnId as d, billSortField as f } from "./index50.js";
|
|
12
|
+
import { useCallback as p, useEffect as m, useMemo as h, useState as g } from "react";
|
|
13
13
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js
|
|
14
|
-
var
|
|
14
|
+
var _ = 10, v = [{
|
|
15
15
|
id: "addedOnLabel",
|
|
16
16
|
desc: !0
|
|
17
17
|
}];
|
|
18
|
-
function
|
|
19
|
-
let [
|
|
20
|
-
|
|
18
|
+
function y({ enabled: y = !0, onOpenBill: b }) {
|
|
19
|
+
let [x, S] = g(o), [C, w] = g(v), [T, E] = g(_), [D, O] = g(), [k, A] = g(""), [j, M] = g(""), N = p(() => O(void 0), []);
|
|
20
|
+
m(() => {
|
|
21
21
|
let e = setTimeout(() => {
|
|
22
|
-
k
|
|
22
|
+
M(k), N();
|
|
23
23
|
}, 300);
|
|
24
24
|
return () => clearTimeout(e);
|
|
25
|
-
}, [
|
|
26
|
-
let
|
|
27
|
-
limit:
|
|
28
|
-
pagination_token:
|
|
29
|
-
status__in:
|
|
30
|
-
has_scheduled_payment:
|
|
31
|
-
counterpart_name__icontains:
|
|
32
|
-
sort:
|
|
33
|
-
order:
|
|
34
|
-
enabled:
|
|
35
|
-
}),
|
|
25
|
+
}, [k, N]);
|
|
26
|
+
let P = C[0], F = f(P?.id), I = r({
|
|
27
|
+
limit: T,
|
|
28
|
+
pagination_token: D,
|
|
29
|
+
status__in: u(x),
|
|
30
|
+
has_scheduled_payment: c(x),
|
|
31
|
+
counterpart_name__icontains: j || void 0,
|
|
32
|
+
sort: F,
|
|
33
|
+
order: F ? P?.desc ? "desc" : "asc" : void 0,
|
|
34
|
+
enabled: y
|
|
35
|
+
}), L = I.data?.data.length === 0, R = i({ enabled: y && L }), z = !L || (R.data?.count ?? 1) > 0, B = h(() => (I.data?.data ?? []).map((r) => {
|
|
36
36
|
let i = a({
|
|
37
37
|
apiStatus: r.status,
|
|
38
38
|
dueDate: r.due_date,
|
|
39
39
|
scheduledPaymentDate: r.scheduled_payment_date
|
|
40
|
-
}), o = r.amount_due ?? r.total_amount;
|
|
40
|
+
}), o = r.amount_due ?? r.total_amount, s = (e) => e == null ? "" : t(e / 100, { currencyCode: r.currency ?? "USD" });
|
|
41
41
|
return {
|
|
42
42
|
vendorLabel: n(r),
|
|
43
43
|
dueDateLabel: e(r.due_date),
|
|
44
|
-
|
|
44
|
+
scheduledDateLabel: e(r.scheduled_payment_date),
|
|
45
|
+
paidDateLabel: e(r.paid_at?.slice(0, 10)),
|
|
46
|
+
amountDueLabel: s(o),
|
|
47
|
+
amountPaidLabel: s(r.amount_paid),
|
|
48
|
+
amountScheduledLabel: s(r.amount_to_pay ?? o),
|
|
45
49
|
status: i.status,
|
|
46
50
|
statusTone: i.tone,
|
|
47
51
|
addedOnLabel: e(r.created_at?.slice(0, 10)),
|
|
48
|
-
onOpen: () =>
|
|
52
|
+
onOpen: () => b(r.id, i.status === "draft")
|
|
49
53
|
};
|
|
50
|
-
}), [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, [
|
|
57
|
-
N
|
|
58
|
-
}, [N
|
|
54
|
+
}), [I.data?.data, b]), V = p((e) => {
|
|
55
|
+
let t = e;
|
|
56
|
+
S(t), w((e) => {
|
|
57
|
+
let n = e[0]?.id;
|
|
58
|
+
return n ? s(t).some((e) => d(e) === n) ? e : v : e;
|
|
59
|
+
}), N();
|
|
60
|
+
}, [N]), H = p((e) => {
|
|
61
|
+
w((t) => typeof e == "function" ? e(t) : e), N();
|
|
62
|
+
}, [N]), U = p((e) => {
|
|
63
|
+
E(e), N();
|
|
64
|
+
}, [N]), W = p(() => O(I.data?.next_pagination_token), [I.data?.next_pagination_token]), G = p(() => O(I.data?.prev_pagination_token), [I.data?.prev_pagination_token]), K = p(() => {
|
|
65
|
+
I.refetch();
|
|
66
|
+
}, [I.refetch]);
|
|
59
67
|
return {
|
|
60
|
-
rows:
|
|
61
|
-
isLoading:
|
|
62
|
-
isError:
|
|
63
|
-
onRetry:
|
|
64
|
-
selectedFilterTabId:
|
|
65
|
-
onFilterTabChange:
|
|
66
|
-
searchValue:
|
|
67
|
-
onSearchChange:
|
|
68
|
-
hasAnyBills:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
68
|
+
rows: B,
|
|
69
|
+
isLoading: I.isFetching || L && R.isLoading,
|
|
70
|
+
isError: I.isError,
|
|
71
|
+
onRetry: K,
|
|
72
|
+
selectedFilterTabId: x,
|
|
73
|
+
onFilterTabChange: V,
|
|
74
|
+
searchValue: k,
|
|
75
|
+
onSearchChange: A,
|
|
76
|
+
hasAnyBills: z,
|
|
77
|
+
isSearchActive: j.length > 0,
|
|
78
|
+
visibleColumns: s(x),
|
|
79
|
+
showAddPanelWhenEmpty: l(x),
|
|
80
|
+
sorting: C,
|
|
81
|
+
onSortingChange: H,
|
|
82
|
+
pageSize: T,
|
|
83
|
+
onPageSizeChange: U,
|
|
84
|
+
hasNextPage: !!I.data?.next_pagination_token,
|
|
85
|
+
hasPrevPage: !!I.data?.prev_pagination_token,
|
|
86
|
+
onNextPage: W,
|
|
87
|
+
onPrevPage: G
|
|
77
88
|
};
|
|
78
89
|
}
|
|
79
90
|
//#endregion
|
|
80
|
-
export {
|
|
91
|
+
export { y as useBillsTable };
|
|
@@ -10,7 +10,7 @@ import "../../../shared/ui/dist/index.js";
|
|
|
10
10
|
import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
11
11
|
import "../../../shared/feature/dist/index.js";
|
|
12
12
|
import { AddBillDialog as i } from "../../ui/dist/index10.js";
|
|
13
|
-
import { BillsScreen as a } from "../../ui/dist/
|
|
13
|
+
import { BillsScreen as a } from "../../ui/dist/index54.js";
|
|
14
14
|
import "../../ui/dist/index.js";
|
|
15
15
|
import { BillCreateDialog as o } from "./index37.js";
|
|
16
16
|
import "./index38.js";
|
|
@@ -56,7 +56,14 @@ function D({ labels: l, onEnqueueFiles: b, openPayableId: x, onOpenPayableHandle
|
|
|
56
56
|
queues: {
|
|
57
57
|
...u.queues,
|
|
58
58
|
...l?.queues
|
|
59
|
-
}
|
|
59
|
+
},
|
|
60
|
+
queueEmptyStates: c.reduce((e, t) => ({
|
|
61
|
+
...e,
|
|
62
|
+
[t]: {
|
|
63
|
+
...u.queueEmptyStates[t],
|
|
64
|
+
...l?.queueEmptyStates?.[t]
|
|
65
|
+
}
|
|
66
|
+
}), {})
|
|
60
67
|
}), [l]), [D, O] = _(!1), [k, A] = _(), [j, M] = _(!1), [N, P] = _(), [F, I] = _(!1), [L, R] = _(!1), { initResponse: z } = r(), B = t(z?.scopes, [n.PayableReadOrg]), V = t(z?.scopes, [n.PayableWriteOrg]), H = !z || B, U = !z || V, W = m((e, t) => {
|
|
61
68
|
if (t && U) {
|
|
62
69
|
A(e), M(!0);
|
|
@@ -74,8 +81,8 @@ function D({ labels: l, onEnqueueFiles: b, openPayableId: x, onOpenPayableHandle
|
|
|
74
81
|
I(!1), R(!0);
|
|
75
82
|
}, J = g(() => ({
|
|
76
83
|
createButton: w.createButton,
|
|
77
|
-
addBill: { heading: w.
|
|
78
|
-
}), [w.createButton, w.
|
|
84
|
+
addBill: { heading: w.nonEmptyHeading }
|
|
85
|
+
}), [w.createButton, w.nonEmptyHeading]), Y = () => {
|
|
79
86
|
O(!1), A(void 0), M(!0);
|
|
80
87
|
}, X = (e) => {
|
|
81
88
|
O(!1), b?.(e);
|
|
@@ -105,7 +112,10 @@ function D({ labels: l, onEnqueueFiles: b, openPayableId: x, onOpenPayableHandle
|
|
|
105
112
|
onFilterTabChange: G.onFilterTabChange,
|
|
106
113
|
searchValue: G.searchValue,
|
|
107
114
|
onSearchChange: G.onSearchChange,
|
|
108
|
-
|
|
115
|
+
visibleColumns: G.visibleColumns,
|
|
116
|
+
isSearchActive: G.isSearchActive,
|
|
117
|
+
showAddPanelWhenEmpty: G.showAddPanelWhenEmpty,
|
|
118
|
+
emptyState: w.queueEmptyStates[G.selectedFilterTabId],
|
|
109
119
|
onCreateClick: U ? () => O(!0) : void 0,
|
|
110
120
|
onEnterManually: U ? Y : void 0,
|
|
111
121
|
onFilesSelected: U ? X : void 0,
|
|
@@ -12,7 +12,7 @@ import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProv
|
|
|
12
12
|
import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
13
13
|
import "../../../shared/feature/dist/index.js";
|
|
14
14
|
import { BillPayWidgetUi as o } from "../../ui/dist/index43.js";
|
|
15
|
-
import { BillUploadStatusTray as s } from "../../ui/dist/
|
|
15
|
+
import { BillUploadStatusTray as s } from "../../ui/dist/index57.js";
|
|
16
16
|
import "../../ui/dist/index.js";
|
|
17
17
|
import { ApprovalPoliciesSettings as c } from "../../../shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js";
|
|
18
18
|
import "../../../shared/approval-policy/feature/dist/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SOURCE_ACCOUNT_LABELS_EN as e } from "./index6.js";
|
|
2
|
-
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as t } from "../../ui/dist/
|
|
3
|
-
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as n } from "../../ui/dist/
|
|
2
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as t } from "../../ui/dist/index66.js";
|
|
3
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as n } from "../../ui/dist/index69.js";
|
|
4
4
|
import "../../ui/dist/index.js";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js
|
|
6
6
|
var r = {
|
|
@@ -44,23 +44,24 @@ import "./index49.js";
|
|
|
44
44
|
import "./index50.js";
|
|
45
45
|
import { BILL_DETAILS_SHEET_LABELS_EN as a } from "./index51.js";
|
|
46
46
|
import { BillDetailsSheet as o } from "./index52.js";
|
|
47
|
-
import {
|
|
48
|
-
import "./index54.js";
|
|
49
|
-
import
|
|
50
|
-
import "./
|
|
47
|
+
import { BillColumn as s } from "./index53.js";
|
|
48
|
+
import { BillsScreen as c } from "./index54.js";
|
|
49
|
+
import "./index55.js";
|
|
50
|
+
import { BillUploadStatusTray as l } from "./index57.js";
|
|
51
51
|
import "./index59.js";
|
|
52
|
-
import
|
|
53
|
-
import "./index61.js";
|
|
52
|
+
import "./index60.js";
|
|
53
|
+
import { ExtractionNotice as u } from "./index61.js";
|
|
54
54
|
import "./index62.js";
|
|
55
55
|
import "./index63.js";
|
|
56
56
|
import "./index64.js";
|
|
57
|
-
import
|
|
58
|
-
import {
|
|
59
|
-
import "./index67.js";
|
|
60
|
-
import
|
|
61
|
-
import {
|
|
62
|
-
import "./index71.js";
|
|
57
|
+
import "./index65.js";
|
|
58
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as d } from "./index66.js";
|
|
59
|
+
import { ReviewTransactionDialog as f } from "./index67.js";
|
|
60
|
+
import "./index68.js";
|
|
61
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as p } from "./index69.js";
|
|
62
|
+
import { SchedulePaymentDialog as m } from "./index71.js";
|
|
63
63
|
import "./index72.js";
|
|
64
|
-
import
|
|
65
|
-
import "./index74.js";
|
|
66
|
-
|
|
64
|
+
import "./index73.js";
|
|
65
|
+
import { SourceDocumentPanel as h } from "./index74.js";
|
|
66
|
+
import "./index75.js";
|
|
67
|
+
export { e as AddBillDialog, a as BILL_DETAILS_SHEET_LABELS_EN, t as BILL_STATUS_BADGE_LABELS_EN, s as BillColumn, n as BillCreateScreen, i as BillDecisionDialog, o as BillDetailsSheet, r as BillPayWidgetUi, l as BillUploadStatusTray, c as BillsScreen, u as ExtractionNotice, d as REVIEW_TRANSACTION_DIALOG_LABELS_EN, f as ReviewTransactionDialog, p as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, m as SchedulePaymentDialog, h as SourceDocumentPanel };
|
|
@@ -44,7 +44,11 @@ var a = {
|
|
|
44
44
|
createButton: "Add bill",
|
|
45
45
|
columnVendor: "Vendor",
|
|
46
46
|
columnDueDate: "Due date",
|
|
47
|
+
columnScheduledDate: "Scheduled date",
|
|
48
|
+
columnPaidDate: "Paid date",
|
|
47
49
|
columnAmountDue: "Amount due",
|
|
50
|
+
columnAmountScheduled: "Amount scheduled",
|
|
51
|
+
columnAmountPaid: "Amount paid",
|
|
48
52
|
columnStatus: "Status",
|
|
49
53
|
columnAddedOn: "Added on",
|
|
50
54
|
columnActions: "Actions",
|