@tesouro/embedded-components-react 0.11.59 → 0.11.61

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 (105) hide show
  1. package/README.md +37 -37
  2. package/dist/index.css +77 -230
  3. package/dist/index.d.ts +69 -23
  4. package/dist/lib/BankAccountsWidget.d.ts +20 -7
  5. package/dist/lib/CardDetailsWidget.d.ts +11 -3
  6. package/dist/lib/CreditCardsWidget.d.ts +19 -6
  7. package/dist/lib/DebitCardsWidget.d.ts +19 -6
  8. package/dist/lib/LinkedAccountsWidget.d.ts +30 -10
  9. package/dist/lib/WidgetSuite.d.ts +69 -23
  10. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index.js +5 -5
  11. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +21 -26
  12. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +18 -16
  13. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js +22 -35
  14. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index6.js +29 -14
  15. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index7.js +20 -24
  16. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index8.js +31 -0
  17. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index.js +2 -2
  18. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +296 -0
  19. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index12.js +1 -0
  20. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index5.js +5 -10
  21. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index9.js +42 -281
  22. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index.js +5 -3
  23. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +180 -0
  24. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index2.js +16 -184
  25. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index3.js +9 -93
  26. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +136 -81
  27. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +64 -101
  28. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index6.js +54 -81
  29. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index7.js +90 -65
  30. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js +108 -183
  31. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +76 -0
  32. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +1 -1
  33. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/labels.js +6 -8
  34. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +137 -120
  35. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/mocks/labels.js +5 -5
  36. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +47 -60
  37. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankAccountsWidgetUi.js +71 -72
  38. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankingHeader.js +22 -37
  39. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/CreateAccountDialog.js +119 -133
  40. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +12 -8
  41. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +112 -110
  42. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/cardDetailsView.js +1 -0
  43. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/index.js +0 -2
  44. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/ActivateCardPanel.js +94 -83
  45. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/ActivateCardSuccessView.js +32 -31
  46. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/labels.js +5 -2
  47. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardCredentialRow.js +41 -23
  48. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardCredentialsFace.js +3 -0
  49. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsHeader.js +30 -25
  50. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsPanel.js +162 -190
  51. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardFace.js +2 -2
  52. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CopyButton.js +35 -0
  53. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CopyableValue.js +18 -0
  54. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/NicknameEditor.js +43 -0
  55. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/cardFaceSurface.js +1 -1
  56. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/labels.js +12 -8
  57. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index5.js +3 -3
  58. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +110 -104
  59. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/CreateCardWidget.js +74 -68
  60. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/PreparingView.js +19 -18
  61. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/SetupView.js +110 -108
  62. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/SuccessView.js +33 -42
  63. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/labels.js +10 -7
  64. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/labels.js +1 -0
  65. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/testIds.js +2 -6
  66. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/useCardsWidget.js +159 -145
  67. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/index.js +0 -1
  68. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +255 -112
  69. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListDetailsSheet.js +1 -1
  70. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js +4 -4
  71. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +1 -1
  72. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/labels.js +9 -7
  73. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/rows.js +46 -27
  74. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useAdminEligibleUserIds.js +3 -2
  75. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +248 -224
  76. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/mocks/labels.js +5 -5
  77. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index.js +2 -2
  78. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index10.js +22 -36
  79. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js +23 -70
  80. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js +91 -27
  81. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +80 -63
  82. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +145 -125
  83. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index2.js +61 -9
  84. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index3.js +77 -50
  85. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index4.js +180 -65
  86. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index5.js +22 -178
  87. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +6 -75
  88. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index7.js +48 -11
  89. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js +45 -7
  90. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +8 -82
  91. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  92. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +15 -14
  93. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AddTile/AddTile.js +17 -0
  94. package/dist/packages/shared-ui-shadcn/dist/index.js +3603 -3518
  95. package/package.json +1 -1
  96. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index11.js +0 -1
  97. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/AddressLine.js +0 -22
  98. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/DetailCopyRow.js +0 -28
  99. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/NicknameRow.js +0 -64
  100. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/statusBadge.js +0 -11
  101. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardFaceSwatch.js +0 -11
  102. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +0 -103
  103. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/statusBadge.js +0 -11
  104. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index15.js +0 -67
  105. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index16.js +0 -138
