@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
|
@@ -2,386 +2,241 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "
|
|
10
|
-
import { formatCalendarDate as ne } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
11
|
-
import { useWidgetConfig as re } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
12
|
-
import "../../../shared/feature/dist/index.js";
|
|
13
|
-
import { usePayableHistoryQuery as ie } from "../../data-access/dist/index9.js";
|
|
14
|
-
import { useAllPayableLineItemsQuery as ae } from "../../data-access/dist/index10.js";
|
|
15
|
-
import { usePayableQuery as oe } from "../../data-access/dist/index16.js";
|
|
16
|
-
import "../../data-access/dist/index.js";
|
|
17
|
-
import { hasUnpaidBalance as se } from "./index6.js";
|
|
18
|
-
import { resolveVendor as ce } from "./index7.js";
|
|
19
|
-
import { BillCreateScreen as le } from "../../ui/dist/index49.js";
|
|
20
|
-
import { BillDecisionDialog as n } from "../../ui/dist/index55.js";
|
|
21
|
-
import { BillDuplicateNotice as ue } from "../../ui/dist/index65.js";
|
|
22
|
-
import { ExtractionNotice as de } from "../../ui/dist/index83.js";
|
|
23
|
-
import { MarkAsPaidDialog as fe } from "../../ui/dist/index92.js";
|
|
24
|
-
import { UnsavedBillDialog as pe } from "../../ui/dist/index102.js";
|
|
25
|
-
import "../../ui/dist/index.js";
|
|
26
|
-
import { usePayableDuplicateReview as me } from "./index12.js";
|
|
27
|
-
import "./index13.js";
|
|
28
|
-
import { canOverrideApprovalPolicy as he, canReadCounterpartBankAccounts as ge } from "./index18.js";
|
|
29
|
-
import { resolveAmountDueMinorUnits as _e } from "./index19.js";
|
|
30
|
-
import { usePayableAchInstructions as ve } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
|
|
31
|
-
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
32
|
-
import { PayBillFlow as ye } from "./index25.js";
|
|
33
|
-
import "./index26.js";
|
|
34
|
-
import { useMarkAsPaidFlow as be } from "./index16.js";
|
|
35
|
-
import "./index17.js";
|
|
36
|
-
import { BILL_CREATE_MESSAGE_LABELS_EN as xe, mergeBillCreateScreenCopy as Se } from "./index43.js";
|
|
37
|
-
import { useBillCreateController as Ce } from "./index52.js";
|
|
38
|
-
import { useBillForm as we } from "./index54.js";
|
|
39
|
-
import { buildPaymentHistory as Te } from "./index3.js";
|
|
40
|
-
import { useApprovalPolicyCardView as Ee } from "./index32.js";
|
|
41
|
-
import { useCurrentApprovalRequestId as De } from "./index33.js";
|
|
42
|
-
import { usePayableDetailActions as Oe } from "./index34.js";
|
|
43
|
-
import { useScheduledPayment as ke } from "./index35.js";
|
|
44
|
-
import { isEditablePayableStatus as Ae } from "./index36.js";
|
|
45
|
-
import { useDraftDelete as je } from "./index37.js";
|
|
46
|
-
import { buildBillDetailView as Me } from "./index39.js";
|
|
47
|
-
import { buildBillHistory as Ne } from "./index40.js";
|
|
48
|
-
import { SourceDocumentContainer as Pe } from "./index44.js";
|
|
49
|
-
import { useVendorSectionProps as Fe } from "./index47.js";
|
|
50
|
-
import { usePaymentInstructionsForm as Ie } from "./index48.js";
|
|
51
|
-
import { billCreateTestIds as r } from "./index55.js";
|
|
52
|
-
import { useCallback as i, useEffect as Le, useMemo as a, useRef as Re, useState as o } from "react";
|
|
53
|
-
import { Fragment as ze, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
54
|
-
import { Trash2Icon as Be } from "lucide-react";
|
|
5
|
+
import { BILL_CREATE_MESSAGE_LABELS_EN as e } from "./index45.js";
|
|
6
|
+
import { calculateTotal as t, displayLineAmount as n, parseMoneyToMinorUnits as r, parseQuantity as i } from "./index52.js";
|
|
7
|
+
import { validateBillTotals as a } from "./index53.js";
|
|
8
|
+
import { emptyLineItem as o, mapPayableToBillForm as s } from "./index55.js";
|
|
9
|
+
import { useCallback as c, useEffect as l, useMemo as u, useRef as ee, useState as d } from "react";
|
|
55
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}),
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
11
|
+
var f = /^[0-9.,-]+$/;
|
|
12
|
+
function p(e) {
|
|
13
|
+
let t = e.trim().replace(/^\$\s*/, "");
|
|
14
|
+
return t ? f.test(t) ? t : null : "";
|
|
15
|
+
}
|
|
16
|
+
var m = [
|
|
17
|
+
"quantity",
|
|
18
|
+
"price",
|
|
19
|
+
"amount"
|
|
20
|
+
];
|
|
21
|
+
function h(e) {
|
|
22
|
+
let t = e.trim(), n = /[.,]$/.test(t) ? t.slice(0, -1) : t;
|
|
23
|
+
return t && !n ? null : n;
|
|
24
|
+
}
|
|
25
|
+
function g(e, t, n) {
|
|
26
|
+
if (t === void 0) return;
|
|
27
|
+
let r = h(t);
|
|
28
|
+
if (r !== null) return a(e === "discount" ? r : "", e === "tax" ? r : "", e === "total" ? r : void 0, n)?.[e];
|
|
29
|
+
}
|
|
30
|
+
function _(e, t) {
|
|
31
|
+
let n = {}, a = {
|
|
32
|
+
price: null,
|
|
33
|
+
amount: null
|
|
34
|
+
};
|
|
35
|
+
for (let i of ["price", "amount"]) {
|
|
36
|
+
let o = h(e[i]);
|
|
37
|
+
o !== null && (a[i] = r(o), o && a[i] === null && (n[i] = t.unreadableMoney));
|
|
38
|
+
}
|
|
39
|
+
let o = h(e.quantity);
|
|
40
|
+
if (o !== null) {
|
|
41
|
+
let e = a.price !== null || a.amount !== null;
|
|
42
|
+
i(o) === null && (o || e) && (n.quantity = t.unusableQuantity);
|
|
43
|
+
}
|
|
44
|
+
return n;
|
|
45
|
+
}
|
|
46
|
+
function v(e, t, i) {
|
|
47
|
+
return r(t) === null ? i : n(e, t);
|
|
48
|
+
}
|
|
49
|
+
function y({ payable: n, lineItems: r, labels: i = e } = {}) {
|
|
50
|
+
let a = u(() => s({
|
|
51
|
+
payable: n ?? {},
|
|
52
|
+
lineItems: r ?? []
|
|
53
|
+
}), [n, r]), [f, h] = d(a.values), [y, b] = d(a.lineItems), [x, S] = d(a.discount), [C, w] = d(a.tax), [T, E] = d(a.total || void 0), [te, D] = d(), O = ee(void 0), k = c((e) => {
|
|
54
|
+
D((t) => {
|
|
55
|
+
let n = typeof e == "function" ? e(t) : e;
|
|
56
|
+
return n?.form !== O.current && (O.current = void 0), n;
|
|
57
|
+
});
|
|
58
|
+
}, []), A = c((e) => {
|
|
59
|
+
O.current = e, D((t) => ({
|
|
60
|
+
...t,
|
|
61
|
+
form: e
|
|
62
|
+
}));
|
|
63
|
+
}, []), j = c(() => {
|
|
64
|
+
D((e) => {
|
|
65
|
+
if (!e?.form || e.form !== O.current) return e;
|
|
66
|
+
O.current = void 0;
|
|
67
|
+
let { form: t, ...n } = e;
|
|
68
|
+
return Object.keys(n).length ? n : void 0;
|
|
69
|
+
});
|
|
70
|
+
}, []), [M, N] = d(), [P, F] = d(), [I, L] = d(!1), [R, z] = d(!1), [B, V] = d(!1);
|
|
71
|
+
l(() => {
|
|
72
|
+
I || h(a.values);
|
|
73
|
+
}, [a]), l(() => {
|
|
74
|
+
R || b(a.lineItems);
|
|
75
|
+
}, [a]), l(() => {
|
|
76
|
+
B || (S(a.discount), w(a.tax), E(a.total || void 0));
|
|
77
|
+
}, [a]);
|
|
78
|
+
let H = c((e) => {
|
|
79
|
+
h((t) => ({
|
|
80
|
+
...t,
|
|
81
|
+
...e
|
|
82
|
+
})), L(!0), D((t) => {
|
|
83
|
+
if (!t) return t;
|
|
84
|
+
let n = { ...t };
|
|
85
|
+
for (let t of Object.keys(e)) delete n[t];
|
|
86
|
+
return Object.keys(n).length ? n : void 0;
|
|
87
|
+
}), j();
|
|
88
|
+
}, [j]), U = c((e, t) => {
|
|
89
|
+
N((n) => {
|
|
90
|
+
if (!n?.[e] && !t) return n;
|
|
91
|
+
let r = {
|
|
92
|
+
...n,
|
|
93
|
+
[e]: t
|
|
94
|
+
};
|
|
95
|
+
return t || delete r[e], Object.keys(r).length ? r : void 0;
|
|
96
|
+
});
|
|
97
|
+
}, []), W = c((e, t) => {
|
|
98
|
+
U(e, g(e, t, i));
|
|
99
|
+
}, [i, U]), G = c(() => {
|
|
100
|
+
E(void 0), W("total", void 0), j();
|
|
101
|
+
}, [W, j]), K = c((e, t = []) => {
|
|
102
|
+
let n = _(e, i);
|
|
103
|
+
F((r) => {
|
|
104
|
+
let i = r?.[e.id], a = { ...i };
|
|
105
|
+
for (let e of [
|
|
106
|
+
"price",
|
|
107
|
+
"amount",
|
|
108
|
+
"quantity"
|
|
109
|
+
]) n[e] ? a[e] = n[e] : delete a[e];
|
|
110
|
+
t.includes("description") && delete a.description;
|
|
111
|
+
let o = Object.keys(a).length > 0;
|
|
112
|
+
if (!i && !o) return r;
|
|
113
|
+
let s = { ...r };
|
|
114
|
+
return o ? s[e.id] = a : delete s[e.id], Object.keys(s).length ? s : void 0;
|
|
115
|
+
});
|
|
116
|
+
}, [i]), q = c((e, t, n) => {
|
|
117
|
+
F((r) => ({
|
|
118
|
+
...r,
|
|
119
|
+
[e]: {
|
|
120
|
+
...r?.[e],
|
|
121
|
+
[t]: n
|
|
122
|
+
}
|
|
123
|
+
}));
|
|
124
|
+
}, []), J = c((e, t, n = []) => {
|
|
125
|
+
let r = y.find((t) => t.id === e);
|
|
126
|
+
if (!r) return;
|
|
127
|
+
let i = t(r);
|
|
128
|
+
b(y.map((t) => t.id === e ? i : t)), K(i, n), z(!0), G();
|
|
129
|
+
}, [
|
|
130
|
+
G,
|
|
131
|
+
y,
|
|
132
|
+
K
|
|
133
|
+
]), Y = c((e, t) => {
|
|
134
|
+
let n = { ...t };
|
|
135
|
+
for (let r of m) {
|
|
136
|
+
let a = t[r];
|
|
137
|
+
if (a === void 0) continue;
|
|
138
|
+
let o = p(a);
|
|
139
|
+
if (o === null) {
|
|
140
|
+
q(e, r, i.numbersOnly);
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
n[r] = o;
|
|
144
|
+
}
|
|
145
|
+
J(e, (e) => {
|
|
146
|
+
let t = {
|
|
147
|
+
...e,
|
|
148
|
+
...n
|
|
149
|
+
};
|
|
150
|
+
return "amount" in n ? t : {
|
|
151
|
+
...t,
|
|
152
|
+
amount: v(t.quantity, t.price, t.amount)
|
|
153
|
+
};
|
|
154
|
+
}, Object.keys(n));
|
|
155
|
+
}, [
|
|
156
|
+
J,
|
|
157
|
+
i,
|
|
158
|
+
q
|
|
159
|
+
]), X = c((e, t) => {
|
|
160
|
+
J(e, (e) => {
|
|
161
|
+
let n = Number.parseFloat(e.quantity), r = String(Math.max(1, (Number.isFinite(n) ? n : 1) + t));
|
|
162
|
+
return {
|
|
163
|
+
...e,
|
|
164
|
+
quantity: r,
|
|
165
|
+
amount: v(r, e.price, e.amount)
|
|
166
|
+
};
|
|
167
|
+
});
|
|
168
|
+
}, [J]), Z = c((e) => {
|
|
169
|
+
F((t) => {
|
|
170
|
+
if (!t?.[e]) return t;
|
|
171
|
+
let n = { ...t };
|
|
172
|
+
return delete n[e], Object.keys(n).length ? n : void 0;
|
|
173
|
+
});
|
|
174
|
+
}, []), Q = c((e) => {
|
|
175
|
+
Z(e), b((t) => t.length <= 1 ? t : t.filter((t) => t.id !== e)), z(!0), G();
|
|
176
|
+
}, [Z, G]), ne = c(() => {
|
|
177
|
+
b((e) => [...e, o()]), z(!0), G();
|
|
178
|
+
}, [G]), $ = c((e, t, n) => {
|
|
179
|
+
let r = p(t);
|
|
180
|
+
if (r === null) {
|
|
181
|
+
U(e, i.numbersOnly);
|
|
211
182
|
return;
|
|
212
183
|
}
|
|
213
|
-
|
|
184
|
+
n(r), V(!0), G(), W(e, r);
|
|
214
185
|
}, [
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
h(!1), e && u(!1);
|
|
186
|
+
G,
|
|
187
|
+
i,
|
|
188
|
+
W,
|
|
189
|
+
U
|
|
190
|
+
]), re = c((e) => $("discount", e, S), [$]), ie = c((e) => $("tax", e, w), [$]), ae = c((e) => {
|
|
191
|
+
let t = p(e);
|
|
192
|
+
if (t === null) {
|
|
193
|
+
U("total", i.numbersOnly);
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
E(t), V(!0), W("total", t), j();
|
|
227
197
|
}, [
|
|
228
|
-
|
|
198
|
+
j,
|
|
199
|
+
i,
|
|
200
|
+
W,
|
|
201
|
+
U
|
|
202
|
+
]), oe = u(() => y.map((e) => ({
|
|
203
|
+
...e,
|
|
204
|
+
onChange: (t) => Y(e.id, t),
|
|
205
|
+
onQuantityStep: (t) => X(e.id, t),
|
|
206
|
+
onRemove: () => Q(e.id)
|
|
207
|
+
})), [
|
|
208
|
+
y,
|
|
209
|
+
Y,
|
|
229
210
|
Q,
|
|
230
|
-
|
|
231
|
-
]),
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
},
|
|
260
|
-
values: E.values,
|
|
261
|
-
errors: E.errors,
|
|
262
|
-
onChange: E.onChange,
|
|
263
|
-
lineItems: {
|
|
264
|
-
items: E.lineItemRows,
|
|
265
|
-
glCodeOptions: K,
|
|
266
|
-
glCodeDisabled: ft,
|
|
267
|
-
glCodeUnavailableMessage: q,
|
|
268
|
-
discount: E.discount,
|
|
269
|
-
onDiscountChange: E.onDiscountChange,
|
|
270
|
-
tax: E.tax,
|
|
271
|
-
onTaxChange: E.onTaxChange,
|
|
272
|
-
total: E.total,
|
|
273
|
-
onTotalChange: E.onTotalChange,
|
|
274
|
-
onAddLineItem: E.onAddLineItem,
|
|
275
|
-
errors: E.lineItemErrors,
|
|
276
|
-
totalsErrors: E.totalsErrors,
|
|
277
|
-
testId: r.lineItems
|
|
278
|
-
},
|
|
279
|
-
documentPanel: /* @__PURE__ */ s(Pe, {
|
|
280
|
-
payableId: g,
|
|
281
|
-
readOnly: T,
|
|
282
|
-
isDocumentPending: !!g && !S?.file && (_.isLoading || S?.ocr_status === "processing"),
|
|
283
|
-
file: S?.file ? {
|
|
284
|
-
id: S.file.id,
|
|
285
|
-
name: S.file.name,
|
|
286
|
-
url: S.file.url,
|
|
287
|
-
mimetype: S.file.mimetype
|
|
288
|
-
} : void 0,
|
|
289
|
-
staging: {
|
|
290
|
-
stagedFile: A.stagedFile,
|
|
291
|
-
onFileStaged: A.stageFile,
|
|
292
|
-
onClearStagedFile: A.clearStagedFile,
|
|
293
|
-
isSaving: j
|
|
294
|
-
},
|
|
295
|
-
deletion: {
|
|
296
|
-
isPending: A.isFileDeletionPending,
|
|
297
|
-
onRequest: A.requestFileDeletion,
|
|
298
|
-
onDetachNow: A.detachFileNow,
|
|
299
|
-
isDeleting: A.isDeletingFile,
|
|
300
|
-
hasFailed: A.hasFileDeletionFailed
|
|
301
|
-
}
|
|
302
|
-
}),
|
|
303
|
-
menuItems: dt,
|
|
304
|
-
readOnly: T,
|
|
305
|
-
detail: d ? {
|
|
306
|
-
view: vt,
|
|
307
|
-
actions: V,
|
|
308
|
-
scheduledSummary: P.hasScheduledPayment && P.scheduledDateLabel ? f.scheduledSummary(P.scheduledDateLabel) : void 0,
|
|
309
|
-
showApprovalOverrideNotice: ct,
|
|
310
|
-
onEditPaymentInstructions: D && st ? L.open : void 0,
|
|
311
|
-
paymentInstructionsForm: D && (st || R && S?.status === "rejected") ? {
|
|
312
|
-
isOpen: L.isOpen,
|
|
313
|
-
values: L.values,
|
|
314
|
-
errors: L.errors,
|
|
315
|
-
isSaving: L.isSaving,
|
|
316
|
-
onOpen: L.open,
|
|
317
|
-
onCancel: L.close,
|
|
318
|
-
onChange: L.onChange,
|
|
319
|
-
onSave: L.save
|
|
320
|
-
} : void 0,
|
|
321
|
-
hideMissingPaymentInstructions: S?.status === "paid" || S?.status === "canceled",
|
|
322
|
-
isLoading: W,
|
|
323
|
-
isError: G,
|
|
324
|
-
paymentHistoryError: P.isError || J.isError,
|
|
325
|
-
paymentHistoryLoading: P.isResolving || J.isLoading
|
|
326
|
-
} : void 0,
|
|
327
|
-
isLineItemsLoading: v.isResolving,
|
|
328
|
-
isSaving: U,
|
|
329
|
-
isSavingDraft: A.isSavingDraft,
|
|
330
|
-
isSubmitting: A.isFinalizing,
|
|
331
|
-
onCancel: Z,
|
|
332
|
-
onCollapse: d ? Ue : void 0,
|
|
333
|
-
onSaveDraft: A.saveDraft,
|
|
334
|
-
onFinalize: A.finalize,
|
|
335
|
-
scrollToErrorToken: A.scrollToErrorToken,
|
|
336
|
-
showSubmit: !T && C,
|
|
337
|
-
testId: r.dialog
|
|
338
|
-
}),
|
|
339
|
-
/* @__PURE__ */ s(pe, {
|
|
340
|
-
open: Ye,
|
|
341
|
-
onSaveDraft: St,
|
|
342
|
-
onDiscard: xt,
|
|
343
|
-
onCancel: () => h(!1),
|
|
344
|
-
isSaving: A.isSavingDraft,
|
|
345
|
-
isSaveDraftDisabled: Q,
|
|
346
|
-
labels: f.unsavedChanges,
|
|
347
|
-
testId: r.unsavedDialog,
|
|
348
|
-
saveDraftTestId: r.unsavedSaveDraft,
|
|
349
|
-
discardTestId: r.unsavedDiscard,
|
|
350
|
-
closeTestId: r.unsavedClose
|
|
351
|
-
}),
|
|
352
|
-
/* @__PURE__ */ s(n, {
|
|
353
|
-
...lt,
|
|
354
|
-
labels: { cancelButton: f.actions.decisionDialog.cancelButton },
|
|
355
|
-
testId: r.decisionDialog,
|
|
356
|
-
confirmTestId: r.decisionConfirm,
|
|
357
|
-
reasonTestId: r.decisionReason
|
|
358
|
-
}),
|
|
359
|
-
/* @__PURE__ */ s(n, {
|
|
360
|
-
...H.dialog,
|
|
361
|
-
labels: { cancelButton: f.actions.decisionDialog.cancelButton },
|
|
362
|
-
testId: r.deleteDraftDialog,
|
|
363
|
-
confirmTestId: r.deleteDraftConfirm
|
|
364
|
-
}),
|
|
365
|
-
/* @__PURE__ */ s(n, {
|
|
366
|
-
open: $.removeConfirmation.open,
|
|
367
|
-
copy: $.removeConfirmation.copy,
|
|
368
|
-
onConfirm: $.removeConfirmation.onConfirm,
|
|
369
|
-
onCancel: $.removeConfirmation.onCancel,
|
|
370
|
-
isPending: $.removeConfirmation.isPending,
|
|
371
|
-
confirmIcon: /* @__PURE__ */ s(Be, {}),
|
|
372
|
-
labels: { cancelButton: $.removeConfirmation.cancelButtonLabel },
|
|
373
|
-
testId: r.duplicateRemoveDialog,
|
|
374
|
-
confirmTestId: r.duplicateRemoveConfirm
|
|
375
|
-
}),
|
|
376
|
-
/* @__PURE__ */ s(fe, { ...z.dialogProps }),
|
|
377
|
-
d && S ? /* @__PURE__ */ s(ye, {
|
|
378
|
-
ref: it,
|
|
379
|
-
payable: S,
|
|
380
|
-
onMissingAchInstructions: R ? L.open : void 0,
|
|
381
|
-
poweredByBankName: We,
|
|
382
|
-
labels: f.payBill
|
|
383
|
-
}) : null
|
|
384
|
-
] });
|
|
211
|
+
X
|
|
212
|
+
]), se = u(() => t(y, C, x), [
|
|
213
|
+
y,
|
|
214
|
+
C,
|
|
215
|
+
x
|
|
216
|
+
]);
|
|
217
|
+
return {
|
|
218
|
+
values: f,
|
|
219
|
+
errors: te,
|
|
220
|
+
setErrors: k,
|
|
221
|
+
setSaveFailureMessage: A,
|
|
222
|
+
lineItemErrors: P,
|
|
223
|
+
setLineItemErrors: F,
|
|
224
|
+
totalsErrors: M,
|
|
225
|
+
setTotalsErrors: N,
|
|
226
|
+
onChange: H,
|
|
227
|
+
lineItems: y,
|
|
228
|
+
lineItemRows: oe,
|
|
229
|
+
discount: x,
|
|
230
|
+
onDiscountChange: re,
|
|
231
|
+
tax: C,
|
|
232
|
+
onTaxChange: ie,
|
|
233
|
+
total: T ?? se,
|
|
234
|
+
totalOverride: T,
|
|
235
|
+
onTotalChange: ae,
|
|
236
|
+
onAddLineItem: ne,
|
|
237
|
+
isTotalsDirty: B,
|
|
238
|
+
isDirty: I || R || B
|
|
239
|
+
};
|
|
385
240
|
}
|
|
386
241
|
//#endregion
|
|
387
|
-
export {
|
|
242
|
+
export { y as useBillForm };
|
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js
|
|
2
|
+
var e = {
|
|
3
|
+
dialog: "bill-pay-bill-create-dialog",
|
|
4
|
+
vendorSection: "bill-pay-bill-create-vendor",
|
|
5
|
+
lineItems: "bill-pay-bill-create-line-items",
|
|
6
|
+
documentPanel: "bill-pay-bill-create-document",
|
|
7
|
+
duplicateNotice: "bill-pay-bill-create-duplicate-notice",
|
|
8
|
+
duplicateRemoveDialog: "bill-pay-bill-create-duplicate-remove-dialog",
|
|
9
|
+
duplicateRemoveConfirm: "bill-pay-bill-create-duplicate-remove-confirm",
|
|
10
|
+
decisionDialog: "bill-pay-bill-decision-dialog",
|
|
11
|
+
decisionConfirm: "bill-pay-bill-decision-confirm",
|
|
12
|
+
decisionReason: "bill-pay-bill-decision-reason",
|
|
13
|
+
deleteDraftDialog: "bill-pay-bill-delete-draft-dialog",
|
|
14
|
+
deleteDraftConfirm: "bill-pay-bill-delete-draft-confirm",
|
|
15
|
+
unsavedDialog: "bill-pay-bill-unsaved-dialog",
|
|
16
|
+
unsavedSaveDraft: "bill-pay-bill-unsaved-save-draft",
|
|
17
|
+
unsavedDiscard: "bill-pay-bill-unsaved-discard",
|
|
18
|
+
unsavedClose: "bill-pay-bill-unsaved-close"
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { e as billCreateTestIds };
|