@tesouro/embedded-components-react 0.5.33 → 0.5.34

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 (22) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +17 -1
  3. package/dist/index.js +1 -1
  4. package/dist/lib/BankAccountOnboardingWidget.d.ts +17 -1
  5. package/dist/lib/BankAccountOnboardingWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +3 -1
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +30 -0
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +48 -0
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +6 -0
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +1 -1
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js +1 -0
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js +9 -2
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +96 -5
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +5 -28
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +26 -320
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index19.js +7 -0
  17. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index20.js +387 -0
  18. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +27 -27
  19. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +162 -154
  20. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js +11 -11
  21. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  22. package/package.json +1 -1
package/README.md CHANGED
@@ -443,7 +443,7 @@ A self-contained widget that walks an applicant through the embedded bank-accoun
443
443
  | `onNavigateToDashboard` | `() => void` | Yes | Called when the user clicks the dashboard CTA on the result screen. |
444
444
  | `initialBusinessDetails` | `Partial<BusinessDetailsValues>` | No | Prefills step 1 (business details). Unset fields start empty; the user can still edit before continuing. |
445
445
  | `initialPersonalDetails` | `Partial<PersonalDetailsValues>` | No | Prefills step 2 (personal / about-you details). Unset fields start empty; the user can still edit before continuing. |
446
- | `initialAdditionalOwners` | `AdditionalOwner[]` | No | Prefills step 3 (additional owners). Defaults to an empty list when omitted. |
446
+ | `initialAdditionalOwners` | `HostSuppliedOwner[]` | No | Prefills step 3 (additional owners). Defaults to an empty list when omitted. Excludes `id`, which names an owner the server already stores, so a seeded one would update instead of create. |
447
447
  | `open` | `boolean` | No | Controlled open state for the modal. When provided the host owns open/close and must update it via `onOpenChange`. Omit for uncontrolled mode. |
448
448
  | `defaultOpen` | `boolean` | No | Initial open state when uncontrolled. Defaults to `false` so the modal stays closed until the host opens it. Ignored when `open` is set. |
449
449
  | `onOpenChange` | `(open: boolean) => void` | No | Notified whenever the modal opens or closes — fires on overlay click, escape key, the close button, and any controlled state update. Used both as the change handler in controlled mode and a side hook. |
package/dist/index.d.ts CHANGED
@@ -4222,6 +4222,12 @@ interface PersonalDetailsValues {
4222
4222
  ownershipPercentage: number | null;
4223
4223
  }
