@tesouro/embedded-components-react 0.5.14 → 0.5.16
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/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
- 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/index48.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +5 -5
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +32 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +158 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +100 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +2 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +17 -298
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +92 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +301 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +34 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +186 -339
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +3 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +354 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +87 -119
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +125 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +90 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +30 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +85 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +123 -8
- 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/index83.js +0 -28
|
@@ -9,7 +9,7 @@ import { DuplicateVerdict as n, useApplyDuplicateVerdictsMutation as r } from ".
|
|
|
9
9
|
import "../../data-access/dist/index.js";
|
|
10
10
|
import { useDuplicateBills as i } from "./index10.js";
|
|
11
11
|
import { useDuplicateBillsSelection as a } from "./index11.js";
|
|
12
|
-
import { DuplicateBillsDialog as o } from "../../ui/dist/
|
|
12
|
+
import { DuplicateBillsDialog as o } from "../../ui/dist/index87.js";
|
|
13
13
|
import "../../ui/dist/index.js";
|
|
14
14
|
import { useEffect as s, useMemo as c, useState as l } from "react";
|
|
15
15
|
import { jsx as u } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MARK_AS_PAID_DIALOG_LABELS_EN as e } from "../../ui/dist/
|
|
1
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as e } from "../../ui/dist/index98.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js
|
|
4
4
|
var t = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as e } from "../../ui/dist/
|
|
2
|
-
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as t } from "../../ui/dist/
|
|
1
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as e } from "../../ui/dist/index95.js";
|
|
2
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as t } from "../../ui/dist/index101.js";
|
|
3
3
|
import "../../ui/dist/index.js";
|
|
4
4
|
import { SOURCE_ACCOUNT_LABELS_EN as n } from "./index24.js";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { useWidgetConfig as e } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
6
6
|
import "../../../shared/feature/dist/index.js";
|
|
7
7
|
import { resolveVendor as t } from "./index8.js";
|
|
8
|
-
import { ReviewTransactionDialog as n } from "../../ui/dist/
|
|
9
|
-
import { SchedulePaymentDialog as r } from "../../ui/dist/
|
|
8
|
+
import { ReviewTransactionDialog as n } from "../../ui/dist/index96.js";
|
|
9
|
+
import { SchedulePaymentDialog as r } from "../../ui/dist/index103.js";
|
|
10
10
|
import "../../ui/dist/index.js";
|
|
11
11
|
import { canReadCounterpartBankAccounts as i } from "./index20.js";
|
|
12
12
|
import { resolveAmountDueMinorUnits as a } from "./index21.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BILL_REJECTED_BANNER_LABELS_EN as e } from "../../ui/dist/
|
|
2
|
-
import { UNSAVED_BILL_DIALOG_LABELS_EN as t } from "../../ui/dist/
|
|
1
|
+
import { BILL_REJECTED_BANNER_LABELS_EN as e } from "../../ui/dist/index71.js";
|
|
2
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as t } from "../../ui/dist/index108.js";
|
|
3
3
|
import "../../ui/dist/index.js";
|
|
4
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";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { useAttachPayableFileMutation as e } from "../../data-access/dist/index13.js";
|
|
6
6
|
import "../../data-access/dist/index.js";
|
|
7
|
-
import { SourceDocumentPanel as t } from "../../ui/dist/
|
|
7
|
+
import { SourceDocumentPanel as t } from "../../ui/dist/index106.js";
|
|
8
8
|
import "../../ui/dist/index.js";
|
|
9
9
|
import { createSourceDocumentPreview as n } from "./index46.js";
|
|
10
10
|
import { SOURCE_DOCUMENT_CONTAINER_LABELS_EN as r } from "./index47.js";
|
|
@@ -19,11 +19,11 @@ import { hasUnpaidBalance as ce } from "./index7.js";
|
|
|
19
19
|
import { resolveVendor as le } from "./index8.js";
|
|
20
20
|
import { BillCreateScreen as ue } from "../../ui/dist/index50.js";
|
|
21
21
|
import { BillDecisionDialog as n } from "../../ui/dist/index56.js";
|
|
22
|
-
import { BillDuplicateNotice as de } from "../../ui/dist/
|
|
23
|
-
import { BillRejectedBanner as fe } from "../../ui/dist/
|
|
24
|
-
import { ExtractionNotice as pe } from "../../ui/dist/
|
|
25
|
-
import { MarkAsPaidDialog as me } from "../../ui/dist/
|
|
26
|
-
import { UnsavedBillDialog as he } from "../../ui/dist/
|
|
22
|
+
import { BillDuplicateNotice as de } from "../../ui/dist/index69.js";
|
|
23
|
+
import { BillRejectedBanner as fe } from "../../ui/dist/index72.js";
|
|
24
|
+
import { ExtractionNotice as pe } from "../../ui/dist/index90.js";
|
|
25
|
+
import { MarkAsPaidDialog as me } from "../../ui/dist/index99.js";
|
|
26
|
+
import { UnsavedBillDialog as he } from "../../ui/dist/index109.js";
|
|
27
27
|
import "../../ui/dist/index.js";
|
|
28
28
|
import { usePayableDuplicateReview as ge } from "./index13.js";
|
|
29
29
|
import "./index14.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/index64.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
3
|
import { MARK_AS_PAID_FLOW_LABELS_EN as t } from "./index15.js";
|
|
4
4
|
import "./index18.js";
|
|
@@ -15,9 +15,9 @@ import { useAllPayableLineItemsQuery as r } from "../../data-access/dist/index10
|
|
|
15
15
|
import { usePayableQuery as i } from "../../data-access/dist/index17.js";
|
|
16
16
|
import "../../data-access/dist/index.js";
|
|
17
17
|
import { BillDecisionDialog as a } from "../../ui/dist/index56.js";
|
|
18
|
-
import { BillDetailsSheet as o } from "../../ui/dist/
|
|
19
|
-
import { BillDuplicateNotice as s } from "../../ui/dist/
|
|
20
|
-
import { MarkAsPaidDialog as c } from "../../ui/dist/
|
|
18
|
+
import { BillDetailsSheet as o } from "../../ui/dist/index65.js";
|
|
19
|
+
import { BillDuplicateNotice as s } from "../../ui/dist/index69.js";
|
|
20
|
+
import { MarkAsPaidDialog as c } from "../../ui/dist/index99.js";
|
|
21
21
|
import "../../ui/dist/index.js";
|
|
22
22
|
import { usePayableDuplicateReview as l } from "./index13.js";
|
|
23
23
|
import "./index14.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { formatMoneyExact as e } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
6
6
|
import { useCounterpartsQuery as t } from "../../../shared/counterpart-management/data-access/dist/index3.js";
|
|
7
7
|
import "../../data-access/dist/index.js";
|
|
8
|
-
import { BillsFilterField as n } from "../../ui/dist/
|
|
8
|
+
import { BillsFilterField as n } from "../../ui/dist/index75.js";
|
|
9
9
|
import "../../ui/dist/index.js";
|
|
10
10
|
import { getCounterpartName as r } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
11
11
|
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
@@ -47,18 +47,20 @@ function C({ enabled: C = !0, canReadVendors: w = !0, isVendorFilterPaused: T =
|
|
|
47
47
|
apiStatus: r.status,
|
|
48
48
|
dueDate: r.due_date,
|
|
49
49
|
scheduledPaymentDate: r.scheduled_payment_date
|
|
50
|
-
}),
|
|
50
|
+
}), l = r.amount_due ?? r.total_amount, u = r.status === "partially_paid" || r.status === "paid", d = (e) => e == null ? "" : t(e / 100, { currencyCode: r.currency ?? "USD" });
|
|
51
51
|
return {
|
|
52
52
|
vendorLabel: o(r),
|
|
53
53
|
issueDateLabel: e(r.issued_at),
|
|
54
54
|
dueDateLabel: e(r.due_date),
|
|
55
55
|
dueDateTone: i.isOverdue ? "danger" : "default",
|
|
56
56
|
scheduledDateLabel: e(r.scheduled_payment_date),
|
|
57
|
+
scheduledDateIsGap: A === c.Scheduled,
|
|
57
58
|
paidDateLabel: e(r.paid_at?.slice(0, 10)),
|
|
58
|
-
amountDueLabel: l
|
|
59
|
-
amountPaidLabel:
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
amountDueLabel: d(l),
|
|
60
|
+
amountPaidLabel: u ? d(r.amount_paid) : "",
|
|
61
|
+
amountPaidIsGap: A === c.Paid,
|
|
62
|
+
amountScheduledLabel: d(r.amount_to_pay ?? l),
|
|
63
|
+
totalAmountLabel: d(r.total_amount),
|
|
62
64
|
attachment: r.file_id ? { label: k } : void 0,
|
|
63
65
|
status: i.status,
|
|
64
66
|
statusTone: i.tone,
|
|
@@ -73,7 +75,8 @@ function C({ enabled: C = !0, canReadVendors: w = !0, isVendorFilterPaused: T =
|
|
|
73
75
|
K.data?.data,
|
|
74
76
|
O,
|
|
75
77
|
k,
|
|
76
|
-
D
|
|
78
|
+
D,
|
|
79
|
+
A
|
|
77
80
|
]), Z = _((e) => {
|
|
78
81
|
let t = e;
|
|
79
82
|
j(t), N((e) => {
|
|
@@ -11,7 +11,7 @@ import { useWidgetConfig as ee, useWidgetInitStaleForToken as r } from "../../..
|
|
|
11
11
|
import "../../../shared/feature/dist/index.js";
|
|
12
12
|
import { useDuplicateBillsCount as i } from "./index10.js";
|
|
13
13
|
import { AddBillDialog as a } from "../../ui/dist/index10.js";
|
|
14
|
-
import { BillsScreen as o } from "../../ui/dist/
|
|
14
|
+
import { BillsScreen as o } from "../../ui/dist/index79.js";
|
|
15
15
|
import "../../ui/dist/index.js";
|
|
16
16
|
import { DuplicateBillsContainer as te } from "./index12.js";
|
|
17
17
|
import "./index14.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/index53.js";
|
|
15
|
-
import { BillUploadStatusTray as s } from "../../ui/dist/
|
|
15
|
+
import { BillUploadStatusTray as s } from "../../ui/dist/index82.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";
|
|
@@ -49,47 +49,50 @@ import "./index57.js";
|
|
|
49
49
|
import "./index58.js";
|
|
50
50
|
import "./index59.js";
|
|
51
51
|
import "./index60.js";
|
|
52
|
-
import
|
|
53
|
-
import
|
|
52
|
+
import "./index61.js";
|
|
53
|
+
import "./index62.js";
|
|
54
54
|
import "./index63.js";
|
|
55
|
-
import "./index64.js";
|
|
56
|
-
import "./index65.js";
|
|
57
|
-
import
|
|
55
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as a } from "./index64.js";
|
|
56
|
+
import { BillDetailsSheet as o } from "./index65.js";
|
|
57
|
+
import "./index66.js";
|
|
58
58
|
import "./index67.js";
|
|
59
|
-
import
|
|
60
|
-
import {
|
|
59
|
+
import "./index68.js";
|
|
60
|
+
import { BillDuplicateNotice as s } from "./index69.js";
|
|
61
61
|
import "./index70.js";
|
|
62
|
-
import "./index71.js";
|
|
63
|
-
import {
|
|
62
|
+
import { BILL_REJECTED_BANNER_LABELS_EN as c } from "./index71.js";
|
|
63
|
+
import { BillRejectedBanner as l } from "./index72.js";
|
|
64
64
|
import "./index73.js";
|
|
65
65
|
import "./index74.js";
|
|
66
|
-
import {
|
|
67
|
-
import
|
|
66
|
+
import { BillsFilterField as u } from "./index75.js";
|
|
67
|
+
import "./index76.js";
|
|
68
68
|
import "./index77.js";
|
|
69
|
-
import {
|
|
70
|
-
import "./
|
|
71
|
-
import "./
|
|
72
|
-
import {
|
|
73
|
-
import "./
|
|
69
|
+
import { BillColumn as d } from "./index78.js";
|
|
70
|
+
import { BillsScreen as f } from "./index79.js";
|
|
71
|
+
import "./index80.js";
|
|
72
|
+
import { BillUploadStatusTray as p } from "./index82.js";
|
|
73
|
+
import "./index84.js";
|
|
74
74
|
import "./index86.js";
|
|
75
|
-
import {
|
|
75
|
+
import { DuplicateBillsDialog as m } from "./index87.js";
|
|
76
76
|
import "./index88.js";
|
|
77
77
|
import "./index89.js";
|
|
78
|
-
import "./index90.js";
|
|
78
|
+
import { ExtractionNotice as h } from "./index90.js";
|
|
79
79
|
import "./index91.js";
|
|
80
|
-
import
|
|
81
|
-
import
|
|
80
|
+
import "./index92.js";
|
|
81
|
+
import "./index93.js";
|
|
82
82
|
import "./index94.js";
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
83
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as g } from "./index95.js";
|
|
84
|
+
import { ReviewTransactionDialog as _ } from "./index96.js";
|
|
85
85
|
import "./index97.js";
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import "./
|
|
89
|
-
import "./
|
|
90
|
-
import {
|
|
86
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as v } from "./index98.js";
|
|
87
|
+
import { MarkAsPaidDialog as y } from "./index99.js";
|
|
88
|
+
import "./index100.js";
|
|
89
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as b } from "./index101.js";
|
|
90
|
+
import { SchedulePaymentDialog as x } from "./index103.js";
|
|
91
91
|
import "./index104.js";
|
|
92
|
-
import
|
|
93
|
-
import {
|
|
92
|
+
import "./index105.js";
|
|
93
|
+
import { SourceDocumentPanel as S } from "./index106.js";
|
|
94
94
|
import "./index107.js";
|
|
95
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as C } from "./index108.js";
|
|
96
|
+
import { UnsavedBillDialog as w } from "./index109.js";
|
|
97
|
+
import "./index110.js";
|
|
95
98
|
export { e as AddBillDialog, a as BILL_DETAILS_SHEET_LABELS_EN, c as BILL_REJECTED_BANNER_LABELS_EN, t as BILL_STATUS_BADGE_LABELS_EN, d as BillColumn, n as BillCreateScreen, i as BillDecisionDialog, o as BillDetailsSheet, s as BillDuplicateNotice, r as BillPayWidgetUi, l as BillRejectedBanner, p as BillUploadStatusTray, u as BillsFilterField, f as BillsScreen, m as DuplicateBillsDialog, h as ExtractionNotice, v as MARK_AS_PAID_DIALOG_LABELS_EN, y as MarkAsPaidDialog, g as REVIEW_TRANSACTION_DIALOG_LABELS_EN, _ as ReviewTransactionDialog, b as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, x as SchedulePaymentDialog, S as SourceDocumentPanel, C as UNSAVED_BILL_DIALOG_LABELS_EN, w as UnsavedBillDialog };
|
|
@@ -1,170 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { TONE_TEXT_CLASS as y } from "./index99.js";
|
|
4
|
-
import { useId as b } from "react";
|
|
5
|
-
import { Fragment as te, jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
6
|
-
import { CalendarIcon as C } from "lucide-react";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js
|
|
8
|
-
var w = {
|
|
9
|
-
sufficient: y.muted,
|
|
10
|
-
warning: y.warning,
|
|
11
|
-
error: y.error
|
|
12
|
-
};
|
|
13
|
-
function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateSuffix: O, paymentAmountLabel: k, paymentAmount: A, selectedDate: j, selectedDateLabel: M, calendarDisabled: N, isToday: P, selectedAccountId: F, accounts: I, poweredByBankName: L, funds: R, isAccountsLoading: z, isAccountsError: B, isSubmitting: V, onDateChange: H, onAccountChange: U, onReview: W, onCancel: G, testId: K, labels: q }) {
|
|
14
|
-
let J = {
|
|
15
|
-
...v,
|
|
16
|
-
...q
|
|
17
|
-
}, Y = b(), X = b(), Z = b(), Q = z || B || I.length === 0, $ = I.find((e) => e.id === F);
|
|
18
|
-
return /* @__PURE__ */ x(r, {
|
|
19
|
-
open: y,
|
|
20
|
-
onOpenChange: (e) => e ? T(e) : G(),
|
|
21
|
-
children: /* @__PURE__ */ S(i, {
|
|
22
|
-
"data-testid": K,
|
|
23
|
-
className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-3",
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ S(o, { children: [/* @__PURE__ */ x(s, { children: J.title }), /* @__PURE__ */ x(a, {
|
|
26
|
-
className: "ttw:sr-only",
|
|
27
|
-
children: J.hiddenDescription
|
|
28
|
-
})] }),
|
|
29
|
-
/* @__PURE__ */ S("div", {
|
|
30
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
31
|
-
children: [
|
|
32
|
-
/* @__PURE__ */ S("div", {
|
|
33
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
34
|
-
children: [/* @__PURE__ */ x("p", {
|
|
35
|
-
className: "ttw:text-base ttw:text-muted-foreground",
|
|
36
|
-
children: E
|
|
37
|
-
}), /* @__PURE__ */ S("div", {
|
|
38
|
-
className: "ttw:flex ttw:flex-wrap ttw:items-end ttw:gap-2",
|
|
39
|
-
children: [/* @__PURE__ */ x("p", {
|
|
40
|
-
className: "ttw:text-4xl ttw:font-semibold ttw:text-foreground",
|
|
41
|
-
children: D
|
|
42
|
-
}), O ? /* @__PURE__ */ x("p", {
|
|
43
|
-
className: "ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
|
|
44
|
-
children: O
|
|
45
|
-
}) : null]
|
|
46
|
-
})]
|
|
47
|
-
}),
|
|
48
|
-
/* @__PURE__ */ S("div", {
|
|
49
|
-
className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
|
|
50
|
-
children: [/* @__PURE__ */ S("div", {
|
|
51
|
-
className: "ttw:grid ttw:gap-2.5",
|
|
52
|
-
children: [/* @__PURE__ */ x(c, { children: k }), /* @__PURE__ */ x("div", {
|
|
53
|
-
"aria-disabled": !0,
|
|
54
|
-
className: "ttw:flex ttw:h-9 ttw:items-center ttw:rounded-md ttw:border ttw:border-border ttw:bg-muted ttw:px-3 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
|
|
55
|
-
children: A
|
|
56
|
-
})]
|
|
57
|
-
}), /* @__PURE__ */ S("div", {
|
|
58
|
-
className: "ttw:grid ttw:gap-2.5",
|
|
59
|
-
children: [/* @__PURE__ */ x(c, {
|
|
60
|
-
id: Y,
|
|
61
|
-
children: J.paymentDate
|
|
62
|
-
}), /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ x(d, {
|
|
63
|
-
asChild: !0,
|
|
64
|
-
children: /* @__PURE__ */ S(t, {
|
|
65
|
-
type: "button",
|
|
66
|
-
variant: "outline",
|
|
67
|
-
className: "ttw:justify-start ttw:gap-2",
|
|
68
|
-
"aria-labelledby": `${Y} ${X}`,
|
|
69
|
-
children: [
|
|
70
|
-
/* @__PURE__ */ x(C, { className: "ttw:size-4" }),
|
|
71
|
-
/* @__PURE__ */ x("span", {
|
|
72
|
-
id: X,
|
|
73
|
-
children: M ?? J.paymentDatePlaceholder
|
|
74
|
-
}),
|
|
75
|
-
P ? /* @__PURE__ */ x(e, {
|
|
76
|
-
variant: "secondary",
|
|
77
|
-
children: J.today
|
|
78
|
-
}) : null
|
|
79
|
-
]
|
|
80
|
-
})
|
|
81
|
-
}), /* @__PURE__ */ x(u, {
|
|
82
|
-
align: "start",
|
|
83
|
-
className: "ttw:w-auto ttw:p-0",
|
|
84
|
-
children: /* @__PURE__ */ x(n, {
|
|
85
|
-
mode: "single",
|
|
86
|
-
selected: j,
|
|
87
|
-
onSelect: H,
|
|
88
|
-
disabled: N
|
|
89
|
-
})
|
|
90
|
-
})] })]
|
|
91
|
-
})]
|
|
92
|
-
}),
|
|
93
|
-
/* @__PURE__ */ S("div", {
|
|
94
|
-
className: "ttw:grid ttw:gap-2.5",
|
|
95
|
-
children: [
|
|
96
|
-
/* @__PURE__ */ x(c, {
|
|
97
|
-
id: Z,
|
|
98
|
-
children: J.payFrom
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ S(f, {
|
|
101
|
-
value: F,
|
|
102
|
-
disabled: Q,
|
|
103
|
-
onValueChange: U,
|
|
104
|
-
children: [/* @__PURE__ */ x(h, {
|
|
105
|
-
className: "ttw:w-full ttw:data-[size=default]:h-14 ttw:*:data-[slot=select-value]:min-w-0 ttw:*:data-[slot=select-value]:flex-1",
|
|
106
|
-
"aria-labelledby": Z,
|
|
107
|
-
children: /* @__PURE__ */ x(g, {
|
|
108
|
-
placeholder: J.payFromPlaceholder,
|
|
109
|
-
children: $ ? /* @__PURE__ */ S(te, { children: [/* @__PURE__ */ S("span", {
|
|
110
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:text-left",
|
|
111
|
-
children: [/* @__PURE__ */ x("span", {
|
|
112
|
-
className: "ttw:truncate",
|
|
113
|
-
children: $.primaryLabel
|
|
114
|
-
}), $.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
115
|
-
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
116
|
-
children: $.secondaryLabel
|
|
117
|
-
}) : null]
|
|
118
|
-
}), L ? /* @__PURE__ */ x(e, {
|
|
119
|
-
variant: "secondary",
|
|
120
|
-
className: "ttw:shrink-0",
|
|
121
|
-
children: J.poweredByBank(L)
|
|
122
|
-
}) : null] }) : null
|
|
123
|
-
})
|
|
124
|
-
}), /* @__PURE__ */ x(p, { children: I.map((e) => /* @__PURE__ */ x(m, {
|
|
125
|
-
value: e.id,
|
|
126
|
-
children: /* @__PURE__ */ S("span", {
|
|
127
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col",
|
|
128
|
-
children: [/* @__PURE__ */ x("span", {
|
|
129
|
-
className: "ttw:truncate",
|
|
130
|
-
children: e.primaryLabel
|
|
131
|
-
}), e.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
132
|
-
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
133
|
-
children: e.secondaryLabel
|
|
134
|
-
}) : null]
|
|
135
|
-
})
|
|
136
|
-
}, e.id)) })]
|
|
137
|
-
}),
|
|
138
|
-
Q ? /* @__PURE__ */ x("p", {
|
|
139
|
-
className: _("ttw:text-sm", B ? "ttw:text-destructive" : "ttw:text-muted-foreground"),
|
|
140
|
-
role: B ? "alert" : void 0,
|
|
141
|
-
children: z ? J.loadingAccounts : B ? J.accountsError : J.noAccounts
|
|
142
|
-
}) : null
|
|
143
|
-
]
|
|
144
|
-
}),
|
|
145
|
-
R.message ? /* @__PURE__ */ x("p", {
|
|
146
|
-
className: _("ttw:text-sm", w[R.state]),
|
|
147
|
-
children: R.message
|
|
148
|
-
}) : null
|
|
149
|
-
]
|
|
150
|
-
}),
|
|
151
|
-
/* @__PURE__ */ S(ee, {
|
|
152
|
-
className: "ttw:pt-4 ttw:sm:gap-3",
|
|
153
|
-
children: [/* @__PURE__ */ x(t, {
|
|
154
|
-
type: "button",
|
|
155
|
-
variant: "outline",
|
|
156
|
-
onClick: G,
|
|
157
|
-
children: J.cancelButton
|
|
158
|
-
}), /* @__PURE__ */ x(t, {
|
|
159
|
-
type: "button",
|
|
160
|
-
loading: V,
|
|
161
|
-
onClick: W,
|
|
162
|
-
children: J.reviewButton
|
|
163
|
-
})]
|
|
164
|
-
})
|
|
165
|
-
]
|
|
166
|
-
})
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
//#endregion
|
|
170
|
-
export { T as SchedulePaymentDialog, T as default };
|
|
1
|
+
import "./index98.js";
|
|
2
|
+
import "./index99.js";
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js
|
|
2
|
+
var e = {
|
|
3
|
+
title: "Schedule payment",
|
|
4
|
+
hiddenDescription: "Choose the account to pay from and the payment date.",
|
|
5
|
+
payFrom: "Pay from",
|
|
6
|
+
payFromPlaceholder: "Select an account",
|
|
7
|
+
paymentDate: "Payment date",
|
|
8
|
+
paymentDatePlaceholder: "Choose a date",
|
|
9
|
+
today: "Today",
|
|
10
|
+
noAccounts: "No accounts available",
|
|
11
|
+
loadingAccounts: "Loading accounts",
|
|
12
|
+
accountsError: "Couldn't load accounts. Try again.",
|
|
13
|
+
poweredByBank: (e) => `Powered by ${e}`,
|
|
14
|
+
cancelButton: "Cancel",
|
|
15
|
+
reviewButton: "Review payment"
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { e as SCHEDULE_PAYMENT_DIALOG_LABELS_EN };
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "./index2.js";
|
|
2
|
-
import "./index5.js";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
delete: "Delete the scanned attachment",
|
|
11
|
-
dropzone: e
|
|
2
|
+
var e = {
|
|
3
|
+
neutral: "ttw:text-foreground",
|
|
4
|
+
muted: "ttw:text-muted-foreground",
|
|
5
|
+
success: "ttw:text-emerald-700",
|
|
6
|
+
warning: "ttw:text-amber-700",
|
|
7
|
+
error: "ttw:text-destructive"
|
|
12
8
|
};
|
|
13
9
|
//#endregion
|
|
14
|
-
export {
|
|
10
|
+
export { e as TONE_TEXT_CLASS };
|