@tesouro/embedded-components-react 0.7.15 → 0.7.17
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 +6 -12
- package/dist/index.d.ts +31 -14
- package/dist/lib/AcceptDisclosuresWidget.d.ts +7 -0
- package/dist/lib/BankAccountOnboardingWidget.d.ts +4 -2
- package/dist/lib/LinkedAccountsWidget.d.ts +20 -12
- package/dist/lib/WidgetSuite.d.ts +24 -14
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +97 -97
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/lib/AcceptDisclosuresWidget/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +441 -433
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/forms.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/labels.js +11 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/summary.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/useLinkedAccountsWidget.js +182 -162
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/mocks/linkedAccounts.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index10.js +36 -86
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js +17 -23
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index15.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index16.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index5.js +168 -35
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +70 -83
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index7.js +11 -112
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +82 -7
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js
CHANGED
|
@@ -1,90 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Button as e, DialogDescription as t, DialogFooter as n, DialogHeader as r, DialogTitle as i, cn as a } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
3
|
+
import { CheckIcon as l } from "lucide-react";
|
|
4
4
|
//#region ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js
|
|
5
|
-
function
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
-
className: "ttw:
|
|
8
|
-
children:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
function u({ parts: e }) {
|
|
6
|
+
return e.map((e, t) => /* @__PURE__ */ s("span", {
|
|
7
|
+
className: a(e.emphasized && "ttw:font-semibold ttw:text-foreground"),
|
|
8
|
+
children: e.text
|
|
9
|
+
}, t));
|
|
10
|
+
}
|
|
11
|
+
function d({ labels: d, summary: f, onDone: p }) {
|
|
12
|
+
let { nextSteps: m } = f;
|
|
13
|
+
return /* @__PURE__ */ c(o, { children: [
|
|
14
|
+
/* @__PURE__ */ c(r, {
|
|
15
|
+
className: "ttw:flex ttw:flex-row ttw:items-start ttw:gap-4 ttw:px-6 ttw:pb-5 ttw:pt-6 ttw:pr-12 ttw:text-left",
|
|
16
|
+
children: [/* @__PURE__ */ s("div", {
|
|
17
|
+
className: "ttw:flex ttw:size-10 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-emerald-100 ttw:text-emerald-700",
|
|
18
|
+
children: /* @__PURE__ */ s(l, {
|
|
19
|
+
className: "ttw:size-5",
|
|
20
|
+
"aria-hidden": "true"
|
|
21
|
+
})
|
|
22
|
+
}), /* @__PURE__ */ c("div", {
|
|
23
|
+
className: "ttw:min-w-0 ttw:space-y-1",
|
|
24
|
+
children: [/* @__PURE__ */ s(i, {
|
|
25
|
+
className: "ttw:text-lg",
|
|
26
|
+
children: f.variant === "deposits-sent" ? d.summaryTitle : d.summaryAccountAddedTitle
|
|
27
|
+
}), /* @__PURE__ */ s(t, {
|
|
15
28
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
16
|
-
children:
|
|
29
|
+
children: /* @__PURE__ */ s(u, { parts: f.description })
|
|
17
30
|
})]
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
className: "ttw:
|
|
31
|
-
children: /* @__PURE__ */ s(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
})
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
})]
|
|
32
|
+
}),
|
|
33
|
+
m.length > 0 && /* @__PURE__ */ c("div", {
|
|
34
|
+
className: "ttw:min-h-0 ttw:flex-1 ttw:space-y-4 ttw:overflow-y-auto ttw:border-t ttw:border-border ttw:px-6 ttw:py-5",
|
|
35
|
+
children: [/* @__PURE__ */ s("h3", {
|
|
36
|
+
className: "ttw:text-xs ttw:font-semibold ttw:uppercase ttw:tracking-wide ttw:text-muted-foreground",
|
|
37
|
+
children: d.summaryNextStepsHeading
|
|
38
|
+
}), /* @__PURE__ */ s("ol", { children: m.map((e, t) => {
|
|
39
|
+
let n = t === m.length - 1;
|
|
40
|
+
return /* @__PURE__ */ c("li", {
|
|
41
|
+
className: "ttw:flex ttw:gap-3",
|
|
42
|
+
children: [/* @__PURE__ */ c("div", {
|
|
43
|
+
className: "ttw:flex ttw:flex-col ttw:items-center",
|
|
44
|
+
children: [/* @__PURE__ */ s("span", {
|
|
45
|
+
className: "ttw:flex ttw:size-6 ttw:shrink-0 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-border ttw:bg-background ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
|
|
46
|
+
children: t + 1
|
|
47
|
+
}), !n && /* @__PURE__ */ s("span", {
|
|
48
|
+
className: "ttw:my-1 ttw:w-px ttw:flex-1 ttw:bg-border",
|
|
49
|
+
"aria-hidden": "true"
|
|
50
|
+
})]
|
|
51
|
+
}), /* @__PURE__ */ c("div", {
|
|
52
|
+
className: a("ttw:min-w-0 ttw:flex-1 ttw:space-y-0.5 ttw:pt-0.5", !n && "ttw:pb-5"),
|
|
53
|
+
children: [/* @__PURE__ */ s("p", {
|
|
54
|
+
className: "ttw:text-sm ttw:font-semibold ttw:text-foreground",
|
|
55
|
+
children: e.title
|
|
56
|
+
}), /* @__PURE__ */ s("p", {
|
|
57
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
58
|
+
children: /* @__PURE__ */ s(u, { parts: e.description })
|
|
59
|
+
})]
|
|
46
60
|
})]
|
|
47
|
-
})
|
|
48
|
-
})
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
})
|
|
59
|
-
}),
|
|
60
|
-
/* @__PURE__ */ s(o, {
|
|
61
|
-
id: "linked-account-number",
|
|
62
|
-
label: l.accountNumberLabel,
|
|
63
|
-
value: u.accountNumber,
|
|
64
|
-
disabled: d,
|
|
65
|
-
required: !0,
|
|
66
|
-
onChange: (e) => p({
|
|
67
|
-
...u,
|
|
68
|
-
accountNumber: e
|
|
69
|
-
})
|
|
70
|
-
}),
|
|
71
|
-
/* @__PURE__ */ s(o, {
|
|
72
|
-
id: "linked-account-routing",
|
|
73
|
-
label: l.routingNumberLabel,
|
|
74
|
-
value: u.routingNumber,
|
|
75
|
-
disabled: d,
|
|
76
|
-
required: !0,
|
|
77
|
-
error: f,
|
|
78
|
-
errorMessage: l.routingNumberError,
|
|
79
|
-
maxLength: 9,
|
|
80
|
-
inputMode: "numeric",
|
|
81
|
-
onChange: (e) => p({
|
|
82
|
-
...u,
|
|
83
|
-
routingNumber: e
|
|
84
|
-
})
|
|
61
|
+
}, e.key);
|
|
62
|
+
}) })]
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ s(n, {
|
|
65
|
+
className: "ttw:border-t ttw:border-border ttw:px-6 ttw:pb-6 ttw:pt-4",
|
|
66
|
+
children: /* @__PURE__ */ s(e, {
|
|
67
|
+
type: "button",
|
|
68
|
+
variant: "outline",
|
|
69
|
+
className: "ttw:w-full",
|
|
70
|
+
onClick: p,
|
|
71
|
+
children: d.doneButton
|
|
85
72
|
})
|
|
86
|
-
|
|
87
|
-
});
|
|
73
|
+
})
|
|
74
|
+
] });
|
|
88
75
|
}
|
|
89
76
|
//#endregion
|
|
90
|
-
export {
|
|
77
|
+
export { d as ConnectStepSummary };
|
package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index7.js
CHANGED
|
@@ -1,116 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FeaturedIcon as i } from "./index2.js";
|
|
3
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
|
-
import { CheckIcon as s, ClockIcon as c, LinkIcon as l } from "lucide-react";
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
5
2
|
//#region ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index7.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
className: "ttw:shrink-0 ttw:hover:bg-neutral ttw:hover:text-neutral-foreground",
|
|
16
|
-
children: [/* @__PURE__ */ a(c, {}), e]
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function f({ title: e, description: t, badge: n, children: r }) {
|
|
20
|
-
return /* @__PURE__ */ o("div", {
|
|
21
|
-
className: "ttw:space-y-2",
|
|
22
|
-
children: [/* @__PURE__ */ o("div", {
|
|
23
|
-
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-3",
|
|
24
|
-
children: [/* @__PURE__ */ o("div", {
|
|
25
|
-
className: "ttw:space-y-1",
|
|
26
|
-
children: [/* @__PURE__ */ a("p", {
|
|
27
|
-
className: "ttw:text-sm ttw:font-semibold ttw:text-foreground",
|
|
28
|
-
children: e
|
|
29
|
-
}), /* @__PURE__ */ a("p", {
|
|
30
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
31
|
-
children: t
|
|
32
|
-
})]
|
|
33
|
-
}), n]
|
|
34
|
-
}), r]
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function p({ labels: n, summary: s }) {
|
|
38
|
-
return /* @__PURE__ */ o("div", {
|
|
39
|
-
className: "ttw:space-y-6",
|
|
40
|
-
children: [
|
|
41
|
-
/* @__PURE__ */ o("div", {
|
|
42
|
-
className: "ttw:space-y-4",
|
|
43
|
-
children: [
|
|
44
|
-
/* @__PURE__ */ a("h3", {
|
|
45
|
-
className: "ttw:text-base ttw:font-semibold ttw:text-primary",
|
|
46
|
-
children: n.summaryCompletedHeading
|
|
47
|
-
}),
|
|
48
|
-
/* @__PURE__ */ a(f, {
|
|
49
|
-
title: n.summaryStep1Title,
|
|
50
|
-
description: n.summaryStep1Description,
|
|
51
|
-
badge: /* @__PURE__ */ a(u, { label: n.statusComplete }),
|
|
52
|
-
children: /* @__PURE__ */ o("div", {
|
|
53
|
-
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:rounded-xl ttw:border ttw:border-border ttw:p-3",
|
|
54
|
-
children: [/* @__PURE__ */ a(i, { children: /* @__PURE__ */ a(l, { className: "ttw:size-5 ttw:text-foreground" }) }), /* @__PURE__ */ o("div", {
|
|
55
|
-
className: "ttw:min-w-0",
|
|
56
|
-
children: [/* @__PURE__ */ a("p", {
|
|
57
|
-
className: "ttw:truncate ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
58
|
-
children: s.nickname
|
|
59
|
-
}), /* @__PURE__ */ a("p", {
|
|
60
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
61
|
-
children: `${n.summaryAccountPrefix} (${s.maskedAccountNumber})`
|
|
62
|
-
})]
|
|
63
|
-
})]
|
|
64
|
-
})
|
|
65
|
-
}),
|
|
66
|
-
/* @__PURE__ */ a(f, {
|
|
67
|
-
title: n.summaryStep2Title,
|
|
68
|
-
description: n.summaryStep2Description,
|
|
69
|
-
badge: /* @__PURE__ */ a(u, { label: n.statusComplete }),
|
|
70
|
-
children: /* @__PURE__ */ a("ul", {
|
|
71
|
-
className: "ttw:divide-y ttw:divide-border ttw:rounded-xl ttw:border ttw:border-border",
|
|
72
|
-
children: s.users.map((n) => /* @__PURE__ */ o("li", {
|
|
73
|
-
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:p-3",
|
|
74
|
-
children: [/* @__PURE__ */ a(e, {
|
|
75
|
-
size: "sm",
|
|
76
|
-
children: /* @__PURE__ */ a(t, { children: n.initials })
|
|
77
|
-
}), /* @__PURE__ */ o("div", {
|
|
78
|
-
className: "ttw:min-w-0",
|
|
79
|
-
children: [/* @__PURE__ */ a("p", {
|
|
80
|
-
className: "ttw:truncate ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
81
|
-
children: n.name
|
|
82
|
-
}), /* @__PURE__ */ a("p", {
|
|
83
|
-
className: "ttw:truncate ttw:text-sm ttw:text-muted-foreground",
|
|
84
|
-
children: n.role
|
|
85
|
-
})]
|
|
86
|
-
})]
|
|
87
|
-
}, n.key))
|
|
88
|
-
})
|
|
89
|
-
})
|
|
90
|
-
]
|
|
91
|
-
}),
|
|
92
|
-
/* @__PURE__ */ a(r, {}),
|
|
93
|
-
/* @__PURE__ */ o("div", {
|
|
94
|
-
className: "ttw:space-y-4",
|
|
95
|
-
children: [
|
|
96
|
-
/* @__PURE__ */ a("h3", {
|
|
97
|
-
className: "ttw:text-base ttw:font-semibold ttw:text-primary",
|
|
98
|
-
children: n.summaryNextStepsHeading
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ a(f, {
|
|
101
|
-
title: n.summaryStep3Title,
|
|
102
|
-
description: n.summaryStep3Description,
|
|
103
|
-
badge: /* @__PURE__ */ a(d, { label: n.statusTodo })
|
|
104
|
-
}),
|
|
105
|
-
/* @__PURE__ */ a(f, {
|
|
106
|
-
title: n.summaryStep4Title,
|
|
107
|
-
description: n.summaryStep4Description,
|
|
108
|
-
badge: /* @__PURE__ */ a(d, { label: n.statusTodo })
|
|
109
|
-
})
|
|
110
|
-
]
|
|
111
|
-
})
|
|
112
|
-
]
|
|
3
|
+
var t = {
|
|
4
|
+
default: "ttw:bg-primary ttw:text-primary-foreground ttw:ring-primary/20",
|
|
5
|
+
destructive: "ttw:bg-destructive ttw:text-destructive-foreground ttw:ring-destructive/20",
|
|
6
|
+
success: "ttw:bg-emerald-100 ttw:text-emerald-600 ttw:ring-emerald-500/20"
|
|
7
|
+
};
|
|
8
|
+
function n({ children: n, variant: r = "default" }) {
|
|
9
|
+
return /* @__PURE__ */ e("span", {
|
|
10
|
+
className: `ttw:flex ttw:size-11 ttw:items-center ttw:justify-center ttw:rounded-full ttw:ring-8 ${t[r]}`,
|
|
11
|
+
children: n
|
|
113
12
|
});
|
|
114
13
|
}
|
|
115
14
|
//#endregion
|
|
116
|
-
export {
|
|
15
|
+
export { n as DialogFeaturedIcon };
|
package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
1
|
//#region ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var e = {
|
|
3
|
+
connectAccountButton: "linked-accounts-widget-connect-account-button",
|
|
4
|
+
emptyState: "linked-accounts-widget-empty-state",
|
|
5
|
+
connectAccountDialog: "linked-accounts-widget-connect-account-dialog",
|
|
6
|
+
verifySuccessTitle: "linked-accounts-widget-verify-success-title"
|
|
7
7
|
};
|
|
8
|
-
function n({ children: n, variant: r = "default" }) {
|
|
9
|
-
return /* @__PURE__ */ e("span", {
|
|
10
|
-
className: `ttw:flex ttw:size-11 ttw:items-center ttw:justify-center ttw:rounded-full ttw:ring-8 ${t[r]}`,
|
|
11
|
-
children: n
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
8
|
//#endregion
|
|
15
|
-
export {
|
|
9
|
+
export { e as linkedAccountsWidgetUiTestIds };
|
package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js
CHANGED
|
@@ -1,9 +1,84 @@
|
|
|
1
|
+
import { Button as e, Dialog as t, DialogContent as n, DialogFooter as r, DialogHeader as i, DialogTitle as a } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { InlineErrorAlert as o } from "../../../shared/ui/dist/lib/InlineErrorAlert/InlineErrorAlert.js";
|
|
3
|
+
import "../../../shared/ui/dist/index.js";
|
|
4
|
+
import { linkedAccountsWidgetUiTestIds as s } from "./index8.js";
|
|
5
|
+
import { ConnectStepAccess as c } from "./index4.js";
|
|
6
|
+
import { ConnectStepDetails as l } from "./index5.js";
|
|
7
|
+
import { ConnectStepSummary as u } from "./index6.js";
|
|
8
|
+
import { DialogFeaturedIcon as d } from "./index7.js";
|
|
9
|
+
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
10
|
+
import { ArrowRightIcon as h, LinkIcon as g } from "lucide-react";
|
|
1
11
|
//#region ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
12
|
+
var _ = 2;
|
|
13
|
+
function v({ open: v, labels: y, connectStep: b, connectForm: x, accessRows: S, accessGrantedCount: C, connectSummary: w, isTeamMembersLoading: T, isTeamMembersError: E, isSubmitting: D, isActionDisabled: O, canConnect: k, isConnectError: A, isConnectNextDisabled: j, isConnectRoutingNumberInvalid: M, connectErrorMessage: N, onOpenChange: P, onConnectFormChange: F, onConnectNext: I, onConnectBack: L }) {
|
|
14
|
+
let R = O || !k, z = b === 3, B = y.stepIndicator.replace("{current}", String(b)).replace("{total}", String(_));
|
|
15
|
+
return /* @__PURE__ */ p(t, {
|
|
16
|
+
open: v,
|
|
17
|
+
onOpenChange: P,
|
|
18
|
+
children: /* @__PURE__ */ p(n, {
|
|
19
|
+
showCloseButton: !0,
|
|
20
|
+
"data-testid": s.connectAccountDialog,
|
|
21
|
+
className: "ttw:flex ttw:max-h-[90dvh] ttw:flex-col ttw:gap-0 ttw:rounded-xl ttw:p-0",
|
|
22
|
+
children: z && w ? /* @__PURE__ */ p(u, {
|
|
23
|
+
labels: y,
|
|
24
|
+
summary: w,
|
|
25
|
+
onDone: () => P(!1)
|
|
26
|
+
}) : /* @__PURE__ */ m(f, { children: [
|
|
27
|
+
/* @__PURE__ */ m(i, {
|
|
28
|
+
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-3 ttw:px-6 ttw:pb-4 ttw:pt-6 ttw:text-left",
|
|
29
|
+
children: [/* @__PURE__ */ p(d, { children: /* @__PURE__ */ p(g, { className: "ttw:size-5" }) }), /* @__PURE__ */ p(a, {
|
|
30
|
+
className: "ttw:text-xl",
|
|
31
|
+
children: y.connectTitle
|
|
32
|
+
})]
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ m("div", {
|
|
35
|
+
className: "ttw:min-h-0 ttw:flex-1 ttw:space-y-4 ttw:overflow-y-auto ttw:border-y ttw:border-border ttw:p-6",
|
|
36
|
+
children: [
|
|
37
|
+
b === 1 && /* @__PURE__ */ p(l, {
|
|
38
|
+
labels: y,
|
|
39
|
+
connectForm: x,
|
|
40
|
+
disabled: R,
|
|
41
|
+
routingNumberError: M,
|
|
42
|
+
onConnectFormChange: F
|
|
43
|
+
}),
|
|
44
|
+
b === 2 && /* @__PURE__ */ p(c, {
|
|
45
|
+
labels: y,
|
|
46
|
+
rows: S,
|
|
47
|
+
grantedCount: C,
|
|
48
|
+
isLoading: T,
|
|
49
|
+
isError: E
|
|
50
|
+
}),
|
|
51
|
+
A && /* @__PURE__ */ p(o, { children: N ?? y.actionErrorTitle })
|
|
52
|
+
]
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ p(r, {
|
|
55
|
+
className: "ttw:px-6 ttw:pb-6 ttw:pt-4",
|
|
56
|
+
children: /* @__PURE__ */ m("div", {
|
|
57
|
+
className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-3",
|
|
58
|
+
children: [/* @__PURE__ */ p("span", {
|
|
59
|
+
className: "ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
|
|
60
|
+
children: B
|
|
61
|
+
}), /* @__PURE__ */ m("div", {
|
|
62
|
+
className: "ttw:flex ttw:gap-2",
|
|
63
|
+
children: [/* @__PURE__ */ p(e, {
|
|
64
|
+
type: "button",
|
|
65
|
+
variant: "outline",
|
|
66
|
+
disabled: D,
|
|
67
|
+
onClick: b === 1 ? () => P(!1) : L,
|
|
68
|
+
children: b === 1 ? y.cancelButton : y.backButton
|
|
69
|
+
}), /* @__PURE__ */ m(e, {
|
|
70
|
+
type: "button",
|
|
71
|
+
loading: D,
|
|
72
|
+
disabled: R || j,
|
|
73
|
+
onClick: I,
|
|
74
|
+
children: [y.nextButton, /* @__PURE__ */ p(h, {})]
|
|
75
|
+
})]
|
|
76
|
+
})]
|
|
77
|
+
})
|
|
78
|
+
})
|
|
79
|
+
] })
|
|
80
|
+
})
|
|
81
|
+
});
|
|
82
|
+
}
|
|
8
83
|
//#endregion
|
|
9
|
-
export {
|
|
84
|
+
export { v as ConnectAccountDialog };
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.7.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.7.17", n = "99580c8c91e4a997d5e07f8ee7a32e837233cd77", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|