@tesouro/embedded-components-react 0.5.280 → 0.5.282
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 +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/lib/BankAccountOnboardingWidget.d.ts +2 -2
- package/dist/lib/WidgetSuite.d.ts +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index18.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index13.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index14.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index15.js +8 -160
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index16.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index17.js +148 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index18.js +21 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js +37 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index20.js +98 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js +83 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +3 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +54 -184
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js +108 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +181 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +74 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +27 -412
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index29.js +413 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index30.js +13 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +77 -226
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index33.js +216 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +44 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +233 -611
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js +647 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index38.js +4 -243
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +42 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +250 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +2 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index43.js +67 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +47 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/lib/invalidatePayableQueries/reconcileCancelledPaymentQueries.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetNative/BillsTab.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/data-access/dist/index4.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/labels.js +2 -2
- package/package.json +1 -1
|
@@ -1,187 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { PAYABLE_AUDIT_HISTORY_LABELS_EN as u } from "./index21.js";
|
|
4
|
-
import { SOURCE_DOCUMENT_PREVIEW_LABELS_EN as d } from "./index22.js";
|
|
5
|
-
import { ACH_FIELD_GROUP_LABELS_EN as f } from "../../../../shared/counterpart-management/ui/dist/index2.js";
|
|
6
|
-
import "../../../../shared/counterpart-management/ui/dist/index.js";
|
|
7
|
-
import { BILL_REJECTED_BANNER_LABELS_EN as p } from "../../ui/dist/index39.js";
|
|
8
|
-
import { DISCARD_CHANGES_DIALOG_LABELS_EN as m } from "../../ui/dist/index42.js";
|
|
9
|
-
import { UNSAVED_BILL_DIALOG_LABELS_EN as h } from "../../ui/dist/index51.js";
|
|
10
|
-
import "../../ui/dist/index.js";
|
|
1
|
+
import { formatCalendarDate as e } from "../../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
2
|
+
import { formatBillMoney as t } from "../../../util/dist/lib/formatBillMoney.js";
|
|
11
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js
|
|
12
|
-
var
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
subtotalRow: "Subtotal",
|
|
64
|
-
taxRow: "Tax",
|
|
65
|
-
discountRow: "Discounts",
|
|
66
|
-
totalRow: "Total",
|
|
67
|
-
paidOnLabel: (e) => `Paid on ${e}`,
|
|
68
|
-
paymentInstructionsSaveError: "Couldn't save payment instructions. Try again.",
|
|
69
|
-
paymentInstructionsLinkError: "Payment instructions were saved to the vendor, but couldn't be added to this bill. Try again.",
|
|
70
|
-
rejectedByOn: (e, t) => `Rejected by ${e} on ${t}`,
|
|
71
|
-
rejectedOn: (e) => `Rejected on ${e}`,
|
|
72
|
-
rejectionMessage: (e) => `"${e}"`
|
|
73
|
-
}, b = {
|
|
74
|
-
newTitle: "New bill",
|
|
75
|
-
extractedTitle: (e) => `Bill from ${e}`,
|
|
76
|
-
viewTitle: (e) => `Bill from ${e}`,
|
|
77
|
-
readOnlyTitle: "Bill details",
|
|
78
|
-
addedOn: (e) => `Added on ${e}`,
|
|
79
|
-
unsavedChanges: h,
|
|
80
|
-
discardChanges: m,
|
|
81
|
-
scheduledRelativeDay: i,
|
|
82
|
-
scheduledSummary: o,
|
|
83
|
-
scheduledStatusBadge: a,
|
|
84
|
-
awaitingApprovalNotice: e,
|
|
85
|
-
awaitingApprovalUnknownNotice: t,
|
|
86
|
-
actions: n,
|
|
87
|
-
detail: y,
|
|
88
|
-
history: u,
|
|
89
|
-
approvalPolicyCopy: l,
|
|
90
|
-
deleteDraft: {
|
|
91
|
-
menuItem: "Delete draft",
|
|
92
|
-
dialog: {
|
|
93
|
-
title: "Delete this draft?",
|
|
94
|
-
description: "The draft and anything entered on it are removed. This can't be undone.",
|
|
95
|
-
confirmButton: "Delete draft"
|
|
96
|
-
},
|
|
97
|
-
error: "Couldn't delete this draft. Try again."
|
|
98
|
-
},
|
|
99
|
-
lineItemsGlCodeUnavailable: {
|
|
100
|
-
loadError: "Couldn't load GL codes",
|
|
101
|
-
noAccess: "You don't have access to GL codes",
|
|
102
|
-
empty: "No GL codes set up yet"
|
|
103
|
-
},
|
|
104
|
-
rejectedBanner: p
|
|
4
|
+
var n = {
|
|
5
|
+
dateLabel: (e) => new Date(e).toLocaleDateString("en-US", {
|
|
6
|
+
month: "short",
|
|
7
|
+
day: "numeric",
|
|
8
|
+
year: "numeric"
|
|
9
|
+
}),
|
|
10
|
+
timeLabel: (e) => new Date(e).toLocaleTimeString(void 0, {
|
|
11
|
+
hour: "numeric",
|
|
12
|
+
minute: "2-digit",
|
|
13
|
+
timeZoneName: "short"
|
|
14
|
+
}),
|
|
15
|
+
byActor: (e, t) => `${e} by ${t}`,
|
|
16
|
+
formatAmount: (e) => t(e) ?? "",
|
|
17
|
+
billCreated: "Bill created",
|
|
18
|
+
createdManually: "Data entered manually",
|
|
19
|
+
createdFromUpload: "File uploaded and scanned automatically",
|
|
20
|
+
billCreatedByEmail: "Bill created by email",
|
|
21
|
+
sentFrom: (e) => `Sent from ${e}`,
|
|
22
|
+
billDetailsUpdated: "Bill details updated",
|
|
23
|
+
filledInFromFile: "Filled in from the attached file",
|
|
24
|
+
submittedForReview: "Finalized and submitted for review",
|
|
25
|
+
approvalRequested: "Approval requested",
|
|
26
|
+
approved: "Approved",
|
|
27
|
+
approvedAutomatically: "Auto-approved",
|
|
28
|
+
rejected: "Rejected",
|
|
29
|
+
policyOverrideApproved: "Policy override: Approved",
|
|
30
|
+
policyOverrideRejected: "Policy override: Rejected",
|
|
31
|
+
quotedReason: (e) => `"${e}"`,
|
|
32
|
+
cancelled: "Cancelled",
|
|
33
|
+
reopened: "Re-opened",
|
|
34
|
+
paymentReleased: "Payment released",
|
|
35
|
+
paid: (e) => `Paid ${e}`,
|
|
36
|
+
paymentReverted: "Payment reverted",
|
|
37
|
+
calendarDateLabel: (t) => e(t),
|
|
38
|
+
paymentScheduled: "Payment scheduled",
|
|
39
|
+
scheduledFor: (e) => `Scheduled for ${e}`,
|
|
40
|
+
scheduledPaymentCancelled: "Scheduled payment cancelled",
|
|
41
|
+
cancelledAsBillChanged: "The bill was changed",
|
|
42
|
+
cancelledAsBillDeleted: "The bill was deleted",
|
|
43
|
+
paymentFailed: "Payment failed",
|
|
44
|
+
billMarkedAsFullyPaid: "Bill marked as fully paid",
|
|
45
|
+
billMarkedAsPartiallyPaid: "Bill marked as partially paid",
|
|
46
|
+
draftDeleted: "Draft deleted",
|
|
47
|
+
fileAttached: "File attached",
|
|
48
|
+
fileRemoved: "File removed",
|
|
49
|
+
creditNoteLinked: "Credit note linked",
|
|
50
|
+
creditNoteUnlinked: "Credit note unlinked",
|
|
51
|
+
lineItemsUpdated: "Line items updated",
|
|
52
|
+
lineItemAdded: "Line item added",
|
|
53
|
+
lineItemUpdated: "Line item updated",
|
|
54
|
+
lineItemRemoved: "Line item removed"
|
|
105
55
|
};
|
|
106
|
-
function x(e) {
|
|
107
|
-
return {
|
|
108
|
-
...b,
|
|
109
|
-
...e,
|
|
110
|
-
actions: s(e?.actions),
|
|
111
|
-
detail: {
|
|
112
|
-
...b.detail,
|
|
113
|
-
...e?.detail,
|
|
114
|
-
paymentHistoryMethodLabels: c(e?.detail?.paymentHistoryMethodLabels)
|
|
115
|
-
},
|
|
116
|
-
history: {
|
|
117
|
-
...b.history,
|
|
118
|
-
...e?.history
|
|
119
|
-
},
|
|
120
|
-
lineItemsGlCodeUnavailable: {
|
|
121
|
-
...b.lineItemsGlCodeUnavailable,
|
|
122
|
-
...e?.lineItemsGlCodeUnavailable
|
|
123
|
-
},
|
|
124
|
-
unsavedChanges: {
|
|
125
|
-
...b.unsavedChanges,
|
|
126
|
-
...e?.unsavedChanges
|
|
127
|
-
},
|
|
128
|
-
discardChanges: {
|
|
129
|
-
...b.discardChanges,
|
|
130
|
-
...e?.discardChanges
|
|
131
|
-
},
|
|
132
|
-
rejectedBanner: {
|
|
133
|
-
...b.rejectedBanner,
|
|
134
|
-
...e?.rejectedBanner
|
|
135
|
-
},
|
|
136
|
-
approvalPolicyCopy: {
|
|
137
|
-
...b.approvalPolicyCopy,
|
|
138
|
-
...e?.approvalPolicyCopy
|
|
139
|
-
},
|
|
140
|
-
scheduledRelativeDay: {
|
|
141
|
-
...b.scheduledRelativeDay,
|
|
142
|
-
...e?.scheduledRelativeDay
|
|
143
|
-
},
|
|
144
|
-
deleteDraft: {
|
|
145
|
-
...b.deleteDraft,
|
|
146
|
-
...e?.deleteDraft,
|
|
147
|
-
dialog: (() => {
|
|
148
|
-
let t = {
|
|
149
|
-
...b.deleteDraft.dialog,
|
|
150
|
-
...e?.deleteDraft?.dialog
|
|
151
|
-
};
|
|
152
|
-
return delete t.reason, t;
|
|
153
|
-
})()
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
var S = {
|
|
158
|
-
createTitle: "New vendor",
|
|
159
|
-
editTitle: "Edit vendor",
|
|
160
|
-
switchVendorFieldLabel: "Switch to a different vendor",
|
|
161
|
-
nameLabel: "Business name",
|
|
162
|
-
addAddress: "Add address (optional)",
|
|
163
|
-
cancel: "Cancel",
|
|
164
|
-
save: "Save",
|
|
165
|
-
cancelAriaLabel: "Cancel vendor",
|
|
166
|
-
saveAriaLabel: "Save vendor",
|
|
167
|
-
paymentInstructionsHeading: "Payment instructions",
|
|
168
|
-
paymentInstructionsDescription: "How and where will the money be sent. This information is required to send a payment.",
|
|
169
|
-
paymentInstructionsExtracted: "We read these from the bill. Check them before saving.",
|
|
170
|
-
ach: f
|
|
171
|
-
};
|
|
172
|
-
function C(e) {
|
|
173
|
-
return {
|
|
174
|
-
...S,
|
|
175
|
-
...e,
|
|
176
|
-
ach: {
|
|
177
|
-
...S.ach,
|
|
178
|
-
...e?.ach,
|
|
179
|
-
fieldMarkers: {
|
|
180
|
-
...S.ach.fieldMarkers,
|
|
181
|
-
...e?.ach?.fieldMarkers
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
56
|
//#endregion
|
|
187
|
-
export {
|
|
57
|
+
export { n as PAYABLE_AUDIT_HISTORY_LABELS_EN };
|