4224
4224
  interface AdditionalOwner {
4225
+ /**
4226
+ * Identifier of an owner already stored on the application. Present only on
4227
+ * a resumed owner; omitted for one the applicant just added, which is what
4228
+ * tells the server to create rather than update.
4229
+ */
4230
+ id?: string;
4225
4231
  firstName: string;
4226
4232
  lastName: string;
4227
4233
  dateOfBirth: Date | undefined;
@@ -4419,6 +4425,9 @@ interface BankAccountOnboardingWidgetLabels {
4419
4425
  shellFdicDisclaimer: string;
4420
4426
  }
4421
4427
 
4428
+ /** Host-supplied owners, which may not carry a resume-only id. */
4429
+ type HostSuppliedOwner = Omit<AdditionalOwner, 'id'>;
4430
+
4422
4431
  interface BankAccountOnboardingWidgetInnerProps {
4423
4432
  onEmbeddedOnboardingCompletedSuccessfully: () => void;
4424
4433
  onNavigateToDashboard: () => void;
@@ -4426,6 +4435,11 @@ interface BankAccountOnboardingWidgetInnerProps {
4426
4435
  initialBusinessDetails?: Partial<BusinessDetailsValues>;
4427
4436
  initialPersonalDetails?: Partial<PersonalDetailsValues>;
4428
4437
  initialAdditionalOwners?: AdditionalOwner[];
4438
+ /**
4439
+ * The application this session is carrying on with, when the applicant
4440
+ * already started one. Set by the resume layer, not by hosts.
4441
+ */
4442
+ initialApplicationId?: string | null;
4429
4443
  bankLogoSrc?: string;
4430
4444
  /**
4431
4445
  * Host-resolved disclosure URLs for the business-details agreement step.
@@ -4460,7 +4474,9 @@ interface BankAccountOnboardingWidgetInnerProps {
4460
4474
  */
4461
4475
  isFullScreenInline?: boolean;
4462
4476
  }
4463
- type BankAccountOnboardingWidgetProps = WidgetProviderProps & BankAccountOnboardingWidgetInnerProps;
4477
+ type BankAccountOnboardingWidgetProps = WidgetProviderProps & Omit<BankAccountOnboardingWidgetInnerProps, 'initialApplicationId' | 'initialAdditionalOwners'> & {
4478
+ initialAdditionalOwners?: HostSuppliedOwner[];
4479
+ };
4464
4480
  declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
4465
4481
 
4466
4482
  interface MarketingWidgetLabels {
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import { ADDITIONAL_OWNERS_LABELS_EN as Z } from "./libs/tesouro-embedded-compon
56
56
  import { BUSINESS_DETAILS_LABELS_EN as Q } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js";
57
57
  import { PERSONAL_DETAILS_LABELS_EN as $ } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
58
58
  import { RESULT_LABELS_EN as ee } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js";
59
- import { BankAccountOnboardingWidget as te } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js";
59
+ import { BankAccountOnboardingWidget as te } from "./libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index20.js";
60
60
  import "./lib/BankAccountOnboardingWidget.js";
61
61
  import { MARKETING_WIDGET_LABELS_EN as ne } from "./libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js";
62
62
  import { MarketingWidget as re } from "./libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js";
@@ -39,6 +39,12 @@ interface PersonalDetailsValues {
39
39
  ownershipPercentage: number | null;
40
40
  }
41
41
  interface AdditionalOwner {
42
+ /**
43
+ * Identifier of an owner already stored on the application. Present only on
44
+ * a resumed owner; omitted for one the applicant just added, which is what
45
+ * tells the server to create rather than update.
46
+ */
47
+ id?: string;
42
48
  firstName: string;
43
49
  lastName: string;
44
50
  dateOfBirth: Date | undefined;
@@ -916,6 +922,9 @@ interface BankAccountOnboardingWidgetLabels {
916
922
  shellFdicDisclaimer: string;
917
923
  }
918
924
 
925
+ /** Host-supplied owners, which may not carry a resume-only id. */
926
+ type HostSuppliedOwner = Omit<AdditionalOwner, 'id'>;
927
+
919
928
  interface BankAccountOnboardingWidgetInnerProps {
920
929
  onEmbeddedOnboardingCompletedSuccessfully: () => void;
921
930
  onNavigateToDashboard: () => void;
@@ -923,6 +932,11 @@ interface BankAccountOnboardingWidgetInnerProps {
923
932
  initialBusinessDetails?: Partial<BusinessDetailsValues>;
924
933
  initialPersonalDetails?: Partial<PersonalDetailsValues>;
925
934
  initialAdditionalOwners?: AdditionalOwner[];
935
+ /**
936
+ * The application this session is carrying on with, when the applicant
937
+ * already started one. Set by the resume layer, not by hosts.
938
+ */
939
+ initialApplicationId?: string | null;
926
940
  bankLogoSrc?: string;
927
941
  /**
928
942
  * Host-resolved disclosure URLs for the business-details agreement step.
@@ -957,7 +971,9 @@ interface BankAccountOnboardingWidgetInnerProps {
957
971
  */
958
972
  isFullScreenInline?: boolean;
959
973
  }
960
- type BankAccountOnboardingWidgetProps = WidgetProviderProps & BankAccountOnboardingWidgetInnerProps;
974
+ type BankAccountOnboardingWidgetProps = WidgetProviderProps & Omit<BankAccountOnboardingWidgetInnerProps, 'initialApplicationId' | 'initialAdditionalOwners'> & {
975
+ initialAdditionalOwners?: HostSuppliedOwner[];
976
+ };
961
977
  declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
962
978
 
963
979
  export { ADDITIONAL_OWNERS_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BankAccountOnboardingWidget, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN };
@@ -3,6 +3,6 @@ import { BUSINESS_DETAILS_LABELS_EN as t } from "../libs/tesouro-embedded-compon
3
3
  import { PERSONAL_DETAILS_LABELS_EN as n } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js";
4
4
  import { RESULT_LABELS_EN as r } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js";
5
5
  import "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js";
6
- import { BankAccountOnboardingWidget as i } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js";
6
+ import { BankAccountOnboardingWidget as i } from "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index20.js";
7
7
  import "../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js";
8
8
  export { e as ADDITIONAL_OWNERS_LABELS_EN, t as BUSINESS_DETAILS_LABELS_EN, i as BankAccountOnboardingWidget, n as PERSONAL_DETAILS_LABELS_EN, r as RESULT_LABELS_EN };
@@ -7,4 +7,6 @@ import { useCreateApplication as i } from "./index4.js";
7
7
  import { useUpdateApplication as a } from "./index6.js";
8
8
  import { useSubmitApplication as o } from "./index7.js";
9
9
  import { usePollApplicationCompletion as s } from "./index8.js";
10
- export { n as ApplicationClientSecretProvider, e as OnboardingSuppressionReason, r as useApplicationClientSecret, i as useCreateApplication, t as useOrganizationOnboardingSuppression, s as usePollApplicationCompletion, o as useSubmitApplication, a as useUpdateApplication };
10
+ import { useResumableBankAccountApplication as c } from "./index10.js";
11
+ import { useStartedBankAccountApplication as l } from "./index11.js";
12
+ export { n as ApplicationClientSecretProvider, e as OnboardingSuppressionReason, r as useApplicationClientSecret, i as useCreateApplication, t as useOrganizationOnboardingSuppression, s as usePollApplicationCompletion, c as useResumableBankAccountApplication, l as useStartedBankAccountApplication, o as useSubmitApplication, a as useUpdateApplication };
@@ -0,0 +1,30 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
+ import { getApplicationStatusOptions as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
+ import { withAuthEpoch as n } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
+ import "../../../shared/data-access/dist/index.js";
9
+ import { hasFreshAnswer as r } from "./index9.js";
10
+ import { useQuery as i } from "@tanstack/react-query";
11
+ //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js
12
+ var a = "DRAFT", o = "BANK_ACCOUNT", s = "STARTED_BY_YOU";
13
+ function c(e) {
14
+ return e.find((e) => e.product === o && e.ownership === s && e.status === a && !!e.applicationId && !!e.clientSecret);
15
+ }
16
+ function l() {
17
+ let { client: a, widgetToken: o, authEpoch: s } = e(), l = !!o, u = i({
18
+ ...n(t({ client: a }), s),
19
+ enabled: l,
20
+ retry: 2,
21
+ retryDelay: 300
22
+ }), d = l && r(u), f = d && u.data && !u.isError ? c(u.data.applications) : void 0;
23
+ return {
24
+ applicationId: f?.applicationId ?? null,
25
+ clientSecret: f?.clientSecret ?? null,
26
+ isResolved: d
27
+ };
28
+ }
29
+ //#endregion
30
+ export { l as useResumableBankAccountApplication };
@@ -0,0 +1,48 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
+ import { getBankAccountApplication as t } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
7
+ import { withAuthEpoch as n } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
+ import "../../../shared/data-access/dist/index.js";
9
+ import { applicationResourceHeaders as r } from "./index3.js";
10
+ import { hasFreshAnswer as i } from "./index9.js";
11
+ import { useMemo as a } from "react";
12
+ import { useQuery as o } from "@tanstack/react-query";
13
+ //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js
14
+ var s = "getBankAccountApplication", c = (e, t) => (n, r) => {
15
+ if (n === void 0 || r === void 0) return;
16
+ let [i, a] = r.queryKey;
17
+ if (i === s && a?.baseUrl === e && a?.id === t) return n;
18
+ };
19
+ function l(l, u) {
20
+ let { client: d, organizationId: f, widgetToken: p, authEpoch: m } = e(), h = !!(p && l && u), g = async ({ signal: e }) => {
21
+ let { data: n } = await t({
22
+ client: d,
23
+ path: { id: l ?? "" },
24
+ headers: r(f, u),
25
+ signal: e,
26
+ throwOnError: !0
27
+ });
28
+ if (!n) throw Error("Unexpected application response from widget gateway");
29
+ return n;
30
+ }, _ = d.getConfig().baseUrl, { queryKey: v } = n({ queryKey: [s, {
31
+ baseUrl: _,
32
+ id: l
33
+ }] }, m), y = a(() => c(_, l), [_, l]), b = o({
34
+ queryKey: v,
35
+ queryFn: g,
36
+ placeholderData: y,
37
+ enabled: h,
38
+ retry: 2,
39
+ retryDelay: 300
40
+ });
41
+ return {
42
+ application: b.data ?? null,
43
+ isResolved: !h || i(b),
44
+ isUnavailable: h && b.isError
45
+ };
46
+ }
47
+ //#endregion
48
+ export { l as useStartedBankAccountApplication };
@@ -0,0 +1,6 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js
2
+ function e(e) {
3
+ return (e.isSuccess || e.isError) && !e.isFetching;
4
+ }
5
+ //#endregion
6
+ export { e as hasFreshAnswer };
@@ -1,2 +1,2 @@
1
- import { BankAccountOnboardingWidget as e } from "./index18.js";
1
+ import { BankAccountOnboardingWidget as e } from "./index20.js";
2
2
  export { e as BankAccountOnboardingWidget };
@@ -14,6 +14,7 @@ import { z as p } from "zod";
14
14
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js
15
15
  function m(e) {
16
16
  return p.object({
17
+ id: p.string().optional(),
17
18
  firstName: p.string().min(1),
18
19
  lastName: p.string().min(1),
19
20
  dateOfBirth: p.date().refine(r, { message: e.dateOfBirthMinAgeError }),
@@ -58,6 +58,7 @@ function o(r, { isSoleProprietor: i = !1 } = {}) {
58
58
  }
59
59
  function s(r) {
60
60
  return r.map((r) => ({
61
+ ...r.id ? { id: r.id } : {},
61
62
  firstName: r.firstName,
62
63
  lastName: r.lastName,
63
64
  birthDate: r.dateOfBirth ? t(r.dateOfBirth) : void 0,
@@ -82,10 +83,16 @@ function c(e) {
82
83
  };
83
84
  }
84
85
  function l(e) {
85
- let t = e.businessDetails?.companyStructure === "SOLE_PROPRIETORSHIP";
86
+ let t = e.businessDetails?.companyStructure === "SOLE_PROPRIETORSHIP", n = e.carryConsent && e.businessDetails && {
87
+ isLegallyAuthorized: e.businessDetails.isAuthorized,
88
+ hasAcceptedDisclosures: e.businessDetails.isCheckboxChecked
89
+ };
86
90
  return {
87
91
  ...e.businessDetails && { businessDetails: r(e.businessDetails) },
88
- ...e.applicant && { applicant: o(e.applicant, { isSoleProprietor: t }) },
92
+ ...(e.applicant || n) && { applicant: {
93
+ ...e.applicant ? o(e.applicant, { isSoleProprietor: t }) : {},
94
+ ...n
95
+ } },
89
96
  ...(t || e.businessOwners !== void 0) && { businessOwners: !t && e.businessOwners?.length ? s(e.businessOwners) : null }
90
97
  };
91
98
  }
@@ -1,7 +1,98 @@
1
+ import { formatPhoneNumberInput as e } from "./index2.js";
2
+ import { sanitizeZipCodeInput as t } from "./index3.js";
3
+ import { normalizeAdditionalOwnerDraft as n } from "./index13.js";
1
4
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js
2
- var e = {
3
- Mounted: "onboarding.mounted",
4
- Suppressed: "onboarding.suppressed"
5
- }, t = "onboarding";
5
+ var r = .25, i = (t) => t ? e(t) : void 0, a = (e) => e ? t(e) : void 0;
6
+ function o(e) {
7
+ return Object.fromEntries(Object.entries(e).filter(([, e]) => e !== void 0));
8
+ }
9
+ function s(e) {
10
+ if (!e) return;
11
+ let t = /^(\d{4})-(\d{2})-(\d{2})/.exec(e);
12
+ if (!t) return;
13
+ let [, n, r, i] = t;
14
+ return new Date(Number(n), Number(r) - 1, Number(i));
15
+ }
16
+ function c(e) {
17
+ if (e == null || e === "") return null;
18
+ let t = typeof e == "string" ? Number(e) : e;
19
+ return Number.isFinite(t) ? Math.round(t * 1e6) / 1e4 : null;
20
+ }
21
+ function l(e) {
22
+ if (e == null || e === "") return null;
23
+ let t = typeof e == "string" ? Number(e) : e;
24
+ return Number.isFinite(t) ? t >= r : null;
25
+ }
26
+ function u(e) {
27
+ return {
28
+ line1: e?.address1 ?? void 0,
29
+ city: e?.city ?? void 0,
30
+ state: e?.state ?? void 0,
31
+ zipCode: e?.postalCode ?? void 0
32
+ };
33
+ }
34
+ function d(e, t) {
35
+ let n = u(e.address);
36
+ return o({
37
+ companyLegalName: e.legalName ?? void 0,
38
+ companyDbaName: e.dbaName ?? "",
39
+ businessAddress: n.line1,
40
+ city: n.city,
41
+ state: n.state,
42
+ zipCode: a(n.zipCode),
43
+ companyPhoneNumber: i(e.phoneNumber),
44
+ companyStructure: e.businessStructureType ?? void 0,
45
+ website: e.website ?? "",
46
+ naicsCode: e.northAmericanIndustryClassificationSystemCode ?? void 0,
47
+ isAuthorized: t?.isLegallyAuthorized ?? void 0,
48
+ taxId: "",
49
+ isCheckboxChecked: !1
50
+ });
51
+ }
52
+ function f(e) {
53
+ let t = u(e.homeAddress);
54
+ return o({
55
+ firstName: e.firstName ?? void 0,
56
+ lastName: e.lastName ?? void 0,
57
+ dateOfBirth: s(e.birthDate),
58
+ homeAddress: t.line1,
59
+ city: t.city,
60
+ state: t.state,
61
+ zipCode: a(t.zipCode),
62
+ mobilePhoneNumber: i(e.mobilePhoneNumber),
63
+ workEmail: e.workEmailAddress ?? void 0,
64
+ ownsOver25Percent: l(e.ownershipPercentage) ?? void 0,
65
+ ownershipPercentage: c(e.ownershipPercentage) ?? void 0,
66
+ ssn: ""
67
+ });
68
+ }
69
+ function p(e) {
70
+ let t = u(e.homeAddress);
71
+ return n({
72
+ ...e.id ? { id: e.id } : {},
73
+ firstName: e.firstName ?? "",
74
+ lastName: e.lastName ?? "",
75
+ dateOfBirth: s(e.birthDate),
76
+ ssn: "",
77
+ homeAddress: t.line1 ?? "",
78
+ city: t.city ?? "",
79
+ state: t.state ?? "",
80
+ zipCode: t.zipCode ?? "",
81
+ mobilePhoneNumber: e.mobilePhoneNumber ?? "",
82
+ ownsOver25Percent: null,
83
+ ownershipPercentage: c(e.ownershipPercentage)
84
+ });
85
+ }
86
+ function m(e) {
87
+ if (!e) return;
88
+ let { applicant: t, businessDetails: n, businessOwners: r } = e, i = {
89
+ businessDetails: {
90
+ taxId: "",
91
+ isCheckboxChecked: !1
92
+ },
93
+ personalDetails: { ssn: "" }
94
+ };
95
+ return n && (i.businessDetails = d(n, t)), t && (i.personalDetails = f(t)), r !== void 0 && (i.additionalOwners = r?.map(p) ?? []), i;
96
+ }
6
97
  //#endregion
7
- export { e as OnboardingAnalyticsEvent, t as WIDGET_NAME };
98
+ export { m as buildOnboardingPrefill };
@@ -1,30 +1,7 @@
1
- import { RESULT_LABELS_EN as e } from "../../ui/dist/index12.js";
2
- import "../../ui/dist/index.js";
3
1
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js
4
- var t = {
5
- stepIndicator: {
6
- business: "Business",
7
- personal: "Personal",
8
- ownership: "Ownership",
9
- done: "Done"
10
- },
11
- businessDetails: {},
12
- personalDetails: {},
13
- additionalOwners: {},
14
- result: e,
15
- back: "Back",
16
- cancel: "Cancel",
17
- next: "Next",
18
- submit: "Submit application",
19
- businessReviewTitle: "Review your business details",
20
- businessReviewSubtitle: "Take a moment to make sure your business information is correct.",
21
- personalReviewTitle: "Review your personal details",
22
- personalReviewSubtitle: "Take a moment to make sure your personal information is correct.",
23
- modalTitle: "Bank account onboarding",
24
- submitFailedError: "Unable to submit application. Please try again.",
25
- genericRetryError: "Please try again.",
26
- fallbackBankName: "Member Bank",
27
- shellFdicDisclaimer: "Products and services are offered by {bankName}, N.A., Member FDIC."
28
- };
2
+ var e = {
3
+ Mounted: "onboarding.mounted",
4
+ Suppressed: "onboarding.suppressed"
5
+ }, t = "onboarding";
29
6
  //#endregion
30
- export { t as DEFAULT_LABELS };
7
+ export { e as OnboardingAnalyticsEvent, t as WIDGET_NAME };