@tesouro/embedded-components-react 0.5.214 → 0.5.216
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.d.ts +144 -3
- package/dist/index.js +14 -13
- package/dist/lib/BankAccountOnboardingWidget.d.ts +56 -2
- package/dist/lib/BankAccountOnboardingWidget.js +4 -3
- package/dist/lib/MarketingWidget.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +88 -1
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/lib/WidgetSuite.d.ts +53 -0
- package/dist/libs/shared/util-validation/dist/index5.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index11.js +72 -72
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js +60 -60
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index21.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +71 -5
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index23.js +95 -33
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index24.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +16 -616
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js +669 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +15 -13
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index10.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index11.js +31 -37
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index12.js +33 -89
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index13.js +39 -12
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index14.js +98 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index16.js +2 -185
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index17.js +4 -30
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index18.js +183 -21
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index19.js +26 -66
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js +21 -233
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index21.js +66 -27
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index22.js +233 -26
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index23.js +27 -72
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index24.js +26 -85
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index25.js +74 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index26.js +83 -55
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +37 -42
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index29.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index30.js +64 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index9.js +7 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +63 -67
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +160 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +32 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +25 -200
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +175 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +1 -101
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +92 -71
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +44 -100
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +93 -421
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +442 -112
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +166 -157
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +150 -204
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +202 -31
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +32 -145
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +145 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +44 -58
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +113 -87
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +58 -116
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +83 -357
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +111 -65
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +449 -99
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +68 -281
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +115 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +314 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +34 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +444 -92
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +113 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +2 -92
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +95 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +3 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +3 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +1 -264
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +258 -42
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +38 -62
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +61 -463
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +457 -89
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +91 -234
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +89 -82
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +22 -338
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +236 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +26 -204
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +249 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +344 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +208 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +29 -202
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +183 -137
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +157 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index5.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index6.js +157 -16
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/onboardingSuppressionReason.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +167 -156
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -34
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +2 -1
- 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/feature/dist/lib/application/bankAccountApplication.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +13 -13
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index7.js +0 -161
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { isValidWebsiteUrl as r } from "./index8.js";
|
|
4
|
-
import { formatPhoneNumberInput as i } from "./index2.js";
|
|
5
|
-
import { sanitizeZipCodeInput as a } from "./index3.js";
|
|
6
|
-
import { sanitizeTaxIdInput as o } from "./index5.js";
|
|
7
|
-
import { BUSINESS_DETAILS_LABELS_EN as s } from "../../ui/dist/index7.js";
|
|
8
|
-
import { BUSINESS_DETAILS_PANEL_LABELS_EN as c } from "../../ui/dist/index18.js";
|
|
1
|
+
import { BUSINESS_DETAILS_LABELS_EN as e } from "../../ui/dist/index7.js";
|
|
2
|
+
import { BUSINESS_DETAILS_PANEL_LABELS_EN as t } from "../../ui/dist/index20.js";
|
|
9
3
|
import "../../ui/dist/index.js";
|
|
4
|
+
import { maskIdentifierLast4 as n } from "./index6.js";
|
|
5
|
+
import { storedIdentifierFieldDisplay as r, usableStoredTaxIdLast4 as i } from "./index7.js";
|
|
6
|
+
import { isValidWebsiteUrl as a } from "./index8.js";
|
|
7
|
+
import { formatPhoneNumberInput as o } from "./index2.js";
|
|
8
|
+
import { sanitizeZipCodeInput as s } from "./index3.js";
|
|
9
|
+
import { sanitizeTaxIdInput as c } from "./index5.js";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index11.js
|
|
11
|
-
function l(
|
|
11
|
+
function l(t) {
|
|
12
12
|
return {
|
|
13
|
-
...s,
|
|
14
13
|
...e,
|
|
14
|
+
...t,
|
|
15
15
|
companyStructureOptions: {
|
|
16
|
-
...
|
|
17
|
-
...
|
|
16
|
+
...e.companyStructureOptions,
|
|
17
|
+
...t?.companyStructureOptions
|
|
18
18
|
},
|
|
19
19
|
naicsTitles: {
|
|
20
|
-
...
|
|
21
|
-
...
|
|
20
|
+
...e.naicsTitles,
|
|
21
|
+
...t?.naicsTitles
|
|
22
22
|
},
|
|
23
23
|
stateTitles: {
|
|
24
|
-
...
|
|
25
|
-
...
|
|
24
|
+
...e.stateTitles,
|
|
25
|
+
...t?.stateTitles
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
function u(e) {
|
|
30
|
-
return e.trim().length > 0 && !
|
|
30
|
+
return e.trim().length > 0 && !a(e);
|
|
31
31
|
}
|
|
32
32
|
function d(e) {
|
|
33
|
-
let
|
|
33
|
+
let n = l(e);
|
|
34
34
|
return {
|
|
35
|
-
...
|
|
36
|
-
companyLegalName:
|
|
37
|
-
companyDbaName:
|
|
38
|
-
businessAddress:
|
|
39
|
-
city:
|
|
40
|
-
state:
|
|
41
|
-
statePlaceholder:
|
|
42
|
-
zipCode:
|
|
43
|
-
companyPhoneNumber:
|
|
44
|
-
companyStructure:
|
|
45
|
-
companyStructurePlaceholder:
|
|
46
|
-
website:
|
|
47
|
-
websiteInvalid:
|
|
48
|
-
taxId:
|
|
49
|
-
naicsCode:
|
|
50
|
-
naicsCodePlaceholder:
|
|
35
|
+
...t,
|
|
36
|
+
companyLegalName: n.companyLegalName,
|
|
37
|
+
companyDbaName: n.companyDbaName,
|
|
38
|
+
businessAddress: n.businessAddress,
|
|
39
|
+
city: n.city,
|
|
40
|
+
state: n.state,
|
|
41
|
+
statePlaceholder: n.statePlaceholder,
|
|
42
|
+
zipCode: n.zipCode,
|
|
43
|
+
companyPhoneNumber: n.companyPhoneNumber,
|
|
44
|
+
companyStructure: n.companyStructure,
|
|
45
|
+
companyStructurePlaceholder: n.companyStructurePlaceholder,
|
|
46
|
+
website: n.website,
|
|
47
|
+
websiteInvalid: n.websiteInvalid,
|
|
48
|
+
taxId: n.taxId,
|
|
49
|
+
naicsCode: n.naicsCode,
|
|
50
|
+
naicsCodePlaceholder: n.naicsCodePlaceholder
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
function f(
|
|
54
|
-
let
|
|
53
|
+
function f(e, t) {
|
|
54
|
+
let r = d(t.labels), a = l(t.labels), o = i(e), s = e.companyStructure && a.companyStructureOptions[e.companyStructure], c = t.stateOptions.find((t) => t.value === e.state)?.label ?? e.state, u = t.naicsOptions.find((t) => t.value === e.naicsCode)?.label ?? e.naicsCode;
|
|
55
55
|
return [
|
|
56
56
|
{
|
|
57
|
-
label:
|
|
58
|
-
value:
|
|
57
|
+
label: r.companyLegalName,
|
|
58
|
+
value: e.companyLegalName,
|
|
59
59
|
testId: "business-details-summary-legal-name"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
label:
|
|
63
|
-
value:
|
|
62
|
+
label: r.companyDbaName,
|
|
63
|
+
value: e.companyDbaName,
|
|
64
64
|
testId: "business-details-summary-dba-name"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
label:
|
|
68
|
-
value:
|
|
67
|
+
label: r.businessAddress,
|
|
68
|
+
value: e.businessAddress,
|
|
69
69
|
testId: "business-details-summary-address"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
label:
|
|
73
|
-
value:
|
|
72
|
+
label: r.city,
|
|
73
|
+
value: e.city,
|
|
74
74
|
testId: "business-details-summary-city"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
label:
|
|
77
|
+
label: r.state,
|
|
78
78
|
value: c,
|
|
79
79
|
testId: "business-details-summary-state"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
|
-
label:
|
|
83
|
-
value:
|
|
82
|
+
label: r.zipCode,
|
|
83
|
+
value: e.zipCode,
|
|
84
84
|
testId: "business-details-summary-zip-code"
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
label:
|
|
88
|
-
value:
|
|
87
|
+
label: r.companyPhoneNumber,
|
|
88
|
+
value: e.companyPhoneNumber,
|
|
89
89
|
testId: "business-details-summary-phone"
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
|
-
label:
|
|
93
|
-
value: s ??
|
|
92
|
+
label: r.companyStructure,
|
|
93
|
+
value: s ?? e.companyStructure,
|
|
94
94
|
testId: "business-details-summary-structure"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
|
-
label:
|
|
98
|
-
value:
|
|
97
|
+
label: r.website,
|
|
98
|
+
value: e.website,
|
|
99
99
|
testId: "business-details-summary-website"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
label:
|
|
103
|
-
value:
|
|
102
|
+
label: r.taxId,
|
|
103
|
+
value: e.taxId ? e.taxId : o ? n(o) : "",
|
|
104
104
|
testId: "business-details-summary-tax-id"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
label:
|
|
107
|
+
label: r.naicsCode,
|
|
108
108
|
value: u,
|
|
109
109
|
testId: "business-details-summary-naics"
|
|
110
110
|
}
|
|
111
111
|
];
|
|
112
112
|
}
|
|
113
|
-
function p(e,
|
|
114
|
-
let
|
|
115
|
-
return
|
|
113
|
+
function p(e, t) {
|
|
114
|
+
let n = l(t);
|
|
115
|
+
return r(i(e), n.taxIdOnFileTemplate);
|
|
116
116
|
}
|
|
117
117
|
function m(e, t, n) {
|
|
118
|
-
let r = l(n.labels),
|
|
118
|
+
let r = l(n.labels), i = [
|
|
119
119
|
"CORPORATION_PUBLIC",
|
|
120
120
|
"CORPORATION_PRIVATE",
|
|
121
121
|
"CORPORATION_NOT_FOR_PROFIT",
|
|
@@ -130,39 +130,39 @@ function m(e, t, n) {
|
|
|
130
130
|
].map((e) => ({
|
|
131
131
|
value: e,
|
|
132
132
|
label: r.companyStructureOptions[e]
|
|
133
|
-
})),
|
|
133
|
+
})), a = (n) => (r) => t({
|
|
134
134
|
...e,
|
|
135
135
|
[n]: r
|
|
136
136
|
});
|
|
137
137
|
return {
|
|
138
138
|
companyLegalName: {
|
|
139
139
|
value: e.companyLegalName,
|
|
140
|
-
onValueChange:
|
|
140
|
+
onValueChange: a("companyLegalName")
|
|
141
141
|
},
|
|
142
142
|
companyDbaName: {
|
|
143
143
|
value: e.companyDbaName,
|
|
144
|
-
onValueChange:
|
|
144
|
+
onValueChange: a("companyDbaName")
|
|
145
145
|
},
|
|
146
146
|
businessAddress: {
|
|
147
147
|
value: e.businessAddress,
|
|
148
|
-
onValueChange:
|
|
148
|
+
onValueChange: a("businessAddress")
|
|
149
149
|
},
|
|
150
150
|
city: {
|
|
151
151
|
value: e.city,
|
|
152
|
-
onValueChange:
|
|
152
|
+
onValueChange: a("city")
|
|
153
153
|
},
|
|
154
154
|
state: {
|
|
155
155
|
value: e.state,
|
|
156
|
-
onValueChange:
|
|
156
|
+
onValueChange: a("state"),
|
|
157
157
|
options: n.stateOptions
|
|
158
158
|
},
|
|
159
159
|
zipCode: {
|
|
160
160
|
value: e.zipCode,
|
|
161
|
-
onValueChange: (e) =>
|
|
161
|
+
onValueChange: (e) => a("zipCode")(s(e))
|
|
162
162
|
},
|
|
163
163
|
companyPhoneNumber: {
|
|
164
164
|
value: e.companyPhoneNumber,
|
|
165
|
-
onValueChange: (e) =>
|
|
165
|
+
onValueChange: (e) => a("companyPhoneNumber")(o(e))
|
|
166
166
|
},
|
|
167
167
|
companyStructure: {
|
|
168
168
|
value: e.companyStructure,
|
|
@@ -170,19 +170,19 @@ function m(e, t, n) {
|
|
|
170
170
|
...e,
|
|
171
171
|
companyStructure: n
|
|
172
172
|
}),
|
|
173
|
-
options:
|
|
173
|
+
options: i
|
|
174
174
|
},
|
|
175
175
|
website: {
|
|
176
176
|
value: e.website,
|
|
177
|
-
onValueChange:
|
|
177
|
+
onValueChange: a("website")
|
|
178
178
|
},
|
|
179
179
|
taxId: {
|
|
180
180
|
value: e.taxId,
|
|
181
|
-
onValueChange: (e) =>
|
|
181
|
+
onValueChange: (e) => a("taxId")(c(e))
|
|
182
182
|
},
|
|
183
183
|
naicsCode: {
|
|
184
184
|
value: e.naicsCode,
|
|
185
|
-
onValueChange:
|
|
185
|
+
onValueChange: a("naicsCode"),
|
|
186
186
|
options: n.naicsOptions
|
|
187
187
|
}
|
|
188
188
|
};
|
|
@@ -34,7 +34,10 @@ var e = {
|
|
|
34
34
|
ownerDeleteOverlay: "additional-owner-delete-overlay",
|
|
35
35
|
ownerDeleteContent: "additional-owner-delete-content",
|
|
36
36
|
resultProcessing: "bank-account-onboarding-result-processing",
|
|
37
|
-
resultDashboardButton: "bank-account-onboarding-result-dashboard-button"
|
|
37
|
+
resultDashboardButton: "bank-account-onboarding-result-dashboard-button",
|
|
38
|
+
statusCard: "bank-account-onboarding-status-card",
|
|
39
|
+
statusCardChip: "bank-account-onboarding-status-card-chip",
|
|
40
|
+
statusCardClose: "bank-account-onboarding-status-card-close"
|
|
38
41
|
};
|
|
39
42
|
//#endregion
|
|
40
43
|
export { e as bankAccountOnboardingTestIds };
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { BusinessDetailsPanel as i } from "../../ui/dist/index19.js";
|
|
8
|
-
import { BusinessDisclosuresSection as a } from "../../ui/dist/index24.js";
|
|
5
|
+
import { BusinessDetailsPanel as e } from "../../ui/dist/index21.js";
|
|
6
|
+
import { BusinessDisclosuresSection as t } from "../../ui/dist/index26.js";
|
|
9
7
|
import "../../ui/dist/index.js";
|
|
8
|
+
import { bankAccountOnboardingTestIds as n } from "./index12.js";
|
|
9
|
+
import { buildBusinessDetailsPanelFieldsSchema as r, buildBusinessDetailsSchema as i, isTaxIdSatisfied as a } from "./index10.js";
|
|
10
10
|
import { buildBusinessDetailsEditFields as o, buildBusinessDetailsPanelLabels as s, buildBusinessDetailsSummaryRows as c, buildTaxIdFieldDisplay as l, isBusinessWebsiteInvalid as u, mergeBusinessDetailsLabels as d } from "./index11.js";
|
|
11
11
|
import { useEffect as f, useMemo as p, useRef as m, useState as h } from "react";
|
|
12
12
|
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
13
13
|
//#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js
|
|
14
14
|
function v({ value: v, onValueChange: y, onSnapshotChange: b, naicsOptions: x, stateOptions: S, isSubmitting: C, labels: w, bankName: T, termsHref: E, privacyHref: D, electronicCommunicationHref: O, patriotActHref: k }) {
|
|
15
15
|
let A = p(() => d(w), [w]), j = p(() => ({
|
|
16
|
-
panelFields:
|
|
16
|
+
panelFields: r(A).refine(a, {
|
|
17
17
|
message: A.taxIdInvalid,
|
|
18
18
|
path: ["taxId"]
|
|
19
19
|
}),
|
|
20
|
-
full:
|
|
20
|
+
full: i(A)
|
|
21
21
|
}), [A]), M = j.full.safeParse(v), N = M.success ? M.data : null, P = j.panelFields.safeParse(v).success, F = JSON.stringify(N), I = m(b);
|
|
22
22
|
I.current = b, f(() => {
|
|
23
23
|
I.current(N);
|
|
@@ -41,7 +41,7 @@ function v({ value: v, onValueChange: y, onSnapshotChange: b, naicsOptions: x, s
|
|
|
41
41
|
]), U = u(v.website), W = p(() => l(v, w), [v, w]);
|
|
42
42
|
return /* @__PURE__ */ _("div", {
|
|
43
43
|
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
44
|
-
children: [/* @__PURE__ */ g(
|
|
44
|
+
children: [/* @__PURE__ */ g(e, {
|
|
45
45
|
isEditing: L,
|
|
46
46
|
onEditClick: () => R(!0),
|
|
47
47
|
summaryRows: V,
|
|
@@ -53,15 +53,15 @@ function v({ value: v, onValueChange: y, onSnapshotChange: b, naicsOptions: x, s
|
|
|
53
53
|
taxIdPlaceholder: W.placeholder,
|
|
54
54
|
taxIdHelpText: W.helpText,
|
|
55
55
|
testIds: {
|
|
56
|
-
root:
|
|
57
|
-
editButton:
|
|
58
|
-
summary: { root:
|
|
56
|
+
root: n.businessDetailsPanel,
|
|
57
|
+
editButton: n.businessDetailsEditButton,
|
|
58
|
+
summary: { root: n.businessDetailsSummary },
|
|
59
59
|
editForm: {
|
|
60
|
-
root:
|
|
61
|
-
naicsCombobox:
|
|
60
|
+
root: n.businessDetailsEditForm,
|
|
61
|
+
naicsCombobox: n.businessDetailsNaicsCombobox
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
}), /* @__PURE__ */ g(
|
|
64
|
+
}), /* @__PURE__ */ g(t, {
|
|
65
65
|
value: {
|
|
66
66
|
isAuthorized: v.isAuthorized,
|
|
67
67
|
isCheckboxChecked: v.isCheckboxChecked
|
|
@@ -78,8 +78,8 @@ function v({ value: v, onValueChange: y, onSnapshotChange: b, naicsOptions: x, s
|
|
|
78
78
|
electronicCommunicationHref: O,
|
|
79
79
|
patriotActHref: k,
|
|
80
80
|
testIds: {
|
|
81
|
-
authorizationCheckbox:
|
|
82
|
-
disclosureCheckbox:
|
|
81
|
+
authorizationCheckbox: n.authorizationCheckbox,
|
|
82
|
+
disclosureCheckbox: n.disclosureCheckbox
|
|
83
83
|
}
|
|
84
84
|
})]
|
|
85
85
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { formatPhoneNumberInput as n } from "./index2.js";
|
|
4
|
-
import { sanitizeZipCodeInput as r } from "./index3.js";
|
|
5
|
-
import { PERSONAL_DETAILS_LABELS_EN as i } from "../../ui/dist/index8.js";
|
|
6
|
-
import { ABOUT_YOU_PANEL_LABELS_EN as a } from "../../ui/dist/index22.js";
|
|
1
|
+
import { PERSONAL_DETAILS_LABELS_EN as e } from "../../ui/dist/index8.js";
|
|
2
|
+
import { ABOUT_YOU_PANEL_LABELS_EN as t } from "../../ui/dist/index24.js";
|
|
7
3
|
import "../../ui/dist/index.js";
|
|
4
|
+
import { maskIdentifierLast4 as n } from "./index6.js";
|
|
5
|
+
import { storedIdentifierFieldDisplay as r } from "./index7.js";
|
|
6
|
+
import { formatPhoneNumberInput as i } from "./index2.js";
|
|
7
|
+
import { sanitizeZipCodeInput as a } from "./index3.js";
|
|
8
8
|
import { formatSsnInput as o, maskSsn as s, sanitizeSsnDigits as c } from "./index4.js";
|
|
9
9
|
//#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js
|
|
10
10
|
function l(e) {
|
|
@@ -14,70 +14,70 @@ function l(e) {
|
|
|
14
14
|
year: "numeric"
|
|
15
15
|
}) : "";
|
|
16
16
|
}
|
|
17
|
-
function u(
|
|
17
|
+
function u(t) {
|
|
18
18
|
return {
|
|
19
|
-
...
|
|
20
|
-
...
|
|
19
|
+
...e,
|
|
20
|
+
...t
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
function d(e) {
|
|
24
|
-
let
|
|
24
|
+
let n = u(e);
|
|
25
25
|
return {
|
|
26
|
-
...
|
|
27
|
-
firstName:
|
|
28
|
-
lastName:
|
|
29
|
-
dateOfBirth:
|
|
30
|
-
dateOfBirthPlaceholder:
|
|
31
|
-
ssn:
|
|
32
|
-
ssnShow:
|
|
33
|
-
ssnHide:
|
|
34
|
-
homeAddress:
|
|
35
|
-
city:
|
|
36
|
-
state:
|
|
37
|
-
statePlaceholder:
|
|
38
|
-
zipCode:
|
|
39
|
-
mobilePhoneNumber:
|
|
40
|
-
workEmail:
|
|
41
|
-
ownsOver25Question:
|
|
42
|
-
ownsOver25SummaryLabel:
|
|
43
|
-
ownsOver25Yes:
|
|
44
|
-
ownsOver25No:
|
|
45
|
-
ownershipPercentage:
|
|
46
|
-
ownershipPercentagePlaceholder:
|
|
26
|
+
...t,
|
|
27
|
+
firstName: n.firstName,
|
|
28
|
+
lastName: n.lastName,
|
|
29
|
+
dateOfBirth: n.dateOfBirth,
|
|
30
|
+
dateOfBirthPlaceholder: n.dateOfBirthPlaceholder,
|
|
31
|
+
ssn: n.ssn,
|
|
32
|
+
ssnShow: n.ssnShow,
|
|
33
|
+
ssnHide: n.ssnHide,
|
|
34
|
+
homeAddress: n.homeAddress,
|
|
35
|
+
city: n.city,
|
|
36
|
+
state: n.state,
|
|
37
|
+
statePlaceholder: n.statePlaceholder,
|
|
38
|
+
zipCode: n.zipCode,
|
|
39
|
+
mobilePhoneNumber: n.mobilePhoneNumber,
|
|
40
|
+
workEmail: n.workEmail,
|
|
41
|
+
ownsOver25Question: n.ownsOver25Question,
|
|
42
|
+
ownsOver25SummaryLabel: n.ownsOver25SummaryLabel,
|
|
43
|
+
ownsOver25Yes: n.ownsOver25Yes,
|
|
44
|
+
ownsOver25No: n.ownsOver25No,
|
|
45
|
+
ownershipPercentage: n.ownershipPercentage,
|
|
46
|
+
ownershipPercentagePlaceholder: n.ownershipPercentagePlaceholder
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function f(
|
|
50
|
-
let r = d(
|
|
49
|
+
function f(e, t) {
|
|
50
|
+
let r = d(t.labels), i = t.stateOptions.find((t) => t.value === e.state)?.label ?? e.state;
|
|
51
51
|
return [
|
|
52
52
|
{
|
|
53
53
|
label: r.firstName,
|
|
54
|
-
value:
|
|
54
|
+
value: e.firstName,
|
|
55
55
|
testId: "about-you-summary-first-name"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
label: r.lastName,
|
|
59
|
-
value:
|
|
59
|
+
value: e.lastName,
|
|
60
60
|
testId: "about-you-summary-last-name"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
label: r.dateOfBirth,
|
|
64
|
-
value: l(
|
|
64
|
+
value: l(e.dateOfBirth),
|
|
65
65
|
testId: "about-you-summary-dob"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
label: r.ssn,
|
|
69
|
-
value:
|
|
69
|
+
value: e.ssn ? s(e.ssn) : e.ssnOnFileLast4 ? n(e.ssnOnFileLast4) : "",
|
|
70
70
|
testId: "about-you-summary-ssn",
|
|
71
71
|
valueMonospace: !0
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
label: r.homeAddress,
|
|
75
|
-
value:
|
|
75
|
+
value: e.homeAddress,
|
|
76
76
|
testId: "about-you-summary-home-address"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
label: r.city,
|
|
80
|
-
value:
|
|
80
|
+
value: e.city,
|
|
81
81
|
testId: "about-you-summary-city"
|
|
82
82
|
},
|
|
83
83
|
{
|
|
@@ -87,72 +87,72 @@ function f(t, n) {
|
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
label: r.zipCode,
|
|
90
|
-
value:
|
|
90
|
+
value: e.zipCode,
|
|
91
91
|
testId: "about-you-summary-zip-code"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
label: r.mobilePhoneNumber,
|
|
95
|
-
value:
|
|
95
|
+
value: e.mobilePhoneNumber,
|
|
96
96
|
testId: "about-you-summary-mobile-phone"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
label: r.workEmail,
|
|
100
|
-
value:
|
|
100
|
+
value: e.workEmail,
|
|
101
101
|
testId: "about-you-summary-email"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
label: r.ownershipPercentage,
|
|
105
|
-
value:
|
|
105
|
+
value: e.ownershipPercentage === null ? "" : `${e.ownershipPercentage}%`,
|
|
106
106
|
testId: "about-you-summary-ownership-percentage"
|
|
107
107
|
}
|
|
108
108
|
];
|
|
109
109
|
}
|
|
110
|
-
function p(e, t,
|
|
111
|
-
let
|
|
110
|
+
function p(e, t, n) {
|
|
111
|
+
let r = (n) => (r) => t({
|
|
112
112
|
...e,
|
|
113
113
|
[n]: r
|
|
114
114
|
});
|
|
115
115
|
return {
|
|
116
116
|
firstName: {
|
|
117
117
|
value: e.firstName,
|
|
118
|
-
onValueChange:
|
|
118
|
+
onValueChange: r("firstName")
|
|
119
119
|
},
|
|
120
120
|
lastName: {
|
|
121
121
|
value: e.lastName,
|
|
122
|
-
onValueChange:
|
|
122
|
+
onValueChange: r("lastName")
|
|
123
123
|
},
|
|
124
124
|
dateOfBirth: {
|
|
125
125
|
value: e.dateOfBirth,
|
|
126
|
-
onValueChange:
|
|
126
|
+
onValueChange: r("dateOfBirth")
|
|
127
127
|
},
|
|
128
128
|
ssn: {
|
|
129
129
|
value: e.ssn,
|
|
130
|
-
onValueChange: (e) =>
|
|
130
|
+
onValueChange: (e) => r("ssn")(c(e))
|
|
131
131
|
},
|
|
132
132
|
homeAddress: {
|
|
133
133
|
value: e.homeAddress,
|
|
134
|
-
onValueChange:
|
|
134
|
+
onValueChange: r("homeAddress")
|
|
135
135
|
},
|
|
136
136
|
city: {
|
|
137
137
|
value: e.city,
|
|
138
|
-
onValueChange:
|
|
138
|
+
onValueChange: r("city")
|
|
139
139
|
},
|
|
140
140
|
state: {
|
|
141
141
|
value: e.state,
|
|
142
|
-
onValueChange:
|
|
143
|
-
options:
|
|
142
|
+
onValueChange: r("state"),
|
|
143
|
+
options: n.stateOptions
|
|
144
144
|
},
|
|
145
145
|
zipCode: {
|
|
146
146
|
value: e.zipCode,
|
|
147
|
-
onValueChange: (e) =>
|
|
147
|
+
onValueChange: (e) => r("zipCode")(a(e))
|
|
148
148
|
},
|
|
149
149
|
mobilePhoneNumber: {
|
|
150
150
|
value: e.mobilePhoneNumber,
|
|
151
|
-
onValueChange: (e) =>
|
|
151
|
+
onValueChange: (e) => r("mobilePhoneNumber")(i(e))
|
|
152
152
|
},
|
|
153
153
|
workEmail: {
|
|
154
154
|
value: e.workEmail,
|
|
155
|
-
onValueChange:
|
|
155
|
+
onValueChange: r("workEmail")
|
|
156
156
|
},
|
|
157
157
|
ownsOver25Percent: {
|
|
158
158
|
value: e.ownsOver25Percent === null ? "" : e.ownsOver25Percent ? "yes" : "no",
|
|
@@ -164,16 +164,16 @@ function p(e, t, i) {
|
|
|
164
164
|
},
|
|
165
165
|
ownershipPercentage: {
|
|
166
166
|
value: e.ownershipPercentage,
|
|
167
|
-
onValueChange:
|
|
167
|
+
onValueChange: r("ownershipPercentage")
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function m(e,
|
|
172
|
-
let i = u(
|
|
171
|
+
function m(e, t, n) {
|
|
172
|
+
let i = u(n);
|
|
173
173
|
return {
|
|
174
174
|
masked: s(e),
|
|
175
175
|
formatted: o(e),
|
|
176
|
-
...t
|
|
176
|
+
...r(t, i.ssnOnFileTemplate)
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
179
|
//#endregion
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import { getMaxBirthDate as t } from "./index9.js";
|
|
7
|
-
import { buildPersonalDetailsSchema as n } from "./index10.js";
|
|
8
|
-
import { AboutYouPanel as r } from "../../ui/dist/index23.js";
|
|
5
|
+
import { AboutYouPanel as e } from "../../ui/dist/index25.js";
|
|
9
6
|
import "../../ui/dist/index.js";
|
|
7
|
+
import { bankAccountOnboardingTestIds as t } from "./index12.js";
|
|
8
|
+
import { getMaxBirthDate as n } from "./index9.js";
|
|
9
|
+
import { buildPersonalDetailsSchema as r } from "./index10.js";
|
|
10
10
|
import { buildAboutYouEditFields as i, buildAboutYouPanelLabels as a, buildAboutYouSummaryRows as o, buildSsnDisplayValues as s, mergePersonalDetailsLabels as c } from "./index14.js";
|
|
11
11
|
import { useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
12
12
|
import { jsx as p } from "react/jsx-runtime";
|
|
13
13
|
//#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js
|
|
14
14
|
function m({ value: m, onValueChange: h, onSnapshotChange: g, stateOptions: _, isSubmitting: v, labels: y }) {
|
|
15
|
-
let b = u(() => c(y), [y]), x = u(() =>
|
|
15
|
+
let b = u(() => c(y), [y]), x = u(() => r(b), [b]).safeParse(m), S = x.success ? x.data : null, C = JSON.stringify({
|
|
16
16
|
...S,
|
|
17
17
|
dateOfBirth: S?.dateOfBirth?.toISOString()
|
|
18
18
|
}), w = d(g);
|
|
@@ -34,8 +34,8 @@ function m({ value: m, onValueChange: h, onSnapshotChange: g, stateOptions: _, i
|
|
|
34
34
|
m.ssn,
|
|
35
35
|
m.ssnOnFileLast4,
|
|
36
36
|
y
|
|
37
|
-
]), P = u(() =>
|
|
38
|
-
return /* @__PURE__ */ p(
|
|
37
|
+
]), P = u(() => n(), []);
|
|
38
|
+
return /* @__PURE__ */ p(e, {
|
|
39
39
|
isEditing: T,
|
|
40
40
|
onEditClick: () => E(!0),
|
|
41
41
|
summaryRows: j,
|
|
@@ -53,12 +53,12 @@ function m({ value: m, onValueChange: h, onSnapshotChange: g, stateOptions: _, i
|
|
|
53
53
|
ssnPlaceholder: N.placeholder,
|
|
54
54
|
ssnHelpText: N.helpText,
|
|
55
55
|
testIds: {
|
|
56
|
-
root:
|
|
57
|
-
editButton:
|
|
58
|
-
summary: { root:
|
|
56
|
+
root: t.aboutYouPanel,
|
|
57
|
+
editButton: t.aboutYouEditButton,
|
|
58
|
+
summary: { root: t.aboutYouSummary },
|
|
59
59
|
editForm: {
|
|
60
|
-
root:
|
|
61
|
-
ownsOver25Question:
|
|
60
|
+
root: t.aboutYouEditForm,
|
|
61
|
+
ownsOver25Question: t.aboutYouOwnsOver25Question
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getMaxBirthDate as t, isAtLeastMinOwnerAge as n } from "./index9.js";
|
|
3
|
-
import { formatPhoneNumberInput as r } from "./index2.js";
|
|
4
|
-
import { sanitizeZipCodeInput as i } from "./index3.js";
|
|
5
|
-
import { ADDITIONAL_OWNERS_LABELS_EN as a } from "../../ui/dist/index5.js";
|
|
1
|
+
import { ADDITIONAL_OWNERS_LABELS_EN as e } from "../../ui/dist/index5.js";
|
|
6
2
|
import "../../ui/dist/index.js";
|
|
3
|
+
import { storedIdentifierFieldDisplay as t } from "./index7.js";
|
|
4
|
+
import { getMaxBirthDate as n, isAtLeastMinOwnerAge as r } from "./index9.js";
|
|
5
|
+
import { formatPhoneNumberInput as i } from "./index2.js";
|
|
6
|
+
import { sanitizeZipCodeInput as a } from "./index3.js";
|
|
7
7
|
import { formatSsnInput as o, maskSsn as s, sanitizeSsnDigits as c } from "./index4.js";
|
|
8
8
|
//#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js
|
|
9
9
|
var l = {
|
|
@@ -23,25 +23,25 @@ function u(e) {
|
|
|
23
23
|
return {
|
|
24
24
|
...e,
|
|
25
25
|
ssn: c(e.ssn),
|
|
26
|
-
zipCode:
|
|
27
|
-
mobilePhoneNumber:
|
|
26
|
+
zipCode: a(e.zipCode),
|
|
27
|
+
mobilePhoneNumber: i(e.mobilePhoneNumber),
|
|
28
28
|
ownsOver25Percent: e.ownershipPercentage === null ? null : e.ownershipPercentage >= 25
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function d(
|
|
31
|
+
function d(i, a) {
|
|
32
32
|
let c = {
|
|
33
|
-
...
|
|
34
|
-
...
|
|
35
|
-
}, l =
|
|
33
|
+
...e,
|
|
34
|
+
...a
|
|
35
|
+
}, l = t(i.ssnOnFileLast4, c.ssnOnFileTemplate);
|
|
36
36
|
return {
|
|
37
37
|
ssnRequired: l.required,
|
|
38
38
|
ssnPlaceholder: l.placeholder,
|
|
39
39
|
ssnHelpText: l.helpText,
|
|
40
|
-
dateOfBirthInvalid:
|
|
41
|
-
ownershipPercentageInvalid:
|
|
42
|
-
maxBirthDate:
|
|
43
|
-
ssnMaskedDisplay: s(
|
|
44
|
-
ssnFormattedDisplay: o(
|
|
40
|
+
dateOfBirthInvalid: i.dateOfBirth !== void 0 && !r(i.dateOfBirth),
|
|
41
|
+
ownershipPercentageInvalid: i.ownershipPercentage !== null && i.ownershipPercentage < 25,
|
|
42
|
+
maxBirthDate: n(),
|
|
43
|
+
ssnMaskedDisplay: s(i.ssn),
|
|
44
|
+
ssnFormattedDisplay: o(i.ssn)
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function f(e, t, n) {
|