@tesouro/embedded-components-react 0.7.36 → 0.7.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/fixtures/index.d.ts +1 -1
  2. package/dist/index.d.ts +5 -0
  3. package/dist/lib/TransfersWidget.d.ts +5 -0
  4. package/dist/lib/WidgetSuite.d.ts +5 -0
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/fieldInput/formatPhoneNumberInput.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/mocks/bankAccounts.js +5 -5
  7. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +2 -2
  8. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +50 -50
  9. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +22 -22
  10. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  11. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index.js +2 -2
  12. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index3.js +6 -7
  13. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +14 -34
  14. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index7.js +16 -13
  15. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index8.js +4 -10
  16. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetInner.js +99 -75
  17. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/featureLabels.js +2 -1
  18. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransfersPageState.js +49 -0
  19. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/labels.js +2 -1
  20. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/transfers.js +103 -85
  21. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js +73 -61
  22. package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js +3 -0
  23. package/package.json +1 -1
@@ -2,103 +2,111 @@ import { Scope as e } from "../../../../shared/data-access/dist/lib/scopes.js";
2
2
  import "../../../../shared/data-access/dist/index.js";
3
3
  import { AN_EXTERNAL_BANK_ACCOUNT as t, A_BANK_ACCOUNT as n, A_BANK_ACCOUNT_TRANSFER as r, A_BOOK_MONEY_MOVEMENT as i } from "../../../../shared/data-access-mocks/dist/lib/fixtures.js";
4
4
  import { SCENARIO_LABELS as a } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/labels.js";
5
- import { PROXY as o, answer as s, bodyOf as c, crossCuttingScenarios as l, endpoint as u, initRoute as d, json as f, matchPath as p, problem as m, wait as h } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/scenario.js";
6
- import { failedRead as g } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/worlds.js";
7
- import { TRANSFERS_LABELS as _ } from "./labels.js";
5
+ import { PROXY as o, answer as s, bodyOf as c, crossCuttingScenarios as l, endpoint as u, initRoute as d, json as f, problem as p, wait as m } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/scenario.js";
6
+ import { failedRead as h } from "../../../../shared/data-access-mocks/dist/mocks/scenarios/worlds.js";
7
+ import { TRANSFERS_LABELS as g } from "./labels.js";
8
8
  //#region ../../libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/transfers.js
