@tesouro/embedded-components-react 0.5.279 → 0.5.281
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 +23 -8
- package/dist/lib/BankAccountOnboardingWidget.d.ts +2 -2
- package/dist/lib/ReceivablesWidget.d.ts +21 -6
- 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/invoicing-widget/data-access/dist/index.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +24 -168
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +173 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +42 -94
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index13.js +91 -76
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index14.js +67 -173
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index15.js +186 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index16.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +11 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +28 -132
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +137 -16
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +16 -62
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +66 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +28 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivableAttachmentsSection.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivableCustomerSection.js +38 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +304 -287
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/auditHistory/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/customer.js +58 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/permissions.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/preview.js +62 -62
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurrence.js +41 -35
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/reminders.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/totals.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +124 -124
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableCustomerPicker.js +109 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +520 -476
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableIssuePreflight.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentTerms.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePreview.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +92 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +79 -75
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useSendReceivableWithPaymentLink.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +26 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +9 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +26 -228
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +227 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +50 -212
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +193 -138
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +157 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +2 -116
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +118 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +3 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +209 -53
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +36 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +53 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +17 -35
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +73 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +39 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +34 -84
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +14 -492
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +79 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +490 -68
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +2 -487
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +41 -217
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +70 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +440 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +224 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +21 -263
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index49.js +261 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +2 -237
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +100 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index52.js +21 -242
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js +226 -82
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index54.js +3 -60
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index55.js +233 -178
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index56.js +85 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +60 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index58.js +194 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index59.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/CounterpartSelector.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index15.js +4 -80
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +10 -22
- 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
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +0 -100
|
@@ -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 };
|