@tesouro/embedded-components-react 0.5.36 → 0.5.37

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 (48) hide show
  1. package/README.md +14 -14
  2. package/dist/index.d.ts +41 -3
  3. package/dist/index.js +5 -5
  4. package/dist/lib/BankAccountOnboardingWidget.d.ts +41 -3
  5. package/dist/lib/BankAccountOnboardingWidget.js +5 -5
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +184 -109
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index11.js +29 -174
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +117 -67
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +137 -44
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js +77 -107
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js +84 -87
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +116 -88
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +99 -5
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +100 -28
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index19.js +5 -5
  17. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index20.js +26 -383
  18. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index21.js +19 -0
  19. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +407 -0
  20. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index6.js +2 -10
  21. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index7.js +22 -6
  22. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index8.js +11 -182
  23. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index9.js +8 -29
  24. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +12 -12
  25. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index10.js +27 -26
  26. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index11.js +34 -91
  27. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js +96 -12
  28. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js +14 -2
  29. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index14.js +0 -2
  30. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js +4 -175
  31. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index16.js +180 -28
  32. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index17.js +31 -21
  33. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index18.js +21 -65
  34. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index19.js +60 -215
  35. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js +230 -29
  36. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index21.js +32 -26
  37. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index22.js +26 -71
  38. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index23.js +71 -82
  39. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index24.js +87 -0
  40. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index3.js +38 -28
  41. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index4.js +2 -46
  42. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index5.js +48 -139
  43. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index6.js +138 -48
  44. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js +47 -26
  45. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js +32 -33
  46. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js +31 -38
  47. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  48. package/package.json +1 -1
@@ -1,32 +1,53 @@
1
+ import { IDENTIFIER_ON_FILE_TEMPLATE_EN as e } from "./index4.js";
1
2
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index7.js
2
- var e = {
3
- heading: "Tell us about yourself",
4
- subheading: "We need this information to verify your identity.",
5
- firstName: "First name",
6
- lastName: "Last name",
7
- dateOfBirth: "Date of birth",
8
- dateOfBirthPlaceholder: "Pick a date",
9
- dateOfBirthMinAgeError: "Must be at least 18 years old",
10
- ssn: "SSN",
11
- ssnInvalid: "SSN must be 9 digits",
12
- ssnShow: "Show",
13
- ssnHide: "Hide",
14
- homeAddress: "Home address",
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",
15
12
  city: "City",
16
13
  state: "State",
17
14
  statePlaceholder: "Select state",
18
- zipCode: "ZIP code",
19
- mobilePhoneNumber: "Mobile phone number",
20
- mobilePhoneNumberInvalid: "Phone must be 10 digits",
21
- workEmail: "Work email",
22
- ownsOver25Question: "Do you own 25% or more of the business?",
23
- ownsOver25SummaryLabel: "Owns 25% or more of the business",
24
- ownsOver25Yes: "Yes",
25
- ownsOver25No: "No",
26
- ownershipPercentage: "Ownership share (minimum 25%)",
27
- ownershipPercentagePlaceholder: "e.g., 25",
28
- ownershipPercentageRangeError: "Ownership share must be between 25 and 100 when you own 25% or more",
29
- percentSuffix: "%"
15
+ zipCode: "Postal code",
16
+ companyPhoneNumber: "Company phone number",
17
+ companyPhoneNumberInvalid: "Phone must be 10 digits",
18
+ companyStructure: "Company structure",
19
+ companyStructurePlaceholder: "Select structure",
20
+ website: "Website (optional)",
21
+ websiteInvalid: "Enter a valid website URL (no spaces).",
22
+ taxId: "Tax ID (EIN)",
23
+ taxIdInvalid: "Tax ID must be 9 digits",
24
+ taxIdOnFileTemplate: e,
25
+ naicsCode: "Industry (NAICS code)",
26
+ naicsCodePlaceholder: "Search by code or industry",
27
+ isAuthorizedQuestion: "I am legally authorized to view and manage financial accounts for my company.",
28
+ isAuthorizedYes: "Yes",
29
+ isAuthorizedNo: "No",
30
+ acceptDisclosuresPrefix: "I agree to {bankName}'s ",
31
+ termsOfUse: "Terms of Use",
32
+ privacyPolicy: "Privacy Policy",
33
+ acceptDisclosuresTermsPrivacyJoin: " and ",
34
+ acceptDisclosuresAfterPrivacy: ", and to receive electronic communication about my accounts and services per {bankName}'s ",
35
+ electronicCommunication: "Electronic Communications Agreement",
36
+ acceptDisclosuresAfterElectronic: ", and acknowledge receipt of {bankName}'s ",
37
+ patriotAct: "USA PATRIOT Act disclosure.",
38
+ companyStructureOptions: {
39
+ CORPORATION_PUBLIC: "Public corporation",
40
+ CORPORATION_PRIVATE: "Private corporation",
41
+ CORPORATION_NOT_FOR_PROFIT: "Not-for-profit corporation",
42
+ LLC: "Limited liability company (LLC)",
43
+ LLP: "Limited liability partnership (LLP)",
44
+ PARTNERSHIP: "Partnership",
45
+ SOLE_PROPRIETORSHIP: "Sole proprietorship",
46
+ GOVERNMENT: "Government",
47
+ COOPERATIVE: "Cooperative",
48
+ ASSOCIATION: "Association",
49
+ OTHER: "Other"
50
+ }
30
51
  };
31
52
  //#endregion
