@axos-web-dev/shared-components 2.2.16 → 2.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ATMLocator/ATMLocator.d.ts +1 -1
- package/dist/Accordion/Accordion.d.ts +3 -3
- package/dist/Article/Article.d.ts +1 -1
- package/dist/Auth/ErrorAlert.d.ts +1 -1
- package/dist/Auth/Logout.d.ts +1 -1
- package/dist/Auth/SignInPassword.d.ts +1 -1
- package/dist/BulletItem/BulletItem.d.ts +1 -1
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/GoBackButton.d.ts +1 -1
- package/dist/Calculators/Calculator.d.ts +1 -1
- package/dist/Carousel/index.d.ts +3 -3
- package/dist/Chatbot/Bubble.d.ts +1 -1
- package/dist/Chatbot/Chatbot.d.ts +1 -1
- package/dist/Chatbot/EllipsisAnimation.d.ts +1 -1
- package/dist/Chatbot/EllipsisIcon.d.ts +1 -1
- package/dist/Comparison/Comparison.d.ts +1 -1
- package/dist/Comparison/ComparisonSet.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +27 -0
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +274 -260
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
- package/dist/ExecutiveBio/Overlay.d.ts +1 -1
- package/dist/FaqAccordion/index.d.ts +5 -5
- package/dist/FdicCallout/index.d.ts +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +4 -4
- package/dist/FooterDisclosure/LVF/LaVictorieFooter.d.ts +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.d.ts +1 -1
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplyNow.d.ts +1 -1
- package/dist/Forms/BoatMooringLocation.d.ts +1 -1
- package/dist/Forms/ClearingForm.d.ts +1 -1
- package/dist/Forms/CommercialDeposits.d.ts +1 -1
- package/dist/Forms/CommercialDepositsACS.d.ts +3 -0
- package/dist/Forms/CommercialDepositsACS.js +278 -0
- package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +1 -1
- package/dist/Forms/CommercialLending.d.ts +1 -1
- package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
- package/dist/Forms/ConstructionLendingDynamic.d.ts +1 -1
- package/dist/Forms/ContactCompany.d.ts +1 -1
- package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
- package/dist/Forms/ContactUs.d.ts +1 -1
- package/dist/Forms/ContactUsAAS.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
- package/dist/Forms/ContactUsLVF.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
- package/dist/Forms/ContactUsSchwabAAS.d.ts +1 -1
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CpraRequest.js +9 -6
- package/dist/Forms/CraPublicFile.d.ts +1 -1
- package/dist/Forms/DealerServices.d.ts +1 -1
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailUs.d.ts +1 -1
- package/dist/Forms/HoneyPot/index.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +1 -1
- package/dist/Forms/MortgageWarehouseLending.d.ts +1 -1
- package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
- package/dist/Forms/QuickPricer/UserInformation.d.ts +1 -1
- package/dist/Forms/ScheduleCall.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/SuccesForm.d.ts +1 -1
- package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
- package/dist/Forms/WcplSurvey.d.ts +1 -1
- package/dist/Forms/index.d.ts +1 -0
- package/dist/Forms/index.js +2 -0
- package/dist/HeroBanner/HeroBanner.d.ts +1 -1
- package/dist/HeroBanner/HeroVideoPoster.d.ts +1 -1
- package/dist/HeroBanner/LargeHeroBanner.d.ts +1 -1
- package/dist/IconBillboard/IconBillboard.d.ts +1 -1
- package/dist/IconBillboard/IconBillboardSet.d.ts +1 -1
- package/dist/IconBillboard/sections/CallToActionSection.d.ts +1 -1
- package/dist/IconBillboard/sections/HeaderSection.d.ts +2 -2
- package/dist/IconBillboard/sections/IconSection.d.ts +1 -1
- package/dist/IconBillboard/sections/ItemsSection.d.ts +1 -1
- package/dist/IconBillboard/sections/LayoutSection.d.ts +1 -1
- package/dist/ImageBillboard/ExitIntentModal/ModalWrapper.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboard.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
- package/dist/ImageLink/ImageLink.d.ts +1 -1
- package/dist/ImageLink/ImageLinkSet.d.ts +1 -1
- package/dist/ImageWrapper/ImageWrapper.d.ts +1 -1
- package/dist/Insight/Featured/CategorySelector.d.ts +2 -2
- package/dist/Insight/Featured/Featured.d.ts +2 -2
- package/dist/Insight/Featured/Header.d.ts +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.d.ts +1 -1
- package/dist/LoadingIndicator/index.d.ts +1 -1
- package/dist/MainHTML/index.d.ts +1 -1
- package/dist/Modal/contextApi/store.d.ts +1 -1
- package/dist/NavigationMenu/AxosALTS/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisor/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -1
- package/dist/NavigationMenu/AxosBank/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosClearing/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/AxosClearing/index.d.ts +1 -1
- package/dist/NavigationMenu/AxosFiduciary/index.d.ts +1 -1
- package/dist/NavigationMenu/LaVictoire/SubNavBar.d.ts +1 -1
- package/dist/NavigationMenu/LaVictoire/index.d.ts +1 -1
- package/dist/NavigationMenu/NavItem/index.d.ts +1 -1
- package/dist/NavigationMenu/Navbar.d.ts +1 -1
- package/dist/NavigationMenu/SignInNavButton.d.ts +1 -3
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/SecondaryFooter/index.d.ts +1 -1
- package/dist/SetContainer/SetContainer.d.ts +1 -1
- package/dist/SocialMediaBar/iconsRepository.d.ts +14 -14
- package/dist/SocialMediaBar/index.d.ts +1 -1
- package/dist/Tab/Tab.d.ts +1 -1
- package/dist/Tab/TabContainer.d.ts +1 -1
- package/dist/Table/Table.d.ts +5 -5
- package/dist/TextBlock/TextBlock.d.ts +1 -1
- package/dist/Topic/Topic.d.ts +4 -4
- package/dist/VideoTile/VideoInit.d.ts +1 -1
- package/dist/WalnutIframe/index.d.ts +1 -1
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +54 -17
- package/dist/icons/AxosX/Blue.d.ts +1 -1
- package/dist/icons/AxosX/index.d.ts +1 -1
- package/dist/icons/CheckCircle.d.ts +1 -1
- package/dist/icons/CheckCircleLight.d.ts +1 -1
- package/dist/icons/CheckIcon/index.d.ts +1 -1
- package/dist/icons/ChevronDown.d.ts +1 -1
- package/dist/icons/ChevronUp.d.ts +1 -1
- package/dist/icons/Clock/index.d.ts +1 -1
- package/dist/icons/EqualHousingLender.d.ts +1 -1
- package/dist/icons/Logos/AAS.d.ts +1 -1
- package/dist/icons/Logos/AFS.d.ts +1 -1
- package/dist/icons/Logos/AXA.d.ts +1 -1
- package/dist/icons/Logos/AXB.d.ts +1 -1
- package/dist/icons/Logos/AXC.d.ts +1 -1
- package/dist/icons/Logos/AXI.d.ts +1 -1
- package/dist/icons/Logos/AXOS.d.ts +1 -1
- package/dist/icons/Logos/GBLVF.d.ts +1 -1
- package/dist/icons/Logos/LVF.d.ts +1 -1
- package/dist/icons/Logos/LVFText.d.ts +1 -1
- package/dist/icons/Logos/SPB.d.ts +1 -1
- package/dist/icons/MemberFdicLogo.d.ts +1 -1
- package/dist/icons/QuoteIconGrey.d.ts +1 -1
- package/dist/icons/QuoteIconWhite.d.ts +1 -1
- package/dist/icons/QuoteIconYellow.d.ts +1 -1
- package/dist/main.js +2 -0
- package/package.json +1 -1
|
@@ -4,19 +4,19 @@ import { PropsWithChildren, ReactNode } from 'react';
|
|
|
4
4
|
export interface AccordionItemProps extends PropsWithChildren {
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const AccordionItem: (props: AccordionItemProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const AccordionItem: (props: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare const AccordionItemSummary: (props: {
|
|
9
9
|
id: string;
|
|
10
10
|
level: string;
|
|
11
|
-
} & PropsWithChildren) => import("react").JSX.Element;
|
|
11
|
+
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export declare const AccordionCtas: (props: {
|
|
13
13
|
callToActionRow: ChevronProps;
|
|
14
|
-
}) => import("react").JSX.Element;
|
|
15
|
-
export declare const AccordionItemContent: (props: PropsWithChildren) => import("react").JSX.Element;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const AccordionItemContent: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export declare const FaqAccordion: (props: {
|
|
17
17
|
header?: string;
|
|
18
18
|
accordionEmbedLevel?: string;
|
|
19
19
|
internalName?: string;
|
|
20
20
|
id?: string;
|
|
21
21
|
additionalDetails?: ReactNode | string;
|
|
22
|
-
} & PropsWithChildren) => import("react").JSX.Element;
|
|
22
|
+
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FdicBanner: () => import("react").JSX.Element;
|
|
1
|
+
export declare const FdicBanner: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,8 +7,8 @@ type WithStyles = {
|
|
|
7
7
|
type WithId = {
|
|
8
8
|
id?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const FooterContent: (props: PropsWithChildren & WithStyles & WithId) => import("react").JSX.Element;
|
|
11
|
-
export declare const FooterParagraph: (props: PropsWithChildren & WithStyles & WithId) => import("react").JSX.Element;
|
|
12
|
-
export declare const FooterIcons: (props: PropsWithChildren & WithStyles) => import("react").JSX.Element;
|
|
13
|
-
export declare const FooterDisclosure: (props: PropsWithChildren & WithStyles) => import("react").JSX.Element;
|
|
10
|
+
export declare const FooterContent: (props: PropsWithChildren & WithStyles & WithId) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const FooterParagraph: (props: PropsWithChildren & WithStyles & WithId) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const FooterIcons: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const FooterDisclosure: (props: PropsWithChildren & WithStyles) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -9,4 +9,4 @@ export type ApplicationStartInputs = {
|
|
|
9
9
|
Send_SMS__c: boolean;
|
|
10
10
|
DoNotCall: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const ApplicationStart: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const ApplicationStart: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Forms/ApplyNow.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { FormProps } from './FormProps';
|
|
|
3
3
|
export declare const ApplyNow: ({ icon, children, disclosure, variant: fullVariant, headline, description, id, gbf, project, }: Omit<FormProps & {
|
|
4
4
|
gbf?: boolean;
|
|
5
5
|
project?: string;
|
|
6
|
-
}, "callToAction" | "validateEmail" | "onSubmit">) => import("react").JSX.Element;
|
|
6
|
+
}, "callToAction" | "validateEmail" | "onSubmit">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -27,4 +27,4 @@ export type BoatMooringLocationInputs = {
|
|
|
27
27
|
insurancePolicyExpirationDate: string;
|
|
28
28
|
insuranceContactEmailAddress: string;
|
|
29
29
|
};
|
|
30
|
-
export declare const BoatMooringLocation: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react").JSX.Element;
|
|
30
|
+
export declare const BoatMooringLocation: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export type ClearingInputs = {
|
|
|
11
11
|
Memo__c: string;
|
|
12
12
|
business_type_selection: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
14
|
+
export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export type CommercialDepositsInputs = {
|
|
|
14
14
|
Others_Detail__c: string;
|
|
15
15
|
Product_and_servicing_needs__c: string;
|
|
16
16
|
};
|
|
17
|
-
export declare const CommercialDeposits: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const CommercialDeposits: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FormProps } from './FormProps';
|
|
2
|
+
|
|
3
|
+
export declare const CommercialDepositsACS: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
|
4
|
+
import { Button } from "../Button/Button.js";
|
|
5
|
+
import "../Button/Button.css.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "react-use";
|
|
8
|
+
import "../Input/Checkbox.js";
|
|
9
|
+
import "../Input/CurrencyInput.js";
|
|
10
|
+
import { Dropdown } from "../Input/Dropdown.js";
|
|
11
|
+
import "../Input/Dropdown.css.js";
|
|
12
|
+
import { Input } from "../Input/Input.js";
|
|
13
|
+
import "../Input/Input.css.js";
|
|
14
|
+
import "../Input/InputAmount.js";
|
|
15
|
+
import { InputPhone } from "../Input/InputPhone.js";
|
|
16
|
+
import { InputTextArea } from "../Input/InputTextArea.js";
|
|
17
|
+
import "../Input/DownPaymentInput.js";
|
|
18
|
+
import "../Input/RadioButton.js";
|
|
19
|
+
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
20
|
+
import SvgAxosX from "../icons/AxosX/index.js";
|
|
21
|
+
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
22
|
+
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
23
|
+
import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
|
|
24
|
+
/* empty css */
|
|
25
|
+
/* empty css */
|
|
26
|
+
/* empty css */
|
|
27
|
+
/* empty css */
|
|
28
|
+
/* empty css */
|
|
29
|
+
import * as z from "zod";
|
|
30
|
+
import { associatedEmail } from "../utils/EverestValidity.js";
|
|
31
|
+
import { getVariant } from "../utils/getVariant.js";
|
|
32
|
+
import { useCachedEmailValidator } from "../utils/useCachedValidators.js";
|
|
33
|
+
import clsx from "clsx";
|
|
34
|
+
import { useForm, FormProvider } from "react-hook-form";
|
|
35
|
+
import { iconForm, headerForm, form, descriptionField, headerContainer, x_input, fullRowForm, formWrapper, disclosureForm, actions, formContainer } from "./Forms.css.js";
|
|
36
|
+
import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
|
|
37
|
+
import { SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
38
|
+
const CommercialDepositsACS = ({
|
|
39
|
+
icon = false,
|
|
40
|
+
children,
|
|
41
|
+
onSubmit = (values) => {
|
|
42
|
+
console.log(values);
|
|
43
|
+
},
|
|
44
|
+
disclosure,
|
|
45
|
+
variant: fullVariant = "primary",
|
|
46
|
+
headline,
|
|
47
|
+
description,
|
|
48
|
+
callToAction,
|
|
49
|
+
validateEmail,
|
|
50
|
+
onValidate,
|
|
51
|
+
id
|
|
52
|
+
}) => {
|
|
53
|
+
const cachedEmailValidator = useCachedEmailValidator(validateEmail);
|
|
54
|
+
const schema = z.object({
|
|
55
|
+
first_name: z.string({ message: "First Name is required." }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
|
|
56
|
+
message: "First Name is required."
|
|
57
|
+
}).trim().min(1, { message: "First Name is required." }),
|
|
58
|
+
last_name: z.string({ message: "Last Name is required." }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
|
|
59
|
+
message: "Last Name is required."
|
|
60
|
+
}).trim().min(1, { message: "Last Name is required." }),
|
|
61
|
+
email: z.string().email({ message: "Email is required." }).refine(cachedEmailValidator, { message: "Invalid email address." }),
|
|
62
|
+
phone: z.string({ message: "Business Phone is required." }).regex(/[\d-]{10}/, { message: "Business Phone is required." }).min(10, { message: "Business Phone is required." }).max(12, { message: "Business Phone is required." }).transform((val, ctx) => {
|
|
63
|
+
const removeDashes = val.replace(/-/gi, "");
|
|
64
|
+
if (removeDashes.length !== 10) {
|
|
65
|
+
ctx.addIssue({
|
|
66
|
+
code: z.ZodIssueCode.custom,
|
|
67
|
+
message: "Business Phone must have at least 10 and no more than 10 characters."
|
|
68
|
+
});
|
|
69
|
+
return z.NEVER;
|
|
70
|
+
}
|
|
71
|
+
if (removeDashes.endsWith("00000") || removeDashes.startsWith("999") || removeDashes.length === 10 && /^[01]/.test(removeDashes)) {
|
|
72
|
+
ctx.addIssue({
|
|
73
|
+
code: z.ZodIssueCode.custom,
|
|
74
|
+
message: "Invalid phone number."
|
|
75
|
+
});
|
|
76
|
+
return z.NEVER;
|
|
77
|
+
}
|
|
78
|
+
return removeDashes;
|
|
79
|
+
}),
|
|
80
|
+
company: z.string({ message: "Business Name is required." }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
|
|
81
|
+
message: "Business Name is required"
|
|
82
|
+
}).trim().min(1, { message: "Business Name is required." }),
|
|
83
|
+
Estimated_Gross_Annual_Revenue__c: z.string({
|
|
84
|
+
message: "Estimated gross annual revenue is required"
|
|
85
|
+
}).min(1, { message: "Estimated gross annual revenue is required" }),
|
|
86
|
+
Product_and_servicing_needs__c: z.string()
|
|
87
|
+
});
|
|
88
|
+
const gen_schema = schema.merge(SalesforceSchema).merge(honeyPotSchema).superRefine((data, ctx) => {
|
|
89
|
+
if (!isValidHoneyPot(data)) {
|
|
90
|
+
ctx.addIssue({
|
|
91
|
+
code: z.ZodIssueCode.custom,
|
|
92
|
+
message: "fields are not valid."
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
const methods = useForm({
|
|
97
|
+
resolver: zodResolver(gen_schema),
|
|
98
|
+
mode: "all"
|
|
99
|
+
});
|
|
100
|
+
const {
|
|
101
|
+
handleSubmit,
|
|
102
|
+
register,
|
|
103
|
+
formState: { errors, isValid, isSubmitting }
|
|
104
|
+
} = methods;
|
|
105
|
+
const submitForm = async (data) => {
|
|
106
|
+
const processData = {
|
|
107
|
+
...data
|
|
108
|
+
};
|
|
109
|
+
await onSubmit(processData);
|
|
110
|
+
};
|
|
111
|
+
const variant = getVariant(fullVariant);
|
|
112
|
+
return /* @__PURE__ */ jsx(
|
|
113
|
+
"section",
|
|
114
|
+
{
|
|
115
|
+
id: `id_${id}`,
|
|
116
|
+
className: clsx(formContainer({ variant })),
|
|
117
|
+
children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
118
|
+
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
119
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(headerContainer, "text_center"), children: [
|
|
120
|
+
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
|
|
121
|
+
description && /* @__PURE__ */ jsx(
|
|
122
|
+
"div",
|
|
123
|
+
{
|
|
124
|
+
className: clsx(
|
|
125
|
+
form,
|
|
126
|
+
descriptionField({ variant }),
|
|
127
|
+
"text_center"
|
|
128
|
+
),
|
|
129
|
+
children: description
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] }),
|
|
133
|
+
/* @__PURE__ */ jsxs(
|
|
134
|
+
"form",
|
|
135
|
+
{
|
|
136
|
+
className: form,
|
|
137
|
+
onSubmit: async (e) => {
|
|
138
|
+
onValidate && onValidate(e);
|
|
139
|
+
await handleSubmit(submitForm)(e);
|
|
140
|
+
e.preventDefault();
|
|
141
|
+
},
|
|
142
|
+
children: [
|
|
143
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
144
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
145
|
+
Input,
|
|
146
|
+
{
|
|
147
|
+
id: "first_name",
|
|
148
|
+
...register("first_name", {
|
|
149
|
+
required: "First Name is required"
|
|
150
|
+
}),
|
|
151
|
+
label: "First Name",
|
|
152
|
+
sizes: "medium",
|
|
153
|
+
required: true,
|
|
154
|
+
error: !!errors.first_name,
|
|
155
|
+
helperText: errors.first_name?.message,
|
|
156
|
+
variant
|
|
157
|
+
}
|
|
158
|
+
) }),
|
|
159
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
160
|
+
Input,
|
|
161
|
+
{
|
|
162
|
+
id: "last_name",
|
|
163
|
+
...register("last_name", { required: true }),
|
|
164
|
+
label: "Last Name",
|
|
165
|
+
sizes: "medium",
|
|
166
|
+
required: true,
|
|
167
|
+
error: !!errors.last_name,
|
|
168
|
+
helperText: errors.last_name?.message,
|
|
169
|
+
variant
|
|
170
|
+
}
|
|
171
|
+
) }),
|
|
172
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
173
|
+
Input,
|
|
174
|
+
{
|
|
175
|
+
id: "company",
|
|
176
|
+
...register("company", { required: true }),
|
|
177
|
+
label: "Business Name",
|
|
178
|
+
sizes: "medium",
|
|
179
|
+
required: true,
|
|
180
|
+
error: !!errors.company,
|
|
181
|
+
helperText: errors.company?.message,
|
|
182
|
+
variant
|
|
183
|
+
}
|
|
184
|
+
) }),
|
|
185
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
186
|
+
Input,
|
|
187
|
+
{
|
|
188
|
+
id: "email",
|
|
189
|
+
...register("email", {
|
|
190
|
+
required: true,
|
|
191
|
+
validate: {
|
|
192
|
+
isValid: associatedEmail
|
|
193
|
+
}
|
|
194
|
+
}),
|
|
195
|
+
label: "Email",
|
|
196
|
+
sizes: "medium",
|
|
197
|
+
required: true,
|
|
198
|
+
error: !!errors.email,
|
|
199
|
+
helperText: errors.email?.message,
|
|
200
|
+
variant
|
|
201
|
+
}
|
|
202
|
+
) }),
|
|
203
|
+
/* @__PURE__ */ jsx("div", { className: x_input, children: /* @__PURE__ */ jsx(
|
|
204
|
+
InputPhone,
|
|
205
|
+
{
|
|
206
|
+
id: "phone",
|
|
207
|
+
...register("phone", { required: true, maxLength: 12 }),
|
|
208
|
+
label: "Business Phone",
|
|
209
|
+
sizes: "medium",
|
|
210
|
+
required: true,
|
|
211
|
+
error: !!errors.phone,
|
|
212
|
+
helperText: errors.phone?.message,
|
|
213
|
+
variant
|
|
214
|
+
}
|
|
215
|
+
) }),
|
|
216
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
217
|
+
Dropdown,
|
|
218
|
+
{
|
|
219
|
+
id: "Estimated_Gross_Annual_Revenue__c",
|
|
220
|
+
...register("Estimated_Gross_Annual_Revenue__c", {
|
|
221
|
+
required: true
|
|
222
|
+
}),
|
|
223
|
+
label: "Estimated Credit Line",
|
|
224
|
+
sizes: "medium",
|
|
225
|
+
required: true,
|
|
226
|
+
error: !!errors.Estimated_Gross_Annual_Revenue__c,
|
|
227
|
+
helperText: errors.Estimated_Gross_Annual_Revenue__c?.message,
|
|
228
|
+
variant,
|
|
229
|
+
defaultValue: "",
|
|
230
|
+
children: [
|
|
231
|
+
/* @__PURE__ */ jsx("option", { disabled: true, value: "", children: "Select Option" }),
|
|
232
|
+
/* @__PURE__ */ jsx("option", { value: "Under $3MM", children: "Under $3MM" }),
|
|
233
|
+
/* @__PURE__ */ jsx("option", { value: "$3MM - $10MM", children: "$3MM - $10MM" }),
|
|
234
|
+
/* @__PURE__ */ jsx("option", { value: "$10MM - $100MM", children: "$10MM - $100MM" }),
|
|
235
|
+
/* @__PURE__ */ jsx("option", { value: "Above $100MM", children: "Above $100MM" })
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
) }),
|
|
239
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
240
|
+
InputTextArea,
|
|
241
|
+
{
|
|
242
|
+
id: "Product_and_servicing_needs__c",
|
|
243
|
+
...register("Product_and_servicing_needs__c", {
|
|
244
|
+
required: false
|
|
245
|
+
}),
|
|
246
|
+
label: "Kindly describe your product and/or servicing needs.",
|
|
247
|
+
sizes: "medium",
|
|
248
|
+
required: false,
|
|
249
|
+
error: !!errors.Product_and_servicing_needs__c,
|
|
250
|
+
helperText: errors.Product_and_servicing_needs__c?.message,
|
|
251
|
+
variant
|
|
252
|
+
}
|
|
253
|
+
) }),
|
|
254
|
+
/* @__PURE__ */ jsx(HoneyPot, { register, variant })
|
|
255
|
+
] }),
|
|
256
|
+
children,
|
|
257
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
258
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: /* @__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
|
+
}
|
|
270
|
+
)
|
|
271
|
+
] }) })
|
|
272
|
+
},
|
|
273
|
+
id
|
|
274
|
+
);
|
|
275
|
+
};
|
|
276
|
+
export {
|
|
277
|
+
CommercialDepositsACS
|
|
278
|
+
};
|
|
@@ -13,4 +13,4 @@ export type CommercialDepositsNoLendingOptionInputs = {
|
|
|
13
13
|
Others_Detail__c: string;
|
|
14
14
|
Product_and_servicing_needs__c: string;
|
|
15
15
|
};
|
|
16
|
-
export declare const CommercialDepositsNoLendingOption: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
16
|
+
export declare const CommercialDepositsNoLendingOption: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export type CommercialLendingInputs = {
|
|
|
16
16
|
Loan__c: string;
|
|
17
17
|
Requested_loan_amount_and_leverage__c: string;
|
|
18
18
|
};
|
|
19
|
-
export declare const CommercialLending: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react").JSX.Element;
|
|
19
|
+
export declare const CommercialLending: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type CommercialPremiumFinanceInputs = {
|
|
|
7
7
|
Insurance_Company__c: string;
|
|
8
8
|
Type_of_Policy__c: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const CommercialPremiumFinance: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const CommercialPremiumFinance: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export type ConstructionLendingDynamicInputs = {
|
|
|
9
9
|
description: string;
|
|
10
10
|
Company_NMLS_ID__c: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const ConstructionLendingDynamic: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const ConstructionLendingDynamic: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type ContactCompanyInputs = {
|
|
|
7
7
|
phone: string;
|
|
8
8
|
company: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const ContactCompany: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const ContactCompany: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export type ContactCompanyTitleInputs = {
|
|
|
8
8
|
company: string;
|
|
9
9
|
title: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const ContactCompanyTitle: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const ContactCompanyTitle: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export type Inputs = {
|
|
|
6
6
|
email: string;
|
|
7
7
|
phone: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const ContactUs: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
9
|
+
export declare const ContactUs: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export type ContactUsAASInputs = {
|
|
|
10
10
|
Role__c: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const ContactUsAAS: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
13
|
+
export declare const ContactUsAAS: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export type ContactUsBusinessNmlsIdInputs = {
|
|
|
8
8
|
phone: string;
|
|
9
9
|
Company_NMLS_ID__c: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const ContactUsBusiness: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const ContactUsBusiness: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export type ContactUsBusinessNameAndEmailInputs = {
|
|
|
6
6
|
Business_Name__c: string;
|
|
7
7
|
email: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const ContactUsBusinessNameAndEmail: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
9
|
+
export declare const ContactUsBusinessNameAndEmail: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type ContactUsNmlsIdInputs = {
|
|
|
7
7
|
phone: string;
|
|
8
8
|
NMLS_ID__c: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const ContactUsNMLSId: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const ContactUsNMLSId: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export type ContactUsSchwabAASInputs = {
|
|
|
8
8
|
company: string;
|
|
9
9
|
Role__c: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const ContactUsSchwabAAS: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const ContactUsSchwabAAS: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -24,4 +24,4 @@ export type CpraInputs = {
|
|
|
24
24
|
Zip_Code: string;
|
|
25
25
|
Contact_Method: "Email" | "Postal Mail";
|
|
26
26
|
};
|
|
27
|
-
export declare const CpraRequest: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
27
|
+
export declare const CpraRequest: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -242,8 +242,9 @@ const CpraRequest = ({
|
|
|
242
242
|
/* @__PURE__ */ jsxs("div", { className: `${headerContainer}`, children: [
|
|
243
243
|
/* @__PURE__ */ jsx("h2", { className: `header_2 ${form} ${descriptionField({ variant })}`, children: "Step 1: Please identify which privacy right(s) you would like to exercise." }),
|
|
244
244
|
/* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
|
|
245
|
-
/* @__PURE__ */ jsx("
|
|
246
|
-
"
|
|
245
|
+
/* @__PURE__ */ jsx("span", { style: { textDecoration: "underline" }, children: "Right to Access:" }),
|
|
246
|
+
" ",
|
|
247
|
+
"You have the right to send Axos Financial a verifiable request, twice in a 12-month period, asking that we disclose to you the personal information Axos Financial has collected, used, disclosed and sold about you during the past 12 months. Please check the box below relating to the information you would like Axos Financial to disclose to you:"
|
|
247
248
|
] })
|
|
248
249
|
] }),
|
|
249
250
|
/* @__PURE__ */ jsxs(
|
|
@@ -387,8 +388,9 @@ const CpraRequest = ({
|
|
|
387
388
|
}
|
|
388
389
|
) }),
|
|
389
390
|
/* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
|
|
390
|
-
/* @__PURE__ */ jsx("
|
|
391
|
-
"
|
|
391
|
+
/* @__PURE__ */ jsx("span", { style: { textDecoration: "underline" }, children: "Right to Delete:" }),
|
|
392
|
+
" ",
|
|
393
|
+
"You have the right to submit a verifiable request asking that Axos Financial delete certain personal information Axos Financial has collected from you, subject to certain exceptions as permitted by law."
|
|
392
394
|
] }) }),
|
|
393
395
|
/* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
|
|
394
396
|
RadioButtonSet,
|
|
@@ -423,8 +425,9 @@ const CpraRequest = ({
|
|
|
423
425
|
}
|
|
424
426
|
) }),
|
|
425
427
|
/* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs("div", { className: `${form} ${descriptionField({ variant })}`, children: [
|
|
426
|
-
/* @__PURE__ */ jsx("
|
|
427
|
-
"
|
|
428
|
+
/* @__PURE__ */ jsx("span", { style: { textDecoration: "underline" }, children: "Right to Opt-Out of Sale:" }),
|
|
429
|
+
" ",
|
|
430
|
+
"You have the right to opt-out of the sale of your personal information we collect on our websites, such as to enhance the ability to serve you content and advertisements that may be of interest to you."
|
|
428
431
|
] }) }),
|
|
429
432
|
/* @__PURE__ */ jsx("div", { className: `${fullRowForm}`, children: /* @__PURE__ */ jsxs(
|
|
430
433
|
RadioButtonSet,
|
|
@@ -7,4 +7,4 @@ export type CraPublicFileInputs = {
|
|
|
7
7
|
Customer_Phone__c: string;
|
|
8
8
|
description: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const CraPublicFile: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
10
|
+
export declare const CraPublicFile: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export type DealerServicesInputs = {
|
|
|
14
14
|
zip: string;
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
|
-
export declare const DealerServices: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const DealerServices: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ import { FormProps } from './FormProps';
|
|
|
3
3
|
export type EmailOnlyInputs = {
|
|
4
4
|
email: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const EmailOnly: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
6
|
+
export declare const EmailOnly: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Forms/EmailUs.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export type EmailUsInputs = {
|
|
|
4
4
|
email: string;
|
|
5
5
|
message: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const EmailUs: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const EmailUs: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -20,4 +20,4 @@ export declare const isValidHoneyPot: (data: HoneyPotInterface) => boolean;
|
|
|
20
20
|
export declare const HoneyPot: ({ variant: fullVariant, register, }: {
|
|
21
21
|
variant?: FormProps["variant"];
|
|
22
22
|
register: UseFormRegister<any>;
|
|
23
|
-
}) => import("react").JSX.Element;
|
|
23
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,4 +26,4 @@ export declare const MortgageRate: ({ icon, children, onSubmit, disclosure, vari
|
|
|
26
26
|
setRateWatchSubmitted?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
27
27
|
hideModalValue: boolean;
|
|
28
28
|
showingTables: boolean;
|
|
29
|
-
}) => import("react").JSX.Element;
|
|
29
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,5 +25,5 @@ interface MortgageRateFiltersProps {
|
|
|
25
25
|
};
|
|
26
26
|
onSubmit: (values: MortgageRateFilterInputs) => void;
|
|
27
27
|
}
|
|
28
|
-
export declare const MortgageRateFilters: ({ formData, onSubmit, }: MortgageRateFiltersProps) => import("react").JSX.Element;
|
|
28
|
+
export declare const MortgageRateFilters: ({ formData, onSubmit, }: MortgageRateFiltersProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
export {};
|
|
@@ -25,5 +25,5 @@ type RateWatchFormProps = {
|
|
|
25
25
|
toggleModal: () => void;
|
|
26
26
|
setRateWatchSubmitted?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
27
27
|
};
|
|
28
|
-
export declare const RateWatchForm: ({ email, lastName, rateWatchOnSubmit, toggleModal, setRateWatchSubmitted, }: RateWatchFormProps) => import("react").JSX.Element;
|
|
28
|
+
export declare const RateWatchForm: ({ email, lastName, rateWatchOnSubmit, toggleModal, setRateWatchSubmitted, }: RateWatchFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
export {};
|
|
@@ -8,4 +8,4 @@ export type MortgageWarehouseLendingInputs = {
|
|
|
8
8
|
Company_NMLS_ID__c: string;
|
|
9
9
|
company: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const MortgageWarehouseLending: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const MortgageWarehouseLending: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -43,4 +43,4 @@ export type QuickPricerInputs = {
|
|
|
43
43
|
Email_Address__c: string;
|
|
44
44
|
Cell_Phone__c: string;
|
|
45
45
|
};
|
|
46
|
-
export declare const QuickPricer: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, id, description, validateEmail, validateNMLS, onValidate, }: FormProps) => import("react").JSX.Element;
|
|
46
|
+
export declare const QuickPricer: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, id, description, validateEmail, validateNMLS, onValidate, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type UserInformationI = {
|
|
|
7
7
|
src_img?: string;
|
|
8
8
|
title: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const UserInformation: ({ name, phone, email, src_img, title, children, }: UserInformationI & PropsWithChildren) => import("react").JSX.Element;
|
|
10
|
+
export declare const UserInformation: ({ name, phone, email, src_img, title, children, }: UserInformationI & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export type ScheduleCallInputs = {
|
|
|
8
8
|
Best_Time_To_Call__c: string;
|
|
9
9
|
Best_Contact_Date__c: string;
|
|
10
10
|
};
|
|
11
|
-
export declare const ScheduleCall: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, id, description, }: FormProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const ScheduleCall: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, onValidate, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export type ScheduleCallPremierInputs = {
|
|
|
9
9
|
Best_Time_To_Call__c: string;
|
|
10
10
|
Potential_Funding__c: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const ScheduleCallPremier: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react").JSX.Element;
|
|
12
|
+
export declare const ScheduleCallPremier: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|