@axos-web-dev/shared-components 1.0.99 → 1.0.100-dev.2

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 (160) hide show
  1. package/dist/ATMLocator/ATMLocator.js +8 -1
  2. package/dist/ArticlesSet/ArticlesSet.js +2 -2
  3. package/dist/Auth/ErrorAlert.js +10 -3
  4. package/dist/Blockquote/Blockquote.module.js +3 -3
  5. package/dist/Button/Button.js +10 -3
  6. package/dist/Calculators/Calculator.js +22 -3
  7. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.d.ts +9 -0
  8. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +219 -0
  9. package/dist/Calculators/MaxLoanCalculator/index.js +22 -5
  10. package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.d.ts +1 -0
  11. package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +2 -0
  12. package/dist/Calculators/MonthlyPaymentCalculator/index.js +15 -5
  13. package/dist/Calculators/index.d.ts +2 -1
  14. package/dist/Calculators/index.js +3 -1
  15. package/dist/Carousel/index.js +10 -3
  16. package/dist/Chatbot/Bubble.css.d.ts +1 -0
  17. package/dist/Chatbot/Bubble.css.js +5 -0
  18. package/dist/Chatbot/Bubble.d.ts +3 -0
  19. package/dist/Chatbot/Bubble.js +48 -0
  20. package/dist/Chatbot/Chat.d.ts +1 -0
  21. package/dist/Chatbot/Chat.js +165 -0
  22. package/dist/Chatbot/ChatWindow.css.d.ts +11 -0
  23. package/dist/Chatbot/ChatWindow.css.js +25 -0
  24. package/dist/Chatbot/ChatWindow.d.ts +23 -0
  25. package/dist/Chatbot/ChatWindow.js +202 -0
  26. package/dist/Chatbot/Chatbot.css.d.ts +1 -0
  27. package/dist/Chatbot/Chatbot.css.js +5 -0
  28. package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +1 -0
  29. package/dist/Chatbot/Chatbot.d.ts +1 -0
  30. package/dist/Chatbot/Chatbot.js +39 -0
  31. package/dist/Chatbot/authenticate.d.ts +3 -0
  32. package/dist/Chatbot/authenticate.js +16 -0
  33. package/dist/Chatbot/index.d.ts +9 -0
  34. package/dist/Chatbot/index.js +31 -0
  35. package/dist/Chatbot/store/chat.d.ts +9 -0
  36. package/dist/Chatbot/store/chat.js +11 -0
  37. package/dist/Chatbot/store/messages.d.ts +14 -0
  38. package/dist/Chatbot/store/messages.js +12 -0
  39. package/dist/Chatbot/useHeadlessChat.d.ts +22 -0
  40. package/dist/Chatbot/useHeadlessChat.js +157 -0
  41. package/dist/Chevron/index.js +10 -3
  42. package/dist/Comparison/Comparison.js +10 -3
  43. package/dist/ExecutiveBio/ExecutiveBio.js +10 -3
  44. package/dist/FaqAccordion/index.js +10 -3
  45. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +10 -3
  46. package/dist/Forms/ApplicationStart.d.ts +1 -1
  47. package/dist/Forms/ApplicationStart.js +111 -89
  48. package/dist/Forms/ApplyNow.d.ts +2 -2
  49. package/dist/Forms/ApplyNow.js +178 -146
  50. package/dist/Forms/ClearingForm.d.ts +1 -1
  51. package/dist/Forms/ClearingForm.js +184 -162
  52. package/dist/Forms/CommercialDeposits.d.ts +1 -1
  53. package/dist/Forms/CommercialDeposits.js +201 -179
  54. package/dist/Forms/CommercialLending.d.ts +1 -1
  55. package/dist/Forms/CommercialLending.js +278 -256
  56. package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
  57. package/dist/Forms/CommercialPremiumFinance.js +128 -106
  58. package/dist/Forms/ContactCompany.d.ts +1 -1
  59. package/dist/Forms/ContactCompany.js +113 -91
  60. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  61. package/dist/Forms/ContactCompanyTitle.js +127 -105
  62. package/dist/Forms/ContactUs.d.ts +1 -1
  63. package/dist/Forms/ContactUs.js +99 -77
  64. package/dist/Forms/ContactUsAAS.d.ts +1 -1
  65. package/dist/Forms/ContactUsAAS.js +180 -158
  66. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  67. package/dist/Forms/ContactUsBusiness.js +143 -115
  68. package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
  69. package/dist/Forms/ContactUsBusinessNameEmail.js +112 -84
  70. package/dist/Forms/ContactUsLVF.d.ts +3 -1
  71. package/dist/Forms/ContactUsLVF.js +127 -101
  72. package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
  73. package/dist/Forms/ContactUsNMLSId.js +126 -98
  74. package/dist/Forms/CpraRequest.d.ts +1 -1
  75. package/dist/Forms/CpraRequest.js +641 -619
  76. package/dist/Forms/CraPublicFile.d.ts +1 -1
  77. package/dist/Forms/CraPublicFile.js +118 -90
  78. package/dist/Forms/DealerServices.d.ts +1 -1
  79. package/dist/Forms/DealerServices.js +225 -204
  80. package/dist/Forms/EmailOnly.d.ts +1 -1
  81. package/dist/Forms/EmailOnly.js +65 -39
  82. package/dist/Forms/EmailUs.d.ts +1 -1
  83. package/dist/Forms/EmailUs.js +75 -53
  84. package/dist/Forms/FormProps.d.ts +3 -0
  85. package/dist/Forms/Forms.css.d.ts +18 -0
  86. package/dist/Forms/Forms.css.js +44 -38
  87. package/dist/Forms/HoneyPot/HoneyPot.css.d.ts +1 -0
  88. package/dist/Forms/HoneyPot/HoneyPot.css.js +5 -0
  89. package/dist/Forms/HoneyPot/index.d.ts +23 -0
  90. package/dist/Forms/HoneyPot/index.js +69 -0
  91. package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
  92. package/dist/Forms/MortgageRate/MortgageRateForm.js +376 -348
  93. package/dist/Forms/MortgageRate/MortgageRateWatch.js +10 -3
  94. package/dist/Forms/MortgageWarehouseLending.d.ts +11 -0
  95. package/dist/Forms/MortgageWarehouseLending.js +343 -0
  96. package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
  97. package/dist/Forms/QuickPricer/QuickPricerForm.js +624 -609
  98. package/dist/Forms/ScheduleCall.d.ts +1 -1
  99. package/dist/Forms/ScheduleCall.js +156 -134
  100. package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
  101. package/dist/Forms/ScheduleCallPremier.js +178 -156
  102. package/dist/Forms/SuccesForm.js +13 -6
  103. package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
  104. package/dist/Forms/VendorQuestionnaire.js +817 -795
  105. package/dist/Forms/WcplSurvey.d.ts +1 -1
  106. package/dist/Forms/WcplSurvey.js +112 -90
  107. package/dist/Forms/applynow-utils.d.ts +1 -0
  108. package/dist/Forms/applynow-utils.js +48 -0
  109. package/dist/Forms/index.d.ts +3 -0
  110. package/dist/Forms/index.js +12 -2
  111. package/dist/HeroBanner/HeroBanner.js +42 -1
  112. package/dist/Hyperlink/index.js +10 -3
  113. package/dist/IconBillboard/sections/CallToActionSection.js +2 -1
  114. package/dist/ImageBillboard/ExitIntentModal/useExitIntentModal.js +6 -1
  115. package/dist/ImageLink/ImageLink.js +10 -3
  116. package/dist/ImageLink/ImageLinkSet.js +10 -3
  117. package/dist/ImageLink/index.js +10 -3
  118. package/dist/Input/Input.js +3 -1
  119. package/dist/Insight/Featured/CategorySelector.js +10 -3
  120. package/dist/Insight/Featured/Featured.js +10 -3
  121. package/dist/Insight/Featured/Header.js +10 -3
  122. package/dist/Modal/Modal.js +10 -3
  123. package/dist/NavigationMenu/AxosALTS/NavData.js +10 -3
  124. package/dist/NavigationMenu/AxosALTS/index.js +10 -3
  125. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
  126. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -0
  127. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +25 -7
  128. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
  129. package/dist/NavigationMenu/AxosBank/NavData.js +10 -3
  130. package/dist/NavigationMenu/AxosBank/SubNavBar.js +32 -8
  131. package/dist/NavigationMenu/AxosBank/index.js +10 -3
  132. package/dist/NavigationMenu/LaVictoire/NavData.js +10 -3
  133. package/dist/NavigationMenu/LaVictoire/index.js +10 -3
  134. package/dist/NavigationMenu/NavDataJson.d.ts +2 -0
  135. package/dist/NavigationMenu/NavDataJson.js +315 -0
  136. package/dist/NavigationMenu/Navbar.d.ts +5 -0
  137. package/dist/NavigationMenu/Navbar.js +201 -0
  138. package/dist/NavigationMenu/SignInNavButton.d.ts +1 -0
  139. package/dist/NavigationMenu/SignInNavButton.js +369 -0
  140. package/dist/SetContainer/SetContainer.js +10 -3
  141. package/dist/SocialMediaBar/iconsRepository.js +10 -3
  142. package/dist/Table/Table.d.ts +1 -1
  143. package/dist/VideoTile/VideoTile.js +10 -3
  144. package/dist/VideoWrapper/index.js +10 -3
  145. package/dist/assets/Blockquote/Blockquote.css.css +68 -68
  146. package/dist/assets/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css +3 -0
  147. package/dist/assets/Chatbot/Bubble.css +40 -0
  148. package/dist/assets/Chatbot/ChatWindow.css +107 -0
  149. package/dist/assets/Forms/Forms.css +135 -105
  150. package/dist/assets/Forms/HoneyPot/HoneyPot.css +8 -0
  151. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +191 -191
  152. package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +473 -473
  153. package/dist/assets/utils/optimizeImage/optimizeImage.css.css +47 -47
  154. package/dist/icons/Logos/AXB.d.ts +8 -0
  155. package/dist/icons/Logos/AXB.js +74 -0
  156. package/dist/main.d.ts +1 -0
  157. package/dist/main.js +43 -3
  158. package/dist/utils/allowedAxosDomains.js +2 -1
  159. package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
  160. package/package.json +136 -133
