@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/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index10.js
CHANGED
|
@@ -1,39 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ConfirmDialog as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { AccountTemplate as t } from "./index9.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
4
|
// ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index10.js
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
className: "ttw:peer ttw:h-auto ttw:min-h-12 ttw:rounded-xl ttw:px-3 ttw:pt-5 ttw:pb-1 ttw:text-base ttw:leading-6 ttw:placeholder:text-transparent"
|
|
23
|
-
}), /* @__PURE__ */ r(t, {
|
|
24
|
-
htmlFor: i,
|
|
25
|
-
className: `ttw:pointer-events-none ttw:absolute ttw:top-1.5 ttw:left-3 ttw:gap-0.5 ttw:font-normal ttw:text-xs ttw:transition-all ttw:peer-placeholder-shown:top-1/2 ttw:peer-placeholder-shown:-translate-y-1/2 ttw:peer-placeholder-shown:text-base ttw:peer-focus:top-1.5 ttw:peer-focus:translate-y-0 ttw:peer-focus:text-xs ${u ? "ttw:text-destructive" : "ttw:text-muted-foreground"}`,
|
|
26
|
-
children: [a, l && /* @__PURE__ */ n("span", {
|
|
27
|
-
className: "ttw:text-destructive",
|
|
28
|
-
"aria-hidden": "true",
|
|
29
|
-
children: "*"
|
|
30
|
-
})]
|
|
31
|
-
})]
|
|
32
|
-
}), u && d && /* @__PURE__ */ n("p", {
|
|
33
|
-
id: h,
|
|
34
|
-
className: "ttw:text-xs ttw:text-destructive",
|
|
35
|
-
children: d
|
|
36
|
-
})]
|
|
5
|
+
function r({ open: r, labels: i, accountNumber: a, isSubmitting: o, isAuthPending: s = !1, isError: c, onOpenChange: l, onConfirm: u }) {
|
|
6
|
+
return /* @__PURE__ */ n(e, {
|
|
7
|
+
submitError: c ? i.sendDepositsErrorTitle : void 0,
|
|
8
|
+
open: r,
|
|
9
|
+
onOpenChange: l,
|
|
10
|
+
title: i.sendDepositsTitle,
|
|
11
|
+
description: /* @__PURE__ */ n(t, {
|
|
12
|
+
template: i.sendDepositsDescription,
|
|
13
|
+
accountNumber: a
|
|
14
|
+
}),
|
|
15
|
+
loading: o,
|
|
16
|
+
confirmDisabled: s,
|
|
17
|
+
onConfirm: u,
|
|
18
|
+
labels: {
|
|
19
|
+
confirm: i.sendDepositsConfirmButton,
|
|
20
|
+
cancel: i.cancelButton,
|
|
21
|
+
close: i.closeButton
|
|
22
|
+
}
|
|
37
23
|
});
|
|
38
24
|
}
|
|
39
|
-
export {
|
|
25
|
+
export { r as SendDepositsDialog };
|
package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js
CHANGED
|
@@ -1,73 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import { TextInput as s } from "./index10.js";
|
|
5
|
-
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
1
|
+
import { ConfirmDialog as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { AccountTemplate as t } from "./index9.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
6
4
|
// ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/* @__PURE__ */ c(s, {
|
|
27
|
-
id: "linked-account-edit-nickname",
|
|
28
|
-
label: d.nicknameLabel,
|
|
29
|
-
value: f.nickname,
|
|
30
|
-
disabled: m,
|
|
31
|
-
required: !0,
|
|
32
|
-
onChange: (e) => _({
|
|
33
|
-
...f,
|
|
34
|
-
nickname: e
|
|
35
|
-
})
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ c(s, {
|
|
38
|
-
id: "linked-account-edit-account-number",
|
|
39
|
-
label: d.accountNumberLabel,
|
|
40
|
-
value: f.accountNumber,
|
|
41
|
-
readOnly: !0,
|
|
42
|
-
disabled: !0
|
|
43
|
-
}),
|
|
44
|
-
/* @__PURE__ */ c(s, {
|
|
45
|
-
id: "linked-account-edit-routing-number",
|
|
46
|
-
label: d.routingNumberLabel,
|
|
47
|
-
value: f.routingNumber,
|
|
48
|
-
readOnly: !0,
|
|
49
|
-
disabled: !0
|
|
50
|
-
}),
|
|
51
|
-
h && /* @__PURE__ */ c(o, { children: d.actionErrorTitle })
|
|
52
|
-
]
|
|
53
|
-
}),
|
|
54
|
-
/* @__PURE__ */ l(r, {
|
|
55
|
-
className: "ttw:px-6 ttw:pb-6 ttw:pt-4",
|
|
56
|
-
children: [/* @__PURE__ */ c(e, {
|
|
57
|
-
type: "button",
|
|
58
|
-
variant: "outline",
|
|
59
|
-
onClick: () => g(!1),
|
|
60
|
-
children: d.cancelButton
|
|
61
|
-
}), /* @__PURE__ */ c(e, {
|
|
62
|
-
type: "button",
|
|
63
|
-
loading: p,
|
|
64
|
-
disabled: m,
|
|
65
|
-
onClick: v,
|
|
66
|
-
children: d.saveButton
|
|
67
|
-
})]
|
|
68
|
-
})
|
|
69
|
-
]
|
|
70
|
-
})
|
|
5
|
+
function r({ open: r, labels: i, accountNumber: a, isSubmitting: o, isAuthPending: s = !1, isError: c, onOpenChange: l, onUnlinkConfirm: u }) {
|
|
6
|
+
return /* @__PURE__ */ n(e, {
|
|
7
|
+
submitError: c ? i.unlinkErrorTitle : void 0,
|
|
8
|
+
open: r,
|
|
9
|
+
onOpenChange: l,
|
|
10
|
+
title: i.unlinkTitle,
|
|
11
|
+
description: /* @__PURE__ */ n(t, {
|
|
12
|
+
template: i.unlinkDescription,
|
|
13
|
+
accountNumber: a
|
|
14
|
+
}),
|
|
15
|
+
destructive: !0,
|
|
16
|
+
loading: o,
|
|
17
|
+
confirmDisabled: s,
|
|
18
|
+
onConfirm: u,
|
|
19
|
+
labels: {
|
|
20
|
+
confirm: i.unlinkConfirmButton,
|
|
21
|
+
cancel: i.cancelButton,
|
|
22
|
+
close: i.closeButton
|
|
23
|
+
}
|
|
71
24
|
});
|
|
72
25
|
}
|
|
73
|
-
export {
|
|
26
|
+
export { r as UnlinkAccountDialog };
|
package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js
CHANGED
|
@@ -1,33 +1,97 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import { FeaturedIcon as t } from "./index2.js";
|
|
4
|
-
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
-
import { ArrowLeftRight as i, ExternalLink as a } from "lucide-react";
|
|
1
|
+
import { DescriptionList as e, FieldRequirement as t, FormDialog as n, Input as r, Label as i } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
3
|
// ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className: "ttw:flex ttw:flex-col ttw:
|
|
4
|
+
function s({ id: e, label: n, value: s, disabled: c, error: l, onChange: u }) {
|
|
5
|
+
let d = `${e}-error`;
|
|
6
|
+
return /* @__PURE__ */ o("div", {
|
|
7
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
11
8
|
children: [
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
children:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
/* @__PURE__ */ a(i, {
|
|
10
|
+
htmlFor: e,
|
|
11
|
+
requirement: t.Required,
|
|
12
|
+
children: n
|
|
13
|
+
}),
|
|
14
|
+
/* @__PURE__ */ a(r, {
|
|
15
|
+
id: e,
|
|
16
|
+
value: s,
|
|
17
|
+
required: !0,
|
|
18
|
+
inputMode: "decimal",
|
|
19
|
+
disabled: c,
|
|
20
|
+
"aria-invalid": l ? !0 : void 0,
|
|
21
|
+
"aria-describedby": l ? d : void 0,
|
|
22
|
+
onChange: (e) => u(e.target.value)
|
|
22
23
|
}),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
children: [o.learnMoreButton, /* @__PURE__ */ n(a, {})]
|
|
29
|
-
})
|
|
24
|
+
l ? /* @__PURE__ */ a("p", {
|
|
25
|
+
id: d,
|
|
26
|
+
className: "ttw:text-sm ttw:text-destructive",
|
|
27
|
+
children: l
|
|
28
|
+
}) : null
|
|
30
29
|
]
|
|
31
30
|
});
|
|
32
31
|
}
|
|
33
|
-
|
|
32
|
+
function c({ open: t, labels: r, verifyForm: i, accountName: c, accountNumber: l, isSubmitting: u, isAuthPending: d = !1, isActionDisabled: f, isVerifyFirstAmountInvalid: p, isVerifySecondAmountInvalid: m, isRequiredErrorVisible: h, isVerifyError: g, onOpenChange: _, onVerifyFormChange: v, onVerifySubmit: y }) {
|
|
33
|
+
let b = (e, t, n) => {
|
|
34
|
+
if (t) return r.verifyAmountError;
|
|
35
|
+
if (h && e.trim() === "") return n;
|
|
36
|
+
};
|
|
37
|
+
return /* @__PURE__ */ a(n, {
|
|
38
|
+
submitError: g ? r.verifyErrorTitle : void 0,
|
|
39
|
+
open: t,
|
|
40
|
+
onOpenChange: _,
|
|
41
|
+
title: r.verifyTitle,
|
|
42
|
+
description: r.verifyDescription,
|
|
43
|
+
submitting: u || d,
|
|
44
|
+
onSubmit: y,
|
|
45
|
+
labels: {
|
|
46
|
+
submit: r.verifySubmitButton,
|
|
47
|
+
cancel: r.cancelButton,
|
|
48
|
+
close: r.closeButton
|
|
49
|
+
},
|
|
50
|
+
children: /* @__PURE__ */ o("div", {
|
|
51
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ a(e, { items: [{
|
|
54
|
+
label: r.nicknameLabel,
|
|
55
|
+
value: c ?? ""
|
|
56
|
+
}, {
|
|
57
|
+
label: r.accountNumberLabel,
|
|
58
|
+
value: l ?? ""
|
|
59
|
+
}] }),
|
|
60
|
+
/* @__PURE__ */ o("p", {
|
|
61
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ a("span", {
|
|
64
|
+
className: "ttw:font-semibold ttw:text-foreground",
|
|
65
|
+
children: r.verifyExampleLabel
|
|
66
|
+
}),
|
|
67
|
+
" ",
|
|
68
|
+
r.verifyExampleText
|
|
69
|
+
]
|
|
70
|
+
}),
|
|
71
|
+
/* @__PURE__ */ a(s, {
|
|
72
|
+
id: "linked-account-first-amount",
|
|
73
|
+
label: r.firstAmountLabel,
|
|
74
|
+
value: i.firstAmount,
|
|
75
|
+
disabled: f,
|
|
76
|
+
error: b(i.firstAmount, p, r.firstAmountRequiredError),
|
|
77
|
+
onChange: (e) => v({
|
|
78
|
+
...i,
|
|
79
|
+
firstAmount: e
|
|
80
|
+
})
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ a(s, {
|
|
83
|
+
id: "linked-account-second-amount",
|
|
84
|
+
label: r.secondAmountLabel,
|
|
85
|
+
value: i.secondAmount,
|
|
86
|
+
disabled: f,
|
|
87
|
+
error: b(i.secondAmount, m, r.secondAmountRequiredError),
|
|
88
|
+
onChange: (e) => v({
|
|
89
|
+
...i,
|
|
90
|
+
secondAmount: e
|
|
91
|
+
})
|
|
92
|
+
})
|
|
93
|
+
]
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
export { c as VerifyAccountDialog };
|
package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js
CHANGED
|
@@ -1,64 +1,81 @@
|
|
|
1
|
-
import { AlertDialog as e, AlertDialogAction as t, AlertDialogCancel as n, AlertDialogContent as r, AlertDialogDescription as i, AlertDialogFooter as a, AlertDialogHeader as o, AlertDialogTitle as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { InlineErrorAlert as c } from "../../../shared/ui/dist/lib/InlineErrorAlert/InlineErrorAlert.js";
|
|
3
|
-
import "../../../shared/ui/dist/index.js";
|
|
4
|
-
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
|
-
import { Trash2Icon as f, XIcon as p } from "lucide-react";
|
|
6
1
|
// ../../libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
2
|
+
var e = {
|
|
3
|
+
title: "Linked accounts",
|
|
4
|
+
connectButton: "Link account",
|
|
5
|
+
learnMoreButton: "Learn more about linked accounts",
|
|
6
|
+
connectTitle: "Link account",
|
|
7
|
+
nicknameLabel: "Account nickname",
|
|
8
|
+
nameOnAccountLabel: "Legal name on account",
|
|
9
|
+
accountNumberLabel: "Account number",
|
|
10
|
+
routingNumberLabel: "Routing number",
|
|
11
|
+
routingNumberError: "Enter a 9-digit routing number.",
|
|
12
|
+
requiredFieldError: "This field is required.",
|
|
13
|
+
holderTypeRequiredError: "Choose who owns the account.",
|
|
14
|
+
accountTypeRequiredError: "Choose an account type.",
|
|
15
|
+
legalNameRequiredError: "Enter the legal name.",
|
|
16
|
+
nicknameRequiredError: "Enter a nickname.",
|
|
17
|
+
routingNumberRequiredError: "Enter the routing number.",
|
|
18
|
+
accountNumberRequiredError: "Enter the account number.",
|
|
19
|
+
firstAmountRequiredError: "Enter the first deposit amount.",
|
|
20
|
+
secondAmountRequiredError: "Enter the second deposit amount.",
|
|
21
|
+
connectErrorTitle: "Couldn't link account. Try again.",
|
|
22
|
+
unlinkErrorTitle: "Couldn't unlink account. Try again.",
|
|
23
|
+
nicknamePlaceholder: "e.g. Operating account",
|
|
24
|
+
holderTypeLabel: "Who owns this account?",
|
|
25
|
+
personalOption: "Personal",
|
|
26
|
+
personalOptionDescription: "Owned by an individual",
|
|
27
|
+
businessOption: "Business",
|
|
28
|
+
businessOptionDescription: "Owned by a company or organization",
|
|
29
|
+
typeLabel: "Account type",
|
|
30
|
+
checkingOption: "Checking",
|
|
31
|
+
savingsOption: "Savings",
|
|
32
|
+
cancelButton: "Cancel",
|
|
33
|
+
closeButton: "Close",
|
|
34
|
+
nextButton: "Next",
|
|
35
|
+
backButton: "Back",
|
|
36
|
+
stepIndicator: "Step {current} of {total}",
|
|
37
|
+
connectStep1Heading: "Enter your bank details",
|
|
38
|
+
connectStep1Description: "Tell us about the account you're linking, then enter its routing and account numbers.",
|
|
39
|
+
connectStep2Heading: "Set team member access",
|
|
40
|
+
connectStep2Description: "Who from your team should have access to manage/view this external account?",
|
|
41
|
+
teamMemberAccessTooltip: "Members with access can view and manage this external account.",
|
|
42
|
+
teamMembersLoadingLabel: "Loading team members",
|
|
43
|
+
teamMembersErrorTitle: "Couldn't load team members",
|
|
44
|
+
teamMembersEmptyLabel: "No additional team members to add.",
|
|
45
|
+
summaryTitle: "Verification deposits sent",
|
|
46
|
+
summaryAccountAddedTitle: "Account added",
|
|
47
|
+
summaryAccountPrefix: "Account",
|
|
48
|
+
doneButton: "Done",
|
|
49
|
+
saveButton: "Save account",
|
|
50
|
+
editButton: "Edit",
|
|
51
|
+
verifyButton: "Verify",
|
|
52
|
+
unlinkButton: "Unlink",
|
|
53
|
+
moreActionsLabel: "More actions",
|
|
54
|
+
unverifiedStatus: "Unverified",
|
|
55
|
+
pendingStatus: "Pending",
|
|
56
|
+
failedStatus: "Failed",
|
|
57
|
+
editTitle: "Edit nickname",
|
|
58
|
+
verifyTitle: "Enter deposit amounts",
|
|
59
|
+
verifyDescription: "To verify this account, enter the two deposit amounts seen in your bank account.",
|
|
60
|
+
verifyExampleLabel: "Example:",
|
|
61
|
+
verifyExampleText: "If you received $0.12 and $0.34, enter \"0.12\" and \"0.34\".",
|
|
62
|
+
verifySubmitButton: "Verify account",
|
|
63
|
+
sendDepositsTitle: "Send verification deposits?",
|
|
64
|
+
sendDepositsDescription: "We will send two small deposits to account {account}. When they arrive, choose Verify on this account and enter both amounts.",
|
|
65
|
+
sendDepositsConfirmButton: "Send deposits",
|
|
66
|
+
sendDepositsErrorTitle: "Couldn't send deposits. Try again.",
|
|
67
|
+
unlinkTitle: "Unlink account",
|
|
68
|
+
unlinkDescription: "By unlinking account {account}, transfers already in process will complete, but no future transfers can use this account.",
|
|
69
|
+
unlinkConfirmButton: "Unlink account",
|
|
70
|
+
firstAmountLabel: "Deposit 1",
|
|
71
|
+
secondAmountLabel: "Deposit 2",
|
|
72
|
+
verifyAmountError: "Enter an amount between $0.01 and $0.99.",
|
|
73
|
+
loadingLabel: "Loading linked accounts",
|
|
74
|
+
errorTitle: "Couldn't load linked accounts",
|
|
75
|
+
retryButton: "Try again",
|
|
76
|
+
actionErrorTitle: "Couldn't save account. Try again.",
|
|
77
|
+
verifyErrorTitle: "Couldn't verify account. Check the amounts and try again.",
|
|
78
|
+
emptyTitle: "No linked accounts yet",
|
|
79
|
+
emptyDescription: "No external accounts have been linked yet."
|
|
80
|
+
};
|
|
81
|
+
export { e as DEFAULT_LABELS };
|