@axos-web-dev/shared-components 0.0.117 → 0.0.118
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/Accordion/Accordion.css.d.ts +9 -9
- package/dist/ArticlesSet/ArticlesSet.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +4 -2
- package/dist/Calculators/calculators.js +6 -0
- package/dist/Carousel/index.d.ts +1 -0
- package/dist/Carousel/index.js +5 -4
- package/dist/Comparison/Comparison.css.js +2 -2
- package/dist/ContentBanner/index.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
- package/dist/FaqAccordion/index.d.ts +1 -0
- package/dist/FaqAccordion/index.js +2 -2
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +5 -2
- package/dist/FooterDisclosure/FooterDisclosure.js +18 -2
- package/dist/Forms/ApplicationStart.js +105 -113
- package/dist/Forms/ClearingForm.js +177 -185
- package/dist/Forms/CommercialLending.js +276 -281
- package/dist/Forms/ContactCompany.js +107 -115
- package/dist/Forms/ContactUs.js +89 -97
- package/dist/Forms/ContactUsAAS.js +170 -178
- package/dist/Forms/ContactUsBusiness.js +128 -136
- package/dist/Forms/ContactUsNMLSId.js +111 -119
- package/dist/Forms/CpraRequest.js +592 -600
- package/dist/Forms/DealerServices.js +219 -227
- package/dist/Forms/EmailOnly.js +48 -56
- package/dist/Forms/EmailUs.js +65 -73
- package/dist/Forms/Forms.css.js +2 -2
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -0
- package/dist/Forms/ScheduleCall.js +149 -160
- package/dist/Forms/ScheduleCallPremier.js +171 -179
- package/dist/Forms/WcplSurvey.js +102 -110
- package/dist/HeroBanner/HeroBanner.css.js +1 -1
- package/dist/HeroBanner/HeroBanner.js +2 -2
- package/dist/IconBillboard/IconBillboard.d.ts +1 -0
- package/dist/IconBillboard/IconBillboard.js +6 -4
- package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
- package/dist/Input/Checkbox.d.ts +1 -1
- package/dist/Input/Input.css.js +1 -1
- package/dist/Input/InputProps.d.ts +0 -6
- package/dist/Insight/Featured/CategorySelector.css.js +1 -1
- package/dist/StepItemSet/StepItemSet.js +1 -1
- package/dist/Table/Table.d.ts +13 -13
- package/dist/TextBlock/TextBlock.js +1 -1
- package/dist/VideoTile/VideoTile.js +1 -1
- package/dist/VideoWrapper/index.js +22 -30
- package/dist/assets/Comparison/Comparison.css +0 -1
- package/dist/assets/Table/Table.css +8 -8
- package/dist/index.css.js +1 -1
- package/package.json +121 -121
- package/dist/Input/DatePicker.css.d.ts +0 -1
- package/dist/Input/DatePicker.css.js +0 -6
- package/dist/Input/Datepicker.d.ts +0 -3
- package/dist/Input/Datepicker.js +0 -47
- package/dist/Input/InputDate.css.d.ts +0 -6
- package/dist/Input/InputDate.css.js +0 -15
- package/dist/Input/InputDate.d.ts +0 -3
- package/dist/Input/InputDate.js +0 -47
- package/dist/assets/Input/DatePicker.css +0 -95
- package/dist/assets/Input/InputDate.css +0 -39
|
@@ -153,195 +153,187 @@ const ClearingForm = ({
|
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
const variant = getVariant(fullVariant);
|
|
156
|
-
return /* @__PURE__ */ jsx(
|
|
157
|
-
"
|
|
158
|
-
{
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
156
|
+
return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
157
|
+
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
158
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(headerContainer, "text_center"), children: [
|
|
159
|
+
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
|
|
160
|
+
description && /* @__PURE__ */ jsx(
|
|
161
|
+
"div",
|
|
162
|
+
{
|
|
163
|
+
className: clsx(
|
|
164
|
+
form,
|
|
165
|
+
descriptionField({ variant }),
|
|
166
|
+
"text_center"
|
|
167
|
+
),
|
|
168
|
+
children: description
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
] }),
|
|
172
|
+
/* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
|
|
173
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
174
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
175
|
+
Input,
|
|
176
|
+
{
|
|
177
|
+
id: "first_name",
|
|
178
|
+
...register("first_name", {
|
|
179
|
+
required: "First Name is required"
|
|
180
|
+
}),
|
|
181
|
+
label: "First Name",
|
|
182
|
+
sizes: "medium",
|
|
183
|
+
required: true,
|
|
184
|
+
error: !!errors.first_name,
|
|
185
|
+
helperText: errors.first_name?.message,
|
|
186
|
+
variant
|
|
187
|
+
}
|
|
188
|
+
) }),
|
|
189
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
190
|
+
Input,
|
|
191
|
+
{
|
|
192
|
+
id: "last_name",
|
|
193
|
+
...register("last_name", { required: true }),
|
|
194
|
+
label: "Last Name",
|
|
195
|
+
sizes: "medium",
|
|
196
|
+
required: true,
|
|
197
|
+
error: !!errors.last_name,
|
|
198
|
+
helperText: errors.last_name?.message,
|
|
199
|
+
variant
|
|
200
|
+
}
|
|
201
|
+
) }),
|
|
202
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
203
|
+
Input,
|
|
204
|
+
{
|
|
205
|
+
id: "email",
|
|
206
|
+
...register("email", {
|
|
207
|
+
required: true,
|
|
208
|
+
validate: {
|
|
209
|
+
isValid: associatedEmail
|
|
210
|
+
}
|
|
211
|
+
}),
|
|
212
|
+
label: "Email",
|
|
213
|
+
sizes: "medium",
|
|
214
|
+
required: true,
|
|
215
|
+
error: !!errors.email,
|
|
216
|
+
helperText: errors.email?.message,
|
|
217
|
+
variant
|
|
218
|
+
}
|
|
219
|
+
) }),
|
|
220
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
221
|
+
InputPhone,
|
|
222
|
+
{
|
|
223
|
+
id: "phone",
|
|
224
|
+
...register("phone", { required: true, maxLength: 12 }),
|
|
225
|
+
label: "Phone",
|
|
226
|
+
sizes: "medium",
|
|
227
|
+
required: true,
|
|
228
|
+
error: !!errors.phone,
|
|
229
|
+
helperText: errors.phone?.message,
|
|
230
|
+
variant
|
|
231
|
+
}
|
|
232
|
+
) }),
|
|
233
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
234
|
+
Input,
|
|
235
|
+
{
|
|
236
|
+
id: "company",
|
|
237
|
+
...register("company", { required: true }),
|
|
238
|
+
label: "Broker-Dealer Name",
|
|
239
|
+
sizes: "medium",
|
|
240
|
+
required: true,
|
|
241
|
+
error: !!errors.company,
|
|
242
|
+
helperText: errors.company?.message,
|
|
243
|
+
variant
|
|
244
|
+
}
|
|
245
|
+
) }),
|
|
246
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
247
|
+
Dropdown,
|
|
248
|
+
{
|
|
249
|
+
id: "Current_Assets_Under_Management__c",
|
|
250
|
+
...register("Current_Assets_Under_Management__c", {
|
|
251
|
+
required: true
|
|
252
|
+
}),
|
|
253
|
+
label: "Assets Under Management",
|
|
254
|
+
sizes: "medium",
|
|
255
|
+
required: true,
|
|
256
|
+
error: !!errors.Current_Assets_Under_Management__c,
|
|
257
|
+
helperText: errors.Current_Assets_Under_Management__c?.message,
|
|
258
|
+
variant,
|
|
259
|
+
defaultValue: "Select option",
|
|
260
|
+
onChange: handleDropdownChange,
|
|
261
|
+
onClick: handleAUMerror,
|
|
262
|
+
onBlur: handleAUMerror,
|
|
263
|
+
children: [
|
|
264
|
+
/* @__PURE__ */ jsx("option", { disabled: true, value: "Select option", children: "Select Option" }),
|
|
265
|
+
/* @__PURE__ */ jsx("option", { value: "$0 - $100MM", children: "$0 - $100MM" }),
|
|
266
|
+
/* @__PURE__ */ jsx("option", { value: "$101MM - $200MM", children: "$101MM - $200MM" }),
|
|
267
|
+
/* @__PURE__ */ jsx("option", { value: "$201MM - $500MM", children: "$201MM - $500MM" }),
|
|
268
|
+
/* @__PURE__ */ jsx("option", { value: "$501MM - $750MM", children: "$501MM - $750MM" }),
|
|
269
|
+
/* @__PURE__ */ jsx("option", { value: "$751MM - $1B", children: "$751MM - $1B" }),
|
|
270
|
+
/* @__PURE__ */ jsx("option", { value: "$1B -$2B", children: "$1B -$2B" }),
|
|
271
|
+
/* @__PURE__ */ jsx("option", { value: "$2B+", children: "$2B+" })
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
) }),
|
|
275
|
+
/* @__PURE__ */ jsxs("div", { className: `${fullRowForm}`, children: [
|
|
276
|
+
/* @__PURE__ */ jsx(
|
|
277
|
+
Input,
|
|
167
278
|
{
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
279
|
+
id: "business_type_selection",
|
|
280
|
+
label: "Type of Business",
|
|
281
|
+
onFocus: handleShowBusinessType,
|
|
282
|
+
onBlur: handleTOBerrors,
|
|
283
|
+
sizes: "medium",
|
|
284
|
+
placeholder: "Select All That Apply",
|
|
285
|
+
error: !!errors.Business_Type__c,
|
|
286
|
+
readOnly: true,
|
|
287
|
+
className: ro_input
|
|
174
288
|
}
|
|
175
|
-
)
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
179
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
180
|
-
Input,
|
|
181
|
-
{
|
|
182
|
-
id: "first_name",
|
|
183
|
-
...register("first_name", {
|
|
184
|
-
required: "First Name is required"
|
|
185
|
-
}),
|
|
186
|
-
label: "First Name",
|
|
187
|
-
sizes: "medium",
|
|
188
|
-
required: true,
|
|
189
|
-
error: !!errors.first_name,
|
|
190
|
-
helperText: errors.first_name?.message,
|
|
191
|
-
variant
|
|
192
|
-
}
|
|
193
|
-
) }),
|
|
194
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
195
|
-
Input,
|
|
196
|
-
{
|
|
197
|
-
id: "last_name",
|
|
198
|
-
...register("last_name", { required: true }),
|
|
199
|
-
label: "Last Name",
|
|
200
|
-
sizes: "medium",
|
|
201
|
-
required: true,
|
|
202
|
-
error: !!errors.last_name,
|
|
203
|
-
helperText: errors.last_name?.message,
|
|
204
|
-
variant
|
|
205
|
-
}
|
|
206
|
-
) }),
|
|
207
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
208
|
-
Input,
|
|
209
|
-
{
|
|
210
|
-
id: "email",
|
|
211
|
-
...register("email", {
|
|
212
|
-
required: true,
|
|
213
|
-
validate: {
|
|
214
|
-
isValid: associatedEmail
|
|
215
|
-
}
|
|
216
|
-
}),
|
|
217
|
-
label: "Email",
|
|
218
|
-
sizes: "medium",
|
|
219
|
-
required: true,
|
|
220
|
-
error: !!errors.email,
|
|
221
|
-
helperText: errors.email?.message,
|
|
222
|
-
variant
|
|
223
|
-
}
|
|
224
|
-
) }),
|
|
225
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
226
|
-
InputPhone,
|
|
227
|
-
{
|
|
228
|
-
id: "phone",
|
|
229
|
-
...register("phone", { required: true, maxLength: 12 }),
|
|
230
|
-
label: "Phone",
|
|
231
|
-
sizes: "medium",
|
|
232
|
-
required: true,
|
|
233
|
-
error: !!errors.phone,
|
|
234
|
-
helperText: errors.phone?.message,
|
|
235
|
-
variant
|
|
236
|
-
}
|
|
237
|
-
) }),
|
|
238
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
239
|
-
Input,
|
|
240
|
-
{
|
|
241
|
-
id: "company",
|
|
242
|
-
...register("company", { required: true }),
|
|
243
|
-
label: "Broker-Dealer Name",
|
|
244
|
-
sizes: "medium",
|
|
245
|
-
required: true,
|
|
246
|
-
error: !!errors.company,
|
|
247
|
-
helperText: errors.company?.message,
|
|
248
|
-
variant
|
|
249
|
-
}
|
|
250
|
-
) }),
|
|
251
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
252
|
-
Dropdown,
|
|
253
|
-
{
|
|
254
|
-
id: "Current_Assets_Under_Management__c",
|
|
255
|
-
...register("Current_Assets_Under_Management__c", {
|
|
256
|
-
required: true
|
|
257
|
-
}),
|
|
258
|
-
label: "Assets Under Management",
|
|
259
|
-
sizes: "medium",
|
|
260
|
-
required: true,
|
|
261
|
-
error: !!errors.Current_Assets_Under_Management__c,
|
|
262
|
-
helperText: errors.Current_Assets_Under_Management__c?.message,
|
|
263
|
-
variant,
|
|
264
|
-
defaultValue: "Select option",
|
|
265
|
-
onChange: handleDropdownChange,
|
|
266
|
-
onClick: handleAUMerror,
|
|
267
|
-
onBlur: handleAUMerror,
|
|
268
|
-
children: [
|
|
269
|
-
/* @__PURE__ */ jsx("option", { disabled: true, value: "Select option", children: "Select Option" }),
|
|
270
|
-
/* @__PURE__ */ jsx("option", { value: "$0 - $100MM", children: "$0 - $100MM" }),
|
|
271
|
-
/* @__PURE__ */ jsx("option", { value: "$101MM - $200MM", children: "$101MM - $200MM" }),
|
|
272
|
-
/* @__PURE__ */ jsx("option", { value: "$201MM - $500MM", children: "$201MM - $500MM" }),
|
|
273
|
-
/* @__PURE__ */ jsx("option", { value: "$501MM - $750MM", children: "$501MM - $750MM" }),
|
|
274
|
-
/* @__PURE__ */ jsx("option", { value: "$751MM - $1B", children: "$751MM - $1B" }),
|
|
275
|
-
/* @__PURE__ */ jsx("option", { value: "$1B -$2B", children: "$1B -$2B" }),
|
|
276
|
-
/* @__PURE__ */ jsx("option", { value: "$2B+", children: "$2B+" })
|
|
277
|
-
]
|
|
278
|
-
}
|
|
279
|
-
) }),
|
|
280
|
-
/* @__PURE__ */ jsxs("div", { className: `${fullRowForm}`, children: [
|
|
281
|
-
/* @__PURE__ */ jsx(
|
|
282
|
-
Input,
|
|
283
|
-
{
|
|
284
|
-
id: "business_type_selection",
|
|
285
|
-
label: "Type of Business",
|
|
286
|
-
onFocus: handleShowBusinessType,
|
|
287
|
-
onBlur: handleTOBerrors,
|
|
288
|
-
sizes: "medium",
|
|
289
|
-
placeholder: "Select All That Apply",
|
|
290
|
-
error: !!errors.Business_Type__c,
|
|
291
|
-
readOnly: true,
|
|
292
|
-
className: ro_input
|
|
293
|
-
}
|
|
294
|
-
),
|
|
295
|
-
showBusinessTypes && /* @__PURE__ */ jsx(
|
|
296
|
-
CheckboxGroup,
|
|
297
|
-
{
|
|
298
|
-
options,
|
|
299
|
-
selectedValues,
|
|
300
|
-
onChange: handleBusinessTypeChange,
|
|
301
|
-
error: !!errors.Business_Type__c
|
|
302
|
-
}
|
|
303
|
-
)
|
|
304
|
-
] }),
|
|
305
|
-
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
306
|
-
Input,
|
|
307
|
-
{
|
|
308
|
-
id: "Memo__c",
|
|
309
|
-
...register("Memo__c", { required: false }),
|
|
310
|
-
label: "Please provide additional details about your clearing needs (optional)",
|
|
311
|
-
sizes: "medium",
|
|
312
|
-
required: false,
|
|
313
|
-
error: !!errors.Memo__c,
|
|
314
|
-
helperText: errors.Memo__c?.message,
|
|
315
|
-
variant
|
|
316
|
-
}
|
|
317
|
-
) }),
|
|
318
|
-
/* @__PURE__ */ jsx(
|
|
319
|
-
"input",
|
|
320
|
-
{
|
|
321
|
-
type: "hidden",
|
|
322
|
-
...register("Lead_Source_Detail_SFDC2__c", {
|
|
323
|
-
value: "Axos Clearing"
|
|
324
|
-
})
|
|
325
|
-
}
|
|
326
|
-
)
|
|
327
|
-
] }),
|
|
328
|
-
children,
|
|
329
|
-
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
330
|
-
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
331
|
-
Button,
|
|
289
|
+
),
|
|
290
|
+
showBusinessTypes && /* @__PURE__ */ jsx(
|
|
291
|
+
CheckboxGroup,
|
|
332
292
|
{
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
children: callToAction?.displayText
|
|
293
|
+
options,
|
|
294
|
+
selectedValues,
|
|
295
|
+
onChange: handleBusinessTypeChange,
|
|
296
|
+
error: !!errors.Business_Type__c
|
|
338
297
|
}
|
|
339
|
-
)
|
|
340
|
-
] })
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
298
|
+
)
|
|
299
|
+
] }),
|
|
300
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
301
|
+
Input,
|
|
302
|
+
{
|
|
303
|
+
id: "Memo__c",
|
|
304
|
+
...register("Memo__c", { required: false }),
|
|
305
|
+
label: "Please provide additional details about your clearing needs (optional)",
|
|
306
|
+
sizes: "medium",
|
|
307
|
+
required: false,
|
|
308
|
+
error: !!errors.Memo__c,
|
|
309
|
+
helperText: errors.Memo__c?.message,
|
|
310
|
+
variant
|
|
311
|
+
}
|
|
312
|
+
) }),
|
|
313
|
+
/* @__PURE__ */ jsx(
|
|
314
|
+
"input",
|
|
315
|
+
{
|
|
316
|
+
type: "hidden",
|
|
317
|
+
...register("Lead_Source_Detail_SFDC2__c", {
|
|
318
|
+
value: "Axos Clearing"
|
|
319
|
+
})
|
|
320
|
+
}
|
|
321
|
+
)
|
|
322
|
+
] }),
|
|
323
|
+
children,
|
|
324
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
325
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
|
|
326
|
+
Button,
|
|
327
|
+
{
|
|
328
|
+
color: getVariant(callToAction?.variant),
|
|
329
|
+
as: "button",
|
|
330
|
+
type: "submit",
|
|
331
|
+
disabled: !isValid || isSubmitting || !requiredAUM || !requiredTOB,
|
|
332
|
+
children: callToAction?.displayText
|
|
333
|
+
}
|
|
334
|
+
) })
|
|
335
|
+
] })
|
|
336
|
+
] }) }) }, id);
|
|
345
337
|
};
|
|
346
338
|
export {
|
|
347
339
|
ClearingForm
|