@tesouro/embedded-components-react 0.5.27 → 0.5.29
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 +18 -6
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +52 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +57 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +68 -207
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +278 -175
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +13 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +53 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +204 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +32 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +234 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +21 -240
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +532 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -436
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +230 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -233
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +127 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -129
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +46 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +122 -241
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +206 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -213
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +113 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -115
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +39 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +123 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +158 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +100 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +20 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +103 -146
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +93 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +43 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +55 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +33 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -39
- 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 +6 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +34 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +187 -350
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +3 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +356 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +87 -119
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +125 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +90 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +30 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +85 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +291 -351
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +30 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +92 -87
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +0 -28
package/dist/index.css
CHANGED
|
@@ -398,6 +398,9 @@
|
|
|
398
398
|
.ttw\:-mx-1 {
|
|
399
399
|
margin-inline: calc(var(--ttw-spacing) * -1);
|
|
400
400
|
}
|
|
401
|
+
.ttw\:-mx-2 {
|
|
402
|
+
margin-inline: calc(var(--ttw-spacing) * -2);
|
|
403
|
+
}
|
|
401
404
|
.ttw\:-mx-6 {
|
|
402
405
|
margin-inline: calc(var(--ttw-spacing) * -6);
|
|
403
406
|
}
|
|
@@ -413,6 +416,9 @@
|
|
|
413
416
|
.ttw\:mx-auto {
|
|
414
417
|
margin-inline: auto;
|
|
415
418
|
}
|
|
419
|
+
.ttw\:-my-1 {
|
|
420
|
+
margin-block: calc(var(--ttw-spacing) * -1);
|
|
421
|
+
}
|
|
416
422
|
.ttw\:-my-2 {
|
|
417
423
|
margin-block: calc(var(--ttw-spacing) * -2);
|
|
418
424
|
}
|
|
@@ -989,8 +995,8 @@
|
|
|
989
995
|
.ttw\:min-h-\[432px\] {
|
|
990
996
|
min-height: 432px;
|
|
991
997
|
}
|
|
992
|
-
.ttw\:min-h-\[
|
|
993
|
-
min-height:
|
|
998
|
+
.ttw\:min-h-\[1056px\] {
|
|
999
|
+
min-height: 1056px;
|
|
994
1000
|
}
|
|
995
1001
|
.ttw\:min-h-\[1219px\] {
|
|
996
1002
|
min-height: 1219px;
|
|
@@ -1244,6 +1250,9 @@
|
|
|
1244
1250
|
.ttw\:w-\[90px\] {
|
|
1245
1251
|
width: 90px;
|
|
1246
1252
|
}
|
|
1253
|
+
.ttw\:w-\[140px\] {
|
|
1254
|
+
width: 140px;
|
|
1255
|
+
}
|
|
1247
1256
|
.ttw\:w-\[300px\] {
|
|
1248
1257
|
width: 300px;
|
|
1249
1258
|
}
|
|
@@ -1358,8 +1367,8 @@
|
|
|
1358
1367
|
.ttw\:max-w-178 {
|
|
1359
1368
|
max-width: calc(var(--ttw-spacing) * 178);
|
|
1360
1369
|
}
|
|
1361
|
-
.ttw\:max-w-\[
|
|
1362
|
-
max-width:
|
|
1370
|
+
.ttw\:max-w-\[8\.5in\] {
|
|
1371
|
+
max-width: 8.5in;
|
|
1363
1372
|
}
|
|
1364
1373
|
.ttw\:max-w-\[60\%\] {
|
|
1365
1374
|
max-width: 60%;
|
|
@@ -1505,8 +1514,8 @@
|
|
|
1505
1514
|
.ttw\:min-w-\[24rem\] {
|
|
1506
1515
|
min-width: 24rem;
|
|
1507
1516
|
}
|
|
1508
|
-
.ttw\:min-w-\[
|
|
1509
|
-
min-width:
|
|
1517
|
+
.ttw\:min-w-\[816px\] {
|
|
1518
|
+
min-width: 816px;
|
|
1510
1519
|
}
|
|
1511
1520
|
.ttw\:min-w-\[890px\] {
|
|
1512
1521
|
min-width: 890px;
|
|
@@ -1631,6 +1640,9 @@
|
|
|
1631
1640
|
.ttw\:rotate-45 {
|
|
1632
1641
|
rotate: 45deg;
|
|
1633
1642
|
}
|
|
1643
|
+
.ttw\:rotate-90 {
|
|
1644
|
+
rotate: 90deg;
|
|
1645
|
+
}
|
|
1634
1646
|
.ttw\:rotate-y-180 {
|
|
1635
1647
|
--tw-rotate-y: rotateY(180deg);
|
|
1636
1648
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { RefreshingRootWidgetProvider as _ } from "./libs/tesouro-embedded-compo
|
|
|
14
14
|
import { useDisclosuresAcceptanceSurface as v, useOwnWidgetConfig as y, useRefetchWidget as b, useWidgetConfig as x, useWidgetError as S, useWidgetInitStaleForToken as C, useWidgetLoading as w } from "./libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
15
15
|
import { BankAccountsWidget as T } from "./libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index8.js";
|
|
16
16
|
import { CounterpartsWidget as E } from "./libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index8.js";
|
|
17
|
-
import { BillPayWidget as D } from "./libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
17
|
+
import { BillPayWidget as D } from "./libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js";
|
|
18
18
|
import { CardDetailsWidget as O } from "./libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index13.js";
|
|
19
19
|
import { CreditCardsWidget as k } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index10.js";
|
|
20
20
|
import { DebitCardsWidget as A } from "./libs/tesouro-embedded-components-react/cards-widget/feature/dist/index11.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js";
|
|
2
2
|
import "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js";
|
|
3
3
|
export { e as BillPayWidget };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import { useAllPayableLineItemsQuery as u, useReplacePayableLineItemsMutation as
|
|
|
9
9
|
import { usePayablePaymentRecordsQuery as f } from "./index11.js";
|
|
10
10
|
import { useSchedulePaymentMutation as p } from "./index12.js";
|
|
11
11
|
import { useAttachPayableFileMutation as m, useCancelPayableMutation as h, useCancelScheduledPaymentMutation as g, useCreatePayableMutation as _, useDeletePayableFileMutation as v, useDeletePayableMutation as y, useForceApprovePayableMutation as b, useForceRejectPayableMutation as x, useMarkPayableAsPaidMutation as S, useReopenPayableMutation as C, useSubmitPayableForApprovalMutation as w, useUpdatePayableMutation as T, useUploadPayableFromFileMutation as E, useValidatePayableMutation as D } from "./index13.js";
|
|
12
|
-
import
|
|
13
|
-
import { usePayableOcrQueries as
|
|
14
|
-
import { useAllSuspectedDuplicatePayablesQuery as
|
|
15
|
-
import { usePayableSuggestionsQuery as
|
|
16
|
-
export { n as DuplicateVerdict, r as hasSuspectedPayableDuplicate, t as isLiveScheduledPaymentRecord, i as suspectedPayableDuplicates, u as useAllPayableLineItemsQuery,
|
|
12
|
+
import "./index14.js";
|
|
13
|
+
import { usePayableOcrQueries as O } from "./index15.js";
|
|
14
|
+
import { useAllSuspectedDuplicatePayablesQuery as k, usePayableQuery as A, usePayablesQuery as j, usePayablesTotalCountQuery as M } from "./index17.js";
|
|
15
|
+
import { usePayableSuggestionsQuery as N } from "./index18.js";
|
|
16
|
+
export { n as DuplicateVerdict, r as hasSuspectedPayableDuplicate, t as isLiveScheduledPaymentRecord, i as suspectedPayableDuplicates, u as useAllPayableLineItemsQuery, k as useAllSuspectedDuplicatePayablesQuery, a as useApplyDuplicateVerdictsMutation, o as useApprovePayableApprovalRequestMutation, m as useAttachPayableFileMutation, h as useCancelPayableMutation, g as useCancelScheduledPaymentMutation, _ as useCreatePayableMutation, v as useDeletePayableFileMutation, y as useDeletePayableMutation, e as useEmbedApi, b as useForceApprovePayableMutation, x as useForceRejectPayableMutation, S as useMarkPayableAsPaidMutation, s as usePayableApprovalRequestsQuery, l as usePayableHistoryQuery, O as usePayableOcrQueries, f as usePayablePaymentRecordsQuery, A as usePayableQuery, N as usePayableSuggestionsQuery, j as usePayablesQuery, M as usePayablesTotalCountQuery, c as useRejectPayableApprovalRequestMutation, C as useReopenPayableMutation, d as useReplacePayableLineItemsMutation, p as useSchedulePaymentMutation, w as useSubmitPayableForApprovalMutation, T as useUpdatePayableMutation, E as useUploadPayableFromFileMutation, D as useValidatePayableMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js
CHANGED
|
@@ -2,49 +2,7 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { invalidateAllClients as e } from "../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
6
|
-
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
-
import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
-
import { patchCounterpartsIdBankAccountsId as r, postCounterpartsIdBankAccountsIdMakeDefault as i } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
9
5
|
import "../../../shared/data-access/dist/index.js";
|
|
10
|
-
import
|
|
11
|
-
import { counterpartBankAccountsInvalidationKey as o } from "../../../shared/counterpart-management/data-access/dist/index2.js";
|
|
6
|
+
import "./index6.js";
|
|
12
7
|
import "../../../shared/counterpart-management/data-access/dist/index.js";
|
|
13
|
-
import
|
|
14
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js
|
|
15
|
-
function c() {
|
|
16
|
-
let { client: c, organizationId: l } = t();
|
|
17
|
-
return s({
|
|
18
|
-
mutationFn: async ({ path: e, body: t, makeDefault: a }) => {
|
|
19
|
-
let { data: o } = await r({
|
|
20
|
-
client: c,
|
|
21
|
-
headers: n(l),
|
|
22
|
-
path: e,
|
|
23
|
-
body: t,
|
|
24
|
-
throwOnError: !0
|
|
25
|
-
});
|
|
26
|
-
if (a) try {
|
|
27
|
-
await i({
|
|
28
|
-
client: c,
|
|
29
|
-
headers: n(l),
|
|
30
|
-
path: e,
|
|
31
|
-
throwOnError: !0
|
|
32
|
-
});
|
|
33
|
-
} catch {}
|
|
34
|
-
return o;
|
|
35
|
-
},
|
|
36
|
-
onSuccess: async (t, n) => {
|
|
37
|
-
await Promise.all([e(o({
|
|
38
|
-
client: c,
|
|
39
|
-
organizationId: l,
|
|
40
|
-
counterpartId: n.path.counterpart_id
|
|
41
|
-
})), a({
|
|
42
|
-
client: c,
|
|
43
|
-
organizationId: l,
|
|
44
|
-
payableId: n.payableId
|
|
45
|
-
})]);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
//#endregion
|
|
50
|
-
export { c as useUpdatePayableCounterpartBankAccountMutation };
|
|
8
|
+
import "@tanstack/react-query";
|
|
@@ -12,21 +12,21 @@ import "./index28.js";
|
|
|
12
12
|
import "./index39.js";
|
|
13
13
|
import "./index42.js";
|
|
14
14
|
import "./index48.js";
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
15
|
+
import "./index56.js";
|
|
16
|
+
import "./index58.js";
|
|
17
|
+
import "./index60.js";
|
|
17
18
|
import "./index61.js";
|
|
18
19
|
import "./index62.js";
|
|
19
20
|
import "./index63.js";
|
|
20
21
|
import "./index64.js";
|
|
21
|
-
import "./
|
|
22
|
+
import "./index68.js";
|
|
22
23
|
import "./index69.js";
|
|
23
24
|
import "./index70.js";
|
|
24
25
|
import "./index71.js";
|
|
25
26
|
import "./index72.js";
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
27
|
+
import "./index75.js";
|
|
28
|
+
import "./index81.js";
|
|
28
29
|
import "./index82.js";
|
|
29
30
|
import "./index83.js";
|
|
30
|
-
import "./
|
|
31
|
-
import { BillPayWidget as e } from "./index88.js";
|
|
31
|
+
import { BillPayWidget as e } from "./index87.js";
|
|
32
32
|
export { e as BillPayWidget };
|
|
@@ -9,7 +9,7 @@ import { DuplicateVerdict as n, useApplyDuplicateVerdictsMutation as r } from ".
|
|
|
9
9
|
import "../../data-access/dist/index.js";
|
|
10
10
|
import { useDuplicateBills as i } from "./index10.js";
|
|
11
11
|
import { useDuplicateBillsSelection as a } from "./index11.js";
|
|
12
|
-
import { DuplicateBillsDialog as o } from "../../ui/dist/
|
|
12
|
+
import { DuplicateBillsDialog as o } from "../../ui/dist/index90.js";
|
|
13
13
|
import "../../ui/dist/index.js";
|
|
14
14
|
import { useEffect as s, useMemo as c, useState as l } from "react";
|
|
15
15
|
import { jsx as u } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MARK_AS_PAID_DIALOG_LABELS_EN as e } from "../../ui/dist/
|
|
1
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as e } from "../../ui/dist/index101.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js
|
|
4
4
|
var t = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as e } from "../../ui/dist/
|
|
2
|
-
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as t } from "../../ui/dist/
|
|
1
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as e } from "../../ui/dist/index98.js";
|
|
2
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as t } from "../../ui/dist/index104.js";
|
|
3
3
|
import "../../ui/dist/index.js";
|
|
4
4
|
import { SOURCE_ACCOUNT_LABELS_EN as n } from "./index24.js";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { useWidgetConfig as e } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
6
6
|
import "../../../shared/feature/dist/index.js";
|
|
7
7
|
import { resolveVendor as t } from "./index8.js";
|
|
8
|
-
import { ReviewTransactionDialog as n } from "../../ui/dist/
|
|
9
|
-
import { SchedulePaymentDialog as r } from "../../ui/dist/
|
|
8
|
+
import { ReviewTransactionDialog as n } from "../../ui/dist/index99.js";
|
|
9
|
+
import { SchedulePaymentDialog as r } from "../../ui/dist/index106.js";
|
|
10
10
|
import "../../ui/dist/index.js";
|
|
11
11
|
import { canReadCounterpartBankAccounts as i } from "./index20.js";
|
|
12
12
|
import { resolveAmountDueMinorUnits as a } from "./index21.js";
|
|
@@ -2,100 +2,85 @@ import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCal
|
|
|
2
2
|
import { derivePayableStatus as t } from "./index7.js";
|
|
3
3
|
import { resolveVendor as n } from "./index8.js";
|
|
4
4
|
import { resolveAmountDueMinorUnits as r } from "./index21.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { getPaidAtLabel as c } from "./index42.js";
|
|
5
|
+
import { formatBillMoney as i } from "./index2.js";
|
|
6
|
+
import { resolveLineItemAmountMinorUnits as a } from "./index40.js";
|
|
7
|
+
import { resolveLineItemQuantity as o } from "./index41.js";
|
|
8
|
+
import { getPaidAtLabel as s } from "./index42.js";
|
|
10
9
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js
|
|
11
|
-
function
|
|
12
|
-
let
|
|
13
|
-
apiStatus:
|
|
14
|
-
dueDate:
|
|
15
|
-
scheduledPaymentDate:
|
|
16
|
-
hasScheduledPayment:
|
|
17
|
-
}),
|
|
10
|
+
function c({ payable: c, lineItems: l, glCodeOptions: u, glCodeRosterAvailable: d = !0, history: f, paymentHistory: p, approvalPolicy: m, labels: h, hasScheduledPayment: g, rejection: _, payableAchInstructions: v, payableAchInstructionsReadable: y = !1 }) {
|
|
11
|
+
let b = c.currency, x = t({
|
|
12
|
+
apiStatus: c.status,
|
|
13
|
+
dueDate: c.due_date,
|
|
14
|
+
scheduledPaymentDate: c.scheduled_payment_date,
|
|
15
|
+
hasScheduledPayment: g
|
|
16
|
+
}), S = n(c), C = y ? v : void 0, w = C?.account_number, T = !!(C?.account_holder_name && C.routing_number && C.account_number), E = e(c.issued_at) || h.notProvided, D = e(c.due_date) || h.notProvided, O = new Map(u.map((e) => [e.value, e.label])), k = [
|
|
18
17
|
{
|
|
19
|
-
label:
|
|
20
|
-
minorUnits:
|
|
18
|
+
label: h.subtotalRow,
|
|
19
|
+
minorUnits: c.subtotal
|
|
21
20
|
},
|
|
22
21
|
{
|
|
23
|
-
label:
|
|
24
|
-
minorUnits:
|
|
22
|
+
label: h.discountRow,
|
|
23
|
+
minorUnits: c.discount
|
|
25
24
|
},
|
|
26
25
|
{
|
|
27
|
-
label:
|
|
28
|
-
minorUnits:
|
|
26
|
+
label: h.taxRow,
|
|
27
|
+
minorUnits: c.tax_amount
|
|
29
28
|
}
|
|
30
29
|
].map((e) => ({
|
|
31
30
|
label: e.label,
|
|
32
|
-
value:
|
|
33
|
-
})).filter((e) => !!e.value),
|
|
34
|
-
|
|
35
|
-
label:
|
|
36
|
-
value:
|
|
31
|
+
value: i(e.minorUnits, b)
|
|
32
|
+
})).filter((e) => !!e.value), A = i(c.total_amount, b);
|
|
33
|
+
A && k.push({
|
|
34
|
+
label: h.totalRow,
|
|
35
|
+
value: A,
|
|
37
36
|
emphasis: !0
|
|
38
37
|
});
|
|
39
|
-
let
|
|
38
|
+
let j = s(c);
|
|
40
39
|
return {
|
|
41
|
-
amountDue:
|
|
42
|
-
amountPaid:
|
|
43
|
-
paidOnLabel:
|
|
44
|
-
invoiceDateLabel:
|
|
45
|
-
dueDateLabel:
|
|
46
|
-
dueDateTone:
|
|
47
|
-
status:
|
|
48
|
-
statusTone:
|
|
40
|
+
amountDue: i(r(c), b) ?? "",
|
|
41
|
+
amountPaid: j ? i(c.amount_paid, b) : void 0,
|
|
42
|
+
paidOnLabel: j ? h.paidOnLabel(j) : void 0,
|
|
43
|
+
invoiceDateLabel: E,
|
|
44
|
+
dueDateLabel: D,
|
|
45
|
+
dueDateTone: x.isOverdue ? "danger" : "default",
|
|
46
|
+
status: x.status,
|
|
47
|
+
statusTone: x.tone,
|
|
49
48
|
payTo: {
|
|
50
|
-
name:
|
|
51
|
-
email:
|
|
52
|
-
methodLabel:
|
|
53
|
-
|
|
54
|
-
{
|
|
55
|
-
label: g.accountHolderFieldLabel,
|
|
56
|
-
value: w?.account_holder_name ?? ""
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: g.routingNumberFieldLabel,
|
|
60
|
-
value: w?.routing_number ?? ""
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
label: g.accountNumberFieldLabel,
|
|
64
|
-
value: T ?? "",
|
|
65
|
-
maskedValue: i(T ?? void 0)
|
|
66
|
-
}
|
|
67
|
-
] : []
|
|
49
|
+
name: S?.name || h.notProvided,
|
|
50
|
+
email: S?.email ?? "",
|
|
51
|
+
methodLabel: T ? h.paymentInstructionsValue(w?.slice(-4) ?? "") : h.paymentInstructionsNotSet,
|
|
52
|
+
hasPaymentInstructions: T
|
|
68
53
|
},
|
|
69
54
|
invoiceFields: [
|
|
70
55
|
{
|
|
71
|
-
label:
|
|
72
|
-
value:
|
|
56
|
+
label: h.invoiceDateRow,
|
|
57
|
+
value: E
|
|
73
58
|
},
|
|
74
59
|
{
|
|
75
|
-
label:
|
|
76
|
-
value:
|
|
60
|
+
label: h.dueDateRow,
|
|
61
|
+
value: D
|
|
77
62
|
},
|
|
78
63
|
{
|
|
79
|
-
label:
|
|
80
|
-
value:
|
|
64
|
+
label: h.invoiceNumberRow,
|
|
65
|
+
value: c.document_id || h.notProvided
|
|
81
66
|
}
|
|
82
67
|
],
|
|
83
|
-
lineItems:
|
|
84
|
-
let t =
|
|
68
|
+
lineItems: l.map((e) => {
|
|
69
|
+
let t = i(e.unit_price, b), n = String(o(e));
|
|
85
70
|
return {
|
|
86
71
|
id: e.id,
|
|
87
72
|
description: e.name ?? e.description ?? "",
|
|
88
|
-
glCodeLabel: e.ledger_account_id ?
|
|
89
|
-
qtyPriceLabel: t ?
|
|
90
|
-
amount: a(
|
|
73
|
+
glCodeLabel: e.ledger_account_id ? O.get(e.ledger_account_id) ?? (d ? h.glCodeMissing : h.glCodeUnavailable) : h.glCodeMissing,
|
|
74
|
+
qtyPriceLabel: t ? h.qtyPriceValue(n, t) : h.qtyOnlyValue(n),
|
|
75
|
+
amount: i(a(e), b) ?? ""
|
|
91
76
|
};
|
|
92
77
|
}),
|
|
93
|
-
amountRows:
|
|
94
|
-
approvalPolicy:
|
|
95
|
-
paymentHistory:
|
|
96
|
-
history:
|
|
97
|
-
rejection:
|
|
78
|
+
amountRows: k,
|
|
79
|
+
approvalPolicy: m,
|
|
80
|
+
paymentHistory: p,
|
|
81
|
+
history: f,
|
|
82
|
+
rejection: _
|
|
98
83
|
};
|
|
99
84
|
}
|
|
100
85
|
//#endregion
|
|
101
|
-
export {
|
|
86
|
+
export { c as buildBillDetailView };
|
|
@@ -67,14 +67,17 @@ var e = {
|
|
|
67
67
|
forceApproveNoApprovalPolicy: "Bill approved.",
|
|
68
68
|
forceRejectNoApprovalPolicy: "Bill rejected."
|
|
69
69
|
}
|
|
70
|
-
}, t = (e) => `Payment scheduled for ${e}`, n =
|
|
70
|
+
}, t = (e) => `Payment scheduled for ${e}`, n = (e) => `Scheduled - ${e}`, r = (e) => `Awaiting approval from ${new Intl.ListFormat("en", {
|
|
71
|
+
style: "long",
|
|
72
|
+
type: "conjunction"
|
|
73
|
+
}).format(e)}.`, i = "Awaiting approval.", a = [
|
|
71
74
|
"reject",
|
|
72
75
|
"cancel",
|
|
73
76
|
"cancelScheduledPayment",
|
|
74
77
|
"forceApprove",
|
|
75
78
|
"forceReject"
|
|
76
79
|
];
|
|
77
|
-
function
|
|
80
|
+
function o(e, t) {
|
|
78
81
|
let n = e.reason ? {
|
|
79
82
|
...e.reason,
|
|
80
83
|
...t?.reason
|
|
@@ -89,27 +92,27 @@ function r(e, t) {
|
|
|
89
92
|
};
|
|
90
93
|
return n || delete i.reason, r || delete i.noApprovalPolicy, i;
|
|
91
94
|
}
|
|
92
|
-
function
|
|
93
|
-
let
|
|
95
|
+
function s(e, t) {
|
|
96
|
+
let n = {
|
|
94
97
|
...e,
|
|
95
98
|
...t
|
|
96
99
|
};
|
|
97
|
-
for (let
|
|
98
|
-
return
|
|
100
|
+
for (let r of a) n[r] = o(e[r], t?.[r]);
|
|
101
|
+
return n;
|
|
99
102
|
}
|
|
100
|
-
function
|
|
103
|
+
function c(t) {
|
|
101
104
|
let n = e;
|
|
102
105
|
return {
|
|
103
106
|
...n,
|
|
104
107
|
...t,
|
|
105
|
-
decisionDialog:
|
|
108
|
+
decisionDialog: s(n.decisionDialog, t?.decisionDialog),
|
|
106
109
|
actionSuccess: {
|
|
107
110
|
...n.actionSuccess,
|
|
108
111
|
...t?.actionSuccess
|
|
109
112
|
}
|
|
110
113
|
};
|
|
111
114
|
}
|
|
112
|
-
var
|
|
115
|
+
var l = {
|
|
113
116
|
paymentHistorySentLabel: "Payment sent",
|
|
114
117
|
paymentHistoryScheduledLabel: "Payment scheduled",
|
|
115
118
|
paymentHistoryCanceledLabel: "Payment canceled",
|
|
@@ -131,11 +134,11 @@ var o = {
|
|
|
131
134
|
card: "Card"
|
|
132
135
|
}
|
|
133
136
|
};
|
|
134
|
-
function
|
|
137
|
+
function u(e) {
|
|
135
138
|
return {
|
|
136
|
-
...
|
|
139
|
+
...l.paymentHistoryMethodLabels,
|
|
137
140
|
...e
|
|
138
141
|
};
|
|
139
142
|
}
|
|
140
143
|
//#endregion
|
|
141
|
-
export { e as BILL_DETAIL_ACTIONS_LABELS_EN,
|
|
144
|
+
export { r as AWAITING_APPROVAL_LABEL_EN, i as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, e as BILL_DETAIL_ACTIONS_LABELS_EN, l as PAYMENT_HISTORY_LABELS_EN, n as SCHEDULED_STATUS_BADGE_LABEL_EN, t as SCHEDULED_SUMMARY_LABEL_EN, c as mergeBillDetailActionsLabels, s as mergeDecisionDialogCopy, u as mergePaymentHistoryMethodLabels };
|