@@ -6,7 +6,6 @@ import { FallbackProps } from 'react-error-boundary';
6
6
  interface Labels {
7
7
  title: string;
8
8
  connectButton: string;
9
- verifyCtaButton: string;
10
9
  learnMoreButton: string;
11
10
  connectTitle: string;
12
11
  nicknameLabel: string;
@@ -14,6 +13,18 @@ interface Labels {
14
13
  accountNumberLabel: string;
15
14
  routingNumberLabel: string;
16
15
  routingNumberError: string;
16
+ /** @deprecated Use the field-specific required-error labels. */
17
+ requiredFieldError: string;
18
+ holderTypeRequiredError: string;
19
+ accountTypeRequiredError: string;
20
+ legalNameRequiredError: string;
21
+ nicknameRequiredError: string;
22
+ routingNumberRequiredError: string;
23
+ accountNumberRequiredError: string;
24
+ firstAmountRequiredError: string;
25
+ secondAmountRequiredError: string;
26
+ connectErrorTitle: string;
27
+ unlinkErrorTitle: string;
17
28
  nicknamePlaceholder: string;
18
29
  holderTypeLabel: string;
19
30
  personalOption: string;
@@ -27,7 +38,7 @@ interface Labels {
27
38
  closeButton: string;
28
39
  nextButton: string;
29
40
  backButton: string;
30
- /** Step indicator template, e.g. "Step {current}/{total}". */
41
+ /** Step line under the flow's title; `{current}` and `{total}` are placeholders. */
31
42
  stepIndicator: string;
32
43
  connectStep1Heading: string;
33
44
  connectStep1Description: string;
@@ -39,25 +50,30 @@ interface Labels {
39
50
  teamMembersEmptyLabel: string;
40
51
  summaryTitle: string;
41
52
  summaryAccountAddedTitle: string;
42
- summaryNextStepsHeading: string;
53
+ /** `{number}` is the step's 1-based position. */
43
54
  summaryAccountPrefix: string;
44
- backToTransfersButton: string;
45
55
  doneButton: string;
46
56
  saveButton: string;
47
57
  editButton: string;
48
58
  verifyButton: string;
49
59
  unlinkButton: string;
50
- linkButton: string;
60
+ moreActionsLabel: string;
61
+ unverifiedStatus: string;
62
+ pendingStatus: string;
63
+ failedStatus: string;
51
64
  editTitle: string;
52
65
  verifyTitle: string;
53
66
  verifyDescription: string;
54
- verifySectionHeading: string;
55
67
  verifyExampleLabel: string;
56
68
  verifyExampleText: string;
57
- verifyAccountInProcess: string;
58
- verifySuccessTitle: string;
59
- verifySuccessDescription: string;
69
+ verifySubmitButton: string;
70
+ sendDepositsTitle: string;
71
+ /** `{account}` is replaced by the masked account number. */
72
+ sendDepositsDescription: string;
73
+ sendDepositsConfirmButton: string;
74
+ sendDepositsErrorTitle: string;
60
75
  unlinkTitle: string;
76
+ /** `{account}` is replaced by the masked account number. */
61
77
  unlinkDescription: string;
62
78
  unlinkConfirmButton: string;
63
79
  firstAmountLabel: string;
@@ -65,7 +81,9 @@ interface Labels {
65
81
  verifyAmountError: string;
66
82
  loadingLabel: string;
67
83
  errorTitle: string;
84
+ retryButton: string;
68
85
  actionErrorTitle: string;
86
+ verifyErrorTitle: string;
69
87
  emptyTitle: string;
70
88
  emptyDescription: string;
71
89
  }
@@ -677,9 +695,10 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
677
695
  interface FeatureLabels {
678
696
  accountFallback: string;
679
697
  accountLabel: string;
680
- pendingStatus: string;
681
698
  editSuccessToast: string;
682
699
  unlinkSuccessToast: string;
700
+ verifySuccessToast: string;
701
+ sendDepositsSuccessToast: string;
683
702
  personalCheckingType: string;
684
703
  personalSavingsType: string;
685
704
  businessCheckingType: string;
@@ -691,6 +710,7 @@ interface FeatureLabels {
691
710
  summaryCheckBankDescription: string;
692
711
  summaryVerifyTitle: string;
693
712
  summaryVerifyDescription: string;
713
+ failedVerificationHint: string;
694
714
  }
695
715
 
696
716
  interface LinkedAccountsWidgetProps extends WidgetProviderProps {
@@ -1483,17 +1483,21 @@ interface Labels$4 {
1483
1483
  createDialogCloseAriaLabel: string;
1484
1484
  createCancelButton: string;
1485
1485
  createSubmitButton: string;
1486
+ createErrorTitle: string;
1487
+ createTeamAccessRequiredError: string;
1486
1488
  teamMembersLoadingLabel: string;
1487
1489
  teamMembersErrorTitle: string;
1488
1490
  teamMembersEmptyLabel: string;
1489
1491
  teamMemberAccessTooltip: string;
1490
- toggleAccountNumberVisibility: string;
1492
+ showAccountNumber: string;
1493
+ hideAccountNumber: string;
1491
1494
  copyAccountNumber: string;
1492
1495
  copyRoutingNumber: string;
1493
1496
  copiedLabel: string;
1494
1497
  openAccountAriaLabel: string;
1495
1498
  loadingLabel: string;
1496
1499
  errorTitle: string;
1500
+ retryButton: string;
1497
1501
  }
1498
1502
 
1499
1503
  interface Labels$3 {
@@ -1512,6 +1516,11 @@ interface Labels$3 {
1512
1516
  transactionDescriptionColumn: string;
1513
1517
  transactionAmountColumn: string;
1514
1518
  transactionBalanceColumn: string;
1519
+ /** `{start}` and `{end}` are 1-based row numbers. */
1520
+ paginationRangeLabel: string;
1521
+ transactionsRowsPerPageLabel: string;
1522
+ transactionsPreviousPageButton: string;
1523
+ transactionsNextPageButton: string;
1515
1524
  exportButton: string;
1516
1525
  exportDialogTitle: string;
1517
1526
  exportDialogDescription: string;
@@ -1522,6 +1531,7 @@ interface Labels$3 {
1522
1531
  exportEndDatePlaceholder: string;
1523
1532
  exportCancelButton: string;
1524
1533
  exportDownloadButton: string;
1534
+ exportRangeError: string;
1525
1535
  noStatementsLabel: string;
1526
1536
  statementColumn: string;
1527
1537
  statementsActionsColumn: string;
@@ -1533,19 +1543,19 @@ interface Labels$3 {
1533
1543
  statementsLoadingLabel: string;
1534
1544
  statementsErrorTitle: string;
1535
1545
  statementsErrorRetry: string;
1546
+ moreActionsLabel: string;
1536
1547
  editAccountMenuItem: string;
1537
1548
  editDialogTitle: string;
1538
1549
  editNicknameLabel: string;
1550
+ editNicknameRequiredError: string;
1539
1551
  editDialogCloseAriaLabel: string;
1540
1552
  editCancelButton: string;
1541
1553
  editSaveButton: string;
1542
1554
  editErrorTitle: string;
1543
1555
  detailsSectionTitle: string;
1544
- receiveMoneySectionTitle: string;
1545
1556
  domesticWireTitle: string;
1546
1557
  domesticWireIntro: string;
1547
1558
  domesticWireNote: string;
1548
- wireDetailsSectionTitle: string;
1549
1559
  bankNameLabel: string;
1550
1560
  bankAddressLabel: string;
1551
1561
  thingsToKnowHeading: string;
@@ -1554,19 +1564,22 @@ interface Labels$3 {
1554
1564
  supportTeamLink: string;
1555
1565
  routingNumberLabel: string;
1556
1566
  accountNumberLabel: string;
1557
- copyLabel: string;
1567
+ copyAccountNumber: string;
1568
+ copyRoutingNumber: string;
1569
+ copyBankName: string;
1570
+ copyBankAddress: string;
1558
1571
  copiedLabel: string;
1559
- toggleAccountNumberVisibility: string;
1572
+ showAccountNumber: string;
1573
+ hideAccountNumber: string;
1560
1574
  loadingLabel: string;
1561
1575
  errorTitle: string;
1576
+ retryButton: string;
1562
1577
  }
1563
1578
 
1564
1579
  interface FeatureLabels$3 {
1565
1580
  accountFallback: string;
1566
1581
  createSuccessToast: string;
1567
1582
  editSuccessToast: string;
1568
- copyAccountNumberToast: string;
1569
- copyRoutingNumberToast: string;
1570
1583
  /** Account-details export toast — forwarded to AccountDetailsWidget. */
1571
1584
  exportLoadingToast: string;
1572
1585
  /** Account-details export toast — forwarded to AccountDetailsWidget. */
@@ -1655,7 +1668,7 @@ interface CardsListLabels {
1655
1668
  activateButton: string;
1656
1669
  /** Accessible name for a row's Activate button; the card name is appended. */
1657
1670
  activateButtonForCard: string;
1658
- /** Accessible name for a row's open-details control; card name appended. */
1671
+ /** Accessible name for a row, which opens the card; card name appended. */
1659
1672
  selectCardButton: string;
1660
1673
  /** Separator between a card's nickname and its last four digits. */
1661
1674
  cardNameSeparator: string;
@@ -1703,8 +1716,7 @@ interface CardDetailsFieldLabels {
1703
1716
  nickname: string;
1704
1717
  /**
1705
1718
  * Heading for the billing-address block (EMBD-5466 restyle): one section,
1706
- * one heading, with each address line as its own copyable line inside it
1707
- * rather than a separately-labeled row per line.
1719
+ * one heading, with a single copy control for the complete address.
1708
1720
  */
1709
1721
  billingAddress: string;
1710
1722
  /** Sub-header over the merchant categories / velocity control rows. */
@@ -1714,12 +1726,16 @@ interface CardDetailsFieldLabels {
1714
1726
  perTransactionMax: string;
1715
1727
  /** Stands in for a row whose value the card does not carry. */
1716
1728
  emptyValue: string;
1729
+ /** @deprecated Cardholder is shown on the card face without a copy control. */
1717
1730
  copyCardholderAriaLabel: string;
1731
+ /** @deprecated Nickname is shown in the heading without a copy control. */
1718
1732
  copyNicknameAriaLabel: string;
1733
+ copyBillingAddressAriaLabel: string;
1719
1734
  copyBillingAddressLine1AriaLabel: string;
1720
1735
  copyBillingAddressLine2AriaLabel: string;
1721
1736
  copyBillingAddressCityStateAriaLabel: string;
1722
1737
  copyBillingAddressPostalCodeAriaLabel: string;
1738
+ copiedLabel: string;
1723
1739
  }
1724
1740
  /** Copy for the controls the owner can switch on alongside the details. */
1725
1741
  interface CardDetailsActionLabels {
@@ -1732,6 +1748,7 @@ interface CardDetailsActionLabels {
1732
1748
  }
1733
1749
  /** Copy for the nickname row's inline editor. */
1734
1750
  interface CardDetailsNicknameLabels {
1751
+ edit: string;
1735
1752
  /** Accessible name for the control that opens the editor. */
1736
1753
  editAriaLabel: string;
1737
1754
  /** Accessible name for the editor's text field. */
@@ -1770,6 +1787,7 @@ interface CardDetailsCredentialsLabels {
1770
1787
  copyCardNumberAriaLabel: string;
1771
1788
  copyExpirationDateAriaLabel: string;
1772
1789
  copySecurityCodeAriaLabel: string;
1790
+ copiedLabel: string;
1773
1791
  /** Shown next to the control when the reveal failed. */
1774
1792
  errorDescription: string;
1775
1793
  }
@@ -1833,6 +1851,9 @@ interface ActivateCardStatusLabels {
1833
1851
  submittingAriaLabel: string;
1834
1852
  successTitle: string;
1835
1853
  successDescription: string;
1854
+ successCardholderLabel: string;
1855
+ successLastFourLabel: string;
1856
+ successFormatLabel: string;
1836
1857
  /** Label for the optional post-success control. */
1837
1858
  done: string;
1838
1859
  /** Fallback failure copy when the owner supplies no `errorMessage`. */
@@ -1857,7 +1878,7 @@ interface ActivateCardPanelLabels {
1857
1878
  * panel's own labels stay with the panel.
1858
1879
  */
1859
1880
  interface CardDetailsFeatureLabels {
1860
- /** Confirmation toast after a copy affordance writes to the clipboard. */
1881
+ /** @deprecated Unused: copy buttons confirm themselves. */
1861
1882
  copySuccessToast: string;
1862
1883
  /**
1863
1884
  * Toast shown when activation is refused because the card is no longer
@@ -2031,7 +2052,10 @@ interface CreateCardWidgetLabels {
2031
2052
  success: {
2032
2053
  title: string;
2033
2054
  description: string;
2034
- createAnother: string;
2055
+ cardholderLabel: string;
2056
+ lastFourLabel: string;
2057
+ formatLabel: string;
2058
+ done: string;
2035
2059
  viewCard: string;
2036
2060
  };
2037
2061
  footer: {
@@ -2139,7 +2163,7 @@ type CreateCardWidgetProps = WidgetProviderProps & {
2139
2163
  *
2140
2164
  * They are separate from `CardsListLabels` (the `ui` lib's) because the cells
2141
2165
  * reaching that library are already formatted: the em-dash, the nickname
2142
- * fallback and the "Viewing" prefix are all written *here*, so the UI lib has
2166
+ * fallback and the pager's range are all written *here*, so the UI lib has
2143
2167
  * no key to override them with. `bank-accounts-widget`'s `featureLabels` is the
2144
2168
  * precedent for the split.
2145
2169
  *
@@ -2164,6 +2188,8 @@ interface CardsFeatureLabels {
2164
2188
  * for the case where there is nothing at all to show.
2165
2189
  */
2166
2190
  untitledFundingAccount: string;
2191
+ /** `{from}` and `{to}` are substituted. */
2192
+ pageRange: string;
2167
2193
  /** Display copy per card lifecycle status; keys are the generated code terms. */
2168
2194
  cardStatus: Record<CardStatus, string>;
2169
2195
  /** Display copy per card form factor; keys are the generated code terms. */
@@ -2688,7 +2714,6 @@ interface InsightsWidgetProps extends WidgetProviderProps, InsightsWidgetPassthr
2688
2714
  interface Labels$1 {
2689
2715
  title: string;
2690
2716
  connectButton: string;
2691
- verifyCtaButton: string;
2692
2717
  learnMoreButton: string;
2693
2718
  connectTitle: string;
2694
2719
  nicknameLabel: string;
@@ -2696,6 +2721,18 @@ interface Labels$1 {
2696
2721
  accountNumberLabel: string;
2697
2722
  routingNumberLabel: string;
2698
2723
  routingNumberError: string;
2724
+ /** @deprecated Use the field-specific required-error labels. */
2725
+ requiredFieldError: string;
2726
+ holderTypeRequiredError: string;
2727
+ accountTypeRequiredError: string;
2728
+ legalNameRequiredError: string;
2729
+ nicknameRequiredError: string;
2730
+ routingNumberRequiredError: string;
2731
+ accountNumberRequiredError: string;
2732
+ firstAmountRequiredError: string;
2733
+ secondAmountRequiredError: string;
2734
+ connectErrorTitle: string;
2735
+ unlinkErrorTitle: string;
2699
2736
  nicknamePlaceholder: string;
2700
2737
  holderTypeLabel: string;
2701
2738
  personalOption: string;
@@ -2709,7 +2746,7 @@ interface Labels$1 {
2709
2746
  closeButton: string;
2710
2747
  nextButton: string;
2711
2748
  backButton: string;
2712
- /** Step indicator template, e.g. "Step {current}/{total}". */
2749
+ /** Step line under the flow's title; `{current}` and `{total}` are placeholders. */
2713
2750
  stepIndicator: string;
2714
2751
  connectStep1Heading: string;
2715
2752
  connectStep1Description: string;
@@ -2721,25 +2758,30 @@ interface Labels$1 {
2721
2758
  teamMembersEmptyLabel: string;
2722
2759
  summaryTitle: string;
2723
2760
  summaryAccountAddedTitle: string;
2724
- summaryNextStepsHeading: string;
2761
+ /** `{number}` is the step's 1-based position. */
2725
2762
  summaryAccountPrefix: string;
2726
- backToTransfersButton: string;
2727
2763
  doneButton: string;
2728
2764
  saveButton: string;
2729
2765
  editButton: string;
2730
2766
  verifyButton: string;
2731
2767
  unlinkButton: string;
2732
- linkButton: string;
2768
+ moreActionsLabel: string;
2769
+ unverifiedStatus: string;
2770
+ pendingStatus: string;
2771
+ failedStatus: string;
2733
2772
  editTitle: string;
2734
2773
  verifyTitle: string;
2735
2774
  verifyDescription: string;
2736
- verifySectionHeading: string;
2737
2775
  verifyExampleLabel: string;
2738
2776
  verifyExampleText: string;
2739
- verifyAccountInProcess: string;
2740
- verifySuccessTitle: string;
2741
- verifySuccessDescription: string;
2777
+ verifySubmitButton: string;
2778
+ sendDepositsTitle: string;
2779
+ /** `{account}` is replaced by the masked account number. */
2780
+ sendDepositsDescription: string;
2781
+ sendDepositsConfirmButton: string;
2782
+ sendDepositsErrorTitle: string;
2742
2783
  unlinkTitle: string;
2784
+ /** `{account}` is replaced by the masked account number. */
2743
2785
  unlinkDescription: string;
2744
2786
  unlinkConfirmButton: string;
2745
2787
  firstAmountLabel: string;
@@ -2747,7 +2789,9 @@ interface Labels$1 {
2747
2789
  verifyAmountError: string;
2748
2790
  loadingLabel: string;
2749
2791
  errorTitle: string;
2792
+ retryButton: string;
2750
2793
  actionErrorTitle: string;
2794
+ verifyErrorTitle: string;
2751
2795
  emptyTitle: string;
2752
2796
  emptyDescription: string;
2753
2797
  }
@@ -2755,9 +2799,10 @@ interface Labels$1 {
2755
2799
  interface FeatureLabels$2 {
2756
2800
  accountFallback: string;
2757
2801
  accountLabel: string;
2758
- pendingStatus: string;
2759
2802
  editSuccessToast: string;
2760
2803
  unlinkSuccessToast: string;
2804
+ verifySuccessToast: string;
2805
+ sendDepositsSuccessToast: string;
2761
2806
  personalCheckingType: string;
2762
2807
  personalSavingsType: string;
2763
2808
  businessCheckingType: string;
@@ -2769,6 +2814,7 @@ interface FeatureLabels$2 {
2769
2814
  summaryCheckBankDescription: string;
2770
2815
  summaryVerifyTitle: string;
2771
2816
  summaryVerifyDescription: string;
2817
+ failedVerificationHint: string;
2772
2818
  }
2773
2819
 
2774
2820
  interface LinkedAccountsWidgetProps extends WidgetProviderProps {
@@ -1,7 +1,7 @@
1
1
  import { useBankAccountDetailsQuery as e } from "./index2.js";
2
- import { useBankAccountStatementsQuery as t } from "./index3.js";
3
- import { useBankAccountTransactionsQuery as n } from "./index4.js";
4
- import { useDownloadBankAccountTransactionsMutation as r } from "./index5.js";
5
- import { useRetrieveBankAccountStatementMutation as i } from "./index6.js";
6
- import { useUpdateBankAccountMutation as a } from "./index7.js";
2
+ import { useBankAccountStatementsQuery as t } from "./index4.js";
3
+ import { useBankAccountTransactionsQuery as n } from "./index5.js";
4
+ import { useDownloadBankAccountTransactionsMutation as r } from "./index6.js";
5
+ import { useRetrieveBankAccountStatementMutation as i } from "./index7.js";
6
+ import { useUpdateBankAccountMutation as a } from "./index8.js";
7
7
  export { e as useBankAccountDetailsQuery, t as useBankAccountStatementsQuery, n as useBankAccountTransactionsQuery, r as useDownloadBankAccountTransactionsMutation, i as useRetrieveBankAccountStatementMutation, a as useUpdateBankAccountMutation };
@@ -1,28 +1,23 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { getBankAccountStatementsOptions as e } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
- import { withAuthEpoch as t } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
7
- import { useEmbedApi as n } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
- import { organizationHeaders as r } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
9
- import "../../../../shared/data-access/dist/index.js";
10
- import { keepPreviousData as i, useQuery as a } from "@tanstack/react-query";
1
+ import { useMemo as e } from "react";
11
2
  // ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js
12
- function o({ id: o, enabled: s, ...c }) {
13
- let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationStatus: p } = n(), m = e({
14
- client: l,
15
- headers: r(u),
16
- path: { id: o ?? "" },
17
- query: c
18
- });
19
- return a({
20
- ...t(m, {
21
- authEpoch: f,
22
- organizationStatus: p
23
- }),
24
- enabled: !!(o && u && d) && (s === !0 || s === void 0),
25
- placeholderData: i
26
- });
3
+ function t(e) {
4
+ let t = e?.[0];
5
+ if (typeof t != "object" || !t) return;
6
+ let { baseUrl: n, headers: r, path: i } = t;
7
+ return JSON.stringify([
8
+ n,
9
+ r?.["x-organization-id"],
10
+ i
11
+ ]);
27
12
  }
28
- export { o as useBankAccountStatementsQuery };
13
+ function n(n, r) {
14
+ let i = t(n);
15
+ return e(() => (e, n) => {
16
+ if (typeof r == "function") {
17
+ let t = r(e, n);
18
+ if (t !== void 0) return t;
19
+ }
20
+ return i !== void 0 && t(n?.queryKey) === i ? e : void 0;
21
+ }, [i, r]);
22
+ }
23
+ export { n as useKeepPagesOfOneAccount };
@@ -2,26 +2,28 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { getBankAccountTransactionsOptions as e } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
5
+ import { getBankAccountStatementsOptions as e } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
6
  import { withAuthEpoch as t } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
7
7
  import { useEmbedApi as n } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
8
  import { organizationHeaders as r } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
9
9
  import "../../../../shared/data-access/dist/index.js";
10
- import { useQuery as i } from "@tanstack/react-query";
10
+ import { useKeepPagesOfOneAccount as i } from "./index3.js";
11
+ import { useQuery as a } from "@tanstack/react-query";
11
12
  // ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js
12
- function a({ id: a, enabled: o, ...s }) {
13
- let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationStatus: f } = n(), p = e({
14
- client: c,
15
- headers: r(l),
16
- path: { id: a ?? "" },
17
- query: s
18
- });
19
- return i({
20
- ...t(p, {
21
- authEpoch: d,
22
- organizationStatus: f
23
- }),
24
- enabled: !!(a && l && u) && (o === !0 || o === void 0)
13
+ function o({ id: o, enabled: s, ...c }) {
14
+ let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationStatus: p } = n(), m = e({
15
+ client: l,
16
+ headers: r(u),
17
+ path: { id: o ?? "" },
18
+ query: c
19
+ }), h = t(m, {
20
+ authEpoch: f,
21
+ organizationStatus: p
22
+ }), g = i(m.queryKey, h.placeholderData);
23
+ return a({
24
+ ...h,
25
+ enabled: !!(o && u && d) && (s === !0 || s === void 0),
26
+ placeholderData: g
25
27
  });
26
28
  }
27
- export { a as useBankAccountTransactionsQuery };
29
+ export { o as useBankAccountStatementsQuery };
@@ -2,41 +2,28 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { downloadBankAccountTransactions as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.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";
5
+ import { getBankAccountTransactionsOptions as e } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
+ import { withAuthEpoch as t } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
7
+ import { useEmbedApi as n } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
+ import { organizationHeaders as r } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
8
9
  import "../../../../shared/data-access/dist/index.js";
9
- import { useMutation as r } from "@tanstack/react-query";
10
+ import { useKeepPagesOfOneAccount as i } from "./index3.js";
11
+ import { useQuery as a } from "@tanstack/react-query";
10
12
  // ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js
11
- function i(e) {
12
- if (!e) return;
13
- let t = /filename\*=UTF-8''([^;]+)/i.exec(e);
14
- if (t?.[1]) try {
15
- return decodeURIComponent(t[1].trim());
16
- } catch {
17
- return t[1].trim();
18
- }
19
- let n = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(e);
20
- if (n?.[1]) return n[1].replace(/['"]/g, "").trim() || void 0;
13
+ function o({ id: o, enabled: s, ...c }) {
14
+ let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationStatus: p } = n(), m = e({
15
+ client: l,
16
+ headers: r(u),
17
+ path: { id: o ?? "" },
18
+ query: c
19
+ }), h = t(m, {
20
+ authEpoch: f,
21
+ organizationStatus: p
22
+ }), g = i(m.queryKey, h.placeholderData);
23
+ return a({
24
+ ...h,
25
+ enabled: !!(o && u && d) && (s === !0 || s === void 0),
26
+ placeholderData: g
27
+ });
21
28
  }
22
- function a() {
23
- let { client: a, organizationId: o } = t();
24
- return r({ mutationFn: async ({ id: t, startDate: r, endDate: s }) => {
25
- let { data: c, response: l } = await e({
26
- client: a,
27
- headers: n(o),
28
- path: { id: t },
29
- query: {
30
- startDate: r,
31
- endDate: s
32
- },
33
- parseAs: "text",
34
- throwOnError: !0
35
- });
36
- return {
37
- csv: typeof c == "string" ? c : String(c ?? ""),
38
- filename: i(l.headers.get("Content-Disposition")) ?? `transactions-${r}-to-${s}.csv`
39
- };
40
- } });
41
- }
42
- export { a as useDownloadBankAccountTransactionsMutation };
29
+ export { o as useBankAccountTransactionsQuery };
@@ -2,26 +2,41 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { getBankAccountStatement as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
5
+ import { downloadBankAccountTransactions as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
6
  import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
7
  import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
8
8
  import "../../../../shared/data-access/dist/index.js";
9
9
  import { useMutation as r } from "@tanstack/react-query";
10
10
  // ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index6.js
11
- function i() {
12
- let { client: i, organizationId: a } = t();
13
- return r({ mutationFn: async ({ id: t, statementId: r }) => {
14
- let { data: o } = await e({
15
- client: i,
16
- headers: n(a),
17
- path: {
18
- id: t,
19
- statementId: r
11
+ function i(e) {
12
+ if (!e) return;
13
+ let t = /filename\*=UTF-8''([^;]+)/i.exec(e);
14
+ if (t?.[1]) try {
15
+ return decodeURIComponent(t[1].trim());
16
+ } catch {
17
+ return t[1].trim();
18
+ }
19
+ let n = /filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(e);
20
+ if (n?.[1]) return n[1].replace(/['"]/g, "").trim() || void 0;
21
+ }
22
+ function a() {
23
+ let { client: a, organizationId: o } = t();
24
+ return r({ mutationFn: async ({ id: t, startDate: r, endDate: s }) => {
25
+ let { data: c, response: l } = await e({
26
+ client: a,
27
+ headers: n(o),
28
+ path: { id: t },
29
+ query: {
30
+ startDate: r,
31
+ endDate: s
20
32
  },
21
- parseAs: "blob",
33
+ parseAs: "text",
22
34
  throwOnError: !0
23
- }), s = o instanceof Blob ? o : new Blob([o]);
24
- return s.type === "application/pdf" ? s : new Blob([s], { type: "application/pdf" });
35
+ });
36
+ return {
37
+ csv: typeof c == "string" ? c : String(c ?? ""),
38
+ filename: i(l.headers.get("Content-Disposition")) ?? `transactions-${r}-to-${s}.csv`
39
+ };
25
40
  } });
26
41
  }
27
- export { i as useRetrieveBankAccountStatementMutation };
42
+ export { a as useDownloadBankAccountTransactionsMutation };