@@ -22,6 +22,7 @@ import clsx from "clsx";
22
22
  import { useForm, FormProvider } from "react-hook-form";
23
23
  import { z } from "zod";
24
24
  import { form, form_row, descriptionField, formWrapper, actions, formContainer } from "./Forms.css.js";
25
+ import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
25
26
  const VendorQuestionnaire = ({
26
27
  children,
27
28
  onSubmit = (values) => {
@@ -29,6 +30,7 @@ const VendorQuestionnaire = ({
29
30
  },
30
31
  variant: fullVariant = "primary",
31
32
  validateEmail,
33
+ onValidate,
32
34
  callToAction,
33
35
  id
34
36
  }) => {
@@ -87,8 +89,16 @@ const VendorQuestionnaire = ({
87
89
  "jobtitle/0-1": z.string().min(1, { message: "Please complete this required field." }),
88
90
  "email/0-1": z.string().email({ message: "Please complete this required field." }).refine(async (val) => await validateEmail(val))
89
91
  });
92
+ const gen_schema = schema.merge(honeyPotSchema).superRefine((data, ctx) => {
93
+ if (!isValidHoneyPot(data)) {
94
+ ctx.addIssue({
95
+ code: z.ZodIssueCode.custom,
96
+ message: "fields are not valid."
97
+ });
98
+ }
99
+ });
90
100
  const methods = useForm({
91
- resolver: zodResolver(schema, {
101
+ resolver: zodResolver(gen_schema, {
92
102
  async: true
93
103
  }),
94
104
  mode: "all"
@@ -122,802 +132,814 @@ const VendorQuestionnaire = ({
122
132
  };
123
133
  const variant = getVariant(fullVariant);
124
134
  const formType = "questionnaire";
125
- return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsx(FormProvider, { ...methods, children: /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
126
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType })), children: [
127
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "COMPANY INFORMATION" }) }) }),
128
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
129
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
130
- Input,
131
- {
132
- id: "name/0-2",
133
- ...register("name/0-2", { required: true }),
134
- sizes: "medium",
135
- placeholder: "Company Name",
136
- required: true,
137
- error: !!errors["name/0-2"],
138
- helperText: errors["name/0-2"]?.message,
139
- variant
140
- }
141
- ) }),
142
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
143
- Input,
144
- {
145
- id: "dba/0-2",
146
- ...register("dba/0-2", { required: false }),
147
- placeholder: "DBA",
148
- sizes: "medium",
149
- required: false,
150
- variant
151
- }
152
- ) })
153
- ] }),
154
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
155
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
156
- InputPhone,
157
- {
158
- id: "phone/0-2",
159
- ...register("phone/0-2", { required: true }),
160
- placeholder: "Phone Number",
161
- sizes: "medium",
162
- required: true,
163
- type: "tel",
164
- error: !!errors["phone/0-2"],
165
- helperText: errors["phone/0-2"]?.message,
166
- variant
167
- }
168
- ) }),
169
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
170
- Input,
171
- {
172
- id: "website/0-2",
173
- ...register("website/0-2", { required: true }),
174
- placeholder: "Website URL",
175
- sizes: "medium",
176
- required: true,
177
- error: !!errors["website/0-2"],
178
- helperText: errors["website/0-2"]?.message,
179
- variant
180
- }
181
- ) })
182
- ] }),
183
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
184
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
185
- Input,
186
- {
187
- id: "address/0-2",
188
- ...register("address/0-2", { required: true }),
189
- placeholder: "Street Address",
190
- sizes: "medium",
191
- required: true,
192
- error: !!errors["address/0-2"],
193
- helperText: errors["address/0-2"]?.message,
194
- variant
195
- }
196
- ) }),
197
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
198
- Input,
199
- {
200
- id: "address2/0-2",
201
- ...register("address2/0-2", { required: false }),
202
- placeholder: "Street Address 2",
203
- sizes: "medium",
204
- required: false,
205
- error: !!errors["address2/0-2"],
206
- helperText: errors["address2/0-2"]?.message,
207
- variant
208
- }
209
- ) })
210
- ] }),
211
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
212
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
213
- Input,
214
- {
215
- id: "city/0-2",
216
- ...register("city/0-2", { required: true }),
217
- placeholder: "City",
218
- sizes: "medium",
219
- required: true,
220
- error: !!errors["city/0-2"],
221
- helperText: errors["city/0-2"]?.message,
222
- variant
223
- }
224
- ) }),
225
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
226
- Input,
227
- {
228
- id: "state/0-2",
229
- ...register("state/0-2", { required: true }),
230
- placeholder: "State/Region",
231
- sizes: "medium",
232
- required: true,
233
- error: !!errors["state/0-2"],
234
- helperText: errors["state/0-2"]?.message,
235
- variant
236
- }
237
- ) }),
238
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
239
- Input,
240
- {
241
- id: "zip/0-2",
242
- ...register("zip/0-2", { required: true }),
243
- placeholder: "ZIP/Postal Code",
244
- sizes: "medium",
245
- required: true,
246
- error: !!errors["zip/0-2"],
247
- helperText: errors["zip/0-2"]?.message,
248
- variant
249
- }
250
- ) })
251
- ] }),
252
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
253
- InputTextArea,
254
- {
255
- id: "description/0-2",
256
- ...register("description/0-2", { required: false }),
257
- label: "Description of current business (current brands, additional locations, etc.)",
258
- placeholder: "Description",
259
- sizes: "medium",
260
- required: false,
261
- error: !!errors["description/0-2"],
262
- helperText: errors["description/0-2"]?.message,
263
- variant
264
- }
265
- ) }) }),
266
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
267
- Input,
268
- {
269
- id: "how_did_you_hear_about_us_/0-2",
270
- ...register("how_did_you_hear_about_us_/0-2", {
271
- required: false
272
- }),
273
- placeholder: "How did you hear about us?",
274
- sizes: "medium",
275
- required: false,
276
- error: !!errors["how_did_you_hear_about_us_/0-2"],
277
- helperText: errors["how_did_you_hear_about_us_/0-2"]?.message,
278
- variant
279
- }
280
- ) }) }),
281
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsxs("div", { className: `${descriptionField({ variant, formType })}`, children: [
282
- /* @__PURE__ */ jsx("h4", { children: "OWNER INFORMATION" }),
283
- /* @__PURE__ */ jsx("p", { children: "Include all parties with at least 25% ownership." })
284
- ] }) }),
285
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER ONE" }) }) }),
286
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
287
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
288
- Input,
289
- {
290
- id: "owner_name_1/0-2",
291
- ...register("owner_name_1/0-2", { required: true }),
292
- placeholder: "Name",
293
- sizes: "medium",
294
- required: true,
295
- error: !!errors["owner_name_1/0-2"],
296
- helperText: errors["owner_name_1/0-2"]?.message,
297
- variant
298
- }
299
- ) }),
300
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
301
- Input,
302
- {
303
- id: "owner_phone_1/0-2",
304
- ...register("owner_phone_1/0-2", { required: true }),
305
- placeholder: "Phone",
306
- sizes: "medium",
307
- required: true,
308
- error: !!errors["owner_phone_1/0-2"],
309
- helperText: errors["owner_phone_1/0-2"]?.message,
310
- variant
311
- }
312
- ) }),
313
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
314
- Input,
315
- {
316
- id: "owner_email_1/0-2",
317
- ...register("owner_email_1/0-2", { required: true }),
318
- placeholder: "Email",
319
- sizes: "medium",
320
- required: true,
321
- error: !!errors["owner_email_1/0-2"],
322
- helperText: errors["owner_email_1/0-2"]?.message,
323
- variant
324
- }
325
- ) })
326
- ] }),
327
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER TWO" }) }) }),
328
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
329
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
330
- Input,
331
- {
332
- id: "owner_name_2/0-2",
333
- ...register("owner_name_2/0-2", { required: false }),
334
- placeholder: "Name",
335
- sizes: "medium",
336
- required: false,
337
- error: !!errors["owner_name_2/0-2"],
338
- helperText: errors["owner_name_2/0-2"]?.message,
339
- variant
340
- }
341
- ) }),
342
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
343
- Input,
344
- {
345
- id: "owner_phone_2/0-2",
346
- ...register("owner_phone_2/0-2", { required: false }),
347
- placeholder: "Phone",
348
- sizes: "medium",
349
- required: false,
350
- error: !!errors["owner_phone_2/0-2"],
351
- helperText: errors["owner_phone_2/0-2"]?.message,
352
- variant
353
- }
354
- ) }),
355
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
356
- Input,
357
- {
358
- id: "owner_email_2/0-2",
359
- ...register("owner_email_2/0-2", { required: false }),
360
- placeholder: "Email",
361
- sizes: "medium",
362
- required: false,
363
- error: !!errors["owner_email_2/0-2"],
364
- helperText: errors["owner_email_2/0-2"]?.message,
365
- variant
366
- }
367
- ) })
368
- ] }),
369
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER THREE" }) }) }),
370
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
371
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
372
- Input,
373
- {
374
- id: "owner_name_3/0-2",
375
- ...register("owner_name_3/0-2", { required: false }),
376
- placeholder: "Name",
377
- sizes: "medium",
378
- required: false,
379
- error: !!errors["owner_name_3/0-2"],
380
- helperText: errors["owner_name_3/0-2"]?.message,
381
- variant
382
- }
383
- ) }),
384
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
385
- Input,
386
- {
387
- id: "owner_phone_3/0-2",
388
- ...register("owner_phone_3/0-2", { required: false }),
389
- placeholder: "Phone",
390
- sizes: "medium",
391
- required: false,
392
- error: !!errors["owner_phone_3/0-2"],
393
- helperText: errors["owner_phone_3/0-2"]?.message,
394
- variant
395
- }
396
- ) }),
397
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
398
- Input,
399
- {
400
- id: "owner_email_3/0-2",
401
- ...register("owner_email_3/0-2", { required: false }),
402
- placeholder: "Email",
403
- sizes: "medium",
404
- required: false,
405
- error: !!errors["owner_email_3/0-2"],
406
- helperText: errors["owner_email_3/0-2"]?.message,
407
- variant
408
- }
409
- ) })
410
- ] }),
411
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER FOUR" }) }) }),
412
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
413
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
414
- Input,
415
- {
416
- id: "owner_name_4/0-2",
417
- ...register("owner_name_4/0-2", { required: false }),
418
- placeholder: "Name",
419
- sizes: "medium",
420
- required: false,
421
- error: !!errors["owner_name_4/0-2"],
422
- helperText: errors["owner_name_4/0-2"]?.message,
423
- variant
424
- }
425
- ) }),
426
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
427
- Input,
428
- {
429
- id: "owner_phone_4/0-2",
430
- ...register("owner_phone_4/0-2", { required: false }),
431
- placeholder: "Phone",
432
- sizes: "medium",
433
- required: false,
434
- error: !!errors["owner_phone_4/0-2"],
435
- helperText: errors["owner_phone_4/0-2"]?.message,
436
- variant
437
- }
438
- ) }),
439
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
440
- Input,
441
- {
442
- id: "owner_email_4/0-2",
443
- ...register("owner_email_4/0-2", { required: false }),
444
- placeholder: "Email",
445
- sizes: "medium",
446
- required: false,
447
- error: !!errors["owner_email_4/0-2"],
448
- helperText: errors["owner_email_4/0-2"]?.message,
449
- variant
135
+ return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsx(FormProvider, { ...methods, children: /* @__PURE__ */ jsxs(
136
+ "form",
137
+ {
138
+ className: form,
139
+ onSubmit: async (e) => {
140
+ onValidate && onValidate(e);
141
+ await handleSubmit(submitForm)(e);
142
+ e.preventDefault();
143
+ },
144
+ children: [
145
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType })), children: [
146
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "COMPANY INFORMATION" }) }) }),
147
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
148
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
149
+ Input,
150
+ {
151
+ id: "name/0-2",
152
+ ...register("name/0-2", { required: true }),
153
+ sizes: "medium",
154
+ placeholder: "Company Name",
155
+ required: true,
156
+ error: !!errors["name/0-2"],
157
+ helperText: errors["name/0-2"]?.message,
158
+ variant
159
+ }
160
+ ) }),
161
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
162
+ Input,
163
+ {
164
+ id: "dba/0-2",
165
+ ...register("dba/0-2", { required: false }),
166
+ placeholder: "DBA",
167
+ sizes: "medium",
168
+ required: false,
169
+ variant
170
+ }
171
+ ) })
172
+ ] }),
173
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
174
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
175
+ InputPhone,
176
+ {
177
+ id: "phone/0-2",
178
+ ...register("phone/0-2", { required: true }),
179
+ placeholder: "Phone Number",
180
+ sizes: "medium",
181
+ required: true,
182
+ type: "tel",
183
+ error: !!errors["phone/0-2"],
184
+ helperText: errors["phone/0-2"]?.message,
185
+ variant
186
+ }
187
+ ) }),
188
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
189
+ Input,
190
+ {
191
+ id: "website/0-2",
192
+ ...register("website/0-2", { required: true }),
193
+ placeholder: "Website URL",
194
+ sizes: "medium",
195
+ required: true,
196
+ error: !!errors["website/0-2"],
197
+ helperText: errors["website/0-2"]?.message,
198
+ variant
199
+ }
200
+ ) })
201
+ ] }),
202
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
203
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
204
+ Input,
205
+ {
206
+ id: "address/0-2",
207
+ ...register("address/0-2", { required: true }),
208
+ placeholder: "Street Address",
209
+ sizes: "medium",
210
+ required: true,
211
+ error: !!errors["address/0-2"],
212
+ helperText: errors["address/0-2"]?.message,
213
+ variant
214
+ }
215
+ ) }),
216
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
217
+ Input,
218
+ {
219
+ id: "address2/0-2",
220
+ ...register("address2/0-2", { required: false }),
221
+ placeholder: "Street Address 2",
222
+ sizes: "medium",
223
+ required: false,
224
+ error: !!errors["address2/0-2"],
225
+ helperText: errors["address2/0-2"]?.message,
226
+ variant
227
+ }
228
+ ) })
229
+ ] }),
230
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
231
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
232
+ Input,
233
+ {
234
+ id: "city/0-2",
235
+ ...register("city/0-2", { required: true }),
236
+ placeholder: "City",
237
+ sizes: "medium",
238
+ required: true,
239
+ error: !!errors["city/0-2"],
240
+ helperText: errors["city/0-2"]?.message,
241
+ variant
242
+ }
243
+ ) }),
244
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
245
+ Input,
246
+ {
247
+ id: "state/0-2",
248
+ ...register("state/0-2", { required: true }),
249
+ placeholder: "State/Region",
250
+ sizes: "medium",
251
+ required: true,
252
+ error: !!errors["state/0-2"],
253
+ helperText: errors["state/0-2"]?.message,
254
+ variant
255
+ }
256
+ ) }),
257
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
258
+ Input,
259
+ {
260
+ id: "zip/0-2",
261
+ ...register("zip/0-2", { required: true }),
262
+ placeholder: "ZIP/Postal Code",
263
+ sizes: "medium",
264
+ required: true,
265
+ error: !!errors["zip/0-2"],
266
+ helperText: errors["zip/0-2"]?.message,
267
+ variant
268
+ }
269
+ ) })
270
+ ] }),
271
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
272
+ InputTextArea,
273
+ {
274
+ id: "description/0-2",
275
+ ...register("description/0-2", { required: false }),
276
+ label: "Description of current business (current brands, additional locations, etc.)",
277
+ placeholder: "Description",
278
+ sizes: "medium",
279
+ required: false,
280
+ error: !!errors["description/0-2"],
281
+ helperText: errors["description/0-2"]?.message,
282
+ variant
283
+ }
284
+ ) }) }),
285
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
286
+ Input,
287
+ {
288
+ id: "how_did_you_hear_about_us_/0-2",
289
+ ...register("how_did_you_hear_about_us_/0-2", {
290
+ required: false
291
+ }),
292
+ placeholder: "How did you hear about us?",
293
+ sizes: "medium",
294
+ required: false,
295
+ error: !!errors["how_did_you_hear_about_us_/0-2"],
296
+ helperText: errors["how_did_you_hear_about_us_/0-2"]?.message,
297
+ variant
298
+ }
299
+ ) }) }),
300
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsxs("div", { className: `${descriptionField({ variant, formType })}`, children: [
301
+ /* @__PURE__ */ jsx("h4", { children: "OWNER INFORMATION" }),
302
+ /* @__PURE__ */ jsx("p", { children: "Include all parties with at least 25% ownership." })
303
+ ] }) }),
304
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER ONE" }) }) }),
305
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
306
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
307
+ Input,
308
+ {
309
+ id: "owner_name_1/0-2",
310
+ ...register("owner_name_1/0-2", { required: true }),
311
+ placeholder: "Name",
312
+ sizes: "medium",
313
+ required: true,
314
+ error: !!errors["owner_name_1/0-2"],
315
+ helperText: errors["owner_name_1/0-2"]?.message,
316
+ variant
317
+ }
318
+ ) }),
319
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
320
+ Input,
321
+ {
322
+ id: "owner_phone_1/0-2",
323
+ ...register("owner_phone_1/0-2", { required: true }),
324
+ placeholder: "Phone",
325
+ sizes: "medium",
326
+ required: true,
327
+ error: !!errors["owner_phone_1/0-2"],
328
+ helperText: errors["owner_phone_1/0-2"]?.message,
329
+ variant
330
+ }
331
+ ) }),
332
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
333
+ Input,
334
+ {
335
+ id: "owner_email_1/0-2",
336
+ ...register("owner_email_1/0-2", { required: true }),
337
+ placeholder: "Email",
338
+ sizes: "medium",
339
+ required: true,
340
+ error: !!errors["owner_email_1/0-2"],
341
+ helperText: errors["owner_email_1/0-2"]?.message,
342
+ variant
343
+ }
344
+ ) })
345
+ ] }),
346
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER TWO" }) }) }),
347
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
348
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
349
+ Input,
350
+ {
351
+ id: "owner_name_2/0-2",
352
+ ...register("owner_name_2/0-2", { required: false }),
353
+ placeholder: "Name",
354
+ sizes: "medium",
355
+ required: false,
356
+ error: !!errors["owner_name_2/0-2"],
357
+ helperText: errors["owner_name_2/0-2"]?.message,
358
+ variant
359
+ }
360
+ ) }),
361
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
362
+ Input,
363
+ {
364
+ id: "owner_phone_2/0-2",
365
+ ...register("owner_phone_2/0-2", { required: false }),
366
+ placeholder: "Phone",
367
+ sizes: "medium",
368
+ required: false,
369
+ error: !!errors["owner_phone_2/0-2"],
370
+ helperText: errors["owner_phone_2/0-2"]?.message,
371
+ variant
372
+ }
373
+ ) }),
374
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
375
+ Input,
376
+ {
377
+ id: "owner_email_2/0-2",
378
+ ...register("owner_email_2/0-2", { required: false }),
379
+ placeholder: "Email",
380
+ sizes: "medium",
381
+ required: false,
382
+ error: !!errors["owner_email_2/0-2"],
383
+ helperText: errors["owner_email_2/0-2"]?.message,
384
+ variant
385
+ }
386
+ ) })
387
+ ] }),
388
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER THREE" }) }) }),
389
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
390
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
391
+ Input,
392
+ {
393
+ id: "owner_name_3/0-2",
394
+ ...register("owner_name_3/0-2", { required: false }),
395
+ placeholder: "Name",
396
+ sizes: "medium",
397
+ required: false,
398
+ error: !!errors["owner_name_3/0-2"],
399
+ helperText: errors["owner_name_3/0-2"]?.message,
400
+ variant
401
+ }
402
+ ) }),
403
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
404
+ Input,
405
+ {
406
+ id: "owner_phone_3/0-2",
407
+ ...register("owner_phone_3/0-2", { required: false }),
408
+ placeholder: "Phone",
409
+ sizes: "medium",
410
+ required: false,
411
+ error: !!errors["owner_phone_3/0-2"],
412
+ helperText: errors["owner_phone_3/0-2"]?.message,
413
+ variant
414
+ }
415
+ ) }),
416
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
417
+ Input,
418
+ {
419
+ id: "owner_email_3/0-2",
420
+ ...register("owner_email_3/0-2", { required: false }),
421
+ placeholder: "Email",
422
+ sizes: "medium",
423
+ required: false,
424
+ error: !!errors["owner_email_3/0-2"],
425
+ helperText: errors["owner_email_3/0-2"]?.message,
426
+ variant
427
+ }
428
+ ) })
429
+ ] }),
430
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OWNER FOUR" }) }) }),
431
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
432
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
433
+ Input,
434
+ {
435
+ id: "owner_name_4/0-2",
436
+ ...register("owner_name_4/0-2", { required: false }),
437
+ placeholder: "Name",
438
+ sizes: "medium",
439
+ required: false,
440
+ error: !!errors["owner_name_4/0-2"],
441
+ helperText: errors["owner_name_4/0-2"]?.message,
442
+ variant
443
+ }
444
+ ) }),
445
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
446
+ Input,
447
+ {
448
+ id: "owner_phone_4/0-2",
449
+ ...register("owner_phone_4/0-2", { required: false }),
450
+ placeholder: "Phone",
451
+ sizes: "medium",
452
+ required: false,
453
+ error: !!errors["owner_phone_4/0-2"],
454
+ helperText: errors["owner_phone_4/0-2"]?.message,
455
+ variant
456
+ }
457
+ ) }),
458
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
459
+ Input,
460
+ {
461
+ id: "owner_email_4/0-2",
462
+ ...register("owner_email_4/0-2", { required: false }),
463
+ placeholder: "Email",
464
+ sizes: "medium",
465
+ required: false,
466
+ error: !!errors["owner_email_4/0-2"],
467
+ helperText: errors["owner_email_4/0-2"]?.message,
468
+ variant
469
+ }
470
+ ) })
471
+ ] }),
472
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "SALES & FINANCE CONTACTS" }) }) }),
473
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "SALES CONTACT" }) }) }),
474
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
475
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
476
+ Input,
477
+ {
478
+ id: "sales_contact_name/0-2",
479
+ ...register("sales_contact_name/0-2", { required: true }),
480
+ placeholder: "Name",
481
+ sizes: "medium",
482
+ required: true,
483
+ error: !!errors["sales_contact_name/0-2"],
484
+ helperText: errors["sales_contact_name/0-2"]?.message,
485
+ variant
486
+ }
487
+ ) }),
488
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
489
+ Input,
490
+ {
491
+ id: "sales_contact_phone/0-2",
492
+ ...register("sales_contact_phone/0-2", { required: true }),
493
+ placeholder: "Phone",
494
+ sizes: "medium",
495
+ required: true,
496
+ error: !!errors["sales_contact_phone/0-2"],
497
+ helperText: errors["sales_contact_phone/0-2"]?.message,
498
+ variant
499
+ }
500
+ ) }),
501
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
502
+ Input,
503
+ {
504
+ id: "sales_contact_email/0-2",
505
+ ...register("sales_contact_email/0-2", { required: true }),
506
+ placeholder: "Email",
507
+ sizes: "medium",
508
+ required: true,
509
+ error: !!errors["sales_contact_email/0-2"],
510
+ helperText: errors["sales_contact_email/0-2"]?.message,
511
+ variant
512
+ }
513
+ ) })
514
+ ] }),
515
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "FINANCE CONTACT" }) }) }),
516
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
517
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
518
+ Input,
519
+ {
520
+ id: "finance_contact_name/0-2",
521
+ ...register("finance_contact_name/0-2", {
522
+ required: true
523
+ }),
524
+ placeholder: "Name",
525
+ sizes: "medium",
526
+ required: true,
527
+ error: !!errors["finance_contact_name/0-2"],
528
+ helperText: errors["finance_contact_name/0-2"]?.message,
529
+ variant
530
+ }
531
+ ) }),
532
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
533
+ Input,
534
+ {
535
+ id: "finance_contact_phone/0-2",
536
+ ...register("finance_contact_phone/0-2", {
537
+ required: true
538
+ }),
539
+ placeholder: "Phone",
540
+ sizes: "medium",
541
+ required: true,
542
+ error: !!errors["finance_contact_phone/0-2"],
543
+ helperText: errors["finance_contact_phone/0-2"]?.message,
544
+ variant
545
+ }
546
+ ) }),
547
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
548
+ Input,
549
+ {
550
+ id: "finance_contact_email/0-2",
551
+ ...register("finance_contact_email/0-2", {
552
+ required: true
553
+ }),
554
+ placeholder: "Email",
555
+ sizes: "medium",
556
+ required: true,
557
+ error: !!errors["finance_contact_email/0-2"],
558
+ helperText: errors["finance_contact_email/0-2"]?.message,
559
+ variant
560
+ }
561
+ ) })
562
+ ] }),
563
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "CORPORATE INFORMATION" }) }) }),
564
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
565
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
566
+ Input,
567
+ {
568
+ id: "type_of_organization/0-2",
569
+ ...register("type_of_organization/0-2", {
570
+ required: true
571
+ }),
572
+ placeholder: "Type of Organization",
573
+ sizes: "medium",
574
+ required: true,
575
+ error: !!errors["type_of_organization/0-2"],
576
+ helperText: errors["type_of_organization/0-2"]?.message,
577
+ variant
578
+ }
579
+ ) }),
580
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
581
+ Input,
582
+ {
583
+ id: "founded_year/0-2",
584
+ ...register("founded_year/0-2", { required: true }),
585
+ placeholder: "Year Founded",
586
+ sizes: "medium",
587
+ required: true,
588
+ error: !!errors["founded_year/0-2"],
589
+ helperText: errors["founded_year/0-2"]?.message,
590
+ variant
591
+ }
592
+ ) })
593
+ ] }),
594
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OFFICERS, DIRECTORS, MEMBERS OR PARTNERS" }) }) }),
595
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
596
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
597
+ Input,
598
+ {
599
+ id: "officer_name_1/0-2",
600
+ ...register("officer_name_1/0-2", { required: true }),
601
+ placeholder: "Name",
602
+ sizes: "medium",
603
+ required: true,
604
+ error: !!errors["officer_name_1/0-2"],
605
+ helperText: errors["officer_name_1/0-2"]?.message,
606
+ variant
607
+ }
608
+ ) }),
609
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
610
+ Input,
611
+ {
612
+ id: "officer_title_1/0-2",
613
+ ...register("officer_title_1/0-2", { required: true }),
614
+ placeholder: "Title",
615
+ sizes: "medium",
616
+ required: true,
617
+ error: !!errors["officer_title_1/0-2"],
618
+ helperText: errors["officer_title_1/0-2"]?.message,
619
+ variant
620
+ }
621
+ ) })
622
+ ] }),
623
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
624
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
625
+ Input,
626
+ {
627
+ id: "officer_name_2/0-2",
628
+ ...register("officer_name_2/0-2", { required: false }),
629
+ placeholder: "Name",
630
+ sizes: "medium",
631
+ required: false,
632
+ error: !!errors["officer_name_2/0-2"],
633
+ helperText: errors["officer_name_2/0-2"]?.message,
634
+ variant
635
+ }
636
+ ) }),
637
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
638
+ Input,
639
+ {
640
+ id: "officer_title_2/0-2",
641
+ ...register("officer_title_2/0-2", { required: false }),
642
+ placeholder: "Title",
643
+ sizes: "medium",
644
+ required: false,
645
+ error: !!errors["officer_title_2/0-2"],
646
+ helperText: errors["officer_title_2/0-2"]?.message,
647
+ variant
648
+ }
649
+ ) })
650
+ ] }),
651
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
652
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
653
+ Input,
654
+ {
655
+ id: "officer_name_3/0-2",
656
+ ...register("officer_name_3/0-2", { required: false }),
657
+ placeholder: "Name",
658
+ sizes: "medium",
659
+ required: false,
660
+ error: !!errors["officer_name_3/0-2"],
661
+ helperText: errors["officer_name_3/0-2"]?.message,
662
+ variant
663
+ }
664
+ ) }),
665
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
666
+ Input,
667
+ {
668
+ id: "officer_title_3/0-2",
669
+ ...register("officer_title_3/0-2", { required: false }),
670
+ placeholder: "Title",
671
+ sizes: "medium",
672
+ required: false,
673
+ error: !!errors["officer_title_3/0-2"],
674
+ helperText: errors["officer_title_3/0-2"]?.message,
675
+ variant
676
+ }
677
+ ) })
678
+ ] }),
679
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "INSURANCE INFORMATION" }) }) }),
680
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
681
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
682
+ Input,
683
+ {
684
+ id: "name_of_insurer/0-2",
685
+ ...register("name_of_insurer/0-2", { required: true }),
686
+ placeholder: "Insurer Name",
687
+ sizes: "medium",
688
+ required: true,
689
+ error: !!errors["name_of_insurer/0-2"],
690
+ helperText: errors["name_of_insurer/0-2"]?.message,
691
+ variant
692
+ }
693
+ ) }),
694
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
695
+ Input,
696
+ {
697
+ id: "insurer_phone/0-2",
698
+ ...register("insurer_phone/0-2", { required: true }),
699
+ placeholder: "Phone",
700
+ sizes: "medium",
701
+ required: true,
702
+ error: !!errors["insurer_phone/0-2"],
703
+ helperText: errors["insurer_phone/0-2"]?.message,
704
+ variant
705
+ }
706
+ ) }),
707
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
708
+ Input,
709
+ {
710
+ id: "insurer_email/0-2",
711
+ ...register("insurer_email/0-2", { required: true }),
712
+ placeholder: "Email",
713
+ sizes: "medium",
714
+ required: true,
715
+ error: !!errors["insurer_email/0-2"],
716
+ helperText: errors["insurer_email/0-2"]?.message,
717
+ variant
718
+ }
719
+ ) })
720
+ ] }),
721
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "FORECASTED BUSINESS" }) }) }),
722
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
723
+ InputTextArea,
724
+ {
725
+ id: "forecasted_business/0-2",
726
+ ...register("forecasted_business/0-2", {
727
+ required: false
728
+ }),
729
+ label: "Brands and anticipated volume.",
730
+ placeholder: "Forecasted Business",
731
+ sizes: "medium",
732
+ required: false,
733
+ error: !!errors["forecasted_business/0-2"],
734
+ helperText: errors["forecasted_business/0-2"]?.message,
735
+ variant
736
+ }
737
+ ) }) }),
738
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
739
+ InputTextArea,
740
+ {
741
+ id: "forecasted_business_comments/0-2",
742
+ ...register("forecasted_business_comments/0-2", {
743
+ required: false
744
+ }),
745
+ label: "Tell us what’s important to you.",
746
+ placeholder: "Comments",
747
+ sizes: "medium",
748
+ required: false,
749
+ error: !!errors["forecasted_business_comments/0-2"],
750
+ helperText: errors["forecasted_business_comments/0-2"]?.message,
751
+ variant
752
+ }
753
+ ) }) }),
754
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsxs("div", { className: `${descriptionField({ variant, formType })}`, children: [
755
+ /* @__PURE__ */ jsx("h4", { children: "SECURITY POLICY" }),
756
+ /* @__PURE__ */ jsx("p", { children: "In lieu of the questions below, you may attach a copy of your existing policy. Please indicate how you protect customer Non-Public Information when communicating with LaVictoire, or once in receipt of Customer Information." })
757
+ ] }) }),
758
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "IN TRANSIT" }) }) }),
759
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
760
+ InputTextArea,
761
+ {
762
+ id: "security_transit_approval_documents/0-2",
763
+ ...register("security_transit_approval_documents/0-2", {
764
+ required: true
765
+ }),
766
+ label: "When submitting applications and sharing miscellaneous documents during the approval process.",
767
+ sizes: "medium",
768
+ placeholder: "Approval Documents",
769
+ required: true,
770
+ error: !!errors["security_transit_approval_documents/0-2"],
771
+ helperText: errors["security_transit_approval_documents/0-2"]?.message,
772
+ variant
773
+ }
774
+ ) }) }),
775
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
776
+ InputTextArea,
777
+ {
778
+ id: "security_transit_closing_documents/0-2",
779
+ ...register("security_transit_closing_documents/0-2", {
780
+ required: true
781
+ }),
782
+ label: "When sharing closing and USCG documents, if applicable.",
783
+ sizes: "medium",
784
+ placeholder: "Closing Documents",
785
+ required: true,
786
+ error: !!errors["security_transit_closing_documents/0-2"],
787
+ helperText: errors["security_transit_closing_documents/0-2"]?.message,
788
+ variant
789
+ }
790
+ ) }) }),
791
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "AT REST" }) }) }),
792
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
793
+ InputTextArea,
794
+ {
795
+ id: "security_rest_electronic/0-2",
796
+ ...register("security_rest_electronic/0-2", {
797
+ required: true
798
+ }),
799
+ label: "Where are ELECTRONIC loan applications and closing documents saved, and how are they protected?",
800
+ sizes: "medium",
801
+ placeholder: "Electronic Documents",
802
+ required: true,
803
+ error: !!errors["security_rest_electronic/0-2"],
804
+ helperText: errors["security_rest_electronic/0-2"]?.message,
805
+ variant
806
+ }
807
+ ) }) }),
808
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
809
+ InputTextArea,
810
+ {
811
+ id: "security_rest_paper/0-2",
812
+ ...register("security_rest_paper/0-2", { required: true }),
813
+ label: "Where are PAPER loan applications and closing documents saved, and how are they protected? Is there an alarm system on the premises?",
814
+ sizes: "medium",
815
+ required: true,
816
+ placeholder: "Paper Documents",
817
+ error: !!errors["security_rest_paper/0-2"],
818
+ helperText: errors["security_rest_paper/0-2"]?.message,
819
+ variant
820
+ }
821
+ ) }) }),
822
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "AT TIME OF DISPOSAL" }) }) }),
823
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
824
+ InputTextArea,
825
+ {
826
+ id: "security_time_of_disposal_paper/0-2",
827
+ ...register("security_time_of_disposal_paper/0-2", {
828
+ required: true
829
+ }),
830
+ label: "How long do you retain paper documents, and how does your company dispose of them?",
831
+ sizes: "medium",
832
+ required: true,
833
+ placeholder: "Paper Disposal",
834
+ error: !!errors["security_time_of_disposal_paper/0-2"],
835
+ helperText: errors["security_time_of_disposal_paper/0-2"]?.message,
836
+ variant
837
+ }
838
+ ) }) }),
839
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
840
+ InputTextArea,
841
+ {
842
+ id: "security_time_of_disposal_electronic/0-2",
843
+ ...register("security_time_of_disposal_electronic/0-2", {
844
+ required: true
845
+ }),
846
+ label: "When you upgrade or dispose of company computers, how do you remove the customer confidential data?  Does your company have IT personnel wipe the hard drives and destroy prior to disposal?",
847
+ sizes: "medium",
848
+ required: true,
849
+ placeholder: "Electronic Disposal",
850
+ error: !!errors["security_time_of_disposal_electronic/0-2"],
851
+ helperText: errors["security_time_of_disposal_electronic/0-2"]?.message,
852
+ variant
853
+ }
854
+ ) }) }),
855
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsxs("div", { className: `${descriptionField({ variant, formType })}`, children: [
856
+ /* @__PURE__ */ jsx("p", { children: "I am submitting this Vendor Questionnaire on behalf of the business named herein. I certify that I made no misrepresentation in this Vendor Questionnaire or in any related documents, that all information is true and complete, that I did not omit any important information, and that I am obligated to amend and/or supplement the information provided in this Questionnaire if any of the material facts represented herein should change. Lender is authorized to verify with other parties and to make any investigation of our Business, either directly or through any agency employed by the Lender for that purpose. I understand that Lender will retain this Questionnaire and any other information Lender receives, even if a mutual Agreement is not obtained." }),
857
+ /* @__PURE__ */ jsx("p", { children: "The transmission of this application as an “electronic record” containing my “electronic signature,” as those terms are defined in applicable federal and/or state laws, shall be as effective, enforceable and valid as if a paper version of this application were delivered containing my original written signature." })
858
+ ] }) }),
859
+ /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "AUTHORIZED REPRESENTATIVE" }) }) }),
860
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
861
+ Input,
862
+ {
863
+ id: "company/0-1",
864
+ ...register("company/0-1", { required: true }),
865
+ placeholder: "Company Name",
866
+ sizes: "medium",
867
+ required: true,
868
+ error: !!errors["company/0-1"],
869
+ helperText: errors["company/0-1"]?.message,
870
+ variant
871
+ }
872
+ ) }) }),
873
+ /* @__PURE__ */ jsxs("div", { className: form_row, children: [
874
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
875
+ Input,
876
+ {
877
+ id: "firstname/0-1",
878
+ ...register("firstname/0-1", { required: true }),
879
+ placeholder: "First Name",
880
+ sizes: "medium",
881
+ required: true,
882
+ error: !!errors["firstname/0-1"],
883
+ helperText: errors["firstname/0-1"]?.message,
884
+ variant
885
+ }
886
+ ) }),
887
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
888
+ Input,
889
+ {
890
+ id: "lastname/0-1",
891
+ ...register("lastname/0-1", { required: true }),
892
+ placeholder: "Last Name",
893
+ sizes: "medium",
894
+ required: true,
895
+ error: !!errors["lastname/0-1"],
896
+ helperText: errors["lastname/0-1"]?.message,
897
+ variant
898
+ }
899
+ ) }),
900
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
901
+ Input,
902
+ {
903
+ id: "jobtitle/0-1",
904
+ ...register("jobtitle/0-1", { required: true }),
905
+ placeholder: "Job Title",
906
+ sizes: "medium",
907
+ required: true,
908
+ error: !!errors["jobtitle/0-1"],
909
+ helperText: errors["jobtitle/0-1"]?.message,
910
+ variant
911
+ }
912
+ ) })
913
+ ] }),
914
+ /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
915
+ Input,
916
+ {
917
+ id: "email/0-1",
918
+ ...register("email/0-1", { required: true }),
919
+ placeholder: "Email",
920
+ sizes: "medium",
921
+ required: true,
922
+ error: !!errors["email/0-1"],
923
+ helperText: errors["email/0-1"]?.message,
924
+ variant
925
+ }
926
+ ) }) }),
927
+ /* @__PURE__ */ jsx(HoneyPot, { register, variant })
928
+ ] }),
929
+ children,
930
+ /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
931
+ Button,
932
+ {
933
+ color: getVariant(callToAction?.variant),
934
+ as: "button",
935
+ type: "submit",
936
+ disabled: !isValid,
937
+ children: callToAction?.displayText
450
938
  }
