@tesouro/embedded-components-react 0.7.74 → 0.8.0

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 (65) hide show
  1. package/README.md +14 -17
  2. package/dist/index.css +18 -17
  3. package/dist/index.d.ts +178 -49
  4. package/dist/index.js +51 -50
  5. package/dist/lib/BankAccountOnboardingWidget.d.ts +178 -49
  6. package/dist/lib/BankAccountOnboardingWidget.js +8 -7
  7. package/dist/lib/WidgetSuite.d.ts +177 -48
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +5 -4
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/AdditionalOwnersStep.js +131 -96
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +509 -496
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BusinessDetailsStep.js +47 -78
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/PersonalDetailsStep.js +47 -49
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/ReviewStep.js +103 -0
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/TermsStep.js +35 -0
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/additionalOwnerDraft.js +49 -28
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/apiMapping.js +35 -42
  17. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/applicationStatusView.js +2 -3
  18. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/buildOnboardingPrefill.js +4 -10
  19. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/businessDetailsPanelMapping.js +4 -2
  20. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/draftApplicationMapping.js +3 -3
  21. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/fieldInput/formatPhoneNumberInput.js +6 -2
  22. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/fieldInput/maxBirthDate.js +4 -1
  23. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/labels.js +22 -9
  24. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/personalDetailsPanelMapping.js +8 -5
  25. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/stepSchemas.js +59 -60
  26. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/testIds.js +17 -9
  27. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +19 -18
  28. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index10.js +344 -6
  29. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index11.js +59 -58
  30. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js +40 -33
  31. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js +7 -40
  32. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index14.js +57 -37
  33. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js +30 -93
  34. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index16.js +40 -12
  35. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index17.js +36 -269
  36. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index18.js +93 -25
  37. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index19.js +10 -19
  38. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index2.js +61 -78
  39. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js +270 -61
  40. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index21.js +25 -338
  41. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index22.js +23 -29
  42. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index23.js +53 -26
  43. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index24.js +342 -66
  44. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index25.js +26 -82
  45. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index26.js +27 -6
  46. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js +56 -54
  47. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +123 -9
  48. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index29.js +5 -62
  49. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index30.js +82 -0
  50. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index31.js +11 -0
  51. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index32.js +64 -0
  52. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index4.js +256 -311
  53. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index5.js +81 -2
  54. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js +83 -53
  55. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js +2 -147
  56. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js +69 -46
  57. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js +5 -35
  58. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  59. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +4 -4
  60. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +122 -165
  61. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShellOverlayPortal.js +12 -27
  62. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/labels.js +0 -1
  63. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js +0 -1
  64. package/dist/packages/shared-ui-shadcn/dist/index.js +81 -23
  65. package/package.json +1 -1
