@tesouro/embedded-components-react 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/index.d.ts +120 -100
- package/dist/index.js +7 -4
- package/dist/lib/BankAccountOnboardingWidget.d.ts +214 -246
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/MarketingWidget.d.ts +684 -0
- package/dist/lib/MarketingWidget.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +183 -205
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +70 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +37 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +110 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +73 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +7 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +22 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +63 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +2 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +81 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +3 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +32 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +39 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +166 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +39 -164
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +50 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +11 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +59 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +139 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +16 -139
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +41 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +14 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +91 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +86 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +3 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +49 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +135 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +33 -135
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +186 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +75 -186
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +232 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +210 -223
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +103 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +13 -121
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +31 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +198 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +31 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +234 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +19 -240
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +427 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -433
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +38 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +220 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -224
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +110 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -112
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +46 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -58
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +101 -239
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +202 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -209
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +113 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -115
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index2.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index26.js → marketing-widget/feature/dist/index3.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js +81 -0
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index24.js → marketing-widget/ui/dist/index2.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index25.js → marketing-widget/ui/dist/index3.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index27.js → marketing-widget/ui/dist/index4.js} +36 -37
- package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index5.js +75 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/data-access/dist/index9.js → shared/data-access/dist/lib/onboardingSuppressionReason.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/data-access/dist/index10.js → shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js} +5 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +0 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -25
|
@@ -3,245 +3,6 @@ import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react
|
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
4
|
import { FallbackProps } from 'react-error-boundary';
|
|
5
5
|
|
|
6
|
-
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
};
|
|
9
|
-
type LinkComponent = ComponentType<LinkComponentProps>;
|
|
10
|
-
/**
|
|
11
|
-
* The UI frameworks a widget's UI layer can render with.
|
|
12
|
-
*
|
|
13
|
-
* - `shadcn` — the shadcn/Tailwind implementation. This is the default and the
|
|
14
|
-
* implicit fallback, so existing consumers that select nothing keep rendering
|
|
15
|
-
* shadcn.
|
|
16
|
-
* - `tecton` — the Tecton implementation.
|
|
17
|
-
*
|
|
18
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
19
|
-
* convention.
|
|
20
|
-
*/
|
|
21
|
-
declare const UIFramework: {
|
|
22
|
-
readonly Shadcn: "shadcn";
|
|
23
|
-
readonly Tecton: "tecton";
|
|
24
|
-
};
|
|
25
|
-
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
26
|
-
|
|
27
|
-
declare const USStateAbbreviation: {
|
|
28
|
-
readonly Alabama: "AL";
|
|
29
|
-
readonly Alaska: "AK";
|
|
30
|
-
readonly Arizona: "AZ";
|
|
31
|
-
readonly Arkansas: "AR";
|
|
32
|
-
readonly California: "CA";
|
|
33
|
-
readonly Colorado: "CO";
|
|
34
|
-
readonly Connecticut: "CT";
|
|
35
|
-
readonly Delaware: "DE";
|
|
36
|
-
readonly DistrictOfColumbia: "DC";
|
|
37
|
-
readonly Florida: "FL";
|
|
38
|
-
readonly Georgia: "GA";
|
|
39
|
-
readonly Hawaii: "HI";
|
|
40
|
-
readonly Idaho: "ID";
|
|
41
|
-
readonly Illinois: "IL";
|
|
42
|
-
readonly Indiana: "IN";
|
|
43
|
-
readonly Iowa: "IA";
|
|
44
|
-
readonly Kansas: "KS";
|
|
45
|
-
readonly Kentucky: "KY";
|
|
46
|
-
readonly Louisiana: "LA";
|
|
47
|
-
readonly Maine: "ME";
|
|
48
|
-
readonly Maryland: "MD";
|
|
49
|
-
readonly Massachusetts: "MA";
|
|
50
|
-
readonly Michigan: "MI";
|
|
51
|
-
readonly Minnesota: "MN";
|
|
52
|
-
readonly Mississippi: "MS";
|
|
53
|
-
readonly Missouri: "MO";
|
|
54
|
-
readonly Montana: "MT";
|
|
55
|
-
readonly Nebraska: "NE";
|
|
56
|
-
readonly Nevada: "NV";
|
|
57
|
-
readonly NewHampshire: "NH";
|
|
58
|
-
readonly NewJersey: "NJ";
|
|
59
|
-
readonly NewMexico: "NM";
|
|
60
|
-
readonly NewYork: "NY";
|
|
61
|
-
readonly NorthCarolina: "NC";
|
|
62
|
-
readonly NorthDakota: "ND";
|
|
63
|
-
readonly Ohio: "OH";
|
|
64
|
-
readonly Oklahoma: "OK";
|
|
65
|
-
readonly Oregon: "OR";
|
|
66
|
-
readonly Pennsylvania: "PA";
|
|
67
|
-
readonly RhodeIsland: "RI";
|
|
68
|
-
readonly SouthCarolina: "SC";
|
|
69
|
-
readonly SouthDakota: "SD";
|
|
70
|
-
readonly Tennessee: "TN";
|
|
71
|
-
readonly Texas: "TX";
|
|
72
|
-
readonly Utah: "UT";
|
|
73
|
-
readonly Vermont: "VT";
|
|
74
|
-
readonly Virginia: "VA";
|
|
75
|
-
readonly Washington: "WA";
|
|
76
|
-
readonly WestVirginia: "WV";
|
|
77
|
-
readonly Wisconsin: "WI";
|
|
78
|
-
readonly Wyoming: "WY";
|
|
79
|
-
};
|
|
80
|
-
type USStateAbbreviation = (typeof USStateAbbreviation)[keyof typeof USStateAbbreviation];
|
|
81
|
-
|
|
82
|
-
interface AdditionalOwnersLabels {
|
|
83
|
-
heading: string;
|
|
84
|
-
subheading: string;
|
|
85
|
-
primaryOwnerShareLabel: string;
|
|
86
|
-
emptyOwnersText: string;
|
|
87
|
-
addOwner: string;
|
|
88
|
-
edit: string;
|
|
89
|
-
remove: string;
|
|
90
|
-
cancel: string;
|
|
91
|
-
save: string;
|
|
92
|
-
close: string;
|
|
93
|
-
addOwnerSubmit: string;
|
|
94
|
-
saveOwnerSubmit: string;
|
|
95
|
-
ownerNameColumn: string;
|
|
96
|
-
ownerShareColumn: string;
|
|
97
|
-
ownerActionsColumn: string;
|
|
98
|
-
formHeadingAdd: string;
|
|
99
|
-
formHeadingEdit: string;
|
|
100
|
-
firstName: string;
|
|
101
|
-
lastName: string;
|
|
102
|
-
dateOfBirth: string;
|
|
103
|
-
dateOfBirthPlaceholder: string;
|
|
104
|
-
dateOfBirthMinAgeError: string;
|
|
105
|
-
ssn: string;
|
|
106
|
-
ssnInvalid: string;
|
|
107
|
-
ssnShow: string;
|
|
108
|
-
ssnHide: string;
|
|
109
|
-
homeAddress: string;
|
|
110
|
-
city: string;
|
|
111
|
-
state: string;
|
|
112
|
-
statePlaceholder: string;
|
|
113
|
-
zipCode: string;
|
|
114
|
-
mobilePhoneNumber: string;
|
|
115
|
-
mobilePhoneNumberInvalid: string;
|
|
116
|
-
ownershipPercentage: string;
|
|
117
|
-
ownershipPercentagePlaceholder: string;
|
|
118
|
-
ownershipPercentageMinError: string;
|
|
119
|
-
/** Required-field marker appended to field labels (e.g. ` *`). */
|
|
120
|
-
requiredFieldMarker: string;
|
|
121
|
-
/** Suffix shown after ownership percentage inputs (e.g. `%`). */
|
|
122
|
-
percentSuffix: string;
|
|
123
|
-
deleteOwnerHeading: string;
|
|
124
|
-
deleteOwnerPromptBeforeName: string;
|
|
125
|
-
deleteOwnerPromptAfterName: string;
|
|
126
|
-
deleteOwnerConfirm: string;
|
|
127
|
-
totalOwnershipExceedsTemplate: (total: number) => string;
|
|
128
|
-
stateTitles?: Partial<Record<USStateAbbreviation, string>>;
|
|
129
|
-
}
|
|
130
|
-
declare const ADDITIONAL_OWNERS_LABELS_EN: AdditionalOwnersLabels;
|
|
131
|
-
|
|
132
|
-
interface BusinessDetailsLabels {
|
|
133
|
-
heading: string;
|
|
134
|
-
subheading: string;
|
|
135
|
-
companyLegalName: string;
|
|
136
|
-
companyDbaName: string;
|
|
137
|
-
businessAddress: string;
|
|
138
|
-
city: string;
|
|
139
|
-
state: string;
|
|
140
|
-
statePlaceholder: string;
|
|
141
|
-
zipCode: string;
|
|
142
|
-
companyPhoneNumber: string;
|
|
143
|
-
companyPhoneNumberInvalid: string;
|
|
144
|
-
companyStructure: string;
|
|
145
|
-
companyStructurePlaceholder: string;
|
|
146
|
-
website: string;
|
|
147
|
-
websiteInvalid: string;
|
|
148
|
-
taxId: string;
|
|
149
|
-
taxIdInvalid: string;
|
|
150
|
-
naicsCode: string;
|
|
151
|
-
naicsCodePlaceholder: string;
|
|
152
|
-
isAuthorizedQuestion: string;
|
|
153
|
-
isAuthorizedYes: string;
|
|
154
|
-
isAuthorizedNo: string;
|
|
155
|
-
/** Use `{bankName}` for the sponsoring bank (e.g. "Zenith Bank"). */
|
|
156
|
-
acceptDisclosuresPrefix: string;
|
|
157
|
-
termsOfUse: string;
|
|
158
|
-
privacyPolicy: string;
|
|
159
|
-
acceptDisclosuresTermsPrivacyJoin: string;
|
|
160
|
-
acceptDisclosuresAfterPrivacy: string;
|
|
161
|
-
electronicCommunication: string;
|
|
162
|
-
acceptDisclosuresAfterElectronic: string;
|
|
163
|
-
patriotAct: string;
|
|
164
|
-
companyStructureOptions: Record<'CORPORATION_PUBLIC' | 'CORPORATION_PRIVATE' | 'CORPORATION_NOT_FOR_PROFIT' | 'LLC' | 'LLP' | 'PARTNERSHIP' | 'SOLE_PROPRIETORSHIP' | 'GOVERNMENT' | 'COOPERATIVE' | 'ASSOCIATION' | 'OTHER', string>;
|
|
165
|
-
naicsTitles?: Record<string, string>;
|
|
166
|
-
stateTitles?: Partial<Record<USStateAbbreviation, string>>;
|
|
167
|
-
}
|
|
168
|
-
declare const BUSINESS_DETAILS_LABELS_EN: BusinessDetailsLabels;
|
|
169
|
-
|
|
170
|
-
interface PersonalDetailsLabels {
|
|
171
|
-
heading: string;
|
|
172
|
-
subheading: string;
|
|
173
|
-
firstName: string;
|
|
174
|
-
lastName: string;
|
|
175
|
-
dateOfBirth: string;
|
|
176
|
-
dateOfBirthPlaceholder: string;
|
|
177
|
-
dateOfBirthMinAgeError: string;
|
|
178
|
-
ssn: string;
|
|
179
|
-
ssnInvalid: string;
|
|
180
|
-
ssnShow: string;
|
|
181
|
-
ssnHide: string;
|
|
182
|
-
homeAddress: string;
|
|
183
|
-
city: string;
|
|
184
|
-
state: string;
|
|
185
|
-
statePlaceholder: string;
|
|
186
|
-
zipCode: string;
|
|
187
|
-
mobilePhoneNumber: string;
|
|
188
|
-
mobilePhoneNumberInvalid: string;
|
|
189
|
-
workEmail: string;
|
|
190
|
-
ownsOver25Question: string;
|
|
191
|
-
ownsOver25SummaryLabel: string;
|
|
192
|
-
ownsOver25Yes: string;
|
|
193
|
-
ownsOver25No: string;
|
|
194
|
-
ownershipPercentage: string;
|
|
195
|
-
ownershipPercentagePlaceholder: string;
|
|
196
|
-
ownershipPercentageRangeError: string;
|
|
197
|
-
/** Suffix shown after ownership percentage inputs (e.g. `%`). */
|
|
198
|
-
percentSuffix: string;
|
|
199
|
-
stateTitles?: Partial<Record<USStateAbbreviation, string>>;
|
|
200
|
-
}
|
|
201
|
-
declare const PERSONAL_DETAILS_LABELS_EN: PersonalDetailsLabels;
|
|
202
|
-
|
|
203
|
-
interface ResultLabels {
|
|
204
|
-
loadingMessage: string;
|
|
205
|
-
successHeadingLine1: string;
|
|
206
|
-
successBody: string;
|
|
207
|
-
pendingHeadingLine1: string;
|
|
208
|
-
pendingBody: string;
|
|
209
|
-
pendingEmailBoxLead: string;
|
|
210
|
-
navigateToDashboard: string;
|
|
211
|
-
/** Use `{bankName}` for the sponsoring bank (e.g. "Zenith Bank"). */
|
|
212
|
-
bankLogoAlt: string;
|
|
213
|
-
/** Use `{bankName}` for the sponsoring bank (e.g. "Zenith Bank"). */
|
|
214
|
-
fdicDisclaimer: string;
|
|
215
|
-
}
|
|
216
|
-
declare const RESULT_LABELS_EN: ResultLabels;
|
|
217
|
-
|
|
218
|
-
interface MarketingWidgetImage {
|
|
219
|
-
src: string;
|
|
220
|
-
alt: string;
|
|
221
|
-
width?: number;
|
|
222
|
-
}
|
|
223
|
-
interface MarketingWidgetAppearance {
|
|
224
|
-
primaryColor: string;
|
|
225
|
-
primaryContrastColor: string;
|
|
226
|
-
cardBackgroundColor: string;
|
|
227
|
-
borderRadius: string;
|
|
228
|
-
boxShadow: string;
|
|
229
|
-
modalBackgroundColor: string;
|
|
230
|
-
}
|
|
231
|
-
interface MarketingWidgetContent {
|
|
232
|
-
vspLogo: MarketingWidgetImage;
|
|
233
|
-
bankingText: string;
|
|
234
|
-
primaryCaption: string;
|
|
235
|
-
secondaryCaption: string;
|
|
236
|
-
/** Full card/modal attribution, e.g. "Provided by Zenith Bank, Member FDIC". */
|
|
237
|
-
providedByCaption: string;
|
|
238
|
-
modalPrimaryImg: MarketingWidgetImage;
|
|
239
|
-
primaryModalHeader: string;
|
|
240
|
-
benefits: string[];
|
|
241
|
-
bankLogoSrc: string;
|
|
242
|
-
appearance: MarketingWidgetAppearance;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
6
|
/**
|
|
246
7
|
* Host-facing domain shapes for bank-account onboarding prefill and widget
|
|
247
8
|
* state. Owned by the feature layer so the published API does not re-export
|
|
@@ -620,6 +381,27 @@ type EmbeddedClient = Client;
|
|
|
620
381
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
621
382
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
622
383
|
|
|
384
|
+
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
385
|
+
children?: ReactNode;
|
|
386
|
+
};
|
|
387
|
+
type LinkComponent = ComponentType<LinkComponentProps>;
|
|
388
|
+
/**
|
|
389
|
+
* The UI frameworks a widget's UI layer can render with.
|
|
390
|
+
*
|
|
391
|
+
* - `shadcn` — the shadcn/Tailwind implementation. This is the default and the
|
|
392
|
+
* implicit fallback, so existing consumers that select nothing keep rendering
|
|
393
|
+
* shadcn.
|
|
394
|
+
* - `tecton` — the Tecton implementation.
|
|
395
|
+
*
|
|
396
|
+
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
397
|
+
* convention.
|
|
398
|
+
*/
|
|
399
|
+
declare const UIFramework: {
|
|
400
|
+
readonly Shadcn: "shadcn";
|
|
401
|
+
readonly Tecton: "tecton";
|
|
402
|
+
};
|
|
403
|
+
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
404
|
+
|
|
623
405
|
/**
|
|
624
406
|
* The implementation a widget renders with.
|
|
625
407
|
*
|
|
@@ -895,6 +677,61 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
895
677
|
providerLabels?: Partial<WidgetProviderLabels>;
|
|
896
678
|
}
|
|
897
679
|
|
|
680
|
+
declare const USStateAbbreviation: {
|
|
681
|
+
readonly Alabama: "AL";
|
|
682
|
+
readonly Alaska: "AK";
|
|
683
|
+
readonly Arizona: "AZ";
|
|
684
|
+
readonly Arkansas: "AR";
|
|
685
|
+
readonly California: "CA";
|
|
686
|
+
readonly Colorado: "CO";
|
|
687
|
+
readonly Connecticut: "CT";
|
|
688
|
+
readonly Delaware: "DE";
|
|
689
|
+
readonly DistrictOfColumbia: "DC";
|
|
690
|
+
readonly Florida: "FL";
|
|
691
|
+
readonly Georgia: "GA";
|
|
692
|
+
readonly Hawaii: "HI";
|
|
693
|
+
readonly Idaho: "ID";
|
|
694
|
+
readonly Illinois: "IL";
|
|
695
|
+
readonly Indiana: "IN";
|
|
696
|
+
readonly Iowa: "IA";
|
|
697
|
+
readonly Kansas: "KS";
|
|
698
|
+
readonly Kentucky: "KY";
|
|
699
|
+
readonly Louisiana: "LA";
|
|
700
|
+
readonly Maine: "ME";
|
|
701
|
+
readonly Maryland: "MD";
|
|
702
|
+
readonly Massachusetts: "MA";
|
|
703
|
+
readonly Michigan: "MI";
|
|
704
|
+
readonly Minnesota: "MN";
|
|
705
|
+
readonly Mississippi: "MS";
|
|
706
|
+
readonly Missouri: "MO";
|
|
707
|
+
readonly Montana: "MT";
|
|
708
|
+
readonly Nebraska: "NE";
|
|
709
|
+
readonly Nevada: "NV";
|
|
710
|
+
readonly NewHampshire: "NH";
|
|
711
|
+
readonly NewJersey: "NJ";
|
|
712
|
+
readonly NewMexico: "NM";
|
|
713
|
+
readonly NewYork: "NY";
|
|
714
|
+
readonly NorthCarolina: "NC";
|
|
715
|
+
readonly NorthDakota: "ND";
|
|
716
|
+
readonly Ohio: "OH";
|
|
717
|
+
readonly Oklahoma: "OK";
|
|
718
|
+
readonly Oregon: "OR";
|
|
719
|
+
readonly Pennsylvania: "PA";
|
|
720
|
+
readonly RhodeIsland: "RI";
|
|
721
|
+
readonly SouthCarolina: "SC";
|
|
722
|
+
readonly SouthDakota: "SD";
|
|
723
|
+
readonly Tennessee: "TN";
|
|
724
|
+
readonly Texas: "TX";
|
|
725
|
+
readonly Utah: "UT";
|
|
726
|
+
readonly Vermont: "VT";
|
|
727
|
+
readonly Virginia: "VA";
|
|
728
|
+
readonly Washington: "WA";
|
|
729
|
+
readonly WestVirginia: "WV";
|
|
730
|
+
readonly Wisconsin: "WI";
|
|
731
|
+
readonly Wyoming: "WY";
|
|
732
|
+
};
|
|
733
|
+
type USStateAbbreviation = (typeof USStateAbbreviation)[keyof typeof USStateAbbreviation];
|
|
734
|
+
|
|
898
735
|
/**
|
|
899
736
|
* Legal disclosure URLs for the onboarding agreement step.
|
|
900
737
|
*
|
|
@@ -909,6 +746,142 @@ interface DisclosureLinks {
|
|
|
909
746
|
patriotActHref?: string;
|
|
910
747
|
}
|
|
911
748
|
|
|
749
|
+
interface AdditionalOwnersLabels {
|
|
750
|
+
heading: string;
|
|
751
|
+
subheading: string;
|
|
752
|
+
primaryOwnerShareLabel: string;
|
|
753
|
+
emptyOwnersText: string;
|
|
754
|
+
addOwner: string;
|
|
755
|
+
edit: string;
|
|
756
|
+
remove: string;
|
|
757
|
+
cancel: string;
|
|
758
|
+
save: string;
|
|
759
|
+
close: string;
|
|
760
|
+
addOwnerSubmit: string;
|
|
761
|
+
saveOwnerSubmit: string;
|
|
762
|
+
ownerNameColumn: string;
|
|
763
|
+
ownerShareColumn: string;
|
|
764
|
+
ownerActionsColumn: string;
|
|
765
|
+
formHeadingAdd: string;
|
|
766
|
+
formHeadingEdit: string;
|
|
767
|
+
firstName: string;
|
|
768
|
+
lastName: string;
|
|
769
|
+
dateOfBirth: string;
|
|
770
|
+
dateOfBirthPlaceholder: string;
|
|
771
|
+
dateOfBirthMinAgeError: string;
|
|
772
|
+
ssn: string;
|
|
773
|
+
ssnInvalid: string;
|
|
774
|
+
ssnShow: string;
|
|
775
|
+
ssnHide: string;
|
|
776
|
+
homeAddress: string;
|
|
777
|
+
city: string;
|
|
778
|
+
state: string;
|
|
779
|
+
statePlaceholder: string;
|
|
780
|
+
zipCode: string;
|
|
781
|
+
mobilePhoneNumber: string;
|
|
782
|
+
mobilePhoneNumberInvalid: string;
|
|
783
|
+
ownershipPercentage: string;
|
|
784
|
+
ownershipPercentagePlaceholder: string;
|
|
785
|
+
ownershipPercentageMinError: string;
|
|
786
|
+
/** Required-field marker appended to field labels (e.g. ` *`). */
|
|
787
|
+
requiredFieldMarker: string;
|
|
788
|
+
/** Suffix shown after ownership percentage inputs (e.g. `%`). */
|
|
789
|
+
percentSuffix: string;
|
|
790
|
+
deleteOwnerHeading: string;
|
|
791
|
+
deleteOwnerPromptBeforeName: string;
|
|
792
|
+
deleteOwnerPromptAfterName: string;
|
|
793
|
+
deleteOwnerConfirm: string;
|
|
794
|
+
totalOwnershipExceedsTemplate: (total: number) => string;
|
|
795
|
+
stateTitles?: Partial<Record<USStateAbbreviation, string>>;
|
|
796
|
+
}
|
|
797
|
+
declare const ADDITIONAL_OWNERS_LABELS_EN: AdditionalOwnersLabels;
|
|
798
|
+
|
|
799
|
+
interface BusinessDetailsLabels {
|
|
800
|
+
heading: string;
|
|
801
|
+
subheading: string;
|
|
802
|
+
companyLegalName: string;
|
|
803
|
+
companyDbaName: string;
|
|
804
|
+
businessAddress: string;
|
|
805
|
+
city: string;
|
|
806
|
+
state: string;
|
|
807
|
+
statePlaceholder: string;
|
|
808
|
+
zipCode: string;
|
|
809
|
+
companyPhoneNumber: string;
|
|
810
|
+
companyPhoneNumberInvalid: string;
|
|
811
|
+
companyStructure: string;
|
|
812
|
+
companyStructurePlaceholder: string;
|
|
813
|
+
website: string;
|
|
814
|
+
websiteInvalid: string;
|
|
815
|
+
taxId: string;
|
|
816
|
+
taxIdInvalid: string;
|
|
817
|
+
naicsCode: string;
|
|
818
|
+
naicsCodePlaceholder: string;
|
|
819
|
+
isAuthorizedQuestion: string;
|
|
820
|
+
isAuthorizedYes: string;
|
|
821
|
+
isAuthorizedNo: string;
|
|
822
|
+
/** Use `{bankName}` for the sponsoring bank (e.g. "Zenith Bank"). */
|
|
823
|
+
acceptDisclosuresPrefix: string;
|
|
824
|
+
termsOfUse: string;
|
|
825
|
+
privacyPolicy: string;
|
|
826
|
+
acceptDisclosuresTermsPrivacyJoin: string;
|
|
827
|
+
acceptDisclosuresAfterPrivacy: string;
|
|
828
|
+
electronicCommunication: string;
|
|
829
|
+
acceptDisclosuresAfterElectronic: string;
|
|
830
|
+
patriotAct: string;
|
|
831
|
+
companyStructureOptions: Record<'CORPORATION_PUBLIC' | 'CORPORATION_PRIVATE' | 'CORPORATION_NOT_FOR_PROFIT' | 'LLC' | 'LLP' | 'PARTNERSHIP' | 'SOLE_PROPRIETORSHIP' | 'GOVERNMENT' | 'COOPERATIVE' | 'ASSOCIATION' | 'OTHER', string>;
|
|
832
|
+
naicsTitles?: Record<string, string>;
|
|
833
|
+
stateTitles?: Partial<Record<USStateAbbreviation, string>>;
|
|
834
|
+
}
|
|
835
|
+
declare const BUSINESS_DETAILS_LABELS_EN: BusinessDetailsLabels;
|
|
836
|
+
|
|
837
|
+
interface PersonalDetailsLabels {
|
|
838
|
+
heading: string;
|
|
839
|
+
subheading: string;
|
|
840
|
+
firstName: string;
|
|
841
|
+
lastName: string;
|
|
842
|
+
dateOfBirth: string;
|
|
843
|
+
dateOfBirthPlaceholder: string;
|
|
844
|
+
dateOfBirthMinAgeError: string;
|
|
845
|
+
ssn: string;
|
|
846
|
+
ssnInvalid: string;
|
|
847
|
+
ssnShow: string;
|
|
848
|
+
ssnHide: string;
|
|
849
|
+
homeAddress: string;
|
|
850
|
+
city: string;
|
|
851
|
+
state: string;
|
|
852
|
+
statePlaceholder: string;
|
|
853
|
+
zipCode: string;
|
|
854
|
+
mobilePhoneNumber: string;
|
|
855
|
+
mobilePhoneNumberInvalid: string;
|
|
856
|
+
workEmail: string;
|
|
857
|
+
ownsOver25Question: string;
|
|
858
|
+
ownsOver25SummaryLabel: string;
|
|
859
|
+
ownsOver25Yes: string;
|
|
860
|
+
ownsOver25No: string;
|
|
861
|
+
ownershipPercentage: string;
|
|
862
|
+
ownershipPercentagePlaceholder: string;
|
|
863
|
+
ownershipPercentageRangeError: string;
|
|
864
|
+
/** Suffix shown after ownership percentage inputs (e.g. `%`). */
|
|
865
|
+
percentSuffix: string;
|
|
866
|
+
stateTitles?: Partial<Record<USStateAbbreviation, string>>;
|
|
867
|
+
}
|
|
868
|
+
declare const PERSONAL_DETAILS_LABELS_EN: PersonalDetailsLabels;
|
|
869
|
+
|
|
870
|
+
interface ResultLabels {
|
|
871
|
+
loadingMessage: string;
|
|
872
|
+
successHeadingLine1: string;
|
|
873
|
+
successBody: string;
|
|
874
|
+
pendingHeadingLine1: string;
|
|
875
|
+
pendingBody: string;
|
|
876
|
+
pendingEmailBoxLead: string;
|
|
877
|
+
navigateToDashboard: string;
|
|
878
|
+
/** Use `{bankName}` for the sponsoring bank (e.g. "Zenith Bank"). */
|
|
879
|
+
bankLogoAlt: string;
|
|
880
|
+
/** Use `{bankName}` for the sponsoring bank (e.g. "Zenith Bank"). */
|
|
881
|
+
fdicDisclaimer: string;
|
|
882
|
+
}
|
|
883
|
+
declare const RESULT_LABELS_EN: ResultLabels;
|
|
884
|
+
|
|
912
885
|
interface BankAccountOnboardingWidgetLabels {
|
|
913
886
|
stepIndicator: {
|
|
914
887
|
business: string;
|
|
@@ -956,11 +929,6 @@ interface BankAccountOnboardingWidgetInnerProps {
|
|
|
956
929
|
* The published widget does not look up white-label/bank maps itself.
|
|
957
930
|
*/
|
|
958
931
|
disclosureLinks?: DisclosureLinks;
|
|
959
|
-
/**
|
|
960
|
-
* Host-resolved marketing card/modal content. When omitted or `null`, the
|
|
961
|
-
* marketing surface is not rendered.
|
|
962
|
-
*/
|
|
963
|
-
marketingContent?: MarketingWidgetContent | null;
|
|
964
932
|
/**
|
|
965
933
|
* Controlled open state for the onboarding modal. When provided, the host
|
|
966
934
|
* application owns the open/close state and must update it via
|
|
@@ -969,7 +937,7 @@ interface BankAccountOnboardingWidgetInnerProps {
|
|
|
969
937
|
open?: boolean;
|
|
970
938
|
/**
|
|
971
939
|
* Initial open state when uncontrolled. Defaults to `false` so the onboarding
|
|
972
|
-
* modal stays hidden until the host
|
|
940
|
+
* modal stays hidden until the host opens it.
|
|
973
941
|
*/
|
|
974
942
|
defaultOpen?: boolean;
|
|
975
943
|
/**
|
|
@@ -984,4 +952,4 @@ type BankAccountOnboardingWidgetProps = WidgetProviderProps & BankAccountOnboard
|
|
|
984
952
|
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
985
953
|
|
|
986
954
|
export { ADDITIONAL_OWNERS_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BankAccountOnboardingWidget, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN };
|
|
987
|
-
export type { AdditionalOwner, AdditionalOwnersLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, DisclosureLinks,
|
|
955
|
+
export type { AdditionalOwner, AdditionalOwnersLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, DisclosureLinks, PersonalDetailsLabels, PersonalDetailsValues, ResultLabels };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/
|
|
1
|
+
import { BillPayWidget as e } from "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js";
|
|
2
2
|
import "../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js";
|
|
3
3
|
export { e as BillPayWidget };
|