32
- export { e as PERSONAL_DETAILS_LABELS_EN };
53
+ export { n as BUSINESS_DETAILS_LABELS_EN, t as interpolateBankName };
@@ -1,35 +1,34 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import * as e from "react";
6
- import { jsx as t } from "react/jsx-runtime";
7
- import n from "react-confetti";
1
+ import { IDENTIFIER_ON_FILE_TEMPLATE_EN as e } from "./index4.js";
8
2
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index8.js
9
- function r() {
10
- let [r, i] = e.useState({
11
- width: typeof window < "u" ? window.innerWidth : 0,
12
- height: typeof window < "u" ? window.innerHeight : 0
13
- });
14
- return e.useEffect(() => {
15
- let e = () => {
16
- i({
17
- width: window.innerWidth,
18
- height: window.innerHeight
19
- });
20
- };
21
- return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
22
- }, []), /* @__PURE__ */ t(n, {
23
- width: r.width,
24
- height: r.height,
25
- recycle: !1,
26
- gravity: .6,
27
- numberOfPieces: 400,
28
- initialVelocityY: {
29
- min: 10,
30
- max: 12
31
- }
32
- });
33
- }
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
+ mobilePhoneNumber: "Mobile phone number",
22
+ mobilePhoneNumberInvalid: "Phone must be 10 digits",
23
+ workEmail: "Work email",
24
+ ownsOver25Question: "Do you own 25% or more of the business?",
25
+ ownsOver25SummaryLabel: "Owns 25% or more of the business",
26
+ ownsOver25Yes: "Yes",
27
+ ownsOver25No: "No",
28
+ ownershipPercentage: "Ownership share (minimum 25%)",
29
+ ownershipPercentagePlaceholder: "e.g., 25",
30
+ ownershipPercentageRangeError: "Ownership share must be between 25 and 100 when you own 25% or more",
31
+ percentSuffix: "%"
32
+ };
34
33
  //#endregion
35
- export { r as ResultStepConfetti };
34
+ export { t as PERSONAL_DETAILS_LABELS_EN };
@@ -1,42 +1,35 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import * as e from "react";
6
+ import { jsx as t } from "react/jsx-runtime";
7
+ import n from "react-confetti";
2
8
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js
3
- function n() {
4
- return /* @__PURE__ */ t("svg", {
5
- width: "46",
6
- height: "18",
7
- viewBox: "0 0 46 18",
8
- fill: "none",
9
- xmlns: "http://www.w3.org/2000/svg",
10
- "aria-hidden": !0,
11
- children: [/* @__PURE__ */ t("g", {
12
- clipPath: "url(#result-step-fdic-clip)",
13
- children: [
14
- /* @__PURE__ */ e("path", {
15
- d: "M4.85119 17.952H0V0.0942383H9.9788V4.76193H4.85119V7.65267H9.68264V12.3209H4.85119V17.952Z",
16
- fill: "#667085"
17
- }),
18
- /* @__PURE__ */ e("path", {
19
- d: "M25.9108 9.01442C25.9108 0.834634 18.5742 0.0942383 15.5366 0.0942383H10.6465V17.9352H15.5366L15.529 13.2837V4.68818C18.5377 4.68818 21.0939 5.79964 21.0939 8.98596C21.0939 12.1717 18.5377 13.2837 15.529 13.2837L15.5366 17.9352C19.3164 17.9358 25.9108 17.211 25.9108 9.01442Z",
20
- fill: "#667085"
21
- }),
22
- /* @__PURE__ */ e("path", {
23
- d: "M31.6022 0.0563965H26.751V17.9513H31.6022V0.0563965Z",
24
- fill: "#667085"
25
- }),
26
- /* @__PURE__ */ e("path", {
27
- d: "M41.5067 13.2276C39.1763 13.2276 37.2478 11.3287 37.2478 9.0001C37.2478 6.67148 39.1763 4.772 41.5067 4.772C43.6314 4.772 44.7423 5.90205 45.474 7.39039V0.982918C45.474 0.982918 43.326 0.0195312 41.3243 0.0195312C36.8785 0.0195312 32.0615 4.10884 32.0615 9.0001C32.0615 14.9883 36.656 17.9801 41.3243 17.9801C43.3254 17.9801 45.474 17.0179 45.474 17.0179V10.6661C44.5983 12.176 43.6198 13.2276 41.5067 13.2276Z",
28
- fill: "#667085"
29
- })
30
- ]
31
- }), /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", {
32
- id: "result-step-fdic-clip",
33
- children: /* @__PURE__ */ e("rect", {
34
- width: "45.4737",
35
- height: "18",
36
- fill: "white"
37
- })
38
- }) })]
9
+ function r() {
10
+ let [r, i] = e.useState({
11
+ width: typeof window < "u" ? window.innerWidth : 0,
12
+ height: typeof window < "u" ? window.innerHeight : 0
13
+ });
14
+ return e.useEffect(() => {
15
+ let e = () => {
16
+ i({
17
+ width: window.innerWidth,
18
+ height: window.innerHeight
19
+ });
20
+ };
21
+ return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
22
+ }, []), /* @__PURE__ */ t(n, {
23
+ width: r.width,
24
+ height: r.height,
25
+ recycle: !1,
26
+ gravity: .6,
27
+ numberOfPieces: 400,
28
+ initialVelocityY: {
29
+ min: 10,
30
+ max: 12
31
+ }
39
32
  });
40
33
  }
41
34
  //#endregion
42
- export { n as ResultStepFdicLogo };
35
+ export { r as ResultStepConfetti };
@@ -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.5.36", n = "fdfcc4c876989cbe6e930941bb50e16ea1d645b9", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.37", n = "0e39e5bb1ec60a282763357b125c1d0d9b50356c", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.36",
3
+ "version": "0.5.37",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {