@tesouro/embedded-components-react 0.2.320 → 0.2.322
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/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +54 -54
- 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/index46.js +60 -59
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.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 +19 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +2 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +11 -233
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +2 -195
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +58 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +236 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +198 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +91 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +30 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +104 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +163 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +89 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +0 -30
|
@@ -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/index58.js";
|
|
9
|
+
import { SchedulePaymentDialog as i } from "../../ui/dist/index62.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/index65.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";
|
|
@@ -2,5 +2,8 @@
|
|
|
2
2
|
function e(e) {
|
|
3
3
|
return e?.counterpart ?? e?.counterpart_raw_data ?? void 0;
|
|
4
4
|
}
|
|
5
|
+
function t(e) {
|
|
6
|
+
return e?.counterpart?.name ?? e?.counterpart_raw_data?.name ?? "";
|
|
7
|
+
}
|
|
5
8
|
//#endregion
|
|
6
|
-
export { e as resolveVendor };
|
|
9
|
+
export { e as resolveVendor, t as resolveVendorName };
|
|
@@ -12,7 +12,7 @@ import { useWidgetConfig as re } from "../../../shared/feature/dist/lib/WidgetPr
|
|
|
12
12
|
import "../../../shared/feature/dist/index.js";
|
|
13
13
|
import { resolveVendor as ie } from "./index3.js";
|
|
14
14
|
import { BillCreateScreen as ae } from "../../ui/dist/index35.js";
|
|
15
|
-
import { ExtractionNotice as oe } from "../../ui/dist/
|
|
15
|
+
import { ExtractionNotice as oe } from "../../ui/dist/index52.js";
|
|
16
16
|
import "../../ui/dist/index.js";
|
|
17
17
|
import { usePayableHistoryQuery as se } from "../../data-access/dist/index6.js";
|
|
18
18
|
import { useAllPayableLineItemsQuery as ce } from "../../data-access/dist/index7.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BILL_DETAILS_SHEET_LABELS_EN as e } from "../../ui/dist/
|
|
1
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as e } from "../../ui/dist/index43.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
3
|
import { BILL_DETAIL_ACTIONS_LABELS_EN as t, SCHEDULED_SUMMARY_LABEL_EN as n } from "./index20.js";
|
|
4
4
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
-
import { resolveVendor as t } from "./index3.js";
|
|
3
|
-
import { derivePayableStatus as
|
|
4
|
-
import { formatBillMoney as
|
|
2
|
+
import { resolveVendor as t, resolveVendorName as n } from "./index3.js";
|
|
3
|
+
import { derivePayableStatus as r } from "./index16.js";
|
|
4
|
+
import { formatBillMoney as i } from "./index17.js";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js
|
|
6
|
-
function
|
|
7
|
-
let
|
|
8
|
-
apiStatus:
|
|
9
|
-
dueDate:
|
|
10
|
-
scheduledPaymentDate:
|
|
11
|
-
}),
|
|
12
|
-
label:
|
|
13
|
-
value:
|
|
14
|
-
secondaryValue:
|
|
15
|
-
}],
|
|
16
|
-
|
|
17
|
-
label:
|
|
18
|
-
value:
|
|
6
|
+
function a({ payable: a, lineItems: o, ledgerAccounts: s, labels: c }) {
|
|
7
|
+
let l = a.currency, u = (e) => i(e, l), d = r({
|
|
8
|
+
apiStatus: a.status,
|
|
9
|
+
dueDate: a.due_date,
|
|
10
|
+
scheduledPaymentDate: a.scheduled_payment_date
|
|
11
|
+
}), f = t(a), p = n(a), m = e(a.issued_at) || c.notProvided, h = e(a.due_date) || c.notProvided, g = [{
|
|
12
|
+
label: c.vendorRow,
|
|
13
|
+
value: p || c.notProvided,
|
|
14
|
+
secondaryValue: f?.email ?? void 0
|
|
15
|
+
}], _ = f?.bank_account?.account_number;
|
|
16
|
+
_ && g.push({
|
|
17
|
+
label: c.bankAccountRow,
|
|
18
|
+
value: c.bankAccountValue(_.slice(-4))
|
|
19
19
|
});
|
|
20
|
-
let
|
|
20
|
+
let v = [
|
|
21
21
|
{
|
|
22
|
-
label:
|
|
23
|
-
value:
|
|
22
|
+
label: c.invoiceNumberRow,
|
|
23
|
+
value: a.document_id || c.notProvided
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
label:
|
|
27
|
-
value:
|
|
26
|
+
label: c.issueDateRow,
|
|
27
|
+
value: m
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
label:
|
|
31
|
-
value:
|
|
30
|
+
label: c.dueDateRow,
|
|
31
|
+
value: h
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
label:
|
|
35
|
-
value:
|
|
34
|
+
label: c.poNumberRow,
|
|
35
|
+
value: c.notProvided
|
|
36
36
|
}
|
|
37
|
-
],
|
|
38
|
-
let t =
|
|
37
|
+
], y = new Map(s.map((e) => [e.id, [e.nominal_code, e.name].filter(Boolean).join(" — ")])), b = o.map((e) => {
|
|
38
|
+
let t = u(e.unit_price);
|
|
39
39
|
return {
|
|
40
40
|
id: e.id,
|
|
41
41
|
description: e.name ?? e.description ?? "",
|
|
42
|
-
glCodeLabel: (e.ledger_account_id ?
|
|
43
|
-
quantityLabel: e.quantity != null && t ?
|
|
44
|
-
amountLabel:
|
|
42
|
+
glCodeLabel: (e.ledger_account_id ? y.get(e.ledger_account_id) : void 0) || c.glCodeMissing,
|
|
43
|
+
quantityLabel: e.quantity != null && t ? c.quantityValue(String(e.quantity), t) : "",
|
|
44
|
+
amountLabel: u(e.subtotal) ?? ""
|
|
45
45
|
};
|
|
46
|
-
}),
|
|
46
|
+
}), x = [
|
|
47
47
|
{
|
|
48
|
-
label:
|
|
49
|
-
value:
|
|
48
|
+
label: c.subtotalRow,
|
|
49
|
+
value: a.subtotal
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
label:
|
|
53
|
-
value:
|
|
52
|
+
label: c.discountsRow,
|
|
53
|
+
value: a.discount
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
label:
|
|
57
|
-
value:
|
|
56
|
+
label: c.taxRow,
|
|
57
|
+
value: a.tax_amount
|
|
58
58
|
}
|
|
59
59
|
].map(({ label: e, value: t }) => ({
|
|
60
60
|
label: e,
|
|
61
|
-
value:
|
|
62
|
-
})).filter((e) => !!e.value),
|
|
63
|
-
return
|
|
64
|
-
label:
|
|
65
|
-
value:
|
|
61
|
+
value: u(t)
|
|
62
|
+
})).filter((e) => !!e.value), S = u(a.total_amount);
|
|
63
|
+
return S && x.push({
|
|
64
|
+
label: c.totalRow,
|
|
65
|
+
value: S,
|
|
66
66
|
emphasis: !0
|
|
67
67
|
}), {
|
|
68
|
-
title:
|
|
69
|
-
subtitle:
|
|
70
|
-
status:
|
|
71
|
-
statusTone:
|
|
72
|
-
amountDueLabel:
|
|
73
|
-
invoiceDateLabel:
|
|
74
|
-
dueDateLabel:
|
|
75
|
-
payToItems:
|
|
76
|
-
invoiceItems:
|
|
77
|
-
lineItems:
|
|
78
|
-
totals:
|
|
68
|
+
title: p,
|
|
69
|
+
subtitle: c.subtitle,
|
|
70
|
+
status: d.status,
|
|
71
|
+
statusTone: d.tone,
|
|
72
|
+
amountDueLabel: u(a.amount_due) ?? u(a.total_amount) ?? "",
|
|
73
|
+
invoiceDateLabel: m,
|
|
74
|
+
dueDateLabel: h,
|
|
75
|
+
payToItems: g,
|
|
76
|
+
invoiceItems: v,
|
|
77
|
+
lineItems: b,
|
|
78
|
+
totals: x
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
//#endregion
|
|
82
|
-
export {
|
|
82
|
+
export { a as mapPayableToBillDetails };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { useAllLedgerAccountsQuery as e } from "../../../shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js";
|
|
6
6
|
import "../../../shared/data-access/dist/index.js";
|
|
7
7
|
import { resolveVendor as t } from "./index3.js";
|
|
8
|
-
import { BillDetailsSheet as n } from "../../ui/dist/
|
|
8
|
+
import { BillDetailsSheet as n } from "../../ui/dist/index44.js";
|
|
9
9
|
import "../../ui/dist/index.js";
|
|
10
10
|
import { useAllPayableLineItemsQuery as r } from "../../data-access/dist/index7.js";
|
|
11
11
|
import { usePayableQuery as i } from "../../data-access/dist/index13.js";
|
|
@@ -4,76 +4,77 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
6
6
|
import { formatMoneyExact as t } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
7
|
-
import {
|
|
7
|
+
import { resolveVendorName as n } from "./index3.js";
|
|
8
|
+
import { usePayablesQuery as r, usePayablesTotalCountQuery as i } from "../../data-access/dist/index13.js";
|
|
8
9
|
import "../../data-access/dist/index.js";
|
|
9
|
-
import { derivePayableStatus as
|
|
10
|
-
import { DEFAULT_BILL_QUEUE as
|
|
11
|
-
import { useCallback as
|
|
10
|
+
import { derivePayableStatus as a } from "./index16.js";
|
|
11
|
+
import { DEFAULT_BILL_QUEUE as o, billQueueHasScheduledPayment as s, billQueueStatuses as c, billSortField as l } from "./index42.js";
|
|
12
|
+
import { useCallback as u, useEffect as d, useMemo as f, useState as p } from "react";
|
|
12
13
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js
|
|
13
|
-
var
|
|
14
|
+
var m = 10, h = [{
|
|
14
15
|
id: "addedOnLabel",
|
|
15
16
|
desc: !0
|
|
16
17
|
}];
|
|
17
|
-
function
|
|
18
|
-
let [
|
|
19
|
-
|
|
18
|
+
function g({ enabled: g = !0, onOpenBill: _ }) {
|
|
19
|
+
let [v, y] = p(o), [b, x] = p(h), [S, C] = p(m), [w, T] = p(), [E, D] = p(""), [O, k] = p(""), A = u(() => T(void 0), []);
|
|
20
|
+
d(() => {
|
|
20
21
|
let e = setTimeout(() => {
|
|
21
|
-
|
|
22
|
+
k(E), A();
|
|
22
23
|
}, 300);
|
|
23
24
|
return () => clearTimeout(e);
|
|
24
|
-
}, [
|
|
25
|
-
let
|
|
26
|
-
limit:
|
|
27
|
-
pagination_token:
|
|
28
|
-
status__in:
|
|
29
|
-
has_scheduled_payment:
|
|
30
|
-
counterpart_name__icontains:
|
|
31
|
-
sort:
|
|
32
|
-
order:
|
|
33
|
-
enabled:
|
|
34
|
-
}),
|
|
35
|
-
let
|
|
36
|
-
apiStatus:
|
|
37
|
-
dueDate:
|
|
38
|
-
scheduledPaymentDate:
|
|
39
|
-
});
|
|
25
|
+
}, [E, A]);
|
|
26
|
+
let j = b[0], M = l(j?.id), N = r({
|
|
27
|
+
limit: S,
|
|
28
|
+
pagination_token: w,
|
|
29
|
+
status__in: c(v),
|
|
30
|
+
has_scheduled_payment: s(v),
|
|
31
|
+
counterpart_name__icontains: O || void 0,
|
|
32
|
+
sort: M,
|
|
33
|
+
order: M ? j?.desc ? "desc" : "asc" : void 0,
|
|
34
|
+
enabled: g
|
|
35
|
+
}), P = N.data?.data.length === 0, F = i({ enabled: g && P }), I = !P || (F.data?.count ?? 1) > 0, L = f(() => (N.data?.data ?? []).map((r) => {
|
|
36
|
+
let i = a({
|
|
37
|
+
apiStatus: r.status,
|
|
38
|
+
dueDate: r.due_date,
|
|
39
|
+
scheduledPaymentDate: r.scheduled_payment_date
|
|
40
|
+
}), o = r.amount_due ?? r.total_amount;
|
|
40
41
|
return {
|
|
41
|
-
vendorLabel: n
|
|
42
|
-
dueDateLabel: e(
|
|
43
|
-
amountDueLabel:
|
|
44
|
-
status:
|
|
45
|
-
statusTone:
|
|
46
|
-
addedOnLabel: e(
|
|
47
|
-
onOpen: () =>
|
|
42
|
+
vendorLabel: n(r),
|
|
43
|
+
dueDateLabel: e(r.due_date),
|
|
44
|
+
amountDueLabel: o == null ? "" : t(o / 100, { currencyCode: r.currency ?? "USD" }),
|
|
45
|
+
status: i.status,
|
|
46
|
+
statusTone: i.tone,
|
|
47
|
+
addedOnLabel: e(r.created_at?.slice(0, 10)),
|
|
48
|
+
onOpen: () => _(r.id, i.status === "draft")
|
|
48
49
|
};
|
|
49
|
-
}), [
|
|
50
|
-
|
|
51
|
-
}, [
|
|
52
|
-
|
|
53
|
-
}, [
|
|
54
|
-
|
|
55
|
-
}, [
|
|
56
|
-
|
|
57
|
-
}, [
|
|
50
|
+
}), [N.data?.data, _]), R = u((e) => {
|
|
51
|
+
y(e), A();
|
|
52
|
+
}, [A]), z = u((e) => {
|
|
53
|
+
x((t) => typeof e == "function" ? e(t) : e), A();
|
|
54
|
+
}, [A]), B = u((e) => {
|
|
55
|
+
C(e), A();
|
|
56
|
+
}, [A]), V = u(() => T(N.data?.next_pagination_token), [N.data?.next_pagination_token]), H = u(() => T(N.data?.prev_pagination_token), [N.data?.prev_pagination_token]), U = u(() => {
|
|
57
|
+
N.refetch();
|
|
58
|
+
}, [N.refetch]);
|
|
58
59
|
return {
|
|
59
|
-
rows:
|
|
60
|
-
isLoading:
|
|
61
|
-
isError:
|
|
62
|
-
onRetry:
|
|
63
|
-
selectedFilterTabId:
|
|
64
|
-
onFilterTabChange:
|
|
65
|
-
searchValue:
|
|
66
|
-
onSearchChange:
|
|
67
|
-
hasAnyBills:
|
|
68
|
-
sorting:
|
|
69
|
-
onSortingChange:
|
|
70
|
-
pageSize:
|
|
71
|
-
onPageSizeChange:
|
|
72
|
-
hasNextPage: !!
|
|
73
|
-
hasPrevPage: !!
|
|
74
|
-
onNextPage:
|
|
75
|
-
onPrevPage:
|
|
60
|
+
rows: L,
|
|
61
|
+
isLoading: N.isLoading || P && F.isLoading,
|
|
62
|
+
isError: N.isError,
|
|
63
|
+
onRetry: U,
|
|
64
|
+
selectedFilterTabId: v,
|
|
65
|
+
onFilterTabChange: R,
|
|
66
|
+
searchValue: E,
|
|
67
|
+
onSearchChange: D,
|
|
68
|
+
hasAnyBills: I,
|
|
69
|
+
sorting: b,
|
|
70
|
+
onSortingChange: z,
|
|
71
|
+
pageSize: S,
|
|
72
|
+
onPageSizeChange: B,
|
|
73
|
+
hasNextPage: !!N.data?.next_pagination_token,
|
|
74
|
+
hasPrevPage: !!N.data?.prev_pagination_token,
|
|
75
|
+
onNextPage: V,
|
|
76
|
+
onPrevPage: H
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
79
|
//#endregion
|
|
79
|
-
export {
|
|
80
|
+
export { g 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/index45.js";
|
|
14
14
|
import "../../ui/dist/index.js";
|
|
15
15
|
import { BillCreateDialog as o } from "./index33.js";
|
|
16
16
|
import "./index34.js";
|
|
@@ -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/index38.js";
|
|
15
|
-
import { BillUploadStatusTray as s } from "../../ui/dist/
|
|
15
|
+
import { BillUploadStatusTray as s } from "../../ui/dist/index48.js";
|
|
16
16
|
import "../../ui/dist/index.js";
|
|
17
17
|
import { billsTabTestIds as c } from "./index45.js";
|
|
18
18
|
import { BillsTab as l } from "./index47.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/index57.js";
|
|
3
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as n } from "../../ui/dist/index60.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 = {
|
|
@@ -31,25 +31,28 @@ import "./index36.js";
|
|
|
31
31
|
import "./index37.js";
|
|
32
32
|
import { BillPayWidgetUi as r } from "./index38.js";
|
|
33
33
|
import "./index39.js";
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import "./index43.js";
|
|
38
|
-
import {
|
|
39
|
-
import "./
|
|
40
|
-
import "./
|
|
41
|
-
import {
|
|
34
|
+
import "./index40.js";
|
|
35
|
+
import "./index41.js";
|
|
36
|
+
import "./index42.js";
|
|
37
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as i } from "./index43.js";
|
|
38
|
+
import { BillDetailsSheet as a } from "./index44.js";
|
|
39
|
+
import { BillsScreen as o } from "./index45.js";
|
|
40
|
+
import "./index46.js";
|
|
41
|
+
import { BillUploadStatusTray as s } from "./index48.js";
|
|
42
42
|
import "./index50.js";
|
|
43
43
|
import "./index51.js";
|
|
44
|
-
import "./index52.js";
|
|
44
|
+
import { ExtractionNotice as c } from "./index52.js";
|
|
45
45
|
import "./index53.js";
|
|
46
|
-
import
|
|
47
|
-
import
|
|
46
|
+
import "./index54.js";
|
|
47
|
+
import "./index55.js";
|
|
48
48
|
import "./index56.js";
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import "./
|
|
52
|
-
import "./
|
|
53
|
-
import {
|
|
49
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as l } from "./index57.js";
|
|
50
|
+
import { ReviewTransactionDialog as u } from "./index58.js";
|
|
51
|
+
import "./index59.js";
|
|
52
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as d } from "./index60.js";
|
|
53
|
+
import { SchedulePaymentDialog as f } from "./index62.js";
|
|
54
54
|
import "./index63.js";
|
|
55
|
+
import "./index64.js";
|
|
56
|
+
import { SourceDocumentPanel as p } from "./index65.js";
|
|
57
|
+
import "./index66.js";
|
|
55
58
|
export { e as AddBillDialog, i as BILL_DETAILS_SHEET_LABELS_EN, t as BILL_STATUS_BADGE_LABELS_EN, n as BillCreateScreen, a as BillDetailsSheet, r as BillPayWidgetUi, s as BillUploadStatusTray, o as BillsScreen, c as ExtractionNotice, l as REVIEW_TRANSACTION_DIALOG_LABELS_EN, u as ReviewTransactionDialog, d as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, f as SchedulePaymentDialog, p as SourceDocumentPanel };
|
|
@@ -1,58 +1,4 @@
|
|
|
1
|
-
import { DATA_TABLE_LABELS_EN as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { ADD_BILL_PANEL_LABELS_EN as t } from "./index6.js";
|
|
3
|
-
import "./index8.js";
|
|
4
|
-
import { BILL_STATUS_BADGE_LABELS_EN as n } from "./index13.js";
|
|
5
|
-
import "./index15.js";
|
|
6
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js
|
|
7
|
-
var
|
|
8
|
-
loadingTitle: "Loading bill…",
|
|
9
|
-
hiddenDescription: "Bill details",
|
|
10
|
-
errorTitle: "Couldn't load this bill",
|
|
11
|
-
errorDescription: "Something went wrong. Try again.",
|
|
12
|
-
amountDueHeading: "Amount due",
|
|
13
|
-
invoiceDateLabel: "Invoice date",
|
|
14
|
-
dueDateLabel: "Due date",
|
|
15
|
-
payToHeading: "Pay to",
|
|
16
|
-
invoiceDetailsHeading: "Invoice details",
|
|
17
|
-
lineItemsHeading: "Line items",
|
|
18
|
-
lineItemsQuantityHeading: "Qty/Price",
|
|
19
|
-
lineItemsAmountHeading: "Amount",
|
|
20
|
-
payButton: "Pay",
|
|
21
|
-
markAsPaidButton: "Mark as paid",
|
|
22
|
-
rejectButton: "Reject",
|
|
23
|
-
expandButton: "Open full screen",
|
|
24
|
-
closeButton: "Close",
|
|
25
|
-
statusBadge: n
|
|
26
|
-
}, i = ".pdf,.png,.jpg,.jpeg,.doc,.docx", a = {
|
|
27
|
-
...t,
|
|
28
|
-
dropzone: {
|
|
29
|
-
...t.dropzone,
|
|
30
|
-
fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
|
|
31
|
-
}
|
|
32
|
-
}, o = {
|
|
33
|
-
createButton: "Add bill",
|
|
34
|
-
columnVendor: "Vendor",
|
|
35
|
-
columnDueDate: "Due date",
|
|
36
|
-
columnAmountDue: "Amount due",
|
|
37
|
-
columnStatus: "Status",
|
|
38
|
-
columnAddedOn: "Added on",
|
|
39
|
-
columnActions: "Actions",
|
|
40
|
-
openRow: (e) => `View bill — ${e}`,
|
|
41
|
-
searchPlaceholder: "Search by vendor name",
|
|
42
|
-
searchLabel: "Search bills by vendor name",
|
|
43
|
-
filterTabsLabel: "Filter bills by status",
|
|
44
|
-
filteredEmptyTitle: "No bills match",
|
|
45
|
-
filteredEmptyDescription: "Try a different search or status filter.",
|
|
46
|
-
errorTitle: "Couldn't load bills",
|
|
47
|
-
errorDescription: "Something went wrong. Try again.",
|
|
48
|
-
errorRetry: "Retry",
|
|
49
|
-
statusBadge: n,
|
|
50
|
-
addBill: a,
|
|
51
|
-
sortableHeader: {
|
|
52
|
-
sortedAscending: e.sortedAscending,
|
|
53
|
-
sortedDescending: e.sortedDescending,
|
|
54
|
-
notSorted: e.notSorted
|
|
55
|
-
}
|
|
56
|
-
};
|
|
2
|
+
var e = { missing: "Missing" };
|
|
57
3
|
//#endregion
|
|
58
|
-
export {
|
|
4
|
+
export { e as MISSING_VALUE_LABELS_EN };
|