9
- var v = [e.TransferWriteOrg, e.BankAccountReadOrg], y = [
10
- ...v,
9
+ var _ = [e.TransferWriteOrg, e.BankAccountReadOrg], v = [
10
+ ..._,
11
11
  e.ExternalBankAccountReadOrg,
12
12
  e.PaymentRailAch
13
- ], b = [
13
+ ], y = [
14
14
  e.BankAccountReadOrg,
15
15
  e.ExternalBankAccountReadOrg,
16
16
  e.PaymentRailAch
17
- ], x = (e) => `00000000-0000-4000-8000-0000000002${String(e).padStart(2, "0")}`, S = (e) => ({
17
+ ], b = (e) => `00000000-0000-4000-8000-0000000002${String(e).padStart(2, "0")}`, x = (e) => ({
18
18
  currencyCode: "USD",
19
19
  value: e
20
- }), C = n, w = {
20
+ }), S = n, C = {
21
21
  ...n,
22
- id: x(6),
22
+ id: b(6),
23
23
  accountNumber: "000000004006",
24
24
  nickname: "Payroll",
25
- balance: S(185e4)
26
- }, T = {
25
+ balance: x(185e4)
26
+ }, w = {
27
27
  ...n,
28
- id: x(7),
28
+ id: b(7),
29
29
  accountNumber: "000000004007",
30
30
  nickname: "Tax reserve",
31
- balance: S(625050)
32
- }, E = [
31
+ balance: x(625050)
32
+ }, T = [
33
+ S,
33
34
  C,
34
- w,
35
- T
36
- ], D = t, O = {
35
+ w
36
+ ], E = t, D = {
37
37
  ...t,
38
- id: x(8),
38
+ id: b(8),
39
39
  accountNumber: "••••••••4321",
40
40
  nickname: "Supplier payouts",
41
41
  verificationStatus: "UNVERIFIED"
42
- }, k = [D, O], A = (e) => ({
42
+ }, O = [E, D], k = (e) => ({
43
43
  id: e.id,
44
44
  nickname: e.nickname ?? null
45
- }), j = (e, t) => ({
45
+ }), A = (e, t) => ({
46
46
  ...r,
47
- id: x(e),
47
+ id: b(e),
48
48
  ...t
49
- }), M = [
50
- j(12, {
51
- fromAccount: A(C),
52
- toAccount: A(w),
53
- amount: S(12e5),
49
+ }), j = [
50
+ A(12, {
51
+ fromAccount: k(S),
52
+ toAccount: k(C),
53
+ amount: x(12e5),
54
54
  date: "2026-02-03T15:00:00.000Z",
55
55
  status: "PENDING"
56
56
  }),
57
- j(13, {
58
- fromAccount: A(C),
59
- toAccount: A(D),
60
- amount: S(35e4),
57
+ A(13, {
58
+ fromAccount: k(S),
59
+ toAccount: k(E),
60
+ amount: x(35e4),
61
61
  date: "2026-02-02T11:30:00.000Z",
62
62
  network: "ACH",
63
63
  type: "INTERNAL_TO_EXTERNAL"
64
64
  }),
65
- j(14, {
66
- fromAccount: A(D),
67
- toAccount: A(T),
68
- amount: S(8e4),
65
+ A(14, {
66
+ fromAccount: k(E),
67
+ toAccount: k(w),
68
+ amount: x(8e4),
69
69
  date: "2026-01-29T10:00:00.000Z",
70
70
  network: "ACH",
71
71
  type: "EXTERNAL_TO_INTERNAL",
72
72
  status: "FAILED"
73
73
  }),
74
- j(15, {
75
- fromAccount: A(w),
76
- toAccount: A(T),
77
- amount: S(62500),
74
+ A(15, {
75
+ fromAccount: k(C),
76
+ toAccount: k(w),
77
+ amount: x(62500),
78
78
  date: "2026-01-27T09:00:00.000Z"
79
79
  }),
80
- j(16, {
81
- fromAccount: A(C),
82
- toAccount: A(T),
83
- amount: S(25e4),
80
+ A(16, {
81
+ fromAccount: k(S),
82
+ toAccount: k(w),
83
+ amount: x(25e4),
84
84
  date: "2026-01-15T09:00:00.000Z"
85
85
  })
86
- ], N = (e) => ({
86
+ ], M = (e) => ({
87
87
  data: e,
88
88
  nextPaginationToken: null,
89
89
  prevPaginationToken: null
90
- }), P = `${o}/bank-accounts`, F = `${o}/bank-accounts/:id/transfers`, I = (e) => e === P, L = (e) => p(F)(e) !== void 0, R = (e) => {
90
+ }), N = `${o}/bank-accounts`, P = `${o}/bank-accounts/transfers`, F = (e) => e === N, I = (e) => e === P, L = (e) => e === `${o}/external-bank-accounts`, R = Array.from({ length: 57 }, (e, t) => {
91
+ let n = j[t % j.length], r = (/* @__PURE__ */ new Date(Date.UTC(2026, 1, 3) - t * 864e5)).toISOString();
92
+ return {
93
+ ...n,
94
+ id: `00000000-0000-4000-8000-0000000004${String(t).padStart(2, "0")}`,
95
+ createdDateTime: r,
96
+ date: r
97
+ };
98
+ }), z = (e, t = 25) => Array.from({ length: Math.ceil(e.length / t) }, (n, r) => e.slice(r * t, (r + 1) * t)), B = (e) => {
91
99
  let t = e.accounts.map((e) => ({ ...e })), n = [...e.transfers], r = e.externals ?? [], a = 0, l = (e) => t.find((t) => t.id === e)?.nickname ?? r.find((t) => t.id === e)?.nickname ?? null, d = (e, n) => {
92
100
  let r = t.find((t) => t.id === e);
93
- r && (r.balance = S(Number(r.balance.value) + n));
94
- }, p = (e) => async (t) => {
95
- await h(600);
101
+ r && (r.balance = x(Number(r.balance.value) + n));
102
+ }, h = (e) => async (t) => {
103
+ await m(600);
96
104
  let r = c(t), o = String(r.fromBankAccountId ?? ""), s = String(r.toBankAccountId ?? ""), u = Number(r.amount ?? 0);
97
- if (!l(o) || !l(s) || !(u > 0)) return m(400, "Bad Request", "The transfer is not valid.");
105
+ if (!l(o) || !l(s) || !(u > 0)) return p(400, "Bad Request", "The transfer is not valid.");
98
106
  a += 1;
99
- let p = `00000000-0000-4000-8000-0000000003${String(a).padStart(2, "0")}`, g = S(u), _ = (/* @__PURE__ */ new Date()).toISOString(), v = e === "BOOK" ? "INTERNAL_TO_INTERNAL" : r.type === "EXTERNAL_TO_INTERNAL" ? "EXTERNAL_TO_INTERNAL" : "INTERNAL_TO_EXTERNAL";
107
+ let h = `00000000-0000-4000-8000-0000000003${String(a).padStart(2, "0")}`, g = x(u), _ = (/* @__PURE__ */ new Date()).toISOString(), v = e === "BOOK" ? "INTERNAL_TO_INTERNAL" : r.type === "EXTERNAL_TO_INTERNAL" ? "EXTERNAL_TO_INTERNAL" : "INTERNAL_TO_EXTERNAL";
100
108
  return n.unshift({
101
- id: p,
109
+ id: h,
102
110
  amount: g,
103
111
  createdDateTime: _,
104
112
  date: _,
@@ -116,7 +124,7 @@ var v = [e.TransferWriteOrg, e.BankAccountReadOrg], y = [
116
124
  type: v
117
125
  }), d(o, -u), d(s, u), f({
118
126
  ...i,
119
- id: p,
127
+ id: h,
120
128
  amount: g,
121
129
  date: _,
122
130
  fromBankAccount: {
@@ -132,53 +140,63 @@ var v = [e.TransferWriteOrg, e.BankAccountReadOrg], y = [
132
140
  }, 201);
133
141
  };
134
142
  return [
135
- s(I, () => f(N(t))),
136
- s((e) => e === `${o}/external-bank-accounts`, () => f(N(r))),
137
- u("GET", F, (e, { id: t }) => f(N(n.filter((e) => e.fromAccount.id === t || e.toAccount.id === t)))),
138
- u("POST", `${o}/money-movements/book`, p("BOOK")),
139
- u("POST", `${o}/money-movements/ach`, p("ACH"))
143
+ s(F, () => f(M(t))),
144
+ s(L, () => f(M(r))),
145
+ s(I, () => f(M(n))),
146
+ u("POST", `${o}/money-movements/book`, h("BOOK")),
147
+ u("POST", `${o}/money-movements/ach`, h("ACH"))
140
148
  ];
141
- }, z = {
142
- accounts: E,
143
- transfers: M,
144
- externals: k
145
- }, B = (e, t, n, r, { transfersFail: i = !1 } = {}) => ({
149
+ }, V = {
150
+ accounts: T,
151
+ transfers: j,
152
+ externals: O
153
+ }, H = (e, t, n, r, { transfersFail: i = !1 } = {}) => ({
146
154
  key: e,
147
155
  ...t,
148
156
  routes: () => [
149
157
  d(n),
150
- ...i ? [g(L)] : [],
151
- ...R(r)
158
+ ...i ? [h(I)] : [],
159
+ ...B(r)
152
160
  ]
153
- }), V = _.blurbs, H = (e) => ({
161
+ }), U = g.blurbs, W = (e) => ({
154
162
  label: a[e].label,
155
- blurb: V[e] ?? a[e].blurb
156
- }), [U] = l({
157
- scopes: y,
163
+ blurb: U[e] ?? a[e].blurb
164
+ }), G = s(L, () => f(M(O))), [K] = l({
165
+ scopes: v,
166
+ read: {
167
+ matches: F,
168
+ body: M(T)
169
+ },
170
+ supportRoutes: [G],
171
+ blurbs: g.blurbs
172
+ }, ["loading"]), [q] = l({
173
+ scopes: v,
158
174
  read: {
159
175
  matches: I,
160
- body: N(E)
176
+ body: M(R),
177
+ pages: z(R)
161
178
  },
162
- supportRoutes: [s((e) => e === `${o}/external-bank-accounts`, () => f(N(k)))],
163
- blurbs: _.blurbs
164
- }, ["loading"]), W = [
165
- B("populated", H("populated"), y, z),
166
- B("empty", H("empty"), y, {
167
- ...z,
179
+ supportRoutes: [s(F, () => f(M(T))), G],
180
+ blurbs: g.blurbs
181
+ }, ["paginated"]), J = [
182
+ H("populated", W("populated"), v, V),
183
+ H("empty", W("empty"), v, {
184
+ ...V,
168
185
  transfers: []
169
186
  }),
170
- ...U ? [U] : [],
171
- B("error", H("error"), y, z, { transfersFail: !0 }),
172
- B("control-hidden", H("control-hidden"), b, z),
173
- B("internal-only", _.scenarios["internal-only"], v, {
174
- accounts: E,
175
- transfers: M
187
+ ...K ? [K] : [],
188
+ ...q ? [q] : [],
189
+ H("error", W("error"), v, V, { transfersFail: !0 }),
190
+ H("control-hidden", W("control-hidden"), y, V),
191
+ H("internal-only", g.scenarios["internal-only"], _, {
192
+ accounts: T,
193
+ transfers: j
176
194
  }),
177
- B("single-account", _.scenarios["single-account"], y, {
178
- accounts: [C],
179
- transfers: M.filter((e) => e.fromAccount.id === C.id || e.toAccount.id === C.id),
180
- externals: [O]
195
+ H("single-account", g.scenarios["single-account"], v, {
196
+ accounts: [S],
197
+ transfers: j.filter((e) => e.fromAccount.id === S.id || e.toAccount.id === S.id),
198
+ externals: [D]
181
199
  })
182
200
  ];
183
201
  //#endregion
184
- export { W as transfersScenarios };
202
+ export { J as transfersScenarios };
@@ -1,117 +1,129 @@
1
1
  import { Button as e, Skeleton as t, Typography as n } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { WidgetTitleWithIconAndChildren as r } from "../../../../../shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js";
2
+ import { PaginationFooter as r } from "../../../../../shared/ui/dist/lib/PaginationFooter/PaginationFooter.js";
3
+ import { WidgetTitleWithIconAndChildren as i } from "../../../../../shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js";
3
4
  import "../../../../../shared/ui/dist/index.js";
4
- import { TRANSFERS_WIDGET_LABELS_EN as i } from "./labels.js";
5
- import { TransferMoneyModal as a } from "../TransferMoneyModal/TransferMoneyModal.js";
6
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
7
- import { ArrowDownToLine as l, ArrowDownUp as u, ArrowUpFromLine as d } from "lucide-react";
5
+ import { TRANSFERS_WIDGET_LABELS_EN as a } from "./labels.js";
6
+ import { TransferMoneyModal as o } from "../TransferMoneyModal/TransferMoneyModal.js";
7
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import { ArrowDownToLine as u, ArrowDownUp as d, ArrowUpFromLine as f } from "lucide-react";
8
9
  //#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js
9
- function f({ transferRows: f, isLoading: p, isError: m, onRetry: h, showTransferMoneyCta: g, isTransferMoneyCtaDisabled: _ = !1, onTransferMoneyClick: v, transferMoneyModal: y, labels: b, testIds: x }) {
10
- let S = {
11
- ...i,
12
- ...b
13
- }, C = g && !p ? /* @__PURE__ */ s("span", {
10
+ function p({ transferRows: p, isLoading: m, isError: h, onRetry: g, showTransferMoneyCta: _, isTransferMoneyCtaDisabled: v = !1, onTransferMoneyClick: y, transferMoneyModal: b, pagination: x, labels: S, testIds: C }) {
11
+ let w = {
12
+ ...a,
13
+ ...S
14
+ }, T = x ? /* @__PURE__ */ c(r, {
15
+ ...x,
16
+ labels: {
17
+ rowsPerPageLabel: w.paginationRowsPerPage,
18
+ previousPageButton: w.paginationPreviousPage,
19
+ nextPageButton: w.paginationNextPage
20
+ }
21
+ }) : null, E = _ && !m ? /* @__PURE__ */ c("span", {
14
22
  className: "ttw:inline-flex ttw:shrink-0",
15
- title: _ ? S.transferMoneyCtaDisabledTooltip : void 0,
16
- children: /* @__PURE__ */ c(e, {
23
+ title: v ? w.transferMoneyCtaDisabledTooltip : void 0,
24
+ children: /* @__PURE__ */ l(e, {
17
25
  type: "button",
18
26
  size: "sm",
19
27
  variant: "default",
20
28
  className: "ttw:inline-flex ttw:shrink-0 ttw:gap-2 ttw:whitespace-nowrap",
21
- disabled: _,
22
- onClick: _ ? void 0 : v,
23
- "data-testid": x?.transferMoneyButton,
24
- children: [/* @__PURE__ */ s(l, {
29
+ disabled: v,
30
+ onClick: v ? void 0 : y,
31
+ "data-testid": C?.transferMoneyButton,
32
+ children: [/* @__PURE__ */ c(u, {
25
33
  className: "ttw:size-4",
26
34
  "aria-hidden": !0
27
- }), S.transferMoneyCta]
35
+ }), w.transferMoneyCta]
28
36
  })
29
37
  }) : void 0;
30
- return /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(r, {
31
- icon: /* @__PURE__ */ s(u, {
38
+ return /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(i, {
39
+ icon: /* @__PURE__ */ c(d, {
32
40
  className: "ttw:size-[18px] ttw:shrink-0 ttw:text-primary",
33
41
  "aria-hidden": !0
34
42
  }),
35
- title: S.widgetTitle,
36
- headerActions: C,
37
- children: p ? /* @__PURE__ */ s(t, {
38
- "data-testid": x?.skeleton,
43
+ title: w.widgetTitle,
44
+ headerActions: E,
45
+ children: m ? /* @__PURE__ */ c(t, {
46
+ "data-testid": C?.skeleton,
39
47
  height: 120,
40
48
  width: "100%",
41
49
  className: "ttw:rounded-md"
42
- }) : m ? /* @__PURE__ */ c("div", {
50
+ }) : h ? /* @__PURE__ */ l("div", {
43
51
  className: "ttw:flex ttw:flex-col ttw:gap-3",
44
- "data-testid": x?.error,
52
+ "data-testid": C?.error,
45
53
  children: [
46
- /* @__PURE__ */ s(n, {
54
+ /* @__PURE__ */ c(n, {
47
55
  component: "p",
48
56
  variant: "body1",
49
57
  className: "ttw:font-semibold",
50
- children: S.loadErrorTitle
58
+ children: w.loadErrorTitle
51
59
  }),
52
- /* @__PURE__ */ s(n, {
60
+ /* @__PURE__ */ c(n, {
53
61
  component: "p",
54
62
  variant: "body2",
55
63
  color: "muted",
56
- children: S.loadErrorDescription
64
+ children: w.loadErrorDescription
57
65
  }),
58
- h ? /* @__PURE__ */ s(e, {
66
+ g ? /* @__PURE__ */ c(e, {
59
67
  type: "button",
60
68
  variant: "outline",
61
69
  size: "sm",
62
70
  className: "ttw:self-start ttw:cursor-pointer",
63
- onClick: h,
64
- "data-testid": x?.retry,
65
- children: S.loadErrorRetry
71
+ onClick: g,
72
+ "data-testid": C?.retry,
73
+ children: w.loadErrorRetry
66
74
  }) : null
67
75
  ]
68
- }) : f.length === 0 ? /* @__PURE__ */ c("div", {
76
+ }) : p.length === 0 ? /* @__PURE__ */ l("div", {
69
77
  className: "ttw:flex ttw:flex-col ttw:gap-2",
70
- "data-testid": x?.empty,
71
- children: [/* @__PURE__ */ s(n, {
72
- variant: "body1",
73
- className: "ttw:font-semibold",
74
- children: S.emptyTitle
75
- }), /* @__PURE__ */ s(n, {
76
- variant: "body2",
77
- color: "muted",
78
- component: "p",
79
- children: S.emptyDescription
80
- })]
81
- }) : /* @__PURE__ */ s("div", {
78
+ "data-testid": C?.empty,
79
+ children: [
80
+ /* @__PURE__ */ c(n, {
81
+ variant: "body1",
82
+ className: "ttw:font-semibold",
83
+ children: w.emptyTitle
84
+ }),
85
+ /* @__PURE__ */ c(n, {
86
+ variant: "body2",
87
+ color: "muted",
88
+ component: "p",
89
+ children: w.emptyDescription
90
+ }),
91
+ x && !x.isPreviousDisabled ? T : null
92
+ ]
93
+ }) : /* @__PURE__ */ l("div", {
82
94
  className: "ttw:max-w-full ttw:overflow-x-auto ttw:rounded-md ttw:border ttw:border-border",
83
- children: /* @__PURE__ */ s("div", {
95
+ children: [/* @__PURE__ */ c("div", {
84
96
  className: "ttw:min-w-[24rem] ttw:max-h-96 ttw:overflow-y-auto",
85
- children: /* @__PURE__ */ s("ul", {
97
+ children: /* @__PURE__ */ c("ul", {
86
98
  className: "ttw:m-0 ttw:list-none ttw:divide-y ttw:divide-border ttw:p-0",
87
- children: f.map((e) => /* @__PURE__ */ c("li", {
99
+ children: p.map((e) => /* @__PURE__ */ l("li", {
88
100
  title: e.detailLabel,
89
- "data-testid": x?.transferRow,
101
+ "data-testid": C?.transferRow,
90
102
  className: "ttw:grid ttw:grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] ttw:items-center ttw:gap-3 ttw:px-4 ttw:py-4",
91
103
  children: [
92
- /* @__PURE__ */ c("div", {
104
+ /* @__PURE__ */ l("div", {
93
105
  className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-3",
94
- children: [/* @__PURE__ */ s("div", {
106
+ children: [/* @__PURE__ */ c("div", {
95
107
  className: "ttw:flex ttw:size-9 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-primary/10",
96
- children: /* @__PURE__ */ s(d, {
108
+ children: /* @__PURE__ */ c(f, {
97
109
  className: "ttw:size-4 ttw:text-primary",
98
110
  "aria-hidden": !0
99
111
  })
100
- }), /* @__PURE__ */ s(n, {
112
+ }), /* @__PURE__ */ c(n, {
101
113
  variant: "body2",
102
114
  component: "p",
103
115
  className: "ttw:min-w-0 ttw:truncate ttw:font-medium",
104
116
  children: e.accountsRouteLabel
105
117
  })]
106
118
  }),
107
- /* @__PURE__ */ s(n, {
119
+ /* @__PURE__ */ c(n, {
108
120
  variant: "body2",
109
121
  component: "p",
110
122
  color: "muted",
111
123
  className: "ttw:shrink-0 ttw:text-center",
112
124
  children: e.dateLabel
113
125
  }),
114
- /* @__PURE__ */ s(n, {
126
+ /* @__PURE__ */ c(n, {
115
127
  variant: "body2",
116
128
  component: "p",
117
129
  className: "ttw:justify-self-end ttw:shrink-0 ttw:font-semibold ttw:tabular-nums",
@@ -120,12 +132,12 @@ function f({ transferRows: f, isLoading: p, isError: m, onRetry: h, showTransfer
120
132
  ]
121
133
  }, e.rowKey))
122
134
  })
123
- })
135
+ }), T]
124
136
  })
125
- }), /* @__PURE__ */ s(a, {
126
- ...y,
127
- labels: S
137
+ }), /* @__PURE__ */ c(o, {
138
+ ...b,
139
+ labels: w
128
140
  })] });
129
141
  }
130
142
  //#endregion
131
- export { i as TRANSFERS_WIDGET_LABELS_EN, f as TransfersWidget };
143
+ export { a as TRANSFERS_WIDGET_LABELS_EN, p as TransfersWidget };
@@ -12,6 +12,9 @@ var e = {
12
12
  loadErrorRetry: "Try again",
13
13
  emptyTitle: "No transfers yet",
14
14
  emptyDescription: "When you move money between accounts, your transfers will show up here.",
15
+ paginationRowsPerPage: "Rows per page",
16
+ paginationPreviousPage: "Previous page",
17
+ paginationNextPage: "Next page",
15
18
  modalTitle: "Transfer Money",
16
19
  modalAccountsSubtitle: "ACH transfers take 1–2 business days to settle.",
17
20
  modalFromAccountPlaceholder: "From Account",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.7.36",
3
+ "version": "0.7.40",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [