@tesouro/embedded-components-react 0.11.60 → 0.11.62
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 +21 -21
- package/dist/index.css +37 -160
- package/dist/index.d.ts +50 -17
- package/dist/lib/BankAccountsWidget.d.ts +20 -7
- package/dist/lib/LinkedAccountsWidget.d.ts +30 -10
- package/dist/lib/WidgetSuite.d.ts +50 -17
- 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/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/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. */
|
|
@@ -3769,7 +3782,6 @@ declare function InsightsWidget({ labels, singleInsightLabels, featureLabels, ro
|
|
|
3769
3782
|
interface Labels$1 {
|
|
3770
3783
|
title: string;
|
|
3771
3784
|
connectButton: string;
|
|
3772
|
-
verifyCtaButton: string;
|
|
3773
3785
|
learnMoreButton: string;
|
|
3774
3786
|
connectTitle: string;
|
|
3775
3787
|
nicknameLabel: string;
|
|
@@ -3777,6 +3789,18 @@ interface Labels$1 {
|
|
|
3777
3789
|
accountNumberLabel: string;
|
|
3778
3790
|
routingNumberLabel: string;
|
|
3779
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;
|
|
3780
3804
|
nicknamePlaceholder: string;
|
|
3781
3805
|
holderTypeLabel: string;
|
|
3782
3806
|
personalOption: string;
|
|
@@ -3790,7 +3814,7 @@ interface Labels$1 {
|
|
|
3790
3814
|
closeButton: string;
|
|
3791
3815
|
nextButton: string;
|
|
3792
3816
|
backButton: string;
|
|
3793
|
-
/** Step
|
|
3817
|
+
/** Step line under the flow's title; `{current}` and `{total}` are placeholders. */
|
|
3794
3818
|
stepIndicator: string;
|
|
3795
3819
|
connectStep1Heading: string;
|
|
3796
3820
|
connectStep1Description: string;
|
|
@@ -3802,25 +3826,30 @@ interface Labels$1 {
|
|
|
3802
3826
|
teamMembersEmptyLabel: string;
|
|
3803
3827
|
summaryTitle: string;
|
|
3804
3828
|
summaryAccountAddedTitle: string;
|
|
3805
|
-
|
|
3829
|
+
/** `{number}` is the step's 1-based position. */
|
|
3806
3830
|
summaryAccountPrefix: string;
|
|
3807
|
-
backToTransfersButton: string;
|
|
3808
3831
|
doneButton: string;
|
|
3809
3832
|
saveButton: string;
|
|
3810
3833
|
editButton: string;
|
|
3811
3834
|
verifyButton: string;
|
|
3812
3835
|
unlinkButton: string;
|
|
3813
|
-
|
|
3836
|
+
moreActionsLabel: string;
|
|
3837
|
+
unverifiedStatus: string;
|
|
3838
|
+
pendingStatus: string;
|
|
3839
|
+
failedStatus: string;
|
|
3814
3840
|
editTitle: string;
|
|
3815
3841
|
verifyTitle: string;
|
|
3816
3842
|
verifyDescription: string;
|
|
3817
|
-
verifySectionHeading: string;
|
|
3818
3843
|
verifyExampleLabel: string;
|
|
3819
3844
|
verifyExampleText: string;
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3845
|
+
verifySubmitButton: string;
|
|
3846
|
+
sendDepositsTitle: string;
|
|
3847
|
+
/** `{account}` is replaced by the masked account number. */
|
|
3848
|
+
sendDepositsDescription: string;
|
|
3849
|
+
sendDepositsConfirmButton: string;
|
|
3850
|
+
sendDepositsErrorTitle: string;
|
|
3823
3851
|
unlinkTitle: string;
|
|
3852
|
+
/** `{account}` is replaced by the masked account number. */
|
|
3824
3853
|
unlinkDescription: string;
|
|
3825
3854
|
unlinkConfirmButton: string;
|
|
3826
3855
|
firstAmountLabel: string;
|
|
@@ -3828,7 +3857,9 @@ interface Labels$1 {
|
|
|
3828
3857
|
verifyAmountError: string;
|
|
3829
3858
|
loadingLabel: string;
|
|
3830
3859
|
errorTitle: string;
|
|
3860
|
+
retryButton: string;
|
|
3831
3861
|
actionErrorTitle: string;
|
|
3862
|
+
verifyErrorTitle: string;
|
|
3832
3863
|
emptyTitle: string;
|
|
3833
3864
|
emptyDescription: string;
|
|
3834
3865
|
}
|
|
@@ -3836,9 +3867,10 @@ interface Labels$1 {
|
|
|
3836
3867
|
interface FeatureLabels$2 {
|
|
3837
3868
|
accountFallback: string;
|
|
3838
3869
|
accountLabel: string;
|
|
3839
|
-
pendingStatus: string;
|
|
3840
3870
|
editSuccessToast: string;
|
|
3841
3871
|
unlinkSuccessToast: string;
|
|
3872
|
+
verifySuccessToast: string;
|
|
3873
|
+
sendDepositsSuccessToast: string;
|
|
3842
3874
|
personalCheckingType: string;
|
|
3843
3875
|
personalSavingsType: string;
|
|
3844
3876
|
businessCheckingType: string;
|
|
@@ -3850,6 +3882,7 @@ interface FeatureLabels$2 {
|
|
|
3850
3882
|
summaryCheckBankDescription: string;
|
|
3851
3883
|
summaryVerifyTitle: string;
|
|
3852
3884
|
summaryVerifyDescription: string;
|
|
3885
|
+
failedVerificationHint: string;
|
|
3853
3886
|
}
|
|
3854
3887
|
|
|
3855
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. */
|
|
@@ -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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1567
|
+
copyAccountNumber: string;
|
|
1568
|
+
copyRoutingNumber: string;
|
|
1569
|
+
copyBankName: string;
|
|
1570
|
+
copyBankAddress: string;
|
|
1558
1571
|
copiedLabel: string;
|
|
1559
|
-
|
|
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. */
|
|
@@ -2701,7 +2714,6 @@ interface InsightsWidgetProps extends WidgetProviderProps, InsightsWidgetPassthr
|
|
|
2701
2714
|
interface Labels$1 {
|
|
2702
2715
|
title: string;
|
|
2703
2716
|
connectButton: string;
|
|
2704
|
-
verifyCtaButton: string;
|
|
2705
2717
|
learnMoreButton: string;
|
|
2706
2718
|
connectTitle: string;
|
|
2707
2719
|
nicknameLabel: string;
|
|
@@ -2709,6 +2721,18 @@ interface Labels$1 {
|
|
|
2709
2721
|
accountNumberLabel: string;
|
|
2710
2722
|
routingNumberLabel: string;
|
|
2711
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;
|
|
2712
2736
|
nicknamePlaceholder: string;
|
|
2713
2737
|
holderTypeLabel: string;
|
|
2714
2738
|
personalOption: string;
|
|
@@ -2722,7 +2746,7 @@ interface Labels$1 {
|
|
|
2722
2746
|
closeButton: string;
|
|
2723
2747
|
nextButton: string;
|
|
2724
2748
|
backButton: string;
|
|
2725
|
-
/** Step
|
|
2749
|
+
/** Step line under the flow's title; `{current}` and `{total}` are placeholders. */
|
|
2726
2750
|
stepIndicator: string;
|
|
2727
2751
|
connectStep1Heading: string;
|
|
2728
2752
|
connectStep1Description: string;
|
|
@@ -2734,25 +2758,30 @@ interface Labels$1 {
|
|
|
2734
2758
|
teamMembersEmptyLabel: string;
|
|
2735
2759
|
summaryTitle: string;
|
|
2736
2760
|
summaryAccountAddedTitle: string;
|
|
2737
|
-
|
|
2761
|
+
/** `{number}` is the step's 1-based position. */
|
|
2738
2762
|
summaryAccountPrefix: string;
|
|
2739
|
-
backToTransfersButton: string;
|
|
2740
2763
|
doneButton: string;
|
|
2741
2764
|
saveButton: string;
|
|
2742
2765
|
editButton: string;
|
|
2743
2766
|
verifyButton: string;
|
|
2744
2767
|
unlinkButton: string;
|
|
2745
|
-
|
|
2768
|
+
moreActionsLabel: string;
|
|
2769
|
+
unverifiedStatus: string;
|
|
2770
|
+
pendingStatus: string;
|
|
2771
|
+
failedStatus: string;
|
|
2746
2772
|
editTitle: string;
|
|
2747
2773
|
verifyTitle: string;
|
|
2748
2774
|
verifyDescription: string;
|
|
2749
|
-
verifySectionHeading: string;
|
|
2750
2775
|
verifyExampleLabel: string;
|
|
2751
2776
|
verifyExampleText: string;
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2777
|
+
verifySubmitButton: string;
|
|
2778
|
+
sendDepositsTitle: string;
|
|
2779
|
+
/** `{account}` is replaced by the masked account number. */
|
|
2780
|
+
sendDepositsDescription: string;
|
|
2781
|
+
sendDepositsConfirmButton: string;
|
|
2782
|
+
sendDepositsErrorTitle: string;
|
|
2755
2783
|
unlinkTitle: string;
|
|
2784
|
+
/** `{account}` is replaced by the masked account number. */
|
|
2756
2785
|
unlinkDescription: string;
|
|
2757
2786
|
unlinkConfirmButton: string;
|
|
2758
2787
|
firstAmountLabel: string;
|
|
@@ -2760,7 +2789,9 @@ interface Labels$1 {
|
|
|
2760
2789
|
verifyAmountError: string;
|
|
2761
2790
|
loadingLabel: string;
|
|
2762
2791
|
errorTitle: string;
|
|
2792
|
+
retryButton: string;
|
|
2763
2793
|
actionErrorTitle: string;
|
|
2794
|
+
verifyErrorTitle: string;
|
|
2764
2795
|
emptyTitle: string;
|
|
2765
2796
|
emptyDescription: string;
|
|
2766
2797
|
}
|
|
@@ -2768,9 +2799,10 @@ interface Labels$1 {
|
|
|
2768
2799
|
interface FeatureLabels$2 {
|
|
2769
2800
|
accountFallback: string;
|
|
2770
2801
|
accountLabel: string;
|
|
2771
|
-
pendingStatus: string;
|
|
2772
2802
|
editSuccessToast: string;
|
|
2773
2803
|
unlinkSuccessToast: string;
|
|
2804
|
+
verifySuccessToast: string;
|
|
2805
|
+
sendDepositsSuccessToast: string;
|
|
2774
2806
|
personalCheckingType: string;
|
|
2775
2807
|
personalSavingsType: string;
|
|
2776
2808
|
businessCheckingType: string;
|
|
@@ -2782,6 +2814,7 @@ interface FeatureLabels$2 {
|
|
|
2782
2814
|
summaryCheckBankDescription: string;
|
|
2783
2815
|
summaryVerifyTitle: string;
|
|
2784
2816
|
summaryVerifyDescription: string;
|
|
2817
|
+
failedVerificationHint: string;
|
|
2785
2818
|
}
|
|
2786
2819
|
|
|
2787
2820
|
interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useBankAccountDetailsQuery as e } from "./index2.js";
|
|
2
|
-
import { useBankAccountStatementsQuery as t } from "./
|
|
3
|
-
import { useBankAccountTransactionsQuery as n } from "./
|
|
4
|
-
import { useDownloadBankAccountTransactionsMutation as r } from "./
|
|
5
|
-
import { useRetrieveBankAccountStatementMutation as i } from "./
|
|
6
|
-
import { useUpdateBankAccountMutation as a } from "./
|
|
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
|
-
|
|
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
|
|
13
|
-
let
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
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 };
|