@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.
Files changed (59) hide show
  1. package/dist/Accordion/Accordion.css.d.ts +9 -9
  2. package/dist/ArticlesSet/ArticlesSet.js +1 -1
  3. package/dist/Calculators/MarginTradingCalculator/index.js +4 -2
  4. package/dist/Calculators/calculators.js +6 -0
  5. package/dist/Carousel/index.d.ts +1 -0
  6. package/dist/Carousel/index.js +5 -4
  7. package/dist/Comparison/Comparison.css.js +2 -2
  8. package/dist/ContentBanner/index.js +1 -1
  9. package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
  10. package/dist/FaqAccordion/index.d.ts +1 -0
  11. package/dist/FaqAccordion/index.js +2 -2
  12. package/dist/FooterDisclosure/FooterDisclosure.d.ts +5 -2
  13. package/dist/FooterDisclosure/FooterDisclosure.js +18 -2
  14. package/dist/Forms/ApplicationStart.js +105 -113
  15. package/dist/Forms/ClearingForm.js +177 -185
  16. package/dist/Forms/CommercialLending.js +276 -281
  17. package/dist/Forms/ContactCompany.js +107 -115
  18. package/dist/Forms/ContactUs.js +89 -97
  19. package/dist/Forms/ContactUsAAS.js +170 -178
  20. package/dist/Forms/ContactUsBusiness.js +128 -136
  21. package/dist/Forms/ContactUsNMLSId.js +111 -119
  22. package/dist/Forms/CpraRequest.js +592 -600
  23. package/dist/Forms/DealerServices.js +219 -227
  24. package/dist/Forms/EmailOnly.js +48 -56
  25. package/dist/Forms/EmailUs.js +65 -73
  26. package/dist/Forms/Forms.css.js +2 -2
  27. package/dist/Forms/SalesforceFieldsForm.d.ts +1 -0
  28. package/dist/Forms/ScheduleCall.js +149 -160
  29. package/dist/Forms/ScheduleCallPremier.js +171 -179
  30. package/dist/Forms/WcplSurvey.js +102 -110
  31. package/dist/HeroBanner/HeroBanner.css.js +1 -1
  32. package/dist/HeroBanner/HeroBanner.js +2 -2
  33. package/dist/IconBillboard/IconBillboard.d.ts +1 -0
  34. package/dist/IconBillboard/IconBillboard.js +6 -4
  35. package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
  36. package/dist/ImageBillboard/ImageBillboardSet.js +1 -0
  37. package/dist/Input/Checkbox.d.ts +1 -1
  38. package/dist/Input/Input.css.js +1 -1
  39. package/dist/Input/InputProps.d.ts +0 -6
  40. package/dist/Insight/Featured/CategorySelector.css.js +1 -1
  41. package/dist/StepItemSet/StepItemSet.js +1 -1
  42. package/dist/Table/Table.d.ts +13 -13
  43. package/dist/TextBlock/TextBlock.js +1 -1
  44. package/dist/VideoTile/VideoTile.js +1 -1
  45. package/dist/VideoWrapper/index.js +22 -30
  46. package/dist/assets/Comparison/Comparison.css +0 -1
  47. package/dist/assets/Table/Table.css +8 -8
  48. package/dist/index.css.js +1 -1
  49. package/package.json +121 -121
  50. package/dist/Input/DatePicker.css.d.ts +0 -1
  51. package/dist/Input/DatePicker.css.js +0 -6
  52. package/dist/Input/Datepicker.d.ts +0 -3
  53. package/dist/Input/Datepicker.js +0 -47
  54. package/dist/Input/InputDate.css.d.ts +0 -6
  55. package/dist/Input/InputDate.css.js +0 -15
  56. package/dist/Input/InputDate.d.ts +0 -3
  57. package/dist/Input/InputDate.js +0 -47
  58. package/dist/assets/Input/DatePicker.css +0 -95
  59. package/dist/assets/Input/InputDate.css +0 -39