@@ -1,55 +1,85 @@
1
- import { IDENTIFIER_ON_FILE_TEMPLATE_EN as e } from "./index5.js";
1
+ import { Button as e, Separator as t, Typography as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
3
+ import { CircleUserRoundIcon as a, Trash2Icon as o } from "lucide-react";
2
4
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js
3
- var t = {
4
- heading: "Owners",
5
- subheading: "List everyone who owns 25% or more of the business.",
6
- primaryOwnerShareLabel: "Ownership share",
7
- emptyOwnersText: "No beneficial owners",
8
- addOwner: "Add owner",
9
- edit: "Edit",
10
- remove: "Remove",
11
- cancel: "Cancel",
12
- save: "Save owner",
13
- close: "Close",
14
- addOwnerSubmit: "Add owner",
15
- saveOwnerSubmit: "Save owner",
16
- ownerNameColumn: "Name",
17
- ownerShareColumn: "Share",
18
- ownerActionsColumn: "Actions",
19
- formHeadingAdd: "Add additional owner",
20
- formHeadingEdit: "Edit additional owner",
21
- firstName: "First name",
22
- lastName: "Last name",
23
- dateOfBirth: "Date of birth",
24
- dateOfBirthPlaceholder: "Pick a date",
25
- dateOfBirthMinAgeError: "Owner must be at least 18 years old",
26
- ssn: "SSN",
27
- ssnOnFileTemplate: e,
28
- ssnInvalid: "SSN must be 9 digits",
29
- ssnShow: "Show SSN",
30
- ssnHide: "Hide SSN",
31
- homeAddress: "Home address",
32
- city: "City",
33
- state: "State",
34
- statePlaceholder: "Select state",
35
- zipCode: "ZIP code",
36
- zipCodeInvalid: "ZIP code must be 5 digits",
37
- mobilePhoneNumber: "Mobile phone number",
38
- mobilePhoneNumberInvalid: "Phone must be 10 digits",
39
- ownershipPercentage: "What percentage of business do you own? (minimum 25%)",
40
- ownershipPercentagePlaceholder: "e.g., 25",
41
- ownershipPercentageMinError: "Owners must have 25% ownership or more",
42
- ownershipPercentageMaxError: "Ownership can't exceed 100%",
43
- requiredFieldError: "This field is required",
44
- invalidFieldError: "Enter a valid value",
45
- ownerIncompleteError: "Some details are missing or invalid. Edit this owner.",
46
- requiredFieldMarker: " *",
47
- percentSuffix: "%",
48
- deleteOwnerHeading: "Delete owner profile?",
49
- deleteOwnerPromptBeforeName: "Are you sure you want to delete profile",
50
- deleteOwnerPromptAfterName: "as a business owner?",
51
- deleteOwnerConfirm: "Delete",
52
- totalOwnershipExceedsTemplate: (e) => `Total ownership exceeds 100%. Current total: ${e}%`
53
- };
5
+ function s({ ownerName: s, shareDisplay: c, review: l, isDisabled: u, labels: d, onDelete: f, testIds: p }) {
6
+ return /* @__PURE__ */ i("section", {
7
+ "aria-labelledby": "additional-owner-review-title",
8
+ "data-testid": p?.root,
9
+ className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:rounded-md ttw:border ttw:border-primary ttw:bg-background ttw:p-4",
10
+ children: [
11
+ /* @__PURE__ */ i("div", {
12
+ className: "ttw:flex ttw:items-center ttw:gap-3",
13
+ children: [/* @__PURE__ */ r(a, {
14
+ className: "ttw:size-5 ttw:shrink-0 ttw:text-muted-foreground",
15
+ "aria-hidden": !0
16
+ }), /* @__PURE__ */ i("div", {
17
+ className: "ttw:grid ttw:flex-1 ttw:grid-cols-2 ttw:gap-x-6",
18
+ children: [/* @__PURE__ */ r(n, {
19
+ component: "h4",
20
+ variant: "h6",
21
+ id: "additional-owner-review-title",
22
+ tabIndex: -1,
23
+ "data-owner-panel-heading": "",
24
+ "data-needs-attention": "",
25
+ className: "ttw:font-semibold ttw:text-foreground",
26
+ children: s
27
+ }), /* @__PURE__ */ r(n, {
28
+ variant: "body1",
29
+ className: "ttw:text-foreground",
30
+ children: c
31
+ })]
32
+ })]
33
+ }),
34
+ /* @__PURE__ */ i("div", {
35
+ className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:pl-8",
36
+ children: [/* @__PURE__ */ r(t, {}), /* @__PURE__ */ r("dl", {
37
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-3",
38
+ children: l.rows.map((e) => /* @__PURE__ */ i("div", {
39
+ className: "ttw:contents",
40
+ children: [/* @__PURE__ */ r("dt", {
41
+ className: "ttw:text-muted-foreground",
42
+ children: e.label
43
+ }), /* @__PURE__ */ r("dd", {
44
+ className: "ttw:whitespace-pre-line ttw:text-foreground",
45
+ children: e.value
46
+ })]
47
+ }, e.label))
48
+ })]
49
+ }),
50
+ /* @__PURE__ */ i("div", {
51
+ className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3 ttw:pl-8",
52
+ children: [/* @__PURE__ */ i(e, {
53
+ type: "button",
54
+ variant: "ghost",
55
+ onClick: f,
56
+ disabled: u,
57
+ "data-owner-delete-trigger": "",
58
+ className: "ttw:gap-1.5 ttw:text-foreground ttw:hover:text-foreground",
59
+ children: [/* @__PURE__ */ r(o, {
60
+ className: "ttw:size-4",
61
+ "aria-hidden": !0
62
+ }), d.deleteOwner]
63
+ }), /* @__PURE__ */ i("div", {
64
+ className: "ttw:flex ttw:flex-wrap ttw:gap-3",
65
+ children: [/* @__PURE__ */ r(e, {
66
+ type: "button",
67
+ variant: "secondary",
68
+ onClick: l.onEdit,
69
+ disabled: u,
70
+ "data-testid": p?.editButton,
71
+ children: d.editOwner
72
+ }), /* @__PURE__ */ r(e, {
73
+ type: "button",
74
+ onClick: l.onConfirm,
75
+ disabled: u,
76
+ "data-testid": p?.confirmButton,
77
+ children: d.confirmDetails
78
+ })]
79
+ })]
80
+ })
81
+ ]
82
+ });
83
+ }
54
84
  //#endregion
55
- export { t as ADDITIONAL_OWNERS_LABELS_EN };
85
+ export { s as AdditionalOwnerReviewPanel };
@@ -1,149 +1,4 @@
1
- import { Alert as e, AlertDescription as t, Button as n, Table as r, TableBody as i, TableCell as a, TableHead as o, TableHeader as s, TableRow as c, cn as l } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { ADDITIONAL_OWNERS_LABELS_EN as u } from "./index6.js";
3
- import { AdditionalOwnerDeleteOverlay as d } from "./index2.js";
4
- import { FieldError as f, fieldErrorAria as p } from "./index3.js";
5
- import { AdditionalOwnerFormOverlay as m } from "./index4.js";
6
- import { jsx as h, jsxs as g } from "react/jsx-runtime";
7
- import { PencilIcon as _, PlusIcon as v, Trash2Icon as y } from "lucide-react";
8
1
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js
9
- function b({ ownerRows: b, primaryOwnerName: x, primaryOwnerShareDisplay: S, showPrimaryOwner: C = !0, totalOwnershipError: w, addOwnerDisabled: T, onAddOwner: E, onEditOwner: D, onDeleteOwnerRequest: O, deletingOwnerName: k, onDeleteOwnerConfirm: A, onDeleteOwnerCancel: j, editingOverlay: M, isSubmitting: N, labels: P, testIds: F }) {
10
- let I = {
11
- ...u,
12
- ...P
13
- }, L = M !== null || k !== null;
14
- return /* @__PURE__ */ g("div", {
15
- className: "ttw:relative ttw:flex ttw:flex-col ttw:gap-6",
16
- children: [
17
- /* @__PURE__ */ g("div", {
18
- className: "ttw:flex ttw:flex-col ttw:gap-2",
19
- children: [/* @__PURE__ */ h("div", {
20
- className: "ttw:overflow-hidden ttw:rounded-md ttw:border ttw:border-border",
21
- children: /* @__PURE__ */ g(r, { children: [/* @__PURE__ */ h(s, { children: /* @__PURE__ */ g(c, {
22
- className: "ttw:border-border ttw:bg-muted ttw:hover:bg-muted",
23
- children: [
24
- /* @__PURE__ */ h(o, {
25
- className: "ttw:px-4 ttw:py-3",
26
- children: I.ownerNameColumn
27
- }),
28
- /* @__PURE__ */ h(o, {
29
- className: "ttw:px-4 ttw:py-3",
30
- children: I.ownerShareColumn
31
- }),
32
- /* @__PURE__ */ h(o, {
33
- className: "ttw:px-4 ttw:py-3 ttw:text-right",
34
- children: I.ownerActionsColumn
35
- })
36
- ]
37
- }) }), /* @__PURE__ */ g(i, { children: [
38
- C ? /* @__PURE__ */ g(c, {
39
- className: "ttw:hover:bg-transparent",
40
- children: [
41
- /* @__PURE__ */ h(a, {
42
- className: "ttw:px-4",
43
- children: x
44
- }),
45
- /* @__PURE__ */ h(a, {
46
- className: "ttw:px-4",
47
- children: S
48
- }),
49
- /* @__PURE__ */ h(a, { className: "ttw:px-4" })
50
- ]
51
- }) : null,
52
- b.map((e, t) => {
53
- let r = `additional-owner-${t}`;
54
- return /* @__PURE__ */ g(c, {
55
- className: l(e.error ? "ttw:bg-destructive/5 ttw:hover:bg-destructive/5" : "ttw:hover:bg-transparent"),
56
- children: [
57
- /* @__PURE__ */ g(a, {
58
- className: "ttw:px-4 ttw:whitespace-normal",
59
- children: [e.name, /* @__PURE__ */ h(f, {
60
- fieldId: r,
61
- error: e.error
62
- })]
63
- }),
64
- /* @__PURE__ */ h(a, {
65
- className: l("ttw:px-4", e.error && "ttw:text-destructive"),
66
- children: e.shareDisplay
67
- }),
68
- /* @__PURE__ */ h(a, {
69
- className: "ttw:px-4 ttw:text-right",
70
- children: /* @__PURE__ */ g("div", {
71
- className: "ttw:flex ttw:justify-end ttw:gap-2",
72
- children: [/* @__PURE__ */ h(n, {
73
- type: "button",
74
- variant: "ghost",
75
- size: "icon-sm",
76
- "aria-label": I.edit,
77
- "aria-describedby": p(r, e.error)["aria-describedby"],
78
- onClick: () => D(t),
79
- disabled: N || L,
80
- children: /* @__PURE__ */ h(_, { className: "ttw:size-4" })
81
- }), /* @__PURE__ */ h(n, {
82
- type: "button",
83
- variant: "ghost",
84
- size: "icon-sm",
85
- "aria-label": I.remove,
86
- onClick: () => O(t),
87
- disabled: N || L,
88
- children: /* @__PURE__ */ h(y, { className: "ttw:size-4" })
89
- })]
90
- })
91
- })
92
- ]
93
- }, t);
94
- }),
95
- !C && b.length === 0 ? /* @__PURE__ */ h(c, {
96
- className: "ttw:hover:bg-transparent",
97
- children: /* @__PURE__ */ h(a, {
98
- colSpan: 3,
99
- className: "ttw:px-4 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
100
- children: I.emptyOwnersText
101
- })
102
- }) : null
103
- ] })] })
104
- }), L ? null : /* @__PURE__ */ g(n, {
105
- type: "button",
106
- variant: "ghost",
107
- onClick: E,
108
- disabled: T || N,
109
- "data-testid": F?.addOwnerButton,
110
- className: "ttw:h-auto ttw:w-fit ttw:justify-start ttw:gap-1.5 ttw:px-0 ttw:has-[>svg]:px-0 ttw:pl-4 ttw:font-normal ttw:text-primary ttw:hover:bg-transparent ttw:hover:text-primary/90",
111
- children: [/* @__PURE__ */ h(v, { className: "ttw:size-4" }), I.addOwner]
112
- })]
113
- }),
114
- w ? /* @__PURE__ */ h(e, {
115
- variant: "destructive",
116
- children: /* @__PURE__ */ h(t, { children: w })
117
- }) : null,
118
- M ? /* @__PURE__ */ h(m, {
119
- fields: M.fields,
120
- display: M.display,
121
- isExisting: M.isExisting,
122
- isValid: M.isValid,
123
- isDisabled: N,
124
- labels: I,
125
- onCancel: M.onCancel,
126
- onSubmit: M.onSubmit,
127
- onClose: M.onCancel,
128
- ssnRevealed: M.ssnRevealed,
129
- ssnToggleAriaLabel: M.ssnToggleAriaLabel,
130
- onToggleSsnVisibility: M.onToggleSsnVisibility,
131
- testIds: { overlay: F?.overlay }
132
- }) : null,
133
- k ? /* @__PURE__ */ h(d, {
134
- ownerName: k,
135
- labels: I,
136
- isDisabled: N,
137
- onCancel: j,
138
- onConfirm: A,
139
- onClose: j,
140
- testIds: {
141
- ...F?.deleteOverlay,
142
- overlay: F?.overlay
143
- }
144
- }) : null
145
- ]
146
- });
147
- }
2
+ var e = (e) => `Ending in ${e}. Leave blank to keep it, or enter it again to change it.`;
148
3
  //#endregion
149
- export { b as AdditionalOwnersForm };
4
+ export { e as IDENTIFIER_ON_FILE_TEMPLATE_EN };
@@ -1,56 +1,79 @@
1
- import { IDENTIFIER_ON_FILE_TEMPLATE_EN as e } from "./index5.js";
1
+ import { IDENTIFIER_ON_FILE_TEMPLATE_EN as e } from "./index7.js";
2
2
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js
3
- function t(e, t) {
4
- return e.replaceAll("{bankName}", t);
5
- }
6
- var n = {
7
- heading: "Tell us about your business",
8
- subheading: "Provide your business details to get started.",
9
- companyLegalName: "Legal company name",
10
- companyDbaName: "Doing business as (optional)",
11
- businessAddress: "Business address",
3
+ var t = {
4
+ heading: "Who are the beneficial owners?",
5
+ subheading: "Review each owner's details before continuing.",
6
+ emptySubheading: "Federal regulations require us to collect details for each person who owns 25% or more of the business. If no one does, you can continue without adding anyone.",
7
+ reviewSectionTitle: "Beneficial owners",
8
+ primaryOwnerShareLabel: "Ownership share",
9
+ emptyOwnersText: "No beneficial owners added yet",
10
+ emptyOwnersAddOwner: "Add beneficial owner",
11
+ addOwner: "Add owner",
12
+ edit: "Edit",
13
+ completeDetails: "Complete details",
14
+ remove: "Remove",
15
+ removePrimaryOwnerDisabled: "Remove yourself as an owner from your personal details",
16
+ editPrimaryOwnerDisabled: "Edit your ownership from your personal details",
17
+ editPrimaryOwnerTooltip: "Your details and ownership come from the Personal details step. Go back to that step to edit them.",
18
+ removePrimaryOwnerTooltip: "You can't remove yourself because you're the applicant. To change your ownership, go back to the Personal details step.",
19
+ startReview: "Start review",
20
+ deleteOwner: "Delete owner",
21
+ editOwner: "Edit owner",
22
+ confirmDetails: "I confirm these details are correct",
23
+ statusComplete: "Details complete",
24
+ statusMissing: "Details missing",
25
+ statusUnreviewed: "Needs review",
26
+ inlineEditHeadingTemplate: (e) => `Editing ${e}`,
27
+ missingFieldsAlert: "Complete the missing fields",
28
+ allFieldsRequiredNote: "Required fields are marked with an asterisk *",
29
+ reviewDateOfBirth: "Date of birth",
30
+ reviewSsn: "SSN",
31
+ reviewPhone: "Phone",
32
+ reviewHomeAddress: "Home address",
33
+ cancel: "Cancel",
34
+ save: "Save owner",
35
+ close: "Close",
36
+ addOwnerSubmit: "Add owner",
37
+ saveOwnerSubmit: "Save owner",
38
+ ownerNameColumn: "Name",
39
+ ownerShareColumn: "Ownership %",
40
+ ownerActionsColumn: "Actions",
41
+ formHeadingAdd: "Add additional owner",
42
+ formHeadingEdit: "Edit additional owner",
43
+ firstName: "First name",
44
+ lastName: "Last name",
45
+ dateOfBirth: "Date of birth",
46
+ dateOfBirthPlaceholder: "MM/DD/YYYY",
47
+ dateOfBirthHint: "For example, 04/23/1985",
48
+ dateOfBirthInvalidError: "Enter a valid date of birth",
49
+ ssn: "SSN",
50
+ ssnOnFileTemplate: e,
51
+ ssnInvalid: "SSN must be 9 digits",
52
+ ssnShow: "Show SSN",
53
+ ssnHide: "Hide SSN",
54
+ homeAddress: "Home address",
12
55
  city: "City",
13
56
  state: "State",
14
57
  statePlaceholder: "Select state",
15
58
  zipCode: "Postal code",
16
59
  zipCodeInvalid: "Postal code must be 5 digits",
17
- companyPhoneNumber: "Company phone number",
18
- companyPhoneNumberInvalid: "Phone must be 10 digits",
60
+ mobilePhoneNumber: "Phone",
61
+ mobilePhoneNumberInvalid: "Phone must be 10 digits",
62
+ ownershipPercentage: "What percentage of business do you own? (minimum 25%)",
63
+ ownershipPercentagePlaceholder: "e.g., 25",
64
+ ownershipPercentageMinError: "Owners must have 25% ownership or more",
65
+ ownershipPercentageMaxError: "Ownership can't exceed 100%",
19
66
  requiredFieldError: "This field is required",
20
67
  invalidFieldError: "Enter a valid value",
21
- companyStructure: "Company structure",
22
- companyStructurePlaceholder: "Select structure",
23
- website: "Website (optional)",
24
- websiteInvalid: "Enter a valid website URL (no spaces).",
25
- taxId: "Tax ID (EIN)",
26
- taxIdInvalid: "Tax ID must be 9 digits",
27
- taxIdOnFileTemplate: e,
28
- naicsCode: "Industry (NAICS code)",
29
- naicsCodePlaceholder: "Search by code or industry",
30
- isAuthorizedQuestion: "I am legally authorized to view and manage financial accounts for my company.",
31
- isAuthorizedYes: "Yes",
32
- isAuthorizedNo: "No",
33
- acceptDisclosuresPrefix: "I agree to {bankName}'s ",
34
- termsOfUse: "Terms of Use",
35
- privacyPolicy: "Privacy Policy",
36
- acceptDisclosuresTermsPrivacyJoin: " and ",
37
- acceptDisclosuresAfterPrivacy: ", and to receive electronic communication about my accounts and services per {bankName}'s ",
38
- electronicCommunication: "Electronic Communications Agreement",
39
- acceptDisclosuresAfterElectronic: ", and acknowledge receipt of {bankName}'s ",
40
- patriotAct: "USA PATRIOT Act disclosure.",
41
- companyStructureOptions: {
42
- CORPORATION_PUBLIC: "Public corporation",
43
- CORPORATION_PRIVATE: "Private corporation",
44
- CORPORATION_NOT_FOR_PROFIT: "Not-for-profit corporation",
45
- LLC: "Limited liability company (LLC)",
46
- LLP: "Limited liability partnership (LLP)",
47
- PARTNERSHIP: "Partnership",
48
- SOLE_PROPRIETORSHIP: "Sole proprietorship",
49
- GOVERNMENT: "Government",
50
- COOPERATIVE: "Cooperative",
51
- ASSOCIATION: "Association",
52
- OTHER: "Other"
53
- }
68
+ ownerIncompleteError: "Some details are missing or invalid.",
69
+ ownerEditorOpenError: "Add or save the owner you are editing, or cancel it, before continuing.",
70
+ requiredFieldMarker: " *",
71
+ percentSuffix: "%",
72
+ deleteOwnerHeading: "Delete owner profile?",
73
+ deleteOwnerPromptBeforeName: "Are you sure you want to delete profile",
74
+ deleteOwnerPromptAfterName: "as a business owner?",
75
+ deleteOwnerConfirm: "Delete",
76
+ totalOwnershipExceedsTemplate: (e) => `Total ownership exceeds 100%. Current total: ${e}%`
54
77
  };
55
78
  //#endregion
56
- export { n as BUSINESS_DETAILS_LABELS_EN, t as interpolateBankName };
79
+ export { t as ADDITIONAL_OWNERS_LABELS_EN };
@@ -1,38 +1,8 @@
1
- import { IDENTIFIER_ON_FILE_TEMPLATE_EN as e } from "./index5.js";
2
1
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js
3
- var t = {
4
- heading: "Tell us about yourself",
5
- subheading: "We need this information to verify your identity.",
6
- firstName: "First name",
7
- lastName: "Last name",
8
- dateOfBirth: "Date of birth",
9
- dateOfBirthPlaceholder: "Pick a date",
10
- dateOfBirthMinAgeError: "Must be at least 18 years old",
11
- ssn: "SSN",
12
- ssnOnFileTemplate: e,
13
- ssnInvalid: "SSN must be 9 digits",
14
- ssnShow: "Show",
15
- ssnHide: "Hide",
16
- homeAddress: "Home address",
17
- city: "City",
18
- state: "State",
19
- statePlaceholder: "Select state",
20
- zipCode: "ZIP code",
21
- zipCodeInvalid: "ZIP code must be 5 digits",
22
- mobilePhoneNumber: "Mobile phone number",
23
- mobilePhoneNumberInvalid: "Phone must be 10 digits",
24
- workEmail: "Work email",
25
- workEmailInvalid: "Enter a valid email address",
26
- requiredFieldError: "This field is required",
27
- invalidFieldError: "Enter a valid value",
28
- ownsOver25Question: "Do you own 25% or more of the business?",
29
- ownsOver25SummaryLabel: "Owns 25% or more of the business",
30
- ownsOver25Yes: "Yes",
31
- ownsOver25No: "No",
32
- ownershipPercentage: "Ownership share (minimum 25%)",
33
- ownershipPercentagePlaceholder: "e.g., 25",
34
- ownershipPercentageRangeError: "Ownership share must be between 25 and 100 when you own 25% or more",
35
- percentSuffix: "%"
2
+ var e = {
3
+ Complete: "complete",
4
+ Missing: "missing",
5
+ Unreviewed: "unreviewed"
36
6
  };
37
7
  //#endregion
38
- export { t as PERSONAL_DETAILS_LABELS_EN };
8
+ export { e as AdditionalOwnerRowStatus };
@@ -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.74", n = "d23dff761f62b81b42e673496e0b7f74793bc606", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.8.0", n = "5f0635c031287e1630715269006e9dfd5bf7549a", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -20,7 +20,7 @@ import { PaginationFooter as v } from "./lib/PaginationFooter/PaginationFooter.j
20
20
  import { WidgetTitleWithIconAndChildren as y } from "./lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js";
21
21
  import "./lib/OnboardingShell/labels.js";
22
22
  import "./lib/OnboardingShell/OnboardingShellStepper.js";
23
- import { OnboardingShellOverlayPortal as b } from "./lib/OnboardingShell/OnboardingShellOverlayPortal.js";
24
- import { OnboardingShell as x } from "./lib/OnboardingShell/OnboardingShell.js";
25
- import { SectionHeading as S } from "./lib/SectionHeading/SectionHeading.js";
26
- export { m as ERROR_STATE_ID, t as EmbeddedToaster, p as EmptyState, h as ErrorState, u as HostIsolationScope, g as InlineErrorAlert, d as Link, x as OnboardingShell, b as OnboardingShellOverlayPortal, _ as PAGINATION_FOOTER_LABELS_EN, v as PaginationFooter, S as SectionHeading, n as ToastNameMessage, r as UIFramework, a as UIProvider, f as WidgetContainer, y as WidgetTitleWithIconAndChildren, e as avatarSwatchFor, o as registerDesignSystemEnsurer, s as registerUIRenderers, i as resolveUIFramework, c as useDesignSystemEnsurer, l as useFrameworkRenderer };
23
+ import "./lib/OnboardingShell/OnboardingShellOverlayPortal.js";
24
+ import { OnboardingShell as b } from "./lib/OnboardingShell/OnboardingShell.js";
25
+ import { SectionHeading as x } from "./lib/SectionHeading/SectionHeading.js";
26
+ export { m as ERROR_STATE_ID, t as EmbeddedToaster, p as EmptyState, h as ErrorState, u as HostIsolationScope, g as InlineErrorAlert, d as Link, b as OnboardingShell, _ as PAGINATION_FOOTER_LABELS_EN, v as PaginationFooter, x as SectionHeading, n as ToastNameMessage, r as UIFramework, a as UIProvider, f as WidgetContainer, y as WidgetTitleWithIconAndChildren, e as avatarSwatchFor, o as registerDesignSystemEnsurer, s as registerUIRenderers, i as resolveUIFramework, c as useDesignSystemEnsurer, l as useFrameworkRenderer };