@tesouro/embedded-components-react 0.5.168 → 0.5.170
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 +39 -17
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +95 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +37 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +13 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +56 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +4 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +6 -115
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +202 -63
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +2 -4
- 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/index19.js +84 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +3 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +32 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +36 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +167 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +40 -164
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +50 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +11 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +59 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +150 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +9 -152
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +14 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +98 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +68 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +3 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +143 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -143
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +114 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +189 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +72 -186
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +31 -76
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +89 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +406 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +12 -411
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +84 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +67 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +222 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +37 -223
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +245 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +23 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +626 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +4 -586
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +45 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +256 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +3 -263
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +130 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +3 -132
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +129 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +8 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +82 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +19 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +82 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +47 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +260 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +24 -251
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +382 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +294 -144
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +4 -223
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +112 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +37 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +1 -114
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +126 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +1 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +126 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +11 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +106 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +2 -181
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +50 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +2 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +154 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +343 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +104 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +2458 -2284
- package/package.json +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index92.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +0 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +0 -2
|
@@ -1,146 +1,47 @@
|
|
|
1
|
+
import { formatBillMoney as e } from "./index2.js";
|
|
1
2
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
forceReject: {
|
|
45
|
-
title: "Override approval policy?",
|
|
46
|
-
description: "The below people haven't approved this bill yet. Rejecting now will bypass their required review. This will be recorded in the audit history and can't be undone.",
|
|
47
|
-
confirmButton: "Override and reject",
|
|
48
|
-
noApprovalPolicy: {
|
|
49
|
-
title: "Reject this bill?",
|
|
50
|
-
description: "This bill has no approval policy applied. Rejecting now will be recorded in the audit history and can't be undone.",
|
|
51
|
-
confirmButton: "Reject bill"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
cancelButton: "Cancel"
|
|
55
|
-
},
|
|
56
|
-
actionError: "Couldn't update this bill. Try again.",
|
|
57
|
-
actionSuccess: {
|
|
58
|
-
approve: "Bill approved.",
|
|
59
|
-
reject: "Bill rejected.",
|
|
60
|
-
markAsPaid: "Bill marked as paid.",
|
|
61
|
-
cancel: "Bill canceled.",
|
|
62
|
-
cancelScheduledPayment: "Scheduled payment canceled.",
|
|
63
|
-
reopen: "Bill reopened.",
|
|
64
|
-
forceApprove: "Bill approved, overriding the approval policy.",
|
|
65
|
-
forceReject: "Bill rejected, overriding the approval policy.",
|
|
66
|
-
forceApproveNoApprovalPolicy: "Bill approved.",
|
|
67
|
-
forceRejectNoApprovalPolicy: "Bill rejected."
|
|
68
|
-
}
|
|
69
|
-
}, t = {
|
|
70
|
-
today: "today",
|
|
71
|
-
tomorrow: "tomorrow"
|
|
72
|
-
}, n = (e) => `Payment scheduled for ${e}`, r = (e) => `Scheduled - ${e}`, i = (e) => `Awaiting approval from ${new Intl.ListFormat("en", {
|
|
73
|
-
style: "long",
|
|
74
|
-
type: "conjunction"
|
|
75
|
-
}).format(e)}.`, a = "Awaiting approval.", o = [
|
|
76
|
-
"reject",
|
|
77
|
-
"cancel",
|
|
78
|
-
"cancelScheduledPayment",
|
|
79
|
-
"forceApprove",
|
|
80
|
-
"forceReject"
|
|
81
|
-
];
|
|
82
|
-
function s(e, t) {
|
|
83
|
-
let n = e.reason ? {
|
|
84
|
-
...e.reason,
|
|
85
|
-
...t?.reason
|
|
86
|
-
} : void 0, r = e.noApprovalPolicy ? {
|
|
87
|
-
...e.noApprovalPolicy,
|
|
88
|
-
...t?.noApprovalPolicy
|
|
89
|
-
} : void 0, i = {
|
|
90
|
-
...e,
|
|
91
|
-
...t,
|
|
92
|
-
reason: n,
|
|
93
|
-
noApprovalPolicy: r
|
|
94
|
-
};
|
|
95
|
-
return n || delete i.reason, r || delete i.noApprovalPolicy, i;
|
|
96
|
-
}
|
|
97
|
-
function c(e, t) {
|
|
98
|
-
let n = {
|
|
99
|
-
...e,
|
|
100
|
-
...t
|
|
101
|
-
};
|
|
102
|
-
for (let r of o) n[r] = s(e[r], t?.[r]);
|
|
103
|
-
return n;
|
|
104
|
-
}
|
|
105
|
-
function l(t) {
|
|
106
|
-
let n = e;
|
|
107
|
-
return {
|
|
108
|
-
...n,
|
|
109
|
-
...t,
|
|
110
|
-
decisionDialog: c(n.decisionDialog, t?.decisionDialog),
|
|
111
|
-
actionSuccess: {
|
|
112
|
-
...n.actionSuccess,
|
|
113
|
-
...t?.actionSuccess
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
var u = {
|
|
118
|
-
paymentHistorySentLabel: "Payment sent",
|
|
119
|
-
paymentHistoryScheduledLabel: "Payment scheduled",
|
|
120
|
-
paymentHistoryCanceledLabel: "Payment canceled",
|
|
121
|
-
paymentHistoryOtherLabel: "Payment",
|
|
122
|
-
paymentHistoryMethodSuffix: (e, t) => `${e} via ${t}`,
|
|
123
|
-
paymentHistoryOverpaidLabel: (e) => `+${e} overpaid`,
|
|
124
|
-
paymentHistoryMarkedPaidExternalLabel: "Marked as paid manually",
|
|
125
|
-
paymentHistoryMarkedPaidLabel: "Marked as paid",
|
|
126
|
-
paymentHistoryPartiallyPaidExternalLabel: "Partial payment marked manually",
|
|
127
|
-
paymentHistoryPartiallyPaidLabel: "Partial payment",
|
|
128
|
-
paymentHistoryRevertedLabel: "Payment reverted",
|
|
129
|
-
paymentHistoryMethodLabels: {
|
|
130
|
-
ach: "ACH",
|
|
131
|
-
us_ach: "ACH",
|
|
132
|
-
wire: "Wire",
|
|
133
|
-
check: "Check",
|
|
134
|
-
paper_check: "Check",
|
|
135
|
-
bank_account: "Bank transfer",
|
|
136
|
-
card: "Card"
|
|
137
|
-
}
|
|
3
|
+
var t = {
|
|
4
|
+
dateLabel: (e) => new Date(e).toLocaleDateString("en-US", {
|
|
5
|
+
month: "short",
|
|
6
|
+
day: "numeric",
|
|
7
|
+
year: "numeric"
|
|
8
|
+
}),
|
|
9
|
+
timeLabel: (e) => new Date(e).toLocaleTimeString(void 0, {
|
|
10
|
+
hour: "numeric",
|
|
11
|
+
minute: "2-digit",
|
|
12
|
+
timeZoneName: "short"
|
|
13
|
+
}),
|
|
14
|
+
byActor: (e, t) => `${e} by ${t}`,
|
|
15
|
+
formatAmount: (t) => e(t) ?? "",
|
|
16
|
+
billCreated: "Bill created",
|
|
17
|
+
createdManually: "Data entered manually",
|
|
18
|
+
createdFromUpload: "File uploaded and scanned automatically",
|
|
19
|
+
createdFromEmail: "File emailed and scanned automatically",
|
|
20
|
+
billDetailsUpdated: "Bill details updated",
|
|
21
|
+
submittedForReview: "Finalized and submitted for review",
|
|
22
|
+
approvalRequested: "Approval requested",
|
|
23
|
+
approved: "Approved",
|
|
24
|
+
approvedAutomatically: "Auto-approved",
|
|
25
|
+
rejected: "Rejected",
|
|
26
|
+
policyOverrideApproved: "Policy override: Approved",
|
|
27
|
+
policyOverrideRejected: "Policy override: Rejected",
|
|
28
|
+
quotedReason: (e) => `"${e}"`,
|
|
29
|
+
cancelled: "Cancelled",
|
|
30
|
+
reopened: "Re-opened",
|
|
31
|
+
paymentReleased: "Payment released",
|
|
32
|
+
paid: (e) => `Paid ${e}`,
|
|
33
|
+
paymentReverted: "Payment reverted",
|
|
34
|
+
billMarkedAsFullyPaid: "Bill marked as fully paid",
|
|
35
|
+
billMarkedAsPartiallyPaid: "Bill marked as partially paid",
|
|
36
|
+
draftDeleted: "Draft deleted",
|
|
37
|
+
fileAttached: "File attached",
|
|
38
|
+
fileRemoved: "File removed",
|
|
39
|
+
creditNoteLinked: "Credit note linked",
|
|
40
|
+
creditNoteUnlinked: "Credit note unlinked",
|
|
41
|
+
lineItemsUpdated: "Line items updated",
|
|
42
|
+
lineItemAdded: "Line item added",
|
|
43
|
+
lineItemUpdated: "Line item updated",
|
|
44
|
+
lineItemRemoved: "Line item removed"
|
|
138
45
|
};
|
|
139
|
-
function d(e) {
|
|
140
|
-
return {
|
|
141
|
-
...u.paymentHistoryMethodLabels,
|
|
142
|
-
...e
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
46
|
//#endregion
|
|
146
|
-
export {
|
|
47
|
+
export { t as PAYABLE_AUDIT_HISTORY_LABELS_EN };
|