@tesouro/embedded-components-react 0.11.274 → 0.11.276
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/dist/index.css +61 -7
- package/dist/index.d.ts +1 -13
- package/dist/lib/RecentActivityWidget.d.ts +1 -13
- package/dist/lib/WidgetSuite.d.ts +1 -13
- package/dist/libs/tesouro-embedded-components-react/balance-history-widget/ui/dist/lib/BalanceHistoryCard/BalanceHistoryCard.js +114 -111
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/CreateAccountDialog.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index23.js +69 -69
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/ui/dist/lib/CreateCardWidget/CardControls/SpendLimitControl.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/recent-activity-widget/feature/dist/lib/RecentActivityWidget/RecentActivityWidgetFeature.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/recent-activity-widget/feature/dist/lib/RecentActivityWidget/labels.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/recent-activity-widget/feature/dist/lib/recentActivityView/buildRecentActivityRows.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/recent-activity-widget/ui/dist/lib/RecentActivityCard/RecentActivityCard.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index12.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +106 -106
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +142 -146
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useOwnedQueryClient.js +31 -0
- 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/lib/AttentionStrip/AttentionStrip.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AttentionStrip/AttentionViewBar.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/DueDateText/DueDateText.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShellScrollRegion.js +17 -14
- package/dist/packages/shared-ui-shadcn/dist/index.js +448 -417
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2048,8 +2048,35 @@
|
|
|
2048
2048
|
.ttw\:border-transparent {
|
|
2049
2049
|
border-color: transparent;
|
|
2050
2050
|
}
|
|
2051
|
-
.ttw\:border-warning {
|
|
2052
|
-
border-color: var(
|
|
2051
|
+
.ttw\:border-warning-foreground {
|
|
2052
|
+
border-color: var(
|
|
2053
|
+
--ttw-warning-foreground,
|
|
2054
|
+
var(
|
|
2055
|
+
--_ttw-tint-relative,
|
|
2056
|
+
oklch(from var(--ttw-warning) 0.55 c h)
|
|
2057
|
+
)
|
|
2058
|
+
var(
|
|
2059
|
+
--_ttw-tint-legacy,
|
|
2060
|
+
var(--ttw-warning)
|
|
2061
|
+
)
|
|
2062
|
+
);
|
|
2063
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2064
|
+
border-color: var(
|
|
2065
|
+
--ttw-warning-foreground,
|
|
2066
|
+
var(
|
|
2067
|
+
--_ttw-tint-relative,
|
|
2068
|
+
color-mix(
|
|
2069
|
+
in oklch,
|
|
2070
|
+
oklch(from var(--ttw-warning) 0.55 c h) 60%,
|
|
2071
|
+
oklch(from var(--ttw-foreground) l 0 none)
|
|
2072
|
+
)
|
|
2073
|
+
)
|
|
2074
|
+
var(
|
|
2075
|
+
--_ttw-tint-legacy,
|
|
2076
|
+
color-mix(in oklab, var(--ttw-warning) 60%, var(--ttw-foreground))
|
|
2077
|
+
)
|
|
2078
|
+
);
|
|
2079
|
+
}
|
|
2053
2080
|
}
|
|
2054
2081
|
.ttw\:border-warning\/40 {
|
|
2055
2082
|
border-color: var(--ttw-warning);
|
|
@@ -3198,9 +3225,6 @@
|
|
|
3198
3225
|
);
|
|
3199
3226
|
}
|
|
3200
3227
|
}
|
|
3201
|
-
.ttw\:bg-warning {
|
|
3202
|
-
background-color: var(--ttw-warning);
|
|
3203
|
-
}
|
|
3204
3228
|
.ttw\:bg-warning-subtle {
|
|
3205
3229
|
background-color: var(
|
|
3206
3230
|
--ttw-warning-subtle,
|
|
@@ -4430,6 +4454,36 @@
|
|
|
4430
4454
|
.ttw\:ring-sidebar-ring {
|
|
4431
4455
|
--tw-ring-color: var(--ttw-sidebar-ring, var(--ttw-ring));
|
|
4432
4456
|
}
|
|
4457
|
+
.ttw\:ring-warning-foreground {
|
|
4458
|
+
--tw-ring-color: var(
|
|
4459
|
+
--ttw-warning-foreground,
|
|
4460
|
+
var(
|
|
4461
|
+
--_ttw-tint-relative,
|
|
4462
|
+
oklch(from var(--ttw-warning) 0.55 c h)
|
|
4463
|
+
)
|
|
4464
|
+
var(
|
|
4465
|
+
--_ttw-tint-legacy,
|
|
4466
|
+
var(--ttw-warning)
|
|
4467
|
+
)
|
|
4468
|
+
);
|
|
4469
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4470
|
+
--tw-ring-color: var(
|
|
4471
|
+
--ttw-warning-foreground,
|
|
4472
|
+
var(
|
|
4473
|
+
--_ttw-tint-relative,
|
|
4474
|
+
color-mix(
|
|
4475
|
+
in oklch,
|
|
4476
|
+
oklch(from var(--ttw-warning) 0.55 c h) 60%,
|
|
4477
|
+
oklch(from var(--ttw-foreground) l 0 none)
|
|
4478
|
+
)
|
|
4479
|
+
)
|
|
4480
|
+
var(
|
|
4481
|
+
--_ttw-tint-legacy,
|
|
4482
|
+
color-mix(in oklab, var(--ttw-warning) 60%, var(--ttw-foreground))
|
|
4483
|
+
)
|
|
4484
|
+
);
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4433
4487
|
.ttw\:inset-ring-sidebar-border {
|
|
4434
4488
|
--tw-inset-ring-color: var(--ttw-sidebar-border, var(--ttw-border));
|
|
4435
4489
|
}
|
|
@@ -5328,8 +5382,8 @@
|
|
|
5328
5382
|
.ttw\:has-\[\:disabled\]\:cursor-not-allowed:has(:is(:disabled)) {
|
|
5329
5383
|
cursor: not-allowed;
|
|
5330
5384
|
}
|
|
5331
|
-
.ttw\:has-\[\:disabled\]\:
|
|
5332
|
-
|
|
5385
|
+
.ttw\:has-\[\:disabled\]\:bg-muted:has(:is(:disabled)) {
|
|
5386
|
+
background-color: var(--ttw-muted);
|
|
5333
5387
|
}
|
|
5334
5388
|
.ttw\:has-\[\:focus-visible\]\:border-ring:has(:is(:focus-visible)) {
|
|
5335
5389
|
border-color: var(--ttw-ring);
|
package/dist/index.d.ts
CHANGED
|
@@ -4016,19 +4016,7 @@ interface RecentActivityCardLabels {
|
|
|
4016
4016
|
retry: string;
|
|
4017
4017
|
}
|
|
4018
4018
|
|
|
4019
|
-
|
|
4020
|
-
/** Row's accessible name, e.g. "Home Depot, Operating ending 4821, Oct 28, 2026, −$318.40". */
|
|
4021
|
-
rowAriaLabel: (parts: {
|
|
4022
|
-
description: string;
|
|
4023
|
-
nickname: string;
|
|
4024
|
-
last4: string;
|
|
4025
|
-
date: string;
|
|
4026
|
-
amount: string;
|
|
4027
|
-
}) => string;
|
|
4028
|
-
}
|
|
4029
|
-
|
|
4030
|
-
interface RecentActivityWidgetLabels extends RecentActivityCardLabels, RecentActivityRowLabels {
|
|
4031
|
-
}
|
|
4019
|
+
type RecentActivityWidgetLabels = RecentActivityCardLabels;
|
|
4032
4020
|
declare const RECENT_ACTIVITY_WIDGET_LABELS_EN: RecentActivityWidgetLabels;
|
|
4033
4021
|
|
|
4034
4022
|
interface RecentActivityWidgetWithContextProps {
|
|
@@ -610,19 +610,7 @@ interface RecentActivityCardLabels {
|
|
|
610
610
|
retry: string;
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
|
|
614
|
-
/** Row's accessible name, e.g. "Home Depot, Operating ending 4821, Oct 28, 2026, −$318.40". */
|
|
615
|
-
rowAriaLabel: (parts: {
|
|
616
|
-
description: string;
|
|
617
|
-
nickname: string;
|
|
618
|
-
last4: string;
|
|
619
|
-
date: string;
|
|
620
|
-
amount: string;
|
|
621
|
-
}) => string;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
interface RecentActivityWidgetLabels extends RecentActivityCardLabels, RecentActivityRowLabels {
|
|
625
|
-
}
|
|
613
|
+
type RecentActivityWidgetLabels = RecentActivityCardLabels;
|
|
626
614
|
declare const RECENT_ACTIVITY_WIDGET_LABELS_EN: RecentActivityWidgetLabels;
|
|
627
615
|
|
|
628
616
|
interface RecentActivityWidgetWithContextProps {
|
|
@@ -2985,19 +2985,7 @@ interface RecentActivityCardLabels {
|
|
|
2985
2985
|
retry: string;
|
|
2986
2986
|
}
|
|
2987
2987
|
|
|
2988
|
-
|
|
2989
|
-
/** Row's accessible name, e.g. "Home Depot, Operating ending 4821, Oct 28, 2026, −$318.40". */
|
|
2990
|
-
rowAriaLabel: (parts: {
|
|
2991
|
-
description: string;
|
|
2992
|
-
nickname: string;
|
|
2993
|
-
last4: string;
|
|
2994
|
-
date: string;
|
|
2995
|
-
amount: string;
|
|
2996
|
-
}) => string;
|
|
2997
|
-
}
|
|
2998
|
-
|
|
2999
|
-
interface RecentActivityWidgetLabels extends RecentActivityCardLabels, RecentActivityRowLabels {
|
|
3000
|
-
}
|
|
2988
|
+
type RecentActivityWidgetLabels = RecentActivityCardLabels;
|
|
3001
2989
|
|
|
3002
2990
|
interface RecentActivityWidgetWithContextProps {
|
|
3003
2991
|
/** Merged with RECENT_ACTIVITY_WIDGET_LABELS_EN — only override what you need. */
|
|
@@ -1,69 +1,71 @@
|
|
|
1
|
-
import { Button as e, Combobox as t, DisplayAmount as n, Select as r, SelectContent as i, SelectItem as a, SelectTrigger as o, SelectValue as s, Skeleton as c, Tabs as
|
|
2
|
-
import { WidgetFrame as
|
|
3
|
-
import { StatePanel as
|
|
4
|
-
import { ErrorState as
|
|
5
|
-
import { LoadingRegion as
|
|
1
|
+
import { Button as e, Combobox as t, DisplayAmount as n, Select as r, SelectContent as i, SelectItem as a, SelectTrigger as o, SelectValue as s, Skeleton as c, Tabs as ee, TabsList as l, TabsTrigger as u } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { WidgetFrame as d } from "../../../../../shared/ui/dist/lib/WidgetFrame/WidgetFrame.js";
|
|
3
|
+
import { StatePanel as f } from "../../../../../shared/ui/dist/lib/StatePanel/StatePanel.js";
|
|
4
|
+
import { ErrorState as p } from "../../../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
5
|
+
import { LoadingRegion as m } from "../../../../../shared/ui/dist/lib/LoadingRegion/LoadingRegion.js";
|
|
6
6
|
import "../../../../../shared/ui/dist/index.js";
|
|
7
|
-
import { BALANCE_HISTORY_CARD_LABELS_EN as
|
|
8
|
-
import { BalanceHistoryChart as
|
|
9
|
-
import { useId as
|
|
10
|
-
import { Fragment as
|
|
11
|
-
import { ChartLineIcon as
|
|
7
|
+
import { BALANCE_HISTORY_CARD_LABELS_EN as h } from "./labels.js";
|
|
8
|
+
import { BalanceHistoryChart as g } from "./BalanceHistoryChart.js";
|
|
9
|
+
import { useId as _ } from "react";
|
|
10
|
+
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
11
|
+
import { ChartLineIcon as x } from "lucide-react";
|
|
12
12
|
// ../../libs/tesouro-embedded-components-react/balance-history-widget/ui/dist/lib/BalanceHistoryCard/BalanceHistoryCard.js
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
let
|
|
16
|
-
...
|
|
17
|
-
...
|
|
18
|
-
}, Y =
|
|
13
|
+
var S = "ttw:h-56", te = 10;
|
|
14
|
+
function C({ accountOptions: C, selectedAccount: w, onAccountChange: T, rangeOptions: E, selectedRange: D, onRangeChange: O, change: k, changeSpokenLabel: A, changeDescription: j, points: M, xDomain: N, xTicks: P, yDomain: F, yTicks: I, yTickLabel: L, markFirstPoint: R, emptyNotice: z, isLoading: B = !1, isError: V = !1, onRetry: H, labels: U, testIds: W, className: G, style: K }) {
|
|
15
|
+
let q = {
|
|
16
|
+
...h,
|
|
17
|
+
...U
|
|
18
|
+
}, J = _(), Y = _(), X = _(), Z = _(), Q = C.length > 0 && !V ? C.length > te ? /* @__PURE__ */ b("div", {
|
|
19
19
|
className: "ttw:w-64",
|
|
20
|
-
children: [/* @__PURE__ */
|
|
21
|
-
htmlFor:
|
|
20
|
+
children: [/* @__PURE__ */ y("label", {
|
|
21
|
+
htmlFor: J,
|
|
22
22
|
className: "ttw:sr-only",
|
|
23
|
-
children:
|
|
24
|
-
}), /* @__PURE__ */
|
|
25
|
-
inputId:
|
|
26
|
-
items:
|
|
27
|
-
value:
|
|
28
|
-
onValueChange: (e) =>
|
|
23
|
+
children: q.accountSelect
|
|
24
|
+
}), /* @__PURE__ */ y(t, {
|
|
25
|
+
inputId: J,
|
|
26
|
+
items: C,
|
|
27
|
+
value: w,
|
|
28
|
+
onValueChange: (e) => T(String(e)),
|
|
29
29
|
labels: {
|
|
30
|
-
placeholder:
|
|
31
|
-
emptyMessage:
|
|
32
|
-
clearAriaLabel:
|
|
30
|
+
placeholder: q.accountSearchPlaceholder,
|
|
31
|
+
emptyMessage: q.accountSearchEmpty,
|
|
32
|
+
clearAriaLabel: q.accountSearchClear
|
|
33
33
|
},
|
|
34
|
-
"data-testid":
|
|
34
|
+
"data-testid": W?.accountSelect
|
|
35
35
|
})]
|
|
36
|
-
}) : /* @__PURE__ */
|
|
37
|
-
value:
|
|
38
|
-
onValueChange:
|
|
39
|
-
children: [/* @__PURE__ */
|
|
36
|
+
}) : /* @__PURE__ */ b(r, {
|
|
37
|
+
value: w,
|
|
38
|
+
onValueChange: T,
|
|
39
|
+
children: [/* @__PURE__ */ y(o, {
|
|
40
40
|
size: "sm",
|
|
41
|
-
"aria-label":
|
|
42
|
-
"data-testid":
|
|
43
|
-
children: /* @__PURE__ */
|
|
44
|
-
}), /* @__PURE__ */
|
|
41
|
+
"aria-label": q.accountSelect,
|
|
42
|
+
"data-testid": W?.accountSelect,
|
|
43
|
+
children: /* @__PURE__ */ y(s, {})
|
|
44
|
+
}), /* @__PURE__ */ y(i, {
|
|
45
45
|
position: "popper",
|
|
46
46
|
align: "end",
|
|
47
|
-
|
|
47
|
+
"aria-label": q.accountSelect,
|
|
48
|
+
children: C.map((e) => /* @__PURE__ */ y(a, {
|
|
48
49
|
value: e.value,
|
|
49
50
|
description: e.description,
|
|
50
51
|
children: e.label
|
|
51
52
|
}, e.value))
|
|
52
53
|
})]
|
|
53
|
-
}) : null, $ =
|
|
54
|
-
value:
|
|
55
|
-
onValueChange:
|
|
56
|
-
children: /* @__PURE__ */
|
|
54
|
+
}) : null, $ = V ? null : /* @__PURE__ */ y(ee, {
|
|
55
|
+
value: D,
|
|
56
|
+
onValueChange: O,
|
|
57
|
+
children: /* @__PURE__ */ y(l, {
|
|
57
58
|
variant: "pills",
|
|
58
|
-
"aria-label":
|
|
59
|
-
"data-testid":
|
|
60
|
-
children:
|
|
61
|
-
let t = `${
|
|
62
|
-
return /* @__PURE__ */
|
|
59
|
+
"aria-label": q.rangeTabs,
|
|
60
|
+
"data-testid": W?.rangeTabs,
|
|
61
|
+
children: E.map((e) => {
|
|
62
|
+
let t = `${Y}-${e.value}`, n = e.disabled && e.disabledReason;
|
|
63
|
+
return /* @__PURE__ */ b(u, {
|
|
63
64
|
value: e.value,
|
|
64
65
|
disabled: e.disabled,
|
|
66
|
+
"aria-controls": Z,
|
|
65
67
|
"aria-describedby": n ? t : void 0,
|
|
66
|
-
children: [e.label, n ? /* @__PURE__ */
|
|
68
|
+
children: [e.label, n ? /* @__PURE__ */ y("span", {
|
|
67
69
|
id: t,
|
|
68
70
|
className: "ttw:sr-only",
|
|
69
71
|
children: e.disabledReason
|
|
@@ -72,100 +74,101 @@ function w({ accountOptions: w, selectedAccount: T, onAccountChange: E, rangeOpt
|
|
|
72
74
|
})
|
|
73
75
|
})
|
|
74
76
|
});
|
|
75
|
-
return /* @__PURE__ */
|
|
76
|
-
title:
|
|
77
|
-
action: Q || $ ? /* @__PURE__ */
|
|
78
|
-
className:
|
|
79
|
-
style:
|
|
80
|
-
"data-testid":
|
|
81
|
-
children:
|
|
82
|
-
title:
|
|
83
|
-
description:
|
|
84
|
-
retryLabel:
|
|
85
|
-
onRetry:
|
|
86
|
-
testId:
|
|
87
|
-
}) : /* @__PURE__ */
|
|
88
|
-
|
|
89
|
-
|
|
77
|
+
return /* @__PURE__ */ y(d, {
|
|
78
|
+
title: q.title,
|
|
79
|
+
action: Q || $ ? /* @__PURE__ */ b(v, { children: [Q, $] }) : null,
|
|
80
|
+
className: G,
|
|
81
|
+
style: K,
|
|
82
|
+
"data-testid": W?.root,
|
|
83
|
+
children: V ? /* @__PURE__ */ y(p, {
|
|
84
|
+
title: q.errorTitle,
|
|
85
|
+
description: q.errorDescription,
|
|
86
|
+
retryLabel: q.retry,
|
|
87
|
+
onRetry: H,
|
|
88
|
+
testId: W?.error
|
|
89
|
+
}) : /* @__PURE__ */ y(m, {
|
|
90
|
+
id: Z,
|
|
91
|
+
isLoading: B,
|
|
92
|
+
loadingLabel: q.loading,
|
|
90
93
|
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
91
|
-
children:
|
|
94
|
+
children: B ? /* @__PURE__ */ b("div", {
|
|
92
95
|
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
93
|
-
"data-testid":
|
|
94
|
-
children: [/* @__PURE__ */
|
|
96
|
+
"data-testid": W?.skeleton,
|
|
97
|
+
children: [/* @__PURE__ */ b("div", {
|
|
95
98
|
className: "ttw:flex ttw:flex-wrap ttw:items-end ttw:gap-3",
|
|
96
|
-
children: [/* @__PURE__ */
|
|
97
|
-
}), /* @__PURE__ */
|
|
98
|
-
}) : /* @__PURE__ */
|
|
99
|
-
id:
|
|
99
|
+
children: [/* @__PURE__ */ y(c, { className: "ttw:h-9 ttw:w-40" }), /* @__PURE__ */ y(c, { className: "ttw:h-4 ttw:w-64" })]
|
|
100
|
+
}), /* @__PURE__ */ y(c, { className: `${S} ttw:w-full` })]
|
|
101
|
+
}) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ b("div", {
|
|
102
|
+
id: X,
|
|
100
103
|
className: "ttw:flex ttw:min-w-0 ttw:flex-wrap ttw:items-baseline ttw:gap-x-3 ttw:gap-y-1",
|
|
101
|
-
"data-testid":
|
|
104
|
+
"data-testid": W?.change,
|
|
102
105
|
children: [
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
"aria-hidden":
|
|
105
|
-
children:
|
|
106
|
+
/* @__PURE__ */ y(n, {
|
|
107
|
+
"aria-hidden": A ? !0 : void 0,
|
|
108
|
+
children: k
|
|
106
109
|
}),
|
|
107
|
-
|
|
110
|
+
A ? /* @__PURE__ */ y("span", {
|
|
108
111
|
className: "ttw:sr-only",
|
|
109
|
-
children:
|
|
112
|
+
children: A
|
|
110
113
|
}) : null,
|
|
111
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ y("p", {
|
|
112
115
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
113
|
-
children:
|
|
116
|
+
children: j
|
|
114
117
|
})
|
|
115
118
|
]
|
|
116
|
-
}), /* @__PURE__ */
|
|
117
|
-
className: `ttw:relative ${
|
|
119
|
+
}), /* @__PURE__ */ b("div", {
|
|
120
|
+
className: `ttw:relative ${S} ttw:w-full`,
|
|
118
121
|
children: [
|
|
119
|
-
/* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ y("div", {
|
|
120
123
|
role: "img",
|
|
121
|
-
"aria-label":
|
|
122
|
-
"aria-describedby":
|
|
124
|
+
"aria-label": q.chart,
|
|
125
|
+
"aria-describedby": X,
|
|
123
126
|
className: "ttw:size-full",
|
|
124
|
-
"data-testid":
|
|
125
|
-
children: /* @__PURE__ */
|
|
126
|
-
points:
|
|
127
|
-
seriesName:
|
|
128
|
-
tooltipSeparator:
|
|
129
|
-
xDomain:
|
|
130
|
-
xTicks:
|
|
131
|
-
yDomain:
|
|
132
|
-
yTicks:
|
|
133
|
-
yTickLabel:
|
|
134
|
-
markFirstPoint:
|
|
127
|
+
"data-testid": W?.chart,
|
|
128
|
+
children: /* @__PURE__ */ y(g, {
|
|
129
|
+
points: M,
|
|
130
|
+
seriesName: q.seriesName,
|
|
131
|
+
tooltipSeparator: q.tooltipSeparator,
|
|
132
|
+
xDomain: N,
|
|
133
|
+
xTicks: P,
|
|
134
|
+
yDomain: F,
|
|
135
|
+
yTicks: I,
|
|
136
|
+
yTickLabel: L,
|
|
137
|
+
markFirstPoint: R
|
|
135
138
|
})
|
|
136
139
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ b("table", {
|
|
138
141
|
className: "ttw:sr-only",
|
|
139
142
|
children: [
|
|
140
|
-
/* @__PURE__ */
|
|
141
|
-
/* @__PURE__ */
|
|
143
|
+
/* @__PURE__ */ y("caption", { children: q.dataTable }),
|
|
144
|
+
/* @__PURE__ */ y("thead", { children: /* @__PURE__ */ b("tr", { children: [/* @__PURE__ */ y("th", {
|
|
142
145
|
scope: "col",
|
|
143
|
-
children:
|
|
144
|
-
}), /* @__PURE__ */
|
|
146
|
+
children: q.dateColumn
|
|
147
|
+
}), /* @__PURE__ */ y("th", {
|
|
145
148
|
scope: "col",
|
|
146
|
-
children:
|
|
149
|
+
children: q.seriesName
|
|
147
150
|
})] }) }),
|
|
148
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ y("tbody", { children: M.map((e, t) => /* @__PURE__ */ b("tr", { children: [/* @__PURE__ */ y("th", {
|
|
149
152
|
scope: "row",
|
|
150
153
|
children: e.tooltipTitle
|
|
151
|
-
}), /* @__PURE__ */
|
|
154
|
+
}), /* @__PURE__ */ y("td", { children: e.valueLabel })] }, t)) })
|
|
152
155
|
]
|
|
153
156
|
}),
|
|
154
|
-
|
|
157
|
+
z ? /* @__PURE__ */ y("div", {
|
|
155
158
|
className: "ttw:absolute ttw:inset-0 ttw:flex ttw:items-center ttw:justify-center ttw:pb-6 ttw:pl-14",
|
|
156
|
-
children: /* @__PURE__ */
|
|
159
|
+
children: /* @__PURE__ */ y(f, {
|
|
157
160
|
kind: "empty",
|
|
158
|
-
icon: /* @__PURE__ */
|
|
159
|
-
title:
|
|
160
|
-
description:
|
|
161
|
-
action:
|
|
161
|
+
icon: /* @__PURE__ */ y(x, {}),
|
|
162
|
+
title: z.title,
|
|
163
|
+
description: z.description,
|
|
164
|
+
action: z.action ? /* @__PURE__ */ y(e, {
|
|
162
165
|
variant: "link",
|
|
163
166
|
size: "sm",
|
|
164
|
-
onClick:
|
|
165
|
-
children:
|
|
167
|
+
onClick: z.action.onClick,
|
|
168
|
+
children: z.action.label
|
|
166
169
|
}) : void 0,
|
|
167
170
|
className: "ttw:rounded-lg ttw:bg-card ttw:py-4",
|
|
168
|
-
testId:
|
|
171
|
+
testId: W?.emptyNotice
|
|
169
172
|
})
|
|
170
173
|
}) : null
|
|
171
174
|
]
|
|
@@ -173,4 +176,4 @@ function w({ accountOptions: w, selectedAccount: T, onAccountChange: E, rangeOpt
|
|
|
173
176
|
})
|
|
174
177
|
});
|
|
175
178
|
}
|
|
176
|
-
export {
|
|
179
|
+
export { C as BalanceHistoryCard };
|
|
@@ -17,7 +17,7 @@ function x({ labels: m, open: x, form: S, legalCopy: C, accessRows: w, isTeamMem
|
|
|
17
17
|
let I = C.agreementUrl, L = I ? m.createLegalTemplate : m.createLegalTemplateWithoutAgreement, R = I ? /* @__PURE__ */ h(e, {
|
|
18
18
|
variant: "link",
|
|
19
19
|
asChild: !0,
|
|
20
|
-
className: "ttw:inline ttw:h-auto ttw:p-0 ttw:text-sm ttw:font-normal",
|
|
20
|
+
className: "ttw:inline ttw:h-auto ttw:p-0 ttw:text-sm ttw:font-normal ttw:underline",
|
|
21
21
|
children: /* @__PURE__ */ h("a", {
|
|
22
22
|
href: I,
|
|
23
23
|
target: "_blank",
|