@@ -97,184 +97,176 @@ const ContactUsAAS = ({
97
97
  await onSubmit(data);
98
98
  };
99
99
  const variant = getVariant(fullVariant);
100
- return /* @__PURE__ */ jsx(
101
- "section",
102
- {
103
- id: `id_${id}`,
104
- className: clsx(formContainer({ variant })),
105
- children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
106
- icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
107
- /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
108
- /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
109
- description && /* @__PURE__ */ jsx(
110
- "div",
111
- {
112
- className: `${form} ${descriptionField({ variant })} text_center`,
113
- children: description
114
- }
115
- )
116
- ] }),
117
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
118
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
119
- /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
120
- Input,
121
- {
122
- id: "first_name",
123
- ...register("first_name", { required: true }),
124
- label: "First Name*",
125
- sizes: "medium",
126
- placeholder: "",
127
- required: true,
128
- error: !!errors.first_name,
129
- helperText: errors.first_name?.message,
130
- variant
131
- }
132
- ) }),
133
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
134
- Input,
135
- {
136
- id: "last_name",
137
- ...register("last_name", { required: true }),
138
- label: "Last Name*",
139
- sizes: "medium",
140
- placeholder: "",
141
- required: true,
142
- error: !!errors.last_name,
143
- helperText: errors.last_name?.message,
144
- variant
145
- }
146
- ) }),
147
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
148
- Input,
149
- {
150
- id: "email",
151
- ...register("email", {
152
- required: true
153
- }),
154
- type: "email",
155
- label: "Email*",
156
- sizes: "medium",
157
- placeholder: "",
158
- required: true,
159
- error: !!errors.email,
160
- helperText: errors.email?.message,
161
- variant
162
- }
163
- ) }),
164
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
165
- InputPhone,
166
- {
167
- id: "phone",
168
- ...register("phone", {
169
- required: true,
170
- maxLength: 12
171
- }),
172
- label: "Phone*",
173
- sizes: "medium",
174
- placeholder: "",
175
- type: "tel",
176
- required: true,
177
- error: !!errors.phone,
178
- helperText: errors.phone?.message,
179
- variant
180
- }
181
- ) }),
182
- /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
183
- Input,
184
- {
185
- id: "company",
186
- ...register("company"),
187
- label: "Company",
188
- sizes: "medium",
189
- placeholder: "",
190
- error: !!errors.company,
191
- helperText: errors.company?.message,
192
- variant
193
- }
194
- ) }),
195
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
196
- Dropdown,
197
- {
198
- id: "Current_Assets_Under_Management__c",
199
- ...register("Current_Assets_Under_Management__c"),
200
- label: "Current AUM",
201
- sizes: "medium",
202
- error: !!errors.Current_Assets_Under_Management__c,
203
- helperText: errors.Current_Assets_Under_Management__c?.message,
204
- variant,
205
- defaultValue: "",
206
- children: [
207
- /* @__PURE__ */ jsx("option", { value: "", children: "Select Option" }),
208
- /* @__PURE__ */ jsx("option", { value: "$0 - $25M", children: "$0 — $25M" }),
209
- /* @__PURE__ */ jsx("option", { value: "$26M - $150M", children: "$26M — $150M" }),
210
- /* @__PURE__ */ jsx("option", { value: "$151M - $500M", children: "$151M — $500M" }),
211
- /* @__PURE__ */ jsx("option", { value: "$501M - $1B", children: "$501M $1B" }),
212
- /* @__PURE__ */ jsx("option", { value: "$1B+", children: "$1B+" })
213
- ]
214
- }
215
- ) }),
216
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
217
- Dropdown,
218
- {
219
- id: "Role__c",
220
- ...register("Role__c", {
221
- required: true
222
- }),
223
- label: "What best describes your role?*",
224
- sizes: "medium",
225
- required: true,
226
- error: !!errors.Role__c,
227
- helperText: errors.Role__c?.message,
228
- variant,
229
- defaultValue: "Select option",
230
- children: [
231
- /* @__PURE__ */ jsx("option", { value: "Select option", disabled: true, children: "Select Option" }),
232
- /* @__PURE__ */ jsx("option", { value: "RIA Principal", children: "RIA Principal" }),
233
- /* @__PURE__ */ jsx("option", { value: "Advisor (IAR)", children: "Advisor (IAR)" }),
234
- /* @__PURE__ */ jsx("option", { value: "Broker-Dealer Affiliated Advisor", children: "Broker-Dealer Affiliated Advisor" }),
235
- /* @__PURE__ */ jsx("option", { value: "I am not a Financial Advisor", children: "I am not a Financial Advisor" }),
236
- /* @__PURE__ */ jsx("option", { value: "Other", children: "Other" })
237
- ]
238
- }
239
- ) }),
240
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
241
- InputTextArea,
242
- {
243
- id: "description",
244
- ...register("description"),
245
- label: "Comments",
246
- sizes: "medium",
247
- placeholder: "",
248
- error: !!errors.description,
249
- helperText: errors.description?.message,
250
- variant,
251
- rows: 1
252
- }
253
- ) })
254
- ] }),
255
- children,
256
- /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
257
- /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
258
- LoadingIndicator,
259
- {
260
- style: { marginInline: "auto" },
261
- variant
262
- }
263
- ) : /* @__PURE__ */ jsx(
264
- Button,
265
- {
266
- color: getVariant(callToAction?.variant),
267
- as: "button",
268
- type: "submit",
269
- disabled: !isValid || isSubmitting,
270
- children: callToAction?.displayText
271
- }
272
- ) }) })
273
- ] })
274
- ] }) })
275
- },
276
- id
277
- );
100
+ return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
101
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
102
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
103
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
104
+ description && /* @__PURE__ */ jsx(
105
+ "div",
106
+ {
107
+ className: `${form} ${descriptionField({ variant })} text_center`,
108
+ children: description
109
+ }
110
+ )
111
+ ] }),
112
+ /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
113
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
114
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
115
+ Input,
116
+ {
117
+ id: "first_name",
118
+ ...register("first_name", { required: true }),
119
+ label: "First Name*",
120
+ sizes: "medium",
121
+ placeholder: "",
122
+ required: true,
123
+ error: !!errors.first_name,
124
+ helperText: errors.first_name?.message,
125
+ variant
126
+ }
127
+ ) }),
128
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
129
+ Input,
130
+ {
131
+ id: "last_name",
132
+ ...register("last_name", { required: true }),
133
+ label: "Last Name*",
134
+ sizes: "medium",
135
+ placeholder: "",
136
+ required: true,
137
+ error: !!errors.last_name,
138
+ helperText: errors.last_name?.message,
139
+ variant
140
+ }
141
+ ) }),
142
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
143
+ Input,
144
+ {
145
+ id: "email",
146
+ ...register("email", {
147
+ required: true
148
+ }),
149
+ type: "email",
150
+ label: "Email*",
151
+ sizes: "medium",
152
+ placeholder: "",
153
+ required: true,
154
+ error: !!errors.email,
155
+ helperText: errors.email?.message,
156
+ variant
157
+ }
158
+ ) }),
159
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
160
+ InputPhone,
161
+ {
162
+ id: "phone",
163
+ ...register("phone", {
164
+ required: true,
165
+ maxLength: 12
166
+ }),
167
+ label: "Phone*",
168
+ sizes: "medium",
169
+ placeholder: "",
170
+ type: "tel",
171
+ required: true,
172
+ error: !!errors.phone,
173
+ helperText: errors.phone?.message,
174
+ variant
175
+ }
176
+ ) }),
177
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
178
+ Input,
179
+ {
180
+ id: "company",
181
+ ...register("company"),
182
+ label: "Company",
183
+ sizes: "medium",
184
+ placeholder: "",
185
+ error: !!errors.company,
186
+ helperText: errors.company?.message,
187
+ variant
188
+ }
189
+ ) }),
190
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
191
+ Dropdown,
192
+ {
193
+ id: "Current_Assets_Under_Management__c",
194
+ ...register("Current_Assets_Under_Management__c"),
195
+ label: "Current AUM",
196
+ sizes: "medium",
197
+ error: !!errors.Current_Assets_Under_Management__c,
198
+ helperText: errors.Current_Assets_Under_Management__c?.message,
199
+ variant,
200
+ defaultValue: "",
201
+ children: [
202
+ /* @__PURE__ */ jsx("option", { value: "", children: "Select Option" }),
203
+ /* @__PURE__ */ jsx("option", { value: "$0 - $25M", children: "$0 — $25M" }),
204
+ /* @__PURE__ */ jsx("option", { value: "$26M - $150M", children: "$26M — $150M" }),
205
+ /* @__PURE__ */ jsx("option", { value: "$151M - $500M", children: "$151M — $500M" }),
206
+ /* @__PURE__ */ jsx("option", { value: "$501M - $1B", children: "$501M — $1B" }),
207
+ /* @__PURE__ */ jsx("option", { value: "$1B+", children: "$1B+" })
208
+ ]
209
+ }
210
+ ) }),
211
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
212
+ Dropdown,
213
+ {
214
+ id: "Role__c",
215
+ ...register("Role__c", {
216
+ required: true
217
+ }),
218
+ label: "What best describes your role?*",
219
+ sizes: "medium",
220
+ required: true,
221
+ error: !!errors.Role__c,
222
+ helperText: errors.Role__c?.message,
223
+ variant,
224
+ defaultValue: "Select option",
225
+ children: [
226
+ /* @__PURE__ */ jsx("option", { value: "Select option", disabled: true, children: "Select Option" }),
227
+ /* @__PURE__ */ jsx("option", { value: "RIA Principal", children: "RIA Principal" }),
228
+ /* @__PURE__ */ jsx("option", { value: "Advisor (IAR)", children: "Advisor (IAR)" }),
229
+ /* @__PURE__ */ jsx("option", { value: "Broker-Dealer Affiliated Advisor", children: "Broker-Dealer Affiliated Advisor" }),
230
+ /* @__PURE__ */ jsx("option", { value: "I am not a Financial Advisor", children: "I am not a Financial Advisor" }),
231
+ /* @__PURE__ */ jsx("option", { value: "Other", children: "Other" })
232
+ ]
233
+ }
234
+ ) }),
235
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
236
+ InputTextArea,
237
+ {
238
+ id: "description",
239
+ ...register("description"),
240
+ label: "Comments",
241
+ sizes: "medium",
242
+ placeholder: "",
243
+ error: !!errors.description,
244
+ helperText: errors.description?.message,
245
+ variant,
246
+ rows: 1
247
+ }
248
+ ) })
249
+ ] }),
250
+ children,
251
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
252
+ /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
253
+ LoadingIndicator,
254
+ {
255
+ style: { marginInline: "auto" },
256
+ variant
257
+ }
258
+ ) : /* @__PURE__ */ jsx(
259
+ Button,
260
+ {
261
+ color: getVariant(callToAction?.variant),
262
+ as: "button",
263
+ type: "submit",
264
+ disabled: !isValid || isSubmitting,
265
+ children: callToAction?.displayText
266
+ }
267
+ ) }) })
268
+ ] })
269
+ ] }) }) }, id);
278
270
  };
