@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.
- package/README.md +37 -37
- package/dist/index.css +77 -230
- package/dist/index.d.ts +69 -23
- package/dist/lib/BankAccountsWidget.d.ts +20 -7
- package/dist/lib/CardDetailsWidget.d.ts +11 -3
- package/dist/lib/CreditCardsWidget.d.ts +19 -6
- package/dist/lib/DebitCardsWidget.d.ts +19 -6
- package/dist/lib/LinkedAccountsWidget.d.ts +30 -10
- package/dist/lib/WidgetSuite.d.ts +69 -23
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +21 -26
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js +22 -35
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index6.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index7.js +20 -24
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index8.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +296 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index12.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index5.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index9.js +42 -281
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index10.js +180 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index2.js +16 -184
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index3.js +9 -93
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +136 -81
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +64 -101
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index6.js +54 -81
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index7.js +90 -65
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js +108 -183
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js +76 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/labels.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/useBankAccountsWidget.js +137 -120
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/mocks/labels.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/AccountCard.js +47 -60
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankAccountsWidgetUi.js +71 -72
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankingHeader.js +22 -37
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/CreateAccountDialog.js +119 -133
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +112 -110
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/cardDetailsView.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/index.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/ActivateCardPanel.js +94 -83
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/ActivateCardSuccessView.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/labels.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardCredentialRow.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardCredentialsFace.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsHeader.js +30 -25
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsPanel.js +162 -190
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardFace.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CopyButton.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CopyableValue.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/NicknameEditor.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/cardFaceSurface.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/labels.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +110 -104
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/CreateCardWidget.js +74 -68
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/PreparingView.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/SetupView.js +110 -108
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/SuccessView.js +33 -42
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/labels.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/testIds.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/useCardsWidget.js +159 -145
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +255 -112
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListDetailsSheet.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/labels.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/rows.js +46 -27
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useAdminEligibleUserIds.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +248 -224
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/mocks/labels.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index10.js +22 -36
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js +23 -70
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js +91 -27
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +80 -63
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +145 -125
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index2.js +61 -9
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index3.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index4.js +180 -65
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index5.js +22 -178
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +6 -75
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index7.js +48 -11
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js +45 -7
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +8 -82
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AddTile/AddTile.js +17 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +3603 -3518
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index11.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/AddressLine.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/DetailCopyRow.js +0 -28
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/NicknameRow.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/statusBadge.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardFaceSwatch.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +0 -103
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/statusBadge.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index15.js +0 -67
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index16.js +0 -138
package/dist/index.d.ts
CHANGED
|
@@ -2485,17 +2485,21 @@ interface Labels$4 {
|
|
|
2485
2485
|
createDialogCloseAriaLabel: string;
|
|
2486
2486
|
createCancelButton: string;
|
|
2487
2487
|
createSubmitButton: string;
|
|
2488
|
+
createErrorTitle: string;
|
|
2489
|
+
createTeamAccessRequiredError: string;
|
|
2488
2490
|
teamMembersLoadingLabel: string;
|
|
2489
2491
|
teamMembersErrorTitle: string;
|
|
2490
2492
|
teamMembersEmptyLabel: string;
|
|
2491
2493
|
teamMemberAccessTooltip: string;
|
|
2492
|
-
|
|
2494
|
+
showAccountNumber: string;
|
|
2495
|
+
hideAccountNumber: string;
|
|
2493
2496
|
copyAccountNumber: string;
|
|
2494
2497
|
copyRoutingNumber: string;
|
|
2495
2498
|
copiedLabel: string;
|
|
2496
2499
|
openAccountAriaLabel: string;
|
|
2497
2500
|
loadingLabel: string;
|
|
2498
2501
|
errorTitle: string;
|
|
2502
|
+
retryButton: string;
|
|
2499
2503
|
}
|
|
2500
2504
|
|
|
2501
2505
|
interface Labels$3 {
|
|
@@ -2514,6 +2518,11 @@ interface Labels$3 {
|
|
|
2514
2518
|
transactionDescriptionColumn: string;
|
|
2515
2519
|
transactionAmountColumn: string;
|
|
2516
2520
|
transactionBalanceColumn: string;
|
|
2521
|
+
/** `{start}` and `{end}` are 1-based row numbers. */
|
|
2522
|
+
paginationRangeLabel: string;
|
|
2523
|
+
transactionsRowsPerPageLabel: string;
|
|
2524
|
+
transactionsPreviousPageButton: string;
|
|
2525
|
+
transactionsNextPageButton: string;
|
|
2517
2526
|
exportButton: string;
|
|
2518
2527
|
exportDialogTitle: string;
|
|
2519
2528
|
exportDialogDescription: string;
|
|
@@ -2524,6 +2533,7 @@ interface Labels$3 {
|
|
|
2524
2533
|
exportEndDatePlaceholder: string;
|
|
2525
2534
|
exportCancelButton: string;
|
|
2526
2535
|
exportDownloadButton: string;
|
|
2536
|
+
exportRangeError: string;
|
|
2527
2537
|
noStatementsLabel: string;
|
|
2528
2538
|
statementColumn: string;
|
|
2529
2539
|
statementsActionsColumn: string;
|
|
@@ -2535,19 +2545,19 @@ interface Labels$3 {
|
|
|
2535
2545
|
statementsLoadingLabel: string;
|
|
2536
2546
|
statementsErrorTitle: string;
|
|
2537
2547
|
statementsErrorRetry: string;
|
|
2548
|
+
moreActionsLabel: string;
|
|
2538
2549
|
editAccountMenuItem: string;
|
|
2539
2550
|
editDialogTitle: string;
|
|
2540
2551
|
editNicknameLabel: string;
|
|
2552
|
+
editNicknameRequiredError: string;
|
|
2541
2553
|
editDialogCloseAriaLabel: string;
|
|
2542
2554
|
editCancelButton: string;
|
|
2543
2555
|
editSaveButton: string;
|
|
2544
2556
|
editErrorTitle: string;
|
|
2545
2557
|
detailsSectionTitle: string;
|
|
2546
|
-
receiveMoneySectionTitle: string;
|
|
2547
2558
|
domesticWireTitle: string;
|
|
2548
2559
|
domesticWireIntro: string;
|
|
2549
2560
|
domesticWireNote: string;
|
|
2550
|
-
wireDetailsSectionTitle: string;
|
|
2551
2561
|
bankNameLabel: string;
|
|
2552
2562
|
bankAddressLabel: string;
|
|
2553
2563
|
thingsToKnowHeading: string;
|
|
@@ -2556,19 +2566,22 @@ interface Labels$3 {
|
|
|
2556
2566
|
supportTeamLink: string;
|
|
2557
2567
|
routingNumberLabel: string;
|
|
2558
2568
|
accountNumberLabel: string;
|
|
2559
|
-
|
|
2569
|
+
copyAccountNumber: string;
|
|
2570
|
+
copyRoutingNumber: string;
|
|
2571
|
+
copyBankName: string;
|
|
2572
|
+
copyBankAddress: string;
|
|
2560
2573
|
copiedLabel: string;
|
|
2561
|
-
|
|
2574
|
+
showAccountNumber: string;
|
|
2575
|
+
hideAccountNumber: string;
|
|
2562
2576
|
loadingLabel: string;
|
|
2563
2577
|
errorTitle: string;
|
|
2578
|
+
retryButton: string;
|
|
2564
2579
|
}
|
|
2565
2580
|
|
|
2566
2581
|
interface FeatureLabels$3 {
|
|
2567
2582
|
accountFallback: string;
|
|
2568
2583
|
createSuccessToast: string;
|
|
2569
2584
|
editSuccessToast: string;
|
|
2570
|
-
copyAccountNumberToast: string;
|
|
2571
|
-
copyRoutingNumberToast: string;
|
|
2572
2585
|
/** Account-details export toast — forwarded to AccountDetailsWidget. */
|
|
2573
2586
|
exportLoadingToast: string;
|
|
2574
2587
|
/** Account-details export toast — forwarded to AccountDetailsWidget. */
|
|
@@ -2658,7 +2671,7 @@ interface CardsListLabels {
|
|
|
2658
2671
|
activateButton: string;
|
|
2659
2672
|
/** Accessible name for a row's Activate button; the card name is appended. */
|
|
2660
2673
|
activateButtonForCard: string;
|
|
2661
|
-
/** Accessible name for a row
|
|
2674
|
+
/** Accessible name for a row, which opens the card; card name appended. */
|
|
2662
2675
|
selectCardButton: string;
|
|
2663
2676
|
/** Separator between a card's nickname and its last four digits. */
|
|
2664
2677
|
cardNameSeparator: string;
|
|
@@ -2706,8 +2719,7 @@ interface CardDetailsFieldLabels {
|
|
|
2706
2719
|
nickname: string;
|
|
2707
2720
|
/**
|
|
2708
2721
|
* Heading for the billing-address block (EMBD-5466 restyle): one section,
|
|
2709
|
-
* one heading, with
|
|
2710
|
-
* rather than a separately-labeled row per line.
|
|
2722
|
+
* one heading, with a single copy control for the complete address.
|
|
2711
2723
|
*/
|
|
2712
2724
|
billingAddress: string;
|
|
2713
2725
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -2717,12 +2729,16 @@ interface CardDetailsFieldLabels {
|
|
|
2717
2729
|
perTransactionMax: string;
|
|
2718
2730
|
/** Stands in for a row whose value the card does not carry. */
|
|
2719
2731
|
emptyValue: string;
|
|
2732
|
+
/** @deprecated Cardholder is shown on the card face without a copy control. */
|
|
2720
2733
|
copyCardholderAriaLabel: string;
|
|
2734
|
+
/** @deprecated Nickname is shown in the heading without a copy control. */
|
|
2721
2735
|
copyNicknameAriaLabel: string;
|
|
2736
|
+
copyBillingAddressAriaLabel: string;
|
|
2722
2737
|
copyBillingAddressLine1AriaLabel: string;
|
|
2723
2738
|
copyBillingAddressLine2AriaLabel: string;
|
|
2724
2739
|
copyBillingAddressCityStateAriaLabel: string;
|
|
2725
2740
|
copyBillingAddressPostalCodeAriaLabel: string;
|
|
2741
|
+
copiedLabel: string;
|
|
2726
2742
|
}
|
|
2727
2743
|
/** Copy for the controls the owner can switch on alongside the details. */
|
|
2728
2744
|
interface CardDetailsActionLabels {
|
|
@@ -2735,6 +2751,7 @@ interface CardDetailsActionLabels {
|
|
|
2735
2751
|
}
|
|
2736
2752
|
/** Copy for the nickname row's inline editor. */
|
|
2737
2753
|
interface CardDetailsNicknameLabels {
|
|
2754
|
+
edit: string;
|
|
2738
2755
|
/** Accessible name for the control that opens the editor. */
|
|
2739
2756
|
editAriaLabel: string;
|
|
2740
2757
|
/** Accessible name for the editor's text field. */
|
|
@@ -2773,6 +2790,7 @@ interface CardDetailsCredentialsLabels {
|
|
|
2773
2790
|
copyCardNumberAriaLabel: string;
|
|
2774
2791
|
copyExpirationDateAriaLabel: string;
|
|
2775
2792
|
copySecurityCodeAriaLabel: string;
|
|
2793
|
+
copiedLabel: string;
|
|
2776
2794
|
/** Shown next to the control when the reveal failed. */
|
|
2777
2795
|
errorDescription: string;
|
|
2778
2796
|
}
|
|
@@ -2836,6 +2854,9 @@ interface ActivateCardStatusLabels {
|
|
|
2836
2854
|
submittingAriaLabel: string;
|
|
2837
2855
|
successTitle: string;
|
|
2838
2856
|
successDescription: string;
|
|
2857
|
+
successCardholderLabel: string;
|
|
2858
|
+
successLastFourLabel: string;
|
|
2859
|
+
successFormatLabel: string;
|
|
2839
2860
|
/** Label for the optional post-success control. */
|
|
2840
2861
|
done: string;
|
|
2841
2862
|
/** Fallback failure copy when the owner supplies no `errorMessage`. */
|
|
@@ -2860,7 +2881,7 @@ interface ActivateCardPanelLabels {
|
|
|
2860
2881
|
* panel's own labels stay with the panel.
|
|
2861
2882
|
*/
|
|
2862
2883
|
interface CardDetailsFeatureLabels {
|
|
2863
|
-
/**
|
|
2884
|
+
/** @deprecated Unused: copy buttons confirm themselves. */
|
|
2864
2885
|
copySuccessToast: string;
|
|
2865
2886
|
/**
|
|
2866
2887
|
* Toast shown when activation is refused because the card is no longer
|
|
@@ -3049,7 +3070,10 @@ interface CreateCardWidgetLabels {
|
|
|
3049
3070
|
success: {
|
|
3050
3071
|
title: string;
|
|
3051
3072
|
description: string;
|
|
3052
|
-
|
|
3073
|
+
cardholderLabel: string;
|
|
3074
|
+
lastFourLabel: string;
|
|
3075
|
+
formatLabel: string;
|
|
3076
|
+
done: string;
|
|
3053
3077
|
viewCard: string;
|
|
3054
3078
|
};
|
|
3055
3079
|
footer: {
|
|
@@ -3157,7 +3181,7 @@ type CreateCardWidgetProps = WidgetProviderProps & {
|
|
|
3157
3181
|
*
|
|
3158
3182
|
* They are separate from `CardsListLabels` (the `ui` lib's) because the cells
|
|
3159
3183
|
* reaching that library are already formatted: the em-dash, the nickname
|
|
3160
|
-
* fallback and the
|
|
3184
|
+
* fallback and the pager's range are all written *here*, so the UI lib has
|
|
3161
3185
|
* no key to override them with. `bank-accounts-widget`'s `featureLabels` is the
|
|
3162
3186
|
* precedent for the split.
|
|
3163
3187
|
*
|
|
@@ -3182,6 +3206,8 @@ interface CardsFeatureLabels {
|
|
|
3182
3206
|
* for the case where there is nothing at all to show.
|
|
3183
3207
|
*/
|
|
3184
3208
|
untitledFundingAccount: string;
|
|
3209
|
+
/** `{from}` and `{to}` are substituted. */
|
|
3210
|
+
pageRange: string;
|
|
3185
3211
|
/** Display copy per card lifecycle status; keys are the generated code terms. */
|
|
3186
3212
|
cardStatus: Record<CardStatus, string>;
|
|
3187
3213
|
/** Display copy per card form factor; keys are the generated code terms. */
|
|
@@ -3756,7 +3782,6 @@ declare function InsightsWidget({ labels, singleInsightLabels, featureLabels, ro
|
|
|
3756
3782
|
interface Labels$1 {
|
|
3757
3783
|
title: string;
|
|
3758
3784
|
connectButton: string;
|
|
3759
|
-
verifyCtaButton: string;
|
|
3760
3785
|
learnMoreButton: string;
|
|
3761
3786
|
connectTitle: string;
|
|
3762
3787
|
nicknameLabel: string;
|
|
@@ -3764,6 +3789,18 @@ interface Labels$1 {
|
|
|
3764
3789
|
accountNumberLabel: string;
|
|
3765
3790
|
routingNumberLabel: string;
|
|
3766
3791
|
routingNumberError: string;
|
|
3792
|
+
/** @deprecated Use the field-specific required-error labels. */
|
|
3793
|
+
requiredFieldError: string;
|
|
3794
|
+
holderTypeRequiredError: string;
|
|
3795
|
+
accountTypeRequiredError: string;
|
|
3796
|
+
legalNameRequiredError: string;
|
|
3797
|
+
nicknameRequiredError: string;
|
|
3798
|
+
routingNumberRequiredError: string;
|
|
3799
|
+
accountNumberRequiredError: string;
|
|
3800
|
+
firstAmountRequiredError: string;
|
|
3801
|
+
secondAmountRequiredError: string;
|
|
3802
|
+
connectErrorTitle: string;
|
|
3803
|
+
unlinkErrorTitle: string;
|
|
3767
3804
|
nicknamePlaceholder: string;
|
|
3768
3805
|
holderTypeLabel: string;
|
|
3769
3806
|
personalOption: string;
|
|
@@ -3777,7 +3814,7 @@ interface Labels$1 {
|
|
|
3777
3814
|
closeButton: string;
|
|
3778
3815
|
nextButton: string;
|
|
3779
3816
|
backButton: string;
|
|
3780
|
-
/** Step
|
|
3817
|
+
/** Step line under the flow's title; `{current}` and `{total}` are placeholders. */
|
|
3781
3818
|
stepIndicator: string;
|
|
3782
3819
|
connectStep1Heading: string;
|
|
3783
3820
|
connectStep1Description: string;
|
|
@@ -3789,25 +3826,30 @@ interface Labels$1 {
|
|
|
3789
3826
|
teamMembersEmptyLabel: string;
|
|
3790
3827
|
summaryTitle: string;
|
|
3791
3828
|
summaryAccountAddedTitle: string;
|
|
3792
|
-
|
|
3829
|
+
/** `{number}` is the step's 1-based position. */
|
|
3793
3830
|
summaryAccountPrefix: string;
|
|
3794
|
-
backToTransfersButton: string;
|
|
3795
3831
|
doneButton: string;
|
|
3796
3832
|
saveButton: string;
|
|
3797
3833
|
editButton: string;
|
|
3798
3834
|
verifyButton: string;
|
|
3799
3835
|
unlinkButton: string;
|
|
3800
|
-
|
|
3836
|
+
moreActionsLabel: string;
|
|
3837
|
+
unverifiedStatus: string;
|
|
3838
|
+
pendingStatus: string;
|
|
3839
|
+
failedStatus: string;
|
|
3801
3840
|
editTitle: string;
|
|
3802
3841
|
verifyTitle: string;
|
|
3803
3842
|
verifyDescription: string;
|
|
3804
|
-
verifySectionHeading: string;
|
|
3805
3843
|
verifyExampleLabel: string;
|
|
3806
3844
|
verifyExampleText: string;
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3845
|
+
verifySubmitButton: string;
|
|
3846
|
+
sendDepositsTitle: string;
|
|
3847
|
+
/** `{account}` is replaced by the masked account number. */
|
|
3848
|
+
sendDepositsDescription: string;
|
|
3849
|
+
sendDepositsConfirmButton: string;
|
|
3850
|
+
sendDepositsErrorTitle: string;
|
|
3810
3851
|
unlinkTitle: string;
|
|
3852
|
+
/** `{account}` is replaced by the masked account number. */
|
|
3811
3853
|
unlinkDescription: string;
|
|
3812
3854
|
unlinkConfirmButton: string;
|
|
3813
3855
|
firstAmountLabel: string;
|
|
@@ -3815,7 +3857,9 @@ interface Labels$1 {
|
|
|
3815
3857
|
verifyAmountError: string;
|
|
3816
3858
|
loadingLabel: string;
|
|
3817
3859
|
errorTitle: string;
|
|
3860
|
+
retryButton: string;
|
|
3818
3861
|
actionErrorTitle: string;
|
|
3862
|
+
verifyErrorTitle: string;
|
|
3819
3863
|
emptyTitle: string;
|
|
3820
3864
|
emptyDescription: string;
|
|
3821
3865
|
}
|
|
@@ -3823,9 +3867,10 @@ interface Labels$1 {
|
|
|
3823
3867
|
interface FeatureLabels$2 {
|
|
3824
3868
|
accountFallback: string;
|
|
3825
3869
|
accountLabel: string;
|
|
3826
|
-
pendingStatus: string;
|
|
3827
3870
|
editSuccessToast: string;
|
|
3828
3871
|
unlinkSuccessToast: string;
|
|
3872
|
+
verifySuccessToast: string;
|
|
3873
|
+
sendDepositsSuccessToast: string;
|
|
3829
3874
|
personalCheckingType: string;
|
|
3830
3875
|
personalSavingsType: string;
|
|
3831
3876
|
businessCheckingType: string;
|
|
@@ -3837,6 +3882,7 @@ interface FeatureLabels$2 {
|
|
|
3837
3882
|
summaryCheckBankDescription: string;
|
|
3838
3883
|
summaryVerifyTitle: string;
|
|
3839
3884
|
summaryVerifyDescription: string;
|
|
3885
|
+
failedVerificationHint: string;
|
|
3840
3886
|
}
|
|
3841
3887
|
|
|
3842
3888
|
interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
@@ -28,17 +28,21 @@ interface Labels$1 {
|
|
|
28
28
|
createDialogCloseAriaLabel: string;
|
|
29
29
|
createCancelButton: string;
|
|
30
30
|
createSubmitButton: string;
|
|
31
|
+
createErrorTitle: string;
|
|
32
|
+
createTeamAccessRequiredError: string;
|
|
31
33
|
teamMembersLoadingLabel: string;
|
|
32
34
|
teamMembersErrorTitle: string;
|
|
33
35
|
teamMembersEmptyLabel: string;
|
|
34
36
|
teamMemberAccessTooltip: string;
|
|
35
|
-
|
|
37
|
+
showAccountNumber: string;
|
|
38
|
+
hideAccountNumber: string;
|
|
36
39
|
copyAccountNumber: string;
|
|
37
40
|
copyRoutingNumber: string;
|
|
38
41
|
copiedLabel: string;
|
|
39
42
|
openAccountAriaLabel: string;
|
|
40
43
|
loadingLabel: string;
|
|
41
44
|
errorTitle: string;
|
|
45
|
+
retryButton: string;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
type AuthToken = string | undefined;
|
|
@@ -661,6 +665,11 @@ interface Labels {
|
|
|
661
665
|
transactionDescriptionColumn: string;
|
|
662
666
|
transactionAmountColumn: string;
|
|
663
667
|
transactionBalanceColumn: string;
|
|
668
|
+
/** `{start}` and `{end}` are 1-based row numbers. */
|
|
669
|
+
paginationRangeLabel: string;
|
|
670
|
+
transactionsRowsPerPageLabel: string;
|
|
671
|
+
transactionsPreviousPageButton: string;
|
|
672
|
+
transactionsNextPageButton: string;
|
|
664
673
|
exportButton: string;
|
|
665
674
|
exportDialogTitle: string;
|
|
666
675
|
exportDialogDescription: string;
|
|
@@ -671,6 +680,7 @@ interface Labels {
|
|
|
671
680
|
exportEndDatePlaceholder: string;
|
|
672
681
|
exportCancelButton: string;
|
|
673
682
|
exportDownloadButton: string;
|
|
683
|
+
exportRangeError: string;
|
|
674
684
|
noStatementsLabel: string;
|
|
675
685
|
statementColumn: string;
|
|
676
686
|
statementsActionsColumn: string;
|
|
@@ -682,19 +692,19 @@ interface Labels {
|
|
|
682
692
|
statementsLoadingLabel: string;
|
|
683
693
|
statementsErrorTitle: string;
|
|
684
694
|
statementsErrorRetry: string;
|
|
695
|
+
moreActionsLabel: string;
|
|
685
696
|
editAccountMenuItem: string;
|
|
686
697
|
editDialogTitle: string;
|
|
687
698
|
editNicknameLabel: string;
|
|
699
|
+
editNicknameRequiredError: string;
|
|
688
700
|
editDialogCloseAriaLabel: string;
|
|
689
701
|
editCancelButton: string;
|
|
690
702
|
editSaveButton: string;
|
|
691
703
|
editErrorTitle: string;
|
|
692
704
|
detailsSectionTitle: string;
|
|
693
|
-
receiveMoneySectionTitle: string;
|
|
694
705
|
domesticWireTitle: string;
|
|
695
706
|
domesticWireIntro: string;
|
|
696
707
|
domesticWireNote: string;
|
|
697
|
-
wireDetailsSectionTitle: string;
|
|
698
708
|
bankNameLabel: string;
|
|
699
709
|
bankAddressLabel: string;
|
|
700
710
|
thingsToKnowHeading: string;
|
|
@@ -703,19 +713,22 @@ interface Labels {
|
|
|
703
713
|
supportTeamLink: string;
|
|
704
714
|
routingNumberLabel: string;
|
|
705
715
|
accountNumberLabel: string;
|
|
706
|
-
|
|
716
|
+
copyAccountNumber: string;
|
|
717
|
+
copyRoutingNumber: string;
|
|
718
|
+
copyBankName: string;
|
|
719
|
+
copyBankAddress: string;
|
|
707
720
|
copiedLabel: string;
|
|
708
|
-
|
|
721
|
+
showAccountNumber: string;
|
|
722
|
+
hideAccountNumber: string;
|
|
709
723
|
loadingLabel: string;
|
|
710
724
|
errorTitle: string;
|
|
725
|
+
retryButton: string;
|
|
711
726
|
}
|
|
712
727
|
|
|
713
728
|
interface FeatureLabels {
|
|
714
729
|
accountFallback: string;
|
|
715
730
|
createSuccessToast: string;
|
|
716
731
|
editSuccessToast: string;
|
|
717
|
-
copyAccountNumberToast: string;
|
|
718
|
-
copyRoutingNumberToast: string;
|
|
719
732
|
/** Account-details export toast — forwarded to AccountDetailsWidget. */
|
|
720
733
|
exportLoadingToast: string;
|
|
721
734
|
/** Account-details export toast — forwarded to AccountDetailsWidget. */
|
|
@@ -24,8 +24,7 @@ interface CardDetailsFieldLabels {
|
|
|
24
24
|
nickname: string;
|
|
25
25
|
/**
|
|
26
26
|
* Heading for the billing-address block (EMBD-5466 restyle): one section,
|
|
27
|
-
* one heading, with
|
|
28
|
-
* rather than a separately-labeled row per line.
|
|
27
|
+
* one heading, with a single copy control for the complete address.
|
|
29
28
|
*/
|
|
30
29
|
billingAddress: string;
|
|
31
30
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -35,12 +34,16 @@ interface CardDetailsFieldLabels {
|
|
|
35
34
|
perTransactionMax: string;
|
|
36
35
|
/** Stands in for a row whose value the card does not carry. */
|
|
37
36
|
emptyValue: string;
|
|
37
|
+
/** @deprecated Cardholder is shown on the card face without a copy control. */
|
|
38
38
|
copyCardholderAriaLabel: string;
|
|
39
|
+
/** @deprecated Nickname is shown in the heading without a copy control. */
|
|
39
40
|
copyNicknameAriaLabel: string;
|
|
41
|
+
copyBillingAddressAriaLabel: string;
|
|
40
42
|
copyBillingAddressLine1AriaLabel: string;
|
|
41
43
|
copyBillingAddressLine2AriaLabel: string;
|
|
42
44
|
copyBillingAddressCityStateAriaLabel: string;
|
|
43
45
|
copyBillingAddressPostalCodeAriaLabel: string;
|
|
46
|
+
copiedLabel: string;
|
|
44
47
|
}
|
|
45
48
|
/** Copy for the controls the owner can switch on alongside the details. */
|
|
46
49
|
interface CardDetailsActionLabels {
|
|
@@ -53,6 +56,7 @@ interface CardDetailsActionLabels {
|
|
|
53
56
|
}
|
|
54
57
|
/** Copy for the nickname row's inline editor. */
|
|
55
58
|
interface CardDetailsNicknameLabels {
|
|
59
|
+
edit: string;
|
|
56
60
|
/** Accessible name for the control that opens the editor. */
|
|
57
61
|
editAriaLabel: string;
|
|
58
62
|
/** Accessible name for the editor's text field. */
|
|
@@ -91,6 +95,7 @@ interface CardDetailsCredentialsLabels {
|
|
|
91
95
|
copyCardNumberAriaLabel: string;
|
|
92
96
|
copyExpirationDateAriaLabel: string;
|
|
93
97
|
copySecurityCodeAriaLabel: string;
|
|
98
|
+
copiedLabel: string;
|
|
94
99
|
/** Shown next to the control when the reveal failed. */
|
|
95
100
|
errorDescription: string;
|
|
96
101
|
}
|
|
@@ -154,6 +159,9 @@ interface ActivateCardStatusLabels {
|
|
|
154
159
|
submittingAriaLabel: string;
|
|
155
160
|
successTitle: string;
|
|
156
161
|
successDescription: string;
|
|
162
|
+
successCardholderLabel: string;
|
|
163
|
+
successLastFourLabel: string;
|
|
164
|
+
successFormatLabel: string;
|
|
157
165
|
/** Label for the optional post-success control. */
|
|
158
166
|
done: string;
|
|
159
167
|
/** Fallback failure copy when the owner supplies no `errorMessage`. */
|
|
@@ -830,7 +838,7 @@ type CardType = CreditCardType;
|
|
|
830
838
|
* panel's own labels stay with the panel.
|
|
831
839
|
*/
|
|
832
840
|
interface CardDetailsFeatureLabels {
|
|
833
|
-
/**
|
|
841
|
+
/** @deprecated Unused: copy buttons confirm themselves. */
|
|
834
842
|
copySuccessToast: string;
|
|
835
843
|
/**
|
|
836
844
|
* Toast shown when activation is refused because the card is no longer
|
|
@@ -88,7 +88,7 @@ interface CardsListLabels {
|
|
|
88
88
|
activateButton: string;
|
|
89
89
|
/** Accessible name for a row's Activate button; the card name is appended. */
|
|
90
90
|
activateButtonForCard: string;
|
|
91
|
-
/** Accessible name for a row
|
|
91
|
+
/** Accessible name for a row, which opens the card; card name appended. */
|
|
92
92
|
selectCardButton: string;
|
|
93
93
|
/** Separator between a card's nickname and its last four digits. */
|
|
94
94
|
cardNameSeparator: string;
|
|
@@ -757,8 +757,7 @@ interface CardDetailsFieldLabels {
|
|
|
757
757
|
nickname: string;
|
|
758
758
|
/**
|
|
759
759
|
* Heading for the billing-address block (EMBD-5466 restyle): one section,
|
|
760
|
-
* one heading, with
|
|
761
|
-
* rather than a separately-labeled row per line.
|
|
760
|
+
* one heading, with a single copy control for the complete address.
|
|
762
761
|
*/
|
|
763
762
|
billingAddress: string;
|
|
764
763
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -768,12 +767,16 @@ interface CardDetailsFieldLabels {
|
|
|
768
767
|
perTransactionMax: string;
|
|
769
768
|
/** Stands in for a row whose value the card does not carry. */
|
|
770
769
|
emptyValue: string;
|
|
770
|
+
/** @deprecated Cardholder is shown on the card face without a copy control. */
|
|
771
771
|
copyCardholderAriaLabel: string;
|
|
772
|
+
/** @deprecated Nickname is shown in the heading without a copy control. */
|
|
772
773
|
copyNicknameAriaLabel: string;
|
|
774
|
+
copyBillingAddressAriaLabel: string;
|
|
773
775
|
copyBillingAddressLine1AriaLabel: string;
|
|
774
776
|
copyBillingAddressLine2AriaLabel: string;
|
|
775
777
|
copyBillingAddressCityStateAriaLabel: string;
|
|
776
778
|
copyBillingAddressPostalCodeAriaLabel: string;
|
|
779
|
+
copiedLabel: string;
|
|
777
780
|
}
|
|
778
781
|
/** Copy for the controls the owner can switch on alongside the details. */
|
|
779
782
|
interface CardDetailsActionLabels {
|
|
@@ -786,6 +789,7 @@ interface CardDetailsActionLabels {
|
|
|
786
789
|
}
|
|
787
790
|
/** Copy for the nickname row's inline editor. */
|
|
788
791
|
interface CardDetailsNicknameLabels {
|
|
792
|
+
edit: string;
|
|
789
793
|
/** Accessible name for the control that opens the editor. */
|
|
790
794
|
editAriaLabel: string;
|
|
791
795
|
/** Accessible name for the editor's text field. */
|
|
@@ -824,6 +828,7 @@ interface CardDetailsCredentialsLabels {
|
|
|
824
828
|
copyCardNumberAriaLabel: string;
|
|
825
829
|
copyExpirationDateAriaLabel: string;
|
|
826
830
|
copySecurityCodeAriaLabel: string;
|
|
831
|
+
copiedLabel: string;
|
|
827
832
|
/** Shown next to the control when the reveal failed. */
|
|
828
833
|
errorDescription: string;
|
|
829
834
|
}
|
|
@@ -887,6 +892,9 @@ interface ActivateCardStatusLabels {
|
|
|
887
892
|
submittingAriaLabel: string;
|
|
888
893
|
successTitle: string;
|
|
889
894
|
successDescription: string;
|
|
895
|
+
successCardholderLabel: string;
|
|
896
|
+
successLastFourLabel: string;
|
|
897
|
+
successFormatLabel: string;
|
|
890
898
|
/** Label for the optional post-success control. */
|
|
891
899
|
done: string;
|
|
892
900
|
/** Fallback failure copy when the owner supplies no `errorMessage`. */
|
|
@@ -911,7 +919,7 @@ interface ActivateCardPanelLabels {
|
|
|
911
919
|
* panel's own labels stay with the panel.
|
|
912
920
|
*/
|
|
913
921
|
interface CardDetailsFeatureLabels {
|
|
914
|
-
/**
|
|
922
|
+
/** @deprecated Unused: copy buttons confirm themselves. */
|
|
915
923
|
copySuccessToast: string;
|
|
916
924
|
/**
|
|
917
925
|
* Toast shown when activation is refused because the card is no longer
|
|
@@ -1085,7 +1093,10 @@ interface CreateCardWidgetLabels {
|
|
|
1085
1093
|
success: {
|
|
1086
1094
|
title: string;
|
|
1087
1095
|
description: string;
|
|
1088
|
-
|
|
1096
|
+
cardholderLabel: string;
|
|
1097
|
+
lastFourLabel: string;
|
|
1098
|
+
formatLabel: string;
|
|
1099
|
+
done: string;
|
|
1089
1100
|
viewCard: string;
|
|
1090
1101
|
};
|
|
1091
1102
|
footer: {
|
|
@@ -1193,7 +1204,7 @@ type CreateCardWidgetProps = WidgetProviderProps & {
|
|
|
1193
1204
|
*
|
|
1194
1205
|
* They are separate from `CardsListLabels` (the `ui` lib's) because the cells
|
|
1195
1206
|
* reaching that library are already formatted: the em-dash, the nickname
|
|
1196
|
-
* fallback and the
|
|
1207
|
+
* fallback and the pager's range are all written *here*, so the UI lib has
|
|
1197
1208
|
* no key to override them with. `bank-accounts-widget`'s `featureLabels` is the
|
|
1198
1209
|
* precedent for the split.
|
|
1199
1210
|
*
|
|
@@ -1218,6 +1229,8 @@ interface CardsFeatureLabels {
|
|
|
1218
1229
|
* for the case where there is nothing at all to show.
|
|
1219
1230
|
*/
|
|
1220
1231
|
untitledFundingAccount: string;
|
|
1232
|
+
/** `{from}` and `{to}` are substituted. */
|
|
1233
|
+
pageRange: string;
|
|
1221
1234
|
/** Display copy per card lifecycle status; keys are the generated code terms. */
|
|
1222
1235
|
cardStatus: Record<CardStatus, string>;
|
|
1223
1236
|
/** Display copy per card form factor; keys are the generated code terms. */
|
|
@@ -88,7 +88,7 @@ interface CardsListLabels {
|
|
|
88
88
|
activateButton: string;
|
|
89
89
|
/** Accessible name for a row's Activate button; the card name is appended. */
|
|
90
90
|
activateButtonForCard: string;
|
|
91
|
-
/** Accessible name for a row
|
|
91
|
+
/** Accessible name for a row, which opens the card; card name appended. */
|
|
92
92
|
selectCardButton: string;
|
|
93
93
|
/** Separator between a card's nickname and its last four digits. */
|
|
94
94
|
cardNameSeparator: string;
|
|
@@ -757,8 +757,7 @@ interface CardDetailsFieldLabels {
|
|
|
757
757
|
nickname: string;
|
|
758
758
|
/**
|
|
759
759
|
* Heading for the billing-address block (EMBD-5466 restyle): one section,
|
|
760
|
-
* one heading, with
|
|
761
|
-
* rather than a separately-labeled row per line.
|
|
760
|
+
* one heading, with a single copy control for the complete address.
|
|
762
761
|
*/
|
|
763
762
|
billingAddress: string;
|
|
764
763
|
/** Sub-header over the merchant categories / velocity control rows. */
|
|
@@ -768,12 +767,16 @@ interface CardDetailsFieldLabels {
|
|
|
768
767
|
perTransactionMax: string;
|
|
769
768
|
/** Stands in for a row whose value the card does not carry. */
|
|
770
769
|
emptyValue: string;
|
|
770
|
+
/** @deprecated Cardholder is shown on the card face without a copy control. */
|
|
771
771
|
copyCardholderAriaLabel: string;
|
|
772
|
+
/** @deprecated Nickname is shown in the heading without a copy control. */
|
|
772
773
|
copyNicknameAriaLabel: string;
|
|
774
|
+
copyBillingAddressAriaLabel: string;
|
|
773
775
|
copyBillingAddressLine1AriaLabel: string;
|
|
774
776
|
copyBillingAddressLine2AriaLabel: string;
|
|
775
777
|
copyBillingAddressCityStateAriaLabel: string;
|
|
776
778
|
copyBillingAddressPostalCodeAriaLabel: string;
|
|
779
|
+
copiedLabel: string;
|
|
777
780
|
}
|
|
778
781
|
/** Copy for the controls the owner can switch on alongside the details. */
|
|
779
782
|
interface CardDetailsActionLabels {
|
|
@@ -786,6 +789,7 @@ interface CardDetailsActionLabels {
|
|
|
786
789
|
}
|
|
787
790
|
/** Copy for the nickname row's inline editor. */
|
|
788
791
|
interface CardDetailsNicknameLabels {
|
|
792
|
+
edit: string;
|
|
789
793
|
/** Accessible name for the control that opens the editor. */
|
|
790
794
|
editAriaLabel: string;
|
|
791
795
|
/** Accessible name for the editor's text field. */
|
|
@@ -824,6 +828,7 @@ interface CardDetailsCredentialsLabels {
|
|
|
824
828
|
copyCardNumberAriaLabel: string;
|
|
825
829
|
copyExpirationDateAriaLabel: string;
|
|
826
830
|
copySecurityCodeAriaLabel: string;
|
|
831
|
+
copiedLabel: string;
|
|
827
832
|
/** Shown next to the control when the reveal failed. */
|
|
828
833
|
errorDescription: string;
|
|
829
834
|
}
|
|
@@ -887,6 +892,9 @@ interface ActivateCardStatusLabels {
|
|
|
887
892
|
submittingAriaLabel: string;
|
|
888
893
|
successTitle: string;
|
|
889
894
|
successDescription: string;
|
|
895
|
+
successCardholderLabel: string;
|
|
896
|
+
successLastFourLabel: string;
|
|
897
|
+
successFormatLabel: string;
|
|
890
898
|
/** Label for the optional post-success control. */
|
|
891
899
|
done: string;
|
|
892
900
|
/** Fallback failure copy when the owner supplies no `errorMessage`. */
|
|
@@ -911,7 +919,7 @@ interface ActivateCardPanelLabels {
|
|
|
911
919
|
* panel's own labels stay with the panel.
|
|
912
920
|
*/
|
|
913
921
|
interface CardDetailsFeatureLabels {
|
|
914
|
-
/**
|
|
922
|
+
/** @deprecated Unused: copy buttons confirm themselves. */
|
|
915
923
|
copySuccessToast: string;
|
|
916
924
|
/**
|
|
917
925
|
* Toast shown when activation is refused because the card is no longer
|
|
@@ -1085,7 +1093,10 @@ interface CreateCardWidgetLabels {
|
|
|
1085
1093
|
success: {
|
|
1086
1094
|
title: string;
|
|
1087
1095
|
description: string;
|
|
1088
|
-
|
|
1096
|
+
cardholderLabel: string;
|
|
1097
|
+
lastFourLabel: string;
|
|
1098
|
+
formatLabel: string;
|
|
1099
|
+
done: string;
|
|
1089
1100
|
viewCard: string;
|
|
1090
1101
|
};
|
|
1091
1102
|
footer: {
|
|
@@ -1193,7 +1204,7 @@ type CreateCardWidgetProps = WidgetProviderProps & {
|
|
|
1193
1204
|
*
|
|
1194
1205
|
* They are separate from `CardsListLabels` (the `ui` lib's) because the cells
|
|
1195
1206
|
* reaching that library are already formatted: the em-dash, the nickname
|
|
1196
|
-
* fallback and the
|
|
1207
|
+
* fallback and the pager's range are all written *here*, so the UI lib has
|
|
1197
1208
|
* no key to override them with. `bank-accounts-widget`'s `featureLabels` is the
|
|
1198
1209
|
* precedent for the split.
|
|
1199
1210
|
*
|
|
@@ -1218,6 +1229,8 @@ interface CardsFeatureLabels {
|
|
|
1218
1229
|
* for the case where there is nothing at all to show.
|
|
1219
1230
|
*/
|
|
1220
1231
|
untitledFundingAccount: string;
|
|
1232
|
+
/** `{from}` and `{to}` are substituted. */
|
|
1233
|
+
pageRange: string;
|
|
1221
1234
|
/** Display copy per card lifecycle status; keys are the generated code terms. */
|
|
1222
1235
|
cardStatus: Record<CardStatus, string>;
|
|
1223
1236
|
/** Display copy per card form factor; keys are the generated code terms. */
|