@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.
Files changed (121) hide show
  1. package/dist/index.css +18 -6
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BillPayWidget.js +1 -1
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +5 -5
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +2 -44
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +7 -7
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +52 -67
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +15 -12
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +57 -62
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +68 -207
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +278 -175
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +13 -126
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +47 -12
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +53 -47
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +204 -49
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +32 -202
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +234 -32
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +21 -240
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +532 -19
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -436
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +42 -4
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +230 -35
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -233
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +11 -6
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +127 -11
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -129
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +46 -8
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -43
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +122 -241
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +206 -126
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -213
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +8 -4
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +113 -6
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -115
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +24 -0
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +39 -33
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +10 -11
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +123 -8
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +2 -170
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +18 -2
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +7 -11
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +158 -96
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +11 -7
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +100 -44
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +10 -0
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +52 -0
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +2 -0
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +1 -1
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +20 -22
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +4 -9
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +103 -146
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +3 -2
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +93 -88
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +15 -16
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +1 -0
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +43 -29
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +55 -51
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +9 -2
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +33 -1
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -8
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -39
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +0 -1
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +6 -2
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +34 -31
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -37
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +34 -10
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -201
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +39 -3
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +3 -8
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +187 -350
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +3 -10
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +13 -5
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +356 -85
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +10 -0
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +9 -2
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +87 -119
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -94
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +125 -2
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +25 -4
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +90 -26
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +3 -3
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +26 -30
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +4 -9
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +30 -102
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +9 -14
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +85 -104
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +3 -0
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -1
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +291 -351
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +13 -21
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +30 -30
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +2 -2
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +5 -5
  114. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +17 -17
  115. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +4 -0
  116. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +92 -87
  117. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  118. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  119. package/package.json +1 -1
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -25
  121. 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-\[1123px\] {
993
- min-height: 1123px;
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-\[21cm\] {
1362
- max-width: 21cm;
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-\[794px\] {
1509
- min-width: 794px;
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/index88.js";
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/index88.js";
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 };
@@ -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 { useUpdatePayableCounterpartBankAccountMutation as O } from "./index14.js";
13
- import { usePayableOcrQueries as k } from "./index15.js";
14
- import { useAllSuspectedDuplicatePayablesQuery as A, usePayableQuery as j, usePayablesQuery as M, usePayablesTotalCountQuery as N } from "./index17.js";
15
- import { usePayableSuggestionsQuery as P } from "./index18.js";
16
- export { n as DuplicateVerdict, r as hasSuspectedPayableDuplicate, t as isLiveScheduledPaymentRecord, i as suspectedPayableDuplicates, u as useAllPayableLineItemsQuery, A 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, k as usePayableOcrQueries, f as usePayablePaymentRecordsQuery, j as usePayableQuery, P as usePayableSuggestionsQuery, M as usePayablesQuery, N as usePayablesTotalCountQuery, c as useRejectPayableApprovalRequestMutation, C as useReopenPayableMutation, d as useReplacePayableLineItemsMutation, p as useSchedulePaymentMutation, w as useSubmitPayableForApprovalMutation, O as useUpdatePayableCounterpartBankAccountMutation, T as useUpdatePayableMutation, E as useUploadPayableFromFileMutation, D as useValidatePayableMutation };
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 };
@@ -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 { invalidatePayableQueries as a } from "./index6.js";
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 { useMutation as s } from "@tanstack/react-query";
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 "./index57.js";
16
- import "./index59.js";
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 "./index65.js";
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 "./index73.js";
27
- import "./index76.js";
27
+ import "./index75.js";
28
+ import "./index81.js";
28
29
  import "./index82.js";
29
30
  import "./index83.js";
30
- import "./index84.js";
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/index87.js";
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/index98.js";
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/index95.js";
2
- import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as t } from "../../ui/dist/index101.js";
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/index96.js";
9
- import { SchedulePaymentDialog as r } from "../../ui/dist/index103.js";
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 { maskAccountNumber as i } from "./index23.js";
6
- import { formatBillMoney as a } from "./index2.js";
7
- import { resolveLineItemAmountMinorUnits as o } from "./index40.js";
8
- import { resolveLineItemQuantity as s } from "./index41.js";
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 l({ payable: l, lineItems: u, glCodeOptions: d, glCodeRosterAvailable: f = !0, history: p, paymentHistory: m, approvalPolicy: h, labels: g, hasScheduledPayment: _, rejection: v, payableAchInstructions: y, payableAchInstructionsReadable: b = !1 }) {
12
- let x = l.currency, S = t({
13
- apiStatus: l.status,
14
- dueDate: l.due_date,
15
- scheduledPaymentDate: l.scheduled_payment_date,
16
- hasScheduledPayment: _
17
- }), C = n(l), w = b ? y : void 0, T = w?.account_number, E = !!(w?.account_holder_name && w.routing_number && w.account_number), D = e(l.issued_at) || g.notProvided, O = e(l.due_date) || g.notProvided, k = new Map(d.map((e) => [e.value, e.label])), A = [
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: g.subtotalRow,
20
- minorUnits: l.subtotal
18
+ label: h.subtotalRow,
19
+ minorUnits: c.subtotal
21
20
  },
22
21
  {
23
- label: g.discountRow,
24
- minorUnits: l.discount
22
+ label: h.discountRow,
23
+ minorUnits: c.discount
25
24
  },
26
25
  {
27
- label: g.taxRow,
28
- minorUnits: l.tax_amount
26
+ label: h.taxRow,
27
+ minorUnits: c.tax_amount
29
28
  }
30
29
  ].map((e) => ({
31
30
  label: e.label,
32
- value: a(e.minorUnits, x)
33
- })).filter((e) => !!e.value), j = a(l.total_amount, x);
34
- j && A.push({
35
- label: g.totalRow,
36
- value: j,
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 M = c(l);
38
+ let j = s(c);
40
39
  return {
41
- amountDue: a(r(l), x) ?? "",
42
- amountPaid: M ? a(l.amount_paid, x) : void 0,
43
- paidOnLabel: M ? g.paidOnLabel(M) : void 0,
44
- invoiceDateLabel: D,
45
- dueDateLabel: O,
46
- dueDateTone: S.isOverdue ? "danger" : "default",
47
- status: S.status,
48
- statusTone: S.tone,
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: C?.name || g.notProvided,
51
- email: C?.email ?? "",
52
- methodLabel: E ? g.paymentInstructionsValue(T?.slice(-4) ?? "") : g.paymentInstructionsNotSet,
53
- fields: E ? [
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: g.invoiceDateRow,
72
- value: D
56
+ label: h.invoiceDateRow,
57
+ value: E
73
58
  },
74
59
  {
75
- label: g.dueDateRow,
76
- value: O
60
+ label: h.dueDateRow,
61
+ value: D
77
62
  },
78
63
  {
79
- label: g.invoiceNumberRow,
80
- value: l.document_id || g.notProvided
64
+ label: h.invoiceNumberRow,
65
+ value: c.document_id || h.notProvided
81
66
  }
82
67
  ],
83
- lineItems: u.map((e) => {
84
- let t = a(e.unit_price, x), n = String(s(e));
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 ? k.get(e.ledger_account_id) ?? (f ? g.glCodeMissing : g.glCodeUnavailable) : g.glCodeMissing,
89
- qtyPriceLabel: t ? g.qtyPriceValue(n, t) : g.qtyOnlyValue(n),
90
- amount: a(o(e), x) ?? ""
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: A,
94
- approvalPolicy: h,
95
- paymentHistory: m,
96
- history: p,
97
- rejection: v
78
+ amountRows: k,
79
+ approvalPolicy: m,
80
+ paymentHistory: p,
81
+ history: f,
82
+ rejection: _
98
83
  };
99
84
  }
100
85
  //#endregion
101
- export { l as buildBillDetailView };
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 r(e, t) {
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 i(e, t) {
93
- let i = {
95
+ function s(e, t) {
96
+ let n = {
94
97
  ...e,
95
98
  ...t
96
99
  };
97
- for (let a of n) i[a] = r(e[a], t?.[a]);
98
- return i;
100
+ for (let r of a) n[r] = o(e[r], t?.[r]);
101
+ return n;
99
102
  }
100
- function a(t) {
103
+ function c(t) {
101
104
  let n = e;
102
105
  return {
103
106
  ...n,
104
107
  ...t,
105
- decisionDialog: i(n.decisionDialog, t?.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 o = {
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 s(e) {
137
+ function u(e) {
135
138
  return {
136
- ...o.paymentHistoryMethodLabels,
139
+ ...l.paymentHistoryMethodLabels,
137
140
  ...e
138
141
  };
139
142
  }
140
143
  //#endregion
141
- 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 };
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 };