@tesouro/embedded-components-react 0.4.21 → 0.4.23
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.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +64 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +38 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +104 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +87 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +17 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +23 -63
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +66 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +2 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +74 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -5
- 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 +3 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +30 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +37 -166
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +164 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +48 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +47 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +18 -125
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +136 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +4 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +39 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +79 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +95 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +3 -121
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +49 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +113 -171
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +32 -74
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +186 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +70 -226
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +22 -219
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +221 -109
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +220 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +25 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +119 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +43 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +29 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +186 -222
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +36 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +230 -375
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +21 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +424 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +4 -192
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +38 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +219 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +6 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +109 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +58 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +124 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +8 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +45 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +20 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +28 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +76 -243
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +48 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +239 -196
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +115 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +207 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +3 -114
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +106 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +5 -70
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +44 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +26 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +20 -152
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +154 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +61 -253
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +258 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +7 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +49 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +15 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +21 -338
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +340 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +9 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +11 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +52 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +181 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +5 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +92 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +86 -298
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +299 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +30 -195
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -345
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +199 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +15 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +7 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +91 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +123 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +26 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +94 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +5 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +74 -119
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +8 -106
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/client.config.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/finopsApiVersion.js +4 -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/util/dist/lib/formatRejectionDate.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +33 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/api-version.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/api-version.json.js +0 -4
|
@@ -1,182 +1,124 @@
|
|
|
1
|
-
import { UNSAVED_BILL_DIALOG_LABELS_EN as e } from "../../ui/dist/index101.js";
|
|
2
|
-
import "../../ui/dist/index.js";
|
|
3
|
-
import { PAY_BILL_FLOW_LABELS_EN as t, mergePayBillFlowLabels as n } from "./index23.js";
|
|
4
|
-
import { MARK_AS_PAID_FLOW_LABELS_EN as r, mergeMarkAsPaidFlowLabels as i } from "./index14.js";
|
|
5
|
-
import "./index17.js";
|
|
6
|
-
import { APPROVAL_POLICY_RULE_COPY_EN as a } from "./index27.js";
|
|
7
|
-
import { BILL_DETAIL_ACTIONS_LABELS_EN as o, PAYMENT_HISTORY_LABELS_EN as s, SCHEDULED_SUMMARY_LABEL_EN as c, mergeBillDetailActionsLabels as l, mergePaymentHistoryMethodLabels as u } from "./index41.js";
|
|
8
|
-
import { SOURCE_DOCUMENT_PREVIEW_LABELS_EN as d } from "./index42.js";
|
|
9
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
accountHolder: "Account holder",
|
|
32
|
-
routingNumber: "Routing number",
|
|
33
|
-
accountNumber: "Account number",
|
|
34
|
-
paymentMethodLoading: "Loading payment method...",
|
|
35
|
-
paymentMethodUnavailable: "We could not load payment methods. Try again.",
|
|
36
|
-
searchFailed: "We could not load vendors. Try again.",
|
|
37
|
-
vendorDetailsFailed: "We could not load this vendor. Try again."
|
|
38
|
-
}, m = {
|
|
39
|
-
attachFailed: "We could not attach that file. Try again.",
|
|
40
|
-
deleteFailed: "We could not remove that document. Try again.",
|
|
41
|
-
noDocument: "No document attached to this bill.",
|
|
42
|
-
pendingDeletionNotice: "This document will be removed when you save this bill.",
|
|
43
|
-
preview: d
|
|
44
|
-
}, h = {
|
|
45
|
-
...s,
|
|
46
|
-
notProvided: "Not provided",
|
|
47
|
-
paymentInstructionsValue: (e) => `Account ending in ${e}`,
|
|
48
|
-
paymentInstructionsNotSet: "Not set",
|
|
49
|
-
accountHolderFieldLabel: "Account holder",
|
|
50
|
-
routingNumberFieldLabel: "Routing number",
|
|
51
|
-
accountNumberFieldLabel: "Account number",
|
|
52
|
-
invoiceDateRow: "Invoice date",
|
|
53
|
-
dueDateRow: "Due date",
|
|
54
|
-
invoiceNumberRow: "Invoice number",
|
|
55
|
-
glCodeMissing: "GL code not specified",
|
|
56
|
-
glCodeUnavailable: "GL code unavailable",
|
|
57
|
-
qtyPriceValue: (e, t) => `${e} x ${t}`,
|
|
58
|
-
subtotalRow: "Subtotal",
|
|
59
|
-
taxRow: "Tax",
|
|
60
|
-
discountRow: "Discounts",
|
|
61
|
-
totalRow: "Total",
|
|
62
|
-
paidOnLabel: (e) => `Paid on ${e}`,
|
|
63
|
-
paymentInstructionsSaveError: "Couldn't save payment instructions. Try again.",
|
|
64
|
-
paymentInstructionsLinkError: "Payment instructions were saved to the vendor, but couldn't be added to this bill. Try again."
|
|
65
|
-
}, g = {
|
|
66
|
-
dateLabel: (e) => new Date(e).toLocaleString("en-US", {
|
|
67
|
-
month: "short",
|
|
68
|
-
day: "numeric",
|
|
69
|
-
year: "numeric",
|
|
70
|
-
hour: "numeric",
|
|
71
|
-
minute: "2-digit"
|
|
72
|
-
}),
|
|
73
|
-
byActor: (e, t) => `${e} by ${t}`,
|
|
74
|
-
billAdded: "Bill added",
|
|
75
|
-
billUploaded: "Bill uploaded",
|
|
76
|
-
billUpdated: "Bill updated",
|
|
77
|
-
attachmentAdded: "Attachment added",
|
|
78
|
-
submittedForApproval: "Submitted for approval",
|
|
79
|
-
approvalRequested: "Approval requested",
|
|
80
|
-
approved: "Approved",
|
|
81
|
-
autoApproved: "Approved automatically",
|
|
82
|
-
rejected: "Rejected",
|
|
83
|
-
rejectedWithReason: (e) => `Rejected: ${e}`,
|
|
84
|
-
reopened: "Reopened",
|
|
85
|
-
markedAsPaid: "Marked as paid",
|
|
86
|
-
markedAsPartiallyPaid: "Marked as partially paid",
|
|
87
|
-
paymentReverted: "Payment reverted",
|
|
88
|
-
statusChanged: (e) => `Status changed to ${e}`
|
|
89
|
-
}, _ = {
|
|
90
|
-
newTitle: "New bill",
|
|
91
|
-
extractedTitle: (e) => `Bill from ${e}`,
|
|
92
|
-
viewTitle: (e) => `Bill from ${e}`,
|
|
93
|
-
readOnlyTitle: "Bill details",
|
|
94
|
-
addedOn: (e) => `Added on ${e}`,
|
|
95
|
-
unsavedChanges: e,
|
|
96
|
-
scheduledSummary: c,
|
|
97
|
-
actions: o,
|
|
98
|
-
detail: h,
|
|
99
|
-
history: g,
|
|
100
|
-
payBill: t,
|
|
101
|
-
markAsPaid: r,
|
|
102
|
-
approvalPolicyCopy: a,
|
|
103
|
-
deleteDraft: {
|
|
104
|
-
menuItem: "Delete draft",
|
|
105
|
-
dialog: {
|
|
106
|
-
title: "Delete this draft?",
|
|
107
|
-
description: "The draft and anything entered on it are removed. This can't be undone.",
|
|
108
|
-
confirmButton: "Delete draft"
|
|
2
|
+
var e = {
|
|
3
|
+
payBill: "Pay bill",
|
|
4
|
+
markAsPaid: "Mark as paid",
|
|
5
|
+
reject: "Reject",
|
|
6
|
+
approve: "Approve",
|
|
7
|
+
cancel: "Cancel bill",
|
|
8
|
+
cancelScheduledPayment: "Cancel scheduled payment",
|
|
9
|
+
reopen: "Reopen bill",
|
|
10
|
+
forceApprove: "Approve",
|
|
11
|
+
forceReject: "Reject",
|
|
12
|
+
policyOverridesHeading: "Policy overrides",
|
|
13
|
+
decisionDialog: {
|
|
14
|
+
reject: {
|
|
15
|
+
title: "Reject this bill?",
|
|
16
|
+
description: "The bill goes back as rejected and nobody else is asked to approve it.",
|
|
17
|
+
confirmButton: "Reject bill",
|
|
18
|
+
reason: {
|
|
19
|
+
label: "Reason",
|
|
20
|
+
placeholder: "Tell the submitter what needs to change",
|
|
21
|
+
optionalHint: "Optional"
|
|
22
|
+
}
|
|
109
23
|
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
noAccess: "You don't have access to GL codes",
|
|
115
|
-
empty: "No GL codes set up yet"
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
function v(e) {
|
|
119
|
-
return {
|
|
120
|
-
..._,
|
|
121
|
-
...e,
|
|
122
|
-
actions: l(e?.actions),
|
|
123
|
-
detail: {
|
|
124
|
-
..._.detail,
|
|
125
|
-
...e?.detail,
|
|
126
|
-
paymentHistoryMethodLabels: u(e?.detail?.paymentHistoryMethodLabels)
|
|
24
|
+
cancel: {
|
|
25
|
+
title: "Cancel this bill?",
|
|
26
|
+
description: "Cancelling is permanent. The bill can't be reopened, edited, or paid afterwards.",
|
|
27
|
+
confirmButton: "Cancel bill"
|
|
127
28
|
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
29
|
+
cancelScheduledPayment: {
|
|
30
|
+
title: "Cancel this scheduled payment?",
|
|
31
|
+
description: "The payment will not be sent. The bill stays ready to pay, so you can schedule it again for another date.",
|
|
32
|
+
confirmButton: "Cancel payment"
|
|
131
33
|
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
...e?.lineItemsGlCodeUnavailable
|
|
34
|
+
forceApprove: {
|
|
35
|
+
title: "Override approval policy?",
|
|
36
|
+
description: "The below people haven't approved this bill yet. Approving now will bypass their required review. This will be recorded in the audit history and can't be undone.",
|
|
37
|
+
confirmButton: "Override and approve"
|
|
137
38
|
},
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
39
|
+
forceReject: {
|
|
40
|
+
title: "Override approval policy?",
|
|
41
|
+
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.",
|
|
42
|
+
confirmButton: "Override and reject"
|
|
141
43
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
44
|
+
cancelButton: "Cancel"
|
|
45
|
+
},
|
|
46
|
+
actionError: "Couldn't update this bill. Try again.",
|
|
47
|
+
actionSuccess: {
|
|
48
|
+
approve: "Bill approved.",
|
|
49
|
+
reject: "Bill rejected.",
|
|
50
|
+
markAsPaid: "Bill marked as paid.",
|
|
51
|
+
cancel: "Bill canceled.",
|
|
52
|
+
cancelScheduledPayment: "Scheduled payment canceled.",
|
|
53
|
+
reopen: "Bill reopened.",
|
|
54
|
+
forceApprove: "Bill approved, overriding the approval policy.",
|
|
55
|
+
forceReject: "Bill rejected, overriding the approval policy."
|
|
56
|
+
}
|
|
57
|
+
}, t = (e) => `Payment scheduled for ${e}`, n = [
|
|
58
|
+
"reject",
|
|
59
|
+
"cancel",
|
|
60
|
+
"cancelScheduledPayment",
|
|
61
|
+
"forceApprove",
|
|
62
|
+
"forceReject"
|
|
63
|
+
];
|
|
64
|
+
function r(e, t) {
|
|
65
|
+
let n = e.reason ? {
|
|
66
|
+
...e.reason,
|
|
67
|
+
...t?.reason
|
|
68
|
+
} : void 0, r = {
|
|
69
|
+
...e,
|
|
70
|
+
...t,
|
|
71
|
+
reason: n
|
|
72
|
+
};
|
|
73
|
+
return n || delete r.reason, r;
|
|
74
|
+
}
|
|
75
|
+
function i(e, t) {
|
|
76
|
+
let i = {
|
|
77
|
+
...e,
|
|
78
|
+
...t
|
|
79
|
+
};
|
|
80
|
+
for (let a of n) i[a] = r(e[a], t?.[a]);
|
|
81
|
+
return i;
|
|
82
|
+
}
|
|
83
|
+
function a(t) {
|
|
84
|
+
let n = e;
|
|
85
|
+
return {
|
|
86
|
+
...n,
|
|
87
|
+
...t,
|
|
88
|
+
decisionDialog: i(n.decisionDialog, t?.decisionDialog),
|
|
89
|
+
actionSuccess: {
|
|
90
|
+
...n.actionSuccess,
|
|
91
|
+
...t?.actionSuccess
|
|
156
92
|
}
|
|
157
93
|
};
|
|
158
94
|
}
|
|
159
|
-
var
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
95
|
+
var o = {
|
|
96
|
+
paymentHistorySentLabel: "Payment sent",
|
|
97
|
+
paymentHistoryScheduledLabel: "Payment scheduled",
|
|
98
|
+
paymentHistoryCanceledLabel: "Payment canceled",
|
|
99
|
+
paymentHistoryOtherLabel: "Payment",
|
|
100
|
+
paymentHistoryMethodSuffix: (e, t) => `${e} via ${t}`,
|
|
101
|
+
paymentHistoryOverpaidLabel: (e) => `+${e} overpaid`,
|
|
102
|
+
paymentHistoryMarkedPaidExternalLabel: "Marked as paid manually",
|
|
103
|
+
paymentHistoryMarkedPaidLabel: "Marked as paid",
|
|
104
|
+
paymentHistoryPartiallyPaidExternalLabel: "Partial payment marked manually",
|
|
105
|
+
paymentHistoryPartiallyPaidLabel: "Partial payment",
|
|
106
|
+
paymentHistoryRevertedLabel: "Payment reverted",
|
|
107
|
+
paymentHistoryMethodLabels: {
|
|
108
|
+
ach: "ACH",
|
|
109
|
+
us_ach: "ACH",
|
|
110
|
+
wire: "Wire",
|
|
111
|
+
check: "Check",
|
|
112
|
+
paper_check: "Check",
|
|
113
|
+
bank_account: "Bank transfer",
|
|
114
|
+
card: "Card"
|
|
115
|
+
}
|
|
180
116
|
};
|
|
117
|
+
function s(e) {
|
|
118
|
+
return {
|
|
119
|
+
...o.paymentHistoryMethodLabels,
|
|
120
|
+
...e
|
|
121
|
+
};
|
|
122
|
+
}
|
|
181
123
|
//#endregion
|
|
182
|
-
export {
|
|
124
|
+
export { e as BILL_DETAIL_ACTIONS_LABELS_EN, o as PAYMENT_HISTORY_LABELS_EN, t as SCHEDULED_SUMMARY_LABEL_EN, a as mergeBillDetailActionsLabels, i as mergeDecisionDialogCopy, s as mergePaymentHistoryMethodLabels };
|
|
@@ -1,80 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { useAttachPayableFileMutation as e } from "../../data-access/dist/index13.js";
|
|
6
|
-
import "../../data-access/dist/index.js";
|
|
7
|
-
import { SourceDocumentPanel as t } from "../../ui/dist/index99.js";
|
|
8
|
-
import "../../ui/dist/index.js";
|
|
9
|
-
import { createSourceDocumentPreview as n } from "./index42.js";
|
|
10
|
-
import { SOURCE_DOCUMENT_CONTAINER_LABELS_EN as r } from "./index43.js";
|
|
11
|
-
import { useEffect as i, useState as a } from "react";
|
|
12
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
13
2
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
function c({ payableId: i, file: a, isDocumentPending: c, pendingFileName: l, readOnly: u, staging: d, deletion: f, labels: p }) {
|
|
26
|
-
let { stagedFile: m, onFileStaged: h, onClearStagedFile: g, isSaving: _ } = d ?? {}, { isPending: v, onRequest: y, onDetachNow: b, isDeleting: x, hasFailed: S } = f ?? {}, C = {
|
|
27
|
-
...r,
|
|
28
|
-
...p,
|
|
29
|
-
preview: {
|
|
30
|
-
...r.preview,
|
|
31
|
-
...p?.preview
|
|
32
|
-
}
|
|
33
|
-
}, w = e(), T = s(m), E = !!(a && !v || m);
|
|
34
|
-
if (!E && (c || w.isPending)) return /* @__PURE__ */ o(t, {
|
|
35
|
-
mode: "loading",
|
|
36
|
-
fileName: l
|
|
37
|
-
});
|
|
38
|
-
if (!E && u) return /* @__PURE__ */ o("div", {
|
|
39
|
-
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4 ttw:text-sm ttw:text-muted-foreground",
|
|
40
|
-
children: C.noDocument
|
|
3
|
+
var n = {
|
|
4
|
+
previewUnavailable: "Preview not available for this file type.",
|
|
5
|
+
openFile: "Open file"
|
|
6
|
+
};
|
|
7
|
+
function r(r, i = {}) {
|
|
8
|
+
if (r.mimetype === "application/pdf") return /* @__PURE__ */ e("iframe", {
|
|
9
|
+
src: `${r.url}#toolbar=0&navpanes=0`,
|
|
10
|
+
title: r.name,
|
|
11
|
+
referrerPolicy: "no-referrer",
|
|
12
|
+
className: "ttw:h-full ttw:w-full ttw:border-0"
|
|
41
13
|
});
|
|
42
|
-
if (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
noticeMessage: v && !S ? C.pendingDeletionNotice : void 0,
|
|
47
|
-
onFilesSelected: (e) => {
|
|
48
|
-
let [t] = e;
|
|
49
|
-
if (t) {
|
|
50
|
-
if (i) {
|
|
51
|
-
let e = () => w.mutate({
|
|
52
|
-
path: { payable_id: i },
|
|
53
|
-
file: t
|
|
54
|
-
});
|
|
55
|
-
if (v && b) {
|
|
56
|
-
b().then(e, () => void 0);
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
e();
|
|
60
|
-
} else h?.(t);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
14
|
+
if (r.mimetype.startsWith("image/")) return /* @__PURE__ */ e("img", {
|
|
15
|
+
src: r.url,
|
|
16
|
+
alt: r.name,
|
|
17
|
+
className: "ttw:max-h-full ttw:max-w-full ttw:object-contain"
|
|
63
18
|
});
|
|
64
|
-
let
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
19
|
+
let a = {
|
|
20
|
+
...n,
|
|
21
|
+
...i
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ t("div", {
|
|
24
|
+
className: "ttw:flex ttw:h-full ttw:w-full ttw:flex-col ttw:items-center ttw:justify-center ttw:gap-2 ttw:p-4 ttw:text-center",
|
|
25
|
+
children: [/* @__PURE__ */ e("p", {
|
|
26
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
27
|
+
children: a.previewUnavailable
|
|
28
|
+
}), /* @__PURE__ */ e("a", {
|
|
29
|
+
href: r.url,
|
|
30
|
+
target: "_blank",
|
|
31
|
+
rel: "noreferrer",
|
|
32
|
+
className: "ttw:text-sm ttw:font-medium ttw:text-primary ttw:underline ttw:underline-offset-2",
|
|
33
|
+
children: a.openFile
|
|
34
|
+
})]
|
|
77
35
|
});
|
|
78
36
|
}
|
|
79
37
|
//#endregion
|
|
80
|
-
export {
|
|
38
|
+
export { n as SOURCE_DOCUMENT_PREVIEW_LABELS_EN, r as createSourceDocumentPreview };
|
|
@@ -1,26 +1,191 @@
|
|
|
1
|
+
import { BILL_REJECTED_BANNER_LABELS_EN as e } from "../../ui/dist/index68.js";
|
|
2
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as t } from "../../ui/dist/index105.js";
|
|
3
|
+
import "../../ui/dist/index.js";
|
|
4
|
+
import { PAY_BILL_FLOW_LABELS_EN as n, mergePayBillFlowLabels as r } from "./index24.js";
|
|
5
|
+
import { MARK_AS_PAID_FLOW_LABELS_EN as i, mergeMarkAsPaidFlowLabels as a } from "./index15.js";
|
|
6
|
+
import "./index18.js";
|
|
7
|
+
import { APPROVAL_POLICY_RULE_COPY_EN as o } from "./index28.js";
|
|
8
|
+
import { BILL_DETAIL_ACTIONS_LABELS_EN as s, PAYMENT_HISTORY_LABELS_EN as c, SCHEDULED_SUMMARY_LABEL_EN as l, mergeBillDetailActionsLabels as u, mergePaymentHistoryMethodLabels as d } from "./index43.js";
|
|
9
|
+
import { SOURCE_DOCUMENT_PREVIEW_LABELS_EN as f } from "./index44.js";
|
|
1
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
var p = {
|
|
12
|
+
unmappedValidationError: (e, t) => `${e}: ${t}`,
|
|
13
|
+
unknownValidationField: "(unknown field)",
|
|
14
|
+
requiredField: "This field is required.",
|
|
15
|
+
saveFailed: "We could not save this bill. Try again.",
|
|
16
|
+
discountTaxBlockedByLineItems: "Discount and Tax can't be saved on a bill with line items. Remove them, then save again.",
|
|
17
|
+
finalizeFailed: "We could not submit this bill. Try again.",
|
|
18
|
+
draftSaved: "Bill saved as a draft.",
|
|
19
|
+
submittedSaved: "Bill updated.",
|
|
20
|
+
submittedDemoted: "Bill updated. It moved back to Drafts because some required details are missing.",
|
|
21
|
+
billFinalized: "Bill submitted for approval.",
|
|
22
|
+
numbersOnly: "Enter numbers only.",
|
|
23
|
+
unreadableMoney: "Enter a valid amount.",
|
|
24
|
+
unusableQuantity: "Enter a quantity greater than 0.",
|
|
25
|
+
lineItemsNeedAttention: "Check the highlighted line items before saving.",
|
|
26
|
+
unreadableDiscount: "Enter a valid discount amount.",
|
|
27
|
+
unreadableTax: "Enter a valid tax amount.",
|
|
28
|
+
unreadableTotal: "Enter a valid total amount."
|
|
29
|
+
}, m = {
|
|
30
|
+
achMethod: "via ACH bank transfer",
|
|
31
|
+
noMethod: "No payment method on file",
|
|
32
|
+
accountHolder: "Account holder",
|
|
33
|
+
routingNumber: "Routing number",
|
|
34
|
+
accountNumber: "Account number",
|
|
35
|
+
paymentMethodLoading: "Loading payment method...",
|
|
36
|
+
paymentMethodUnavailable: "We could not load payment methods. Try again.",
|
|
37
|
+
searchFailed: "We could not load vendors. Try again.",
|
|
38
|
+
vendorDetailsFailed: "We could not load this vendor. Try again."
|
|
39
|
+
}, h = {
|
|
40
|
+
attachFailed: "We could not attach that file. Try again.",
|
|
41
|
+
deleteFailed: "We could not remove that document. Try again.",
|
|
42
|
+
noDocument: "No document attached to this bill.",
|
|
43
|
+
pendingDeletionNotice: "This document will be removed when you save this bill.",
|
|
44
|
+
preview: f
|
|
45
|
+
}, g = {
|
|
46
|
+
...c,
|
|
47
|
+
notProvided: "Not provided",
|
|
48
|
+
paymentInstructionsValue: (e) => `Account ending in ${e}`,
|
|
49
|
+
paymentInstructionsNotSet: "Not set",
|
|
50
|
+
accountHolderFieldLabel: "Account holder",
|
|
51
|
+
routingNumberFieldLabel: "Routing number",
|
|
52
|
+
accountNumberFieldLabel: "Account number",
|
|
53
|
+
invoiceDateRow: "Invoice date",
|
|
54
|
+
dueDateRow: "Due date",
|
|
55
|
+
invoiceNumberRow: "Invoice number",
|
|
56
|
+
glCodeMissing: "GL code not specified",
|
|
57
|
+
glCodeUnavailable: "GL code unavailable",
|
|
58
|
+
qtyPriceValue: (e, t) => `${e} x ${t}`,
|
|
59
|
+
subtotalRow: "Subtotal",
|
|
60
|
+
taxRow: "Tax",
|
|
61
|
+
discountRow: "Discounts",
|
|
62
|
+
totalRow: "Total",
|
|
63
|
+
paidOnLabel: (e) => `Paid on ${e}`,
|
|
64
|
+
paymentInstructionsSaveError: "Couldn't save payment instructions. Try again.",
|
|
65
|
+
paymentInstructionsLinkError: "Payment instructions were saved to the vendor, but couldn't be added to this bill. Try again.",
|
|
66
|
+
rejectedByOn: (e, t) => `Rejected by ${e} on ${t}`,
|
|
67
|
+
rejectedOn: (e) => `Rejected on ${e}`,
|
|
68
|
+
rejectionMessage: (e) => `"${e}"`
|
|
69
|
+
}, _ = {
|
|
70
|
+
dateLabel: (e) => new Date(e).toLocaleString("en-US", {
|
|
71
|
+
month: "short",
|
|
72
|
+
day: "numeric",
|
|
73
|
+
year: "numeric",
|
|
74
|
+
hour: "numeric",
|
|
75
|
+
minute: "2-digit"
|
|
76
|
+
}),
|
|
77
|
+
byActor: (e, t) => `${e} by ${t}`,
|
|
78
|
+
billAdded: "Bill added",
|
|
79
|
+
billUploaded: "Bill uploaded",
|
|
80
|
+
billUpdated: "Bill updated",
|
|
81
|
+
attachmentAdded: "Attachment added",
|
|
82
|
+
submittedForApproval: "Submitted for approval",
|
|
83
|
+
approvalRequested: "Approval requested",
|
|
84
|
+
approved: "Approved",
|
|
85
|
+
autoApproved: "Approved automatically",
|
|
86
|
+
rejected: "Rejected",
|
|
87
|
+
rejectedWithReason: (e) => `Rejected: ${e}`,
|
|
88
|
+
reopened: "Reopened",
|
|
89
|
+
markedAsPaid: "Marked as paid",
|
|
90
|
+
markedAsPartiallyPaid: "Marked as partially paid",
|
|
91
|
+
paymentReverted: "Payment reverted",
|
|
92
|
+
statusChanged: (e) => `Status changed to ${e}`
|
|
93
|
+
}, v = {
|
|
94
|
+
newTitle: "New bill",
|
|
95
|
+
extractedTitle: (e) => `Bill from ${e}`,
|
|
96
|
+
viewTitle: (e) => `Bill from ${e}`,
|
|
97
|
+
readOnlyTitle: "Bill details",
|
|
98
|
+
addedOn: (e) => `Added on ${e}`,
|
|
99
|
+
unsavedChanges: t,
|
|
100
|
+
scheduledSummary: l,
|
|
101
|
+
actions: s,
|
|
102
|
+
detail: g,
|
|
103
|
+
history: _,
|
|
104
|
+
payBill: n,
|
|
105
|
+
markAsPaid: i,
|
|
106
|
+
approvalPolicyCopy: o,
|
|
107
|
+
deleteDraft: {
|
|
108
|
+
menuItem: "Delete draft",
|
|
109
|
+
dialog: {
|
|
110
|
+
title: "Delete this draft?",
|
|
111
|
+
description: "The draft and anything entered on it are removed. This can't be undone.",
|
|
112
|
+
confirmButton: "Delete draft"
|
|
113
|
+
},
|
|
114
|
+
error: "Couldn't delete this draft. Try again."
|
|
115
|
+
},
|
|
116
|
+
lineItemsGlCodeUnavailable: {
|
|
117
|
+
loadError: "Couldn't load GL codes",
|
|
118
|
+
noAccess: "You don't have access to GL codes",
|
|
119
|
+
empty: "No GL codes set up yet"
|
|
120
|
+
},
|
|
121
|
+
rejectedBanner: e
|
|
122
|
+
};
|
|
123
|
+
function y(e) {
|
|
124
|
+
return {
|
|
125
|
+
...v,
|
|
126
|
+
...e,
|
|
127
|
+
actions: u(e?.actions),
|
|
128
|
+
detail: {
|
|
129
|
+
...v.detail,
|
|
130
|
+
...e?.detail,
|
|
131
|
+
paymentHistoryMethodLabels: d(e?.detail?.paymentHistoryMethodLabels)
|
|
132
|
+
},
|
|
133
|
+
history: {
|
|
134
|
+
...v.history,
|
|
135
|
+
...e?.history
|
|
136
|
+
},
|
|
137
|
+
payBill: r(e?.payBill),
|
|
138
|
+
markAsPaid: a(e?.markAsPaid),
|
|
139
|
+
lineItemsGlCodeUnavailable: {
|
|
140
|
+
...v.lineItemsGlCodeUnavailable,
|
|
141
|
+
...e?.lineItemsGlCodeUnavailable
|
|
142
|
+
},
|
|
143
|
+
unsavedChanges: {
|
|
144
|
+
...v.unsavedChanges,
|
|
145
|
+
...e?.unsavedChanges
|
|
146
|
+
},
|
|
147
|
+
rejectedBanner: {
|
|
148
|
+
...v.rejectedBanner,
|
|
149
|
+
...e?.rejectedBanner
|
|
150
|
+
},
|
|
151
|
+
approvalPolicyCopy: {
|
|
152
|
+
...v.approvalPolicyCopy,
|
|
153
|
+
...e?.approvalPolicyCopy
|
|
154
|
+
},
|
|
155
|
+
deleteDraft: {
|
|
156
|
+
...v.deleteDraft,
|
|
157
|
+
...e?.deleteDraft,
|
|
158
|
+
dialog: (() => {
|
|
159
|
+
let t = {
|
|
160
|
+
...v.deleteDraft.dialog,
|
|
161
|
+
...e?.deleteDraft?.dialog
|
|
162
|
+
};
|
|
163
|
+
return delete t.reason, t;
|
|
164
|
+
})()
|
|
21
165
|
}
|
|
22
166
|
};
|
|
23
|
-
return r.legalName || r.email || r.phone || Object.values(r.address).some(Boolean) ? r : void 0;
|
|
24
167
|
}
|
|
168
|
+
var b = {
|
|
169
|
+
createTitle: "New vendor",
|
|
170
|
+
editTitle: "Edit vendor",
|
|
171
|
+
close: "Close the vendor form",
|
|
172
|
+
nameLabel: "Name",
|
|
173
|
+
addAddress: "Add address (optional)",
|
|
174
|
+
paymentMethodsHeading: "Accepted payment methods",
|
|
175
|
+
paymentMethodsDescription: "How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later — you just won't be able to send payments until you do.",
|
|
176
|
+
achTitle: "ACH bank transfer",
|
|
177
|
+
achDescription: "Fast, direct deposit to the vendor's bank. Arrives in 1–3 business days.",
|
|
178
|
+
addBankAccount: "Add bank account",
|
|
179
|
+
accountHolderNameLabel: "Account holder name",
|
|
180
|
+
routingNumberLabel: "Routing number",
|
|
181
|
+
accountNumberLabel: "Account number",
|
|
182
|
+
achHelp: "Ask your vendor for this — it's usually on their invoice, W-9, or a payment instructions email they send you.",
|
|
183
|
+
cancel: "Cancel",
|
|
184
|
+
save: "Save vendor",
|
|
185
|
+
discardConfirmTitle: "Discard unsaved changes?",
|
|
186
|
+
discardConfirmDescription: "You've made changes to this vendor that haven't been saved. If you leave now, they'll be lost.",
|
|
187
|
+
keepEditingAction: "Keep editing",
|
|
188
|
+
discardChangesAction: "Discard changes"
|
|
189
|
+
};
|
|
25
190
|
//#endregion
|
|
26
|
-
export {
|
|
191
|
+
export { p as BILL_CREATE_MESSAGE_LABELS_EN, v as BILL_CREATE_SCREEN_LABELS_EN, g as BILL_DETAIL_VIEW_LABELS_EN, _ as BILL_HISTORY_LABELS_EN, h as SOURCE_DOCUMENT_CONTAINER_LABELS_EN, b as VENDOR_INLINE_FORM_LABELS_EN, m as VENDOR_SECTION_PROPS_LABELS_EN, y as mergeBillCreateScreenCopy };
|