451
939
  ) })
452
- ] }),
453
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "SALES & FINANCE CONTACTS" }) }) }),
454
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "SALES CONTACT" }) }) }),
455
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
456
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
457
- Input,
458
- {
459
- id: "sales_contact_name/0-2",
460
- ...register("sales_contact_name/0-2", { required: true }),
461
- placeholder: "Name",
462
- sizes: "medium",
463
- required: true,
464
- error: !!errors["sales_contact_name/0-2"],
465
- helperText: errors["sales_contact_name/0-2"]?.message,
466
- variant
467
- }
468
- ) }),
469
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
470
- Input,
471
- {
472
- id: "sales_contact_phone/0-2",
473
- ...register("sales_contact_phone/0-2", { required: true }),
474
- placeholder: "Phone",
475
- sizes: "medium",
476
- required: true,
477
- error: !!errors["sales_contact_phone/0-2"],
478
- helperText: errors["sales_contact_phone/0-2"]?.message,
479
- variant
480
- }
481
- ) }),
482
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
483
- Input,
484
- {
485
- id: "sales_contact_email/0-2",
486
- ...register("sales_contact_email/0-2", { required: true }),
487
- placeholder: "Email",
488
- sizes: "medium",
489
- required: true,
490
- error: !!errors["sales_contact_email/0-2"],
491
- helperText: errors["sales_contact_email/0-2"]?.message,
492
- variant
493
- }
494
- ) })
495
- ] }),
496
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "FINANCE CONTACT" }) }) }),
497
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
498
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
499
- Input,
500
- {
501
- id: "finance_contact_name/0-2",
502
- ...register("finance_contact_name/0-2", {
503
- required: true
504
- }),
505
- placeholder: "Name",
506
- sizes: "medium",
507
- required: true,
508
- error: !!errors["finance_contact_name/0-2"],
509
- helperText: errors["finance_contact_name/0-2"]?.message,
510
- variant
511
- }
512
- ) }),
513
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
514
- Input,
515
- {
516
- id: "finance_contact_phone/0-2",
517
- ...register("finance_contact_phone/0-2", {
518
- required: true
519
- }),
520
- placeholder: "Phone",
521
- sizes: "medium",
522
- required: true,
523
- error: !!errors["finance_contact_phone/0-2"],
524
- helperText: errors["finance_contact_phone/0-2"]?.message,
525
- variant
526
- }
527
- ) }),
528
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
529
- Input,
530
- {
531
- id: "finance_contact_email/0-2",
532
- ...register("finance_contact_email/0-2", {
533
- required: true
534
- }),
535
- placeholder: "Email",
536
- sizes: "medium",
537
- required: true,
538
- error: !!errors["finance_contact_email/0-2"],
539
- helperText: errors["finance_contact_email/0-2"]?.message,
540
- variant
541
- }
542
- ) })
543
- ] }),
544
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "CORPORATE INFORMATION" }) }) }),
545
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
546
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
547
- Input,
548
- {
549
- id: "type_of_organization/0-2",
550
- ...register("type_of_organization/0-2", {
551
- required: true
552
- }),
553
- placeholder: "Type of Organization",
554
- sizes: "medium",
555
- required: true,
556
- error: !!errors["type_of_organization/0-2"],
557
- helperText: errors["type_of_organization/0-2"]?.message,
558
- variant
559
- }
560
- ) }),
561
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
562
- Input,
563
- {
564
- id: "founded_year/0-2",
565
- ...register("founded_year/0-2", { required: true }),
566
- placeholder: "Year Founded",
567
- sizes: "medium",
568
- required: true,
569
- error: !!errors["founded_year/0-2"],
570
- helperText: errors["founded_year/0-2"]?.message,
571
- variant
572
- }
573
- ) })
574
- ] }),
575
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "OFFICERS, DIRECTORS, MEMBERS OR PARTNERS" }) }) }),
576
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
577
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
578
- Input,
579
- {
580
- id: "officer_name_1/0-2",
581
- ...register("officer_name_1/0-2", { required: true }),
582
- placeholder: "Name",
583
- sizes: "medium",
584
- required: true,
585
- error: !!errors["officer_name_1/0-2"],
586
- helperText: errors["officer_name_1/0-2"]?.message,
587
- variant
588
- }
589
- ) }),
590
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
591
- Input,
592
- {
593
- id: "officer_title_1/0-2",
594
- ...register("officer_title_1/0-2", { required: true }),
595
- placeholder: "Title",
596
- sizes: "medium",
597
- required: true,
598
- error: !!errors["officer_title_1/0-2"],
599
- helperText: errors["officer_title_1/0-2"]?.message,
600
- variant
601
- }
602
- ) })
603
- ] }),
604
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
605
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
606
- Input,
607
- {
608
- id: "officer_name_2/0-2",
609
- ...register("officer_name_2/0-2", { required: false }),
610
- placeholder: "Name",
611
- sizes: "medium",
612
- required: false,
613
- error: !!errors["officer_name_2/0-2"],
614
- helperText: errors["officer_name_2/0-2"]?.message,
615
- variant
616
- }
617
- ) }),
618
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
619
- Input,
620
- {
621
- id: "officer_title_2/0-2",
622
- ...register("officer_title_2/0-2", { required: false }),
623
- placeholder: "Title",
624
- sizes: "medium",
625
- required: false,
626
- error: !!errors["officer_title_2/0-2"],
627
- helperText: errors["officer_title_2/0-2"]?.message,
628
- variant
629
- }
630
- ) })
631
- ] }),
632
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
633
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
634
- Input,
635
- {
636
- id: "officer_name_3/0-2",
637
- ...register("officer_name_3/0-2", { required: false }),
638
- placeholder: "Name",
639
- sizes: "medium",
640
- required: false,
641
- error: !!errors["officer_name_3/0-2"],
642
- helperText: errors["officer_name_3/0-2"]?.message,
643
- variant
644
- }
645
- ) }),
646
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
647
- Input,
648
- {
649
- id: "officer_title_3/0-2",
650
- ...register("officer_title_3/0-2", { required: false }),
651
- placeholder: "Title",
652
- sizes: "medium",
653
- required: false,
654
- error: !!errors["officer_title_3/0-2"],
655
- helperText: errors["officer_title_3/0-2"]?.message,
656
- variant
657
- }
658
- ) })
659
- ] }),
660
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "INSURANCE INFORMATION" }) }) }),
661
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
662
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
663
- Input,
664
- {
665
- id: "name_of_insurer/0-2",
666
- ...register("name_of_insurer/0-2", { required: true }),
667
- placeholder: "Insurer Name",
668
- sizes: "medium",
669
- required: true,
670
- error: !!errors["name_of_insurer/0-2"],
671
- helperText: errors["name_of_insurer/0-2"]?.message,
672
- variant
673
- }
674
- ) }),
675
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
676
- Input,
677
- {
678
- id: "insurer_phone/0-2",
679
- ...register("insurer_phone/0-2", { required: true }),
680
- placeholder: "Phone",
681
- sizes: "medium",
682
- required: true,
683
- error: !!errors["insurer_phone/0-2"],
684
- helperText: errors["insurer_phone/0-2"]?.message,
685
- variant
686
- }
687
- ) }),
688
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
689
- Input,
690
- {
691
- id: "insurer_email/0-2",
692
- ...register("insurer_email/0-2", { required: true }),
693
- placeholder: "Email",
694
- sizes: "medium",
695
- required: true,
696
- error: !!errors["insurer_email/0-2"],
697
- helperText: errors["insurer_email/0-2"]?.message,
698
- variant
699
- }
700
- ) })
701
- ] }),
702
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "FORECASTED BUSINESS" }) }) }),
703
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
704
- InputTextArea,
705
- {
706
- id: "forecasted_business/0-2",
707
- ...register("forecasted_business/0-2", {
708
- required: false
709
- }),
710
- label: "Brands and anticipated volume.",
711
- placeholder: "Forecasted Business",
712
- sizes: "medium",
713
- required: false,
714
- error: !!errors["forecasted_business/0-2"],
715
- helperText: errors["forecasted_business/0-2"]?.message,
716
- variant
717
- }
718
- ) }) }),
719
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
720
- InputTextArea,
721
- {
722
- id: "forecasted_business_comments/0-2",
723
- ...register("forecasted_business_comments/0-2", {
724
- required: false
725
- }),
726
- label: "Tell us what’s important to you.",
727
- placeholder: "Comments",
728
- sizes: "medium",
729
- required: false,
730
- error: !!errors["forecasted_business_comments/0-2"],
731
- helperText: errors["forecasted_business_comments/0-2"]?.message,
732
- variant
733
- }
734
- ) }) }),
735
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsxs("div", { className: `${descriptionField({ variant, formType })}`, children: [
736
- /* @__PURE__ */ jsx("h4", { children: "SECURITY POLICY" }),
737
- /* @__PURE__ */ jsx("p", { children: "In lieu of the questions below, you may attach a copy of your existing policy. Please indicate how you protect customer Non-Public Information when communicating with LaVictoire, or once in receipt of Customer Information." })
738
- ] }) }),
739
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "IN TRANSIT" }) }) }),
740
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
741
- InputTextArea,
742
- {
743
- id: "security_transit_approval_documents/0-2",
744
- ...register("security_transit_approval_documents/0-2", {
745
- required: true
746
- }),
747
- label: "When submitting applications and sharing miscellaneous documents during the approval process.",
748
- sizes: "medium",
749
- placeholder: "Approval Documents",
750
- required: true,
751
- error: !!errors["security_transit_approval_documents/0-2"],
752
- helperText: errors["security_transit_approval_documents/0-2"]?.message,
753
- variant
754
- }
755
- ) }) }),
756
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
757
- InputTextArea,
758
- {
759
- id: "security_transit_closing_documents/0-2",
760
- ...register("security_transit_closing_documents/0-2", {
761
- required: true
762
- }),
763
- label: "When sharing closing and USCG documents, if applicable.",
764
- sizes: "medium",
765
- placeholder: "Closing Documents",
766
- required: true,
767
- error: !!errors["security_transit_closing_documents/0-2"],
768
- helperText: errors["security_transit_closing_documents/0-2"]?.message,
769
- variant
770
- }
771
- ) }) }),
772
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "AT REST" }) }) }),
773
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
774
- InputTextArea,
775
- {
776
- id: "security_rest_electronic/0-2",
777
- ...register("security_rest_electronic/0-2", {
778
- required: true
779
- }),
780
- label: "Where are ELECTRONIC loan applications and closing documents saved, and how are they protected?",
781
- sizes: "medium",
782
- placeholder: "Electronic Documents",
783
- required: true,
784
- error: !!errors["security_rest_electronic/0-2"],
785
- helperText: errors["security_rest_electronic/0-2"]?.message,
786
- variant
787
- }
788
- ) }) }),
789
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
790
- InputTextArea,
791
- {
792
- id: "security_rest_paper/0-2",
793
- ...register("security_rest_paper/0-2", { required: true }),
794
- label: "Where are PAPER loan applications and closing documents saved, and how are they protected? Is there an alarm system on the premises?",
795
- sizes: "medium",
796
- required: true,
797
- placeholder: "Paper Documents",
798
- error: !!errors["security_rest_paper/0-2"],
799
- helperText: errors["security_rest_paper/0-2"]?.message,
800
- variant
801
- }
802
- ) }) }),
803
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h5", { children: "AT TIME OF DISPOSAL" }) }) }),
804
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
805
- InputTextArea,
806
- {
807
- id: "security_time_of_disposal_paper/0-2",
808
- ...register("security_time_of_disposal_paper/0-2", {
809
- required: true
810
- }),
811
- label: "How long do you retain paper documents, and how does your company dispose of them?",
812
- sizes: "medium",
813
- required: true,
814
- placeholder: "Paper Disposal",
815
- error: !!errors["security_time_of_disposal_paper/0-2"],
816
- helperText: errors["security_time_of_disposal_paper/0-2"]?.message,
817
- variant
818
- }
819
- ) }) }),
820
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
821
- InputTextArea,
822
- {
823
- id: "security_time_of_disposal_electronic/0-2",
824
- ...register("security_time_of_disposal_electronic/0-2", {
825
- required: true
826
- }),
827
- label: "When you upgrade or dispose of company computers, how do you remove the customer confidential data?  Does your company have IT personnel wipe the hard drives and destroy prior to disposal?",
828
- sizes: "medium",
829
- required: true,
830
- placeholder: "Electronic Disposal",
831
- error: !!errors["security_time_of_disposal_electronic/0-2"],
832
- helperText: errors["security_time_of_disposal_electronic/0-2"]?.message,
833
- variant
834
- }
835
- ) }) }),
836
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsxs("div", { className: `${descriptionField({ variant, formType })}`, children: [
837
- /* @__PURE__ */ jsx("p", { children: "I am submitting this Vendor Questionnaire on behalf of the business named herein. I certify that I made no misrepresentation in this Vendor Questionnaire or in any related documents, that all information is true and complete, that I did not omit any important information, and that I am obligated to amend and/or supplement the information provided in this Questionnaire if any of the material facts represented herein should change. Lender is authorized to verify with other parties and to make any investigation of our Business, either directly or through any agency employed by the Lender for that purpose. I understand that Lender will retain this Questionnaire and any other information Lender receives, even if a mutual Agreement is not obtained." }),
838
- /* @__PURE__ */ jsx("p", { children: "The transmission of this application as an “electronic record” containing my “electronic signature,” as those terms are defined in applicable federal and/or state laws, shall be as effective, enforceable and valid as if a paper version of this application were delivered containing my original written signature." })
839
- ] }) }),
840
- /* @__PURE__ */ jsx("div", { className: `${form_row}`, children: /* @__PURE__ */ jsx("div", { className: `${descriptionField({ variant, formType })}`, children: /* @__PURE__ */ jsx("h4", { children: "AUTHORIZED REPRESENTATIVE" }) }) }),
841
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
842
- Input,
843
- {
844
- id: "company/0-1",
845
- ...register("company/0-1", { required: true }),
846
- placeholder: "Company Name",
847
- sizes: "medium",
848
- required: true,
849
- error: !!errors["company/0-1"],
850
- helperText: errors["company/0-1"]?.message,
851
- variant
852
- }
853
- ) }) }),
854
- /* @__PURE__ */ jsxs("div", { className: form_row, children: [
855
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
856
- Input,
857
- {
858
- id: "firstname/0-1",
859
- ...register("firstname/0-1", { required: true }),
860
- placeholder: "First Name",
861
- sizes: "medium",
862
- required: true,
863
- error: !!errors["firstname/0-1"],
864
- helperText: errors["firstname/0-1"]?.message,
865
- variant
866
- }
867
- ) }),
868
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
869
- Input,
870
- {
871
- id: "lastname/0-1",
872
- ...register("lastname/0-1", { required: true }),
873
- placeholder: "Last Name",
874
- sizes: "medium",
875
- required: true,
876
- error: !!errors["lastname/0-1"],
877
- helperText: errors["lastname/0-1"]?.message,
878
- variant
879
- }
880
- ) }),
881
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
882
- Input,
883
- {
884
- id: "jobtitle/0-1",
885
- ...register("jobtitle/0-1", { required: true }),
886
- placeholder: "Job Title",
887
- sizes: "medium",
888
- required: true,
889
- error: !!errors["jobtitle/0-1"],
890
- helperText: errors["jobtitle/0-1"]?.message,
891
- variant
892
- }
893
- ) })
894
- ] }),
895
- /* @__PURE__ */ jsx("div", { className: form_row, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
896
- Input,
897
- {
898
- id: "email/0-1",
899
- ...register("email/0-1", { required: true }),
900
- placeholder: "Email",
901
- sizes: "medium",
902
- required: true,
903
- error: !!errors["email/0-1"],
904
- helperText: errors["email/0-1"]?.message,
905
- variant
906
- }
907
- ) }) })
908
- ] }),
909
- children,
910
- /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
911
- Button,
912
- {
913
- color: getVariant(callToAction?.variant),
914
- as: "button",
915
- type: "submit",
916
- disabled: !isValid,
917
- children: callToAction?.displayText
918
- }
919
- ) })
920
- ] }) }) }) }, id);
940
+ ]
941
+ }
942
+ ) }) }) }, id);
921
943
  };
922
944
  export {
923
945
  VendorQuestionnaire