@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
|
@@ -2,193 +2,118 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { Button as e,
|
|
6
|
-
import {
|
|
5
|
+
import { Button as e, DataTable as t, TableToolbar as n } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { EmptyState as r } from "../../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
|
|
7
|
+
import { ErrorState as i } from "../../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
7
8
|
import "../../../../shared/ui/dist/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { AccountActionsMenu as re, EditAccountDialog as ie } from "./index3.js";
|
|
11
|
-
import { ExportTransactionsDialog as ae } from "./index4.js";
|
|
12
|
-
import { StatementsPanel as oe } from "./index5.js";
|
|
13
|
-
import { TransactionsTable as se } from "./index6.js";
|
|
14
|
-
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
15
|
-
import { ChevronLeftIcon as m, HelpCircleIcon as h } from "lucide-react";
|
|
9
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
10
|
+
import { ReceiptTextIcon as s } from "lucide-react";
|
|
16
11
|
// ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
children: [/* @__PURE__ */ f(m, { className: "ttw:size-4" }), $.backToAccounts]
|
|
12
|
+
var c = () => void 0, l = [];
|
|
13
|
+
function u({ labels: u, rows: d, isLoading: f = !1, showExport: p = !1, onExportClick: m, pagination: h, isError: g = !1, onRetry: _ }) {
|
|
14
|
+
if (g) return /* @__PURE__ */ a("div", {
|
|
15
|
+
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
|
|
16
|
+
children: /* @__PURE__ */ a(i, {
|
|
17
|
+
title: u.transactionsErrorTitle,
|
|
18
|
+
retryLabel: _ ? u.transactionsErrorRetry : void 0,
|
|
19
|
+
onRetry: _
|
|
20
|
+
})
|
|
27
21
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
onOpenChange: Q,
|
|
51
|
-
onStartDateChange: Ve,
|
|
52
|
-
onEndDateChange: He,
|
|
53
|
-
onDownload: Ue
|
|
54
|
-
})] }) : null,
|
|
55
|
-
/* @__PURE__ */ p("div", {
|
|
56
|
-
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-4",
|
|
57
|
-
children: [We, !J && !Y ? /* @__PURE__ */ f(re, {
|
|
58
|
-
labels: $,
|
|
59
|
-
canEdit: Ae,
|
|
60
|
-
onEditNickname: Be
|
|
61
|
-
}) : null]
|
|
22
|
+
let v = [
|
|
23
|
+
{
|
|
24
|
+
id: "date",
|
|
25
|
+
header: u.transactionDateColumn,
|
|
26
|
+
cell: ({ row: e }) => /* @__PURE__ */ a("span", {
|
|
27
|
+
className: "ttw:whitespace-nowrap",
|
|
28
|
+
children: e.original.dateLabel
|
|
29
|
+
})
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "description",
|
|
33
|
+
header: u.transactionDescriptionColumn,
|
|
34
|
+
cell: ({ row: e }) => /* @__PURE__ */ a("span", {
|
|
35
|
+
className: "ttw:font-medium",
|
|
36
|
+
children: e.original.descriptionLabel
|
|
37
|
+
})
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: "amount",
|
|
41
|
+
header: () => /* @__PURE__ */ a("span", {
|
|
42
|
+
className: "ttw:block ttw:text-right",
|
|
43
|
+
children: u.transactionAmountColumn
|
|
62
44
|
}),
|
|
63
|
-
|
|
64
|
-
className: "ttw:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
className: "ttw:inline-flex ttw:cursor-help",
|
|
102
|
-
"aria-label": $.availableBalanceTooltip,
|
|
103
|
-
children: /* @__PURE__ */ f(h, { className: "ttw:size-4" })
|
|
104
|
-
}), /* @__PURE__ */ f(o, { children: $.availableBalanceTooltip })] }) })]
|
|
105
|
-
}), /* @__PURE__ */ f("p", {
|
|
106
|
-
"data-testid": S,
|
|
107
|
-
className: "ttw:text-4xl ttw:font-bold ttw:text-primary",
|
|
108
|
-
children: x
|
|
109
|
-
})]
|
|
45
|
+
cell: ({ row: e }) => /* @__PURE__ */ a("span", {
|
|
46
|
+
className: "ttw:block ttw:text-right ttw:whitespace-nowrap ttw:tabular-nums",
|
|
47
|
+
children: e.original.amountLabel
|
|
48
|
+
})
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: "balance",
|
|
52
|
+
header: () => /* @__PURE__ */ a("span", {
|
|
53
|
+
className: "ttw:block ttw:text-right",
|
|
54
|
+
children: u.transactionBalanceColumn
|
|
55
|
+
}),
|
|
56
|
+
cell: ({ row: e }) => /* @__PURE__ */ a("span", {
|
|
57
|
+
className: "ttw:block ttw:text-right ttw:whitespace-nowrap ttw:tabular-nums",
|
|
58
|
+
children: e.original.balanceLabel
|
|
59
|
+
})
|
|
60
|
+
}
|
|
61
|
+
], y = !f && d.length === 0;
|
|
62
|
+
return /* @__PURE__ */ a(t, {
|
|
63
|
+
columns: v,
|
|
64
|
+
data: d,
|
|
65
|
+
getRowId: (e) => e.key,
|
|
66
|
+
isLoading: f,
|
|
67
|
+
renderCard: (e) => /* @__PURE__ */ o("div", {
|
|
68
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1 ttw:text-sm",
|
|
69
|
+
children: [/* @__PURE__ */ o("div", {
|
|
70
|
+
className: "ttw:flex ttw:justify-between ttw:gap-4",
|
|
71
|
+
children: [/* @__PURE__ */ a("span", {
|
|
72
|
+
className: "ttw:font-medium",
|
|
73
|
+
children: e.descriptionLabel
|
|
74
|
+
}), /* @__PURE__ */ a("span", {
|
|
75
|
+
className: "ttw:whitespace-nowrap ttw:tabular-nums",
|
|
76
|
+
children: e.amountLabel
|
|
77
|
+
})]
|
|
78
|
+
}), /* @__PURE__ */ o("div", {
|
|
79
|
+
className: "ttw:flex ttw:justify-between ttw:gap-4 ttw:text-muted-foreground",
|
|
80
|
+
children: [/* @__PURE__ */ a("span", { children: e.dateLabel }), /* @__PURE__ */ a("span", {
|
|
81
|
+
className: "ttw:whitespace-nowrap ttw:tabular-nums",
|
|
82
|
+
children: e.balanceLabel
|
|
110
83
|
})]
|
|
111
|
-
})
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
children: /* @__PURE__ */ f(oe, {
|
|
145
|
-
labels: $,
|
|
146
|
-
rows: k,
|
|
147
|
-
isLoading: A,
|
|
148
|
-
isError: j,
|
|
149
|
-
onRetry: M,
|
|
150
|
-
isPaginationVisible: N,
|
|
151
|
-
pageSize: P,
|
|
152
|
-
pageSizeOptions: F,
|
|
153
|
-
rangeLabel: I,
|
|
154
|
-
isPreviousPageDisabled: L,
|
|
155
|
-
isNextPageDisabled: R,
|
|
156
|
-
onPageSizeChange: z,
|
|
157
|
-
onPreviousPageClick: B,
|
|
158
|
-
onNextPageClick: V
|
|
159
|
-
})
|
|
160
|
-
}),
|
|
161
|
-
/* @__PURE__ */ f(n, {
|
|
162
|
-
value: "details",
|
|
163
|
-
children: /* @__PURE__ */ f(ne, {
|
|
164
|
-
labels: $,
|
|
165
|
-
routingNumberLabel: me,
|
|
166
|
-
accountNumberDisplayLabel: q ? de : fe,
|
|
167
|
-
accountNumberTestId: pe,
|
|
168
|
-
wireAccountNumberLabel: ge,
|
|
169
|
-
bankNameLabel: v,
|
|
170
|
-
bankAddressLabel: he,
|
|
171
|
-
domesticWireIntroLabel: _e,
|
|
172
|
-
domesticWireNoteLabel: ve,
|
|
173
|
-
thingsToKnowBodyLabel: ye,
|
|
174
|
-
supportTeamHref: be,
|
|
175
|
-
isAccountNumberVisible: q,
|
|
176
|
-
isAccountNumberCopied: xe,
|
|
177
|
-
isRoutingNumberCopied: Se,
|
|
178
|
-
isDomesticWireExpanded: Ce,
|
|
179
|
-
onDomesticWireExpandedChange: Ie,
|
|
180
|
-
onToggleAccountNumberVisibility: Ne,
|
|
181
|
-
onCopyAccountNumber: X,
|
|
182
|
-
onCopyRoutingNumber: Z,
|
|
183
|
-
onCopyWireAccountNumber: X,
|
|
184
|
-
onCopyWireRoutingNumber: Z,
|
|
185
|
-
onCopyBankName: Pe,
|
|
186
|
-
onCopyBankAddress: Fe
|
|
187
|
-
})
|
|
188
|
-
})
|
|
189
|
-
]
|
|
190
|
-
})] })
|
|
191
|
-
]
|
|
84
|
+
})]
|
|
85
|
+
}),
|
|
86
|
+
filterComponent: p && !y ? /* @__PURE__ */ a(n, {
|
|
87
|
+
className: "ttw:px-4",
|
|
88
|
+
action: /* @__PURE__ */ a(e, {
|
|
89
|
+
type: "button",
|
|
90
|
+
variant: "outline",
|
|
91
|
+
size: "sm",
|
|
92
|
+
onClick: m,
|
|
93
|
+
children: u.exportButton
|
|
94
|
+
})
|
|
95
|
+
}) : void 0,
|
|
96
|
+
sorting: l,
|
|
97
|
+
onSortingChange: c,
|
|
98
|
+
showPagination: !!h && !y,
|
|
99
|
+
pageSize: h?.pageSize ?? Math.max(d.length, 1),
|
|
100
|
+
pageSizeOptions: h?.pageSizeOptions ?? [],
|
|
101
|
+
pageInfo: h?.rangeLabel,
|
|
102
|
+
hasPrevPage: h ? !h.isPreviousDisabled : !1,
|
|
103
|
+
hasNextPage: h ? !h.isNextDisabled : !1,
|
|
104
|
+
onPageSizeChange: h?.onPageSizeChange ?? c,
|
|
105
|
+
onPrevPage: h?.onPreviousPageClick ?? c,
|
|
106
|
+
onNextPage: h?.onNextPageClick ?? c,
|
|
107
|
+
labels: {
|
|
108
|
+
loading: u.transactionsLoadingLabel,
|
|
109
|
+
rowsPerPage: u.transactionsRowsPerPageLabel,
|
|
110
|
+
previousPage: u.transactionsPreviousPageButton,
|
|
111
|
+
nextPage: u.transactionsNextPageButton
|
|
112
|
+
},
|
|
113
|
+
children: /* @__PURE__ */ a(r, {
|
|
114
|
+
icon: /* @__PURE__ */ a(s, {}),
|
|
115
|
+
title: u.noTransactionsLabel
|
|
116
|
+
})
|
|
192
117
|
});
|
|
193
118
|
}
|
|
194
|
-
export {
|
|
119
|
+
export { u as TransactionsTable };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index9.js
|
|
2
|
+
var e = {
|
|
3
|
+
backToAccounts: "Back to accounts",
|
|
4
|
+
bankingTaglinePrefix: "Business banking provided by",
|
|
5
|
+
availableBalanceLabel: "Available balance",
|
|
6
|
+
availableBalanceTooltip: "What you can spend, withdraw or transfer right now.",
|
|
7
|
+
transactionsTab: "Transactions",
|
|
8
|
+
statementsTab: "Statements",
|
|
9
|
+
detailsTab: "Details",
|
|
10
|
+
noTransactionsLabel: "No transactions found",
|
|
11
|
+
transactionsErrorTitle: "Couldn't load transactions",
|
|
12
|
+
transactionsErrorRetry: "Try again",
|
|
13
|
+
transactionsLoadingLabel: "Loading transactions",
|
|
14
|
+
transactionDateColumn: "Date",
|
|
15
|
+
transactionDescriptionColumn: "Description",
|
|
16
|
+
transactionAmountColumn: "Amount",
|
|
17
|
+
transactionBalanceColumn: "Balance",
|
|
18
|
+
paginationRangeLabel: "Viewing {start}-{end}",
|
|
19
|
+
transactionsRowsPerPageLabel: "Rows per page",
|
|
20
|
+
transactionsPreviousPageButton: "Previous page",
|
|
21
|
+
transactionsNextPageButton: "Next page",
|
|
22
|
+
exportButton: "Export",
|
|
23
|
+
exportDialogTitle: "Export transactions",
|
|
24
|
+
exportDialogDescription: "Downloads the transactions in this date range as a CSV file.",
|
|
25
|
+
exportDialogCloseAriaLabel: "Close",
|
|
26
|
+
exportStartDateLabel: "Start date",
|
|
27
|
+
exportEndDateLabel: "End date",
|
|
28
|
+
exportStartDatePlaceholder: "Pick a date",
|
|
29
|
+
exportEndDatePlaceholder: "Pick a date",
|
|
30
|
+
exportCancelButton: "Cancel",
|
|
31
|
+
exportDownloadButton: "Download file",
|
|
32
|
+
exportRangeError: "Pick a start date on or before the end date.",
|
|
33
|
+
noStatementsLabel: "No statements available",
|
|
34
|
+
statementColumn: "Statement",
|
|
35
|
+
statementsActionsColumn: "Actions",
|
|
36
|
+
viewStatementButton: "View",
|
|
37
|
+
viewStatementButtonAriaLabel: "Open {date} statement",
|
|
38
|
+
statementsRowsPerPageLabel: "Rows per page",
|
|
39
|
+
statementsPreviousPageButton: "Previous page",
|
|
40
|
+
statementsNextPageButton: "Next page",
|
|
41
|
+
statementsLoadingLabel: "Loading statements",
|
|
42
|
+
statementsErrorTitle: "No statements available",
|
|
43
|
+
statementsErrorRetry: "Try again",
|
|
44
|
+
moreActionsLabel: "More actions",
|
|
45
|
+
editAccountMenuItem: "Edit account nickname",
|
|
46
|
+
editDialogTitle: "Edit nickname",
|
|
47
|
+
editNicknameLabel: "Account nickname",
|
|
48
|
+
editNicknameRequiredError: "Enter a nickname.",
|
|
49
|
+
editDialogCloseAriaLabel: "Close",
|
|
50
|
+
editCancelButton: "Cancel",
|
|
51
|
+
editSaveButton: "Save account",
|
|
52
|
+
editErrorTitle: "Couldn't save account. Try again.",
|
|
53
|
+
detailsSectionTitle: "Account details",
|
|
54
|
+
domesticWireTitle: "Domestic wire instructions",
|
|
55
|
+
domesticWireIntro: "To receive an incoming domestic wire transfer to your {bankName} account, please provide the following information to the individual or business that is sending the wire:",
|
|
56
|
+
domesticWireNote: "Note: To ensure the payment arrives successfully, it is very important the payments are made to either the business name, beneficial owner(s), or any doing business as (DBA) as it appears in {bankName}.",
|
|
57
|
+
bankNameLabel: "Bank name (if required)",
|
|
58
|
+
bankAddressLabel: "Bank address (if required)",
|
|
59
|
+
thingsToKnowHeading: "Things to know:",
|
|
60
|
+
thingsToKnowBody: "You will not be charged to receive wires with {bankName}.",
|
|
61
|
+
supportQuestionsPrefix: "Questions? Get in touch with our",
|
|
62
|
+
supportTeamLink: "support team",
|
|
63
|
+
routingNumberLabel: "Routing number",
|
|
64
|
+
accountNumberLabel: "Account number",
|
|
65
|
+
copyAccountNumber: "Copy account number",
|
|
66
|
+
copyRoutingNumber: "Copy routing number",
|
|
67
|
+
copyBankName: "Copy bank name",
|
|
68
|
+
copyBankAddress: "Copy bank address",
|
|
69
|
+
copiedLabel: "Copied",
|
|
70
|
+
showAccountNumber: "Show account number",
|
|
71
|
+
hideAccountNumber: "Hide account number",
|
|
72
|
+
loadingLabel: "Loading account details",
|
|
73
|
+
errorTitle: "Couldn't load account details",
|
|
74
|
+
retryButton: "Try again"
|
|
75
|
+
};
|
|
76
|
+
export { e as DEFAULT_LABELS };
|
|
@@ -10,7 +10,7 @@ import "../../../../ui/dist/index.js";
|
|
|
10
10
|
import { WidgetProvider as r } from "../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
11
11
|
import "../../../../../shared/feature/dist/index.js";
|
|
12
12
|
import { useBankAccountsWidget as i } from "../useBankAccountsWidget.js";
|
|
13
|
-
import { AccountDetailsWidget as a } from "../../../../account-details/feature/dist/
|
|
13
|
+
import { AccountDetailsWidget as a } from "../../../../account-details/feature/dist/index10.js";
|
|
14
14
|
import "../../../../account-details/feature/dist/index.js";
|
|
15
15
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
16
16
|
// ../../libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js
|
package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/labels.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/labels.js
|
|
2
2
|
var e = {
|
|
3
3
|
accountFallback: "Account",
|
|
4
|
-
createSuccessToast: "Account created
|
|
5
|
-
editSuccessToast: "Account updated
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exportErrorToast: "Unable to export transactions",
|
|
11
|
-
viewStatementErrorToast: "Unable to open statement"
|
|
4
|
+
createSuccessToast: "Account created",
|
|
5
|
+
editSuccessToast: "Account updated",
|
|
6
|
+
exportLoadingToast: "Exporting transactions…",
|
|
7
|
+
exportSuccessToast: "Transactions exported",
|
|
8
|
+
exportErrorToast: "Couldn't export transactions",
|
|
9
|
+
viewStatementErrorToast: "Couldn't open statement"
|
|
12
10
|
};
|
|
13
11
|
export { e as DEFAULT_FEATURE_LABELS };
|