279
271
  export {
280
272
  ContactUsAAS
@@ -154,142 +154,134 @@ const ContactUsBusiness = ({
154
154
  await onSubmit(data);
155
155
  };
156
156
  const variant = getVariant(fullVariant);
157
- return /* @__PURE__ */ jsx(
158
- "section",
159
- {
160
- id: `id_${id}`,
161
- className: clsx(formContainer({ variant })),
162
- children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
163
- icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
164
- /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
165
- /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
166
- description && /* @__PURE__ */ jsx(
167
- "div",
168
- {
169
- className: clsx(
170
- "text_center",
171
- form,
172
- descriptionField({ variant })
173
- ),
174
- children: description
175
- }
176
- )
177
- ] }),
178
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
179
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
180
- /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
181
- Input,
182
- {
183
- id: "first_name",
184
- ...register("first_name", { required: true }),
185
- label: "First Name",
186
- sizes: "medium",
187
- placeholder: "First Name",
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
- placeholder: "Last Name",
202
- required: true,
203
- error: !!errors.last_name,
204
- helperText: errors.last_name?.message,
205
- variant
206
- }
207
- ) }),
208
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
209
- Input,
210
- {
211
- id: "Business_Name__c",
212
- ...register("Business_Name__c", {
213
- required: true
214
- }),
215
- type: "text",
216
- label: "Business Name",
217
- sizes: "medium",
218
- placeholder: "Business Name",
219
- required: true,
220
- error: !!errors.Business_Name__c,
221
- helperText: errors.Business_Name__c?.message,
222
- variant
223
- }
224
- ) }),
225
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
226
- Input,
227
- {
228
- id: "email",
229
- ...register("email", {
230
- required: true
231
- }),
232
- type: "email",
233
- label: "Email",
234
- sizes: "medium",
235
- placeholder: "Email",
236
- required: true,
237
- error: !!errors.email,
238
- helperText: errors.email?.message,
239
- variant
240
- }
241
- ) }),
242
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
243
- InputPhone,
244
- {
245
- id: "phone",
246
- ...register("phone", { required: true, maxLength: 12 }),
247
- label: "Phone",
248
- sizes: "medium",
249
- placeholder: "Phone",
250
- type: "tel",
251
- required: true,
252
- error: !!errors.phone,
253
- helperText: errors.phone?.message,
254
- variant
255
- }
256
- ) }),
257
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
258
- Input,
259
- {
260
- id: "NMLS_ID__c",
261
- ...register("NMLS_ID__c", {
262
- required: true,
263
- min: 6,
264
- max: 7
265
- }),
266
- label: "Company NMLS ID",
267
- placeholder: "Company NMLS ID",
268
- sizes: "medium",
269
- required: true,
270
- error: !!errors.NMLS_ID__c,
271
- helperText: errors.NMLS_ID__c?.message,
272
- variant
273
- }
274
- ) })
275
- ] }),
276
- children,
277
- /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
278
- /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
279
- Button,
280
- {
281
- color: getVariant(callToAction?.variant),
282
- as: "button",
283
- type: "submit",
284
- disabled: !isValid || isSubmitting,
285
- children: callToAction?.displayText
286
- }
287
- ) })
288
- ] })
289
- ] }) })
290
- },
291
- id
292
- );
157
+ return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
158
+ icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
159
+ /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
160
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
161
+ description && /* @__PURE__ */ jsx(
162
+ "div",
163
+ {
164
+ className: clsx(
165
+ "text_center",
166
+ form,
167
+ descriptionField({ variant })
168
+ ),
169
+ children: description
170
+ }
171
+ )
172
+ ] }),
173
+ /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
174
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
175
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
176
+ Input,
177
+ {
178
+ id: "first_name",
179
+ ...register("first_name", { required: true }),
180
+ label: "First Name",
181
+ sizes: "medium",
182
+ placeholder: "First Name",
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
+ placeholder: "Last Name",
197
+ required: true,
198
+ error: !!errors.last_name,
199
+ helperText: errors.last_name?.message,
200
+ variant
201
+ }
202
+ ) }),
203
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
204
+ Input,
205
+ {
206
+ id: "Business_Name__c",
207
+ ...register("Business_Name__c", {
208
+ required: true
209
+ }),
210
+ type: "text",
211
+ label: "Business Name",
212
+ sizes: "medium",
213
+ placeholder: "Business Name",
214
+ required: true,
215
+ error: !!errors.Business_Name__c,
216
+ helperText: errors.Business_Name__c?.message,
217
+ variant
218
+ }
219
+ ) }),
220
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
221
+ Input,
222
+ {
223
+ id: "email",
224
+ ...register("email", {
225
+ required: true
226
+ }),
227
+ type: "email",
228
+ label: "Email",
229
+ sizes: "medium",
230
+ placeholder: "Email",
231
+ required: true,
232
+ error: !!errors.email,
233
+ helperText: errors.email?.message,
234
+ variant
235
+ }
236
+ ) }),
237
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
238
+ InputPhone,
239
+ {
240
+ id: "phone",
241
+ ...register("phone", { required: true, maxLength: 12 }),
242
+ label: "Phone",
243
+ sizes: "medium",
244
+ placeholder: "Phone",
245
+ type: "tel",
246
+ required: true,
247
+ error: !!errors.phone,
248
+ helperText: errors.phone?.message,
249
+ variant
250
+ }
251
+ ) }),
252
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
253
+ Input,
254
+ {
255
+ id: "NMLS_ID__c",
256
+ ...register("NMLS_ID__c", {
257
+ required: true,
258
+ min: 6,
259
+ max: 7
260
+ }),
261
+ label: "Company NMLS ID",
262
+ placeholder: "Company NMLS ID",
263
+ sizes: "medium",
264
+ required: true,
265
+ error: !!errors.NMLS_ID__c,
266
+ helperText: errors.NMLS_ID__c?.message,
267
+ variant
268
+ }
269
+ ) })
270
+ ] }),
271
+ children,
272
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
273
+ /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
274
+ Button,
275
+ {
276
+ color: getVariant(callToAction?.variant),
277
+ as: "button",
278
+ type: "submit",
279
+ disabled: !isValid || isSubmitting,
280
+ children: callToAction?.displayText
281
+ }
282
+ ) })
283
+ ] })
284
+ ] }) }) }, id);
293
285
  };
294
286
  export {
295
287
  ContactUsBusiness