@axos-web-dev/shared-components 1.0.99-dev-10 → 1.0.99-dev.11
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.js +1 -1
- package/dist/Accordion/Accordion.css.d.ts +1 -1
- package/dist/Accordion/Accordion.css.js +1 -1
- package/dist/Accordion/Accordion.js +2 -2
- package/dist/AlertBanner/AlertBanner.css.js +1 -1
- package/dist/AlertBanner/index.js +1 -1
- package/dist/Article/Article.css.d.ts +41 -41
- package/dist/Article/Article.css.js +1 -1
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +16 -16
- package/dist/ArticlesSet/ArticlesSet.css.js +1 -1
- package/dist/Auth/ErrorAlert.css.js +1 -1
- package/dist/Auth/ErrorAlert.js +2 -2
- package/dist/Auth/Logout.js +1 -1
- package/dist/Auth/SignIn.css.js +1 -1
- package/dist/Auth/SignInPassword.js +1 -1
- package/dist/Avatar/Avatar.module.js +1 -1
- package/dist/AwardsBanner/AwardsBanner.css.js +1 -1
- package/dist/AwardsItem/AwardsItem.css.js +1 -1
- package/dist/Blockquote/Blockquote.module.js +1 -1
- package/dist/BulletItem/BulletItem.css.js +1 -1
- package/dist/BulletItem/BulletItem.js +1 -1
- package/dist/Button/Button.css.d.ts +18 -18
- package/dist/Button/Button.css.js +1 -1
- package/dist/Button/Button.js +1 -1
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.d.ts +12 -12
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +1 -1
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +14 -14
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +1 -1
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.d.ts +8 -8
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +1 -1
- package/dist/Calculators/AxosOneCalculator/index.js +2 -2
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.d.ts +22 -22
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js +1 -1
- package/dist/Calculators/BalanceAPYCalculator/index.js +2 -2
- package/dist/Calculators/BuyDownCalculator/BuyDownCalculator.css.d.ts +18 -18
- package/dist/Calculators/BuyDownCalculator/BuyDownCalculator.css.js +1 -1
- package/dist/Calculators/BuyDownCalculator/index.js +2 -2
- package/dist/Calculators/Calculator.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/MarginTradingCalculator.css.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +2 -2
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.d.ts +12 -12
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +1 -1
- package/dist/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.d.ts +12 -12
- package/dist/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js +1 -1
- package/dist/Calculators/SummitApyCalculator/BalanceAPYCalculator.css.d.ts +8 -8
- package/dist/Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js +1 -1
- package/dist/Calculators/SummitApyCalculator/index.js +2 -2
- package/dist/Calculators/calculator.css.d.ts +12 -12
- package/dist/Calculators/calculator.css.js +1 -1
- package/dist/CallToActionBar/CallToActionBar.css.js +1 -1
- package/dist/CallToActionBar/index.js +1 -1
- package/dist/Carousel/Carousel.css.d.ts +20 -20
- package/dist/Carousel/Carousel.css.js +1 -1
- package/dist/Carousel/index.js +2 -2
- package/dist/Chevron/Chevron.css.d.ts +6 -6
- package/dist/Chevron/Chevron.css.js +1 -1
- package/dist/Chevron/index.js +2 -2
- package/dist/CollectInformationAlert/CollectInformationAlert.css.js +1 -1
- package/dist/CollectInformationAlert/index.js +1 -1
- package/dist/Comparison/Comparison.css.d.ts +10 -10
- package/dist/Comparison/Comparison.css.js +1 -1
- package/dist/Comparison/Comparison.js +2 -2
- package/dist/Comparison/ComparisonSet.js +1 -1
- package/dist/ContentBanner/ContentBanner.css.d.ts +12 -12
- package/dist/ContentBanner/ContentBanner.css.js +1 -1
- package/dist/DownloadTile/DownloadTile.css.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +31 -31
- package/dist/ExecutiveBio/ExecutiveBio.css.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
- package/dist/FaqAccordion/FaqAccordion.css.js +1 -1
- package/dist/FaqAccordion/index.js +2 -2
- package/dist/FdicCallout/FdicCallout.module.js +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.css.js +1 -1
- package/dist/FooterDisclosure/LVF/LaVictorieFooter.css.js +1 -1
- package/dist/FooterDisclosure/LVF/LaVictorieFooter.js +2 -2
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.css.js +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -1
- package/dist/Forms/ApplicationStart.js +2 -2
- package/dist/Forms/ApplyNow.d.ts +2 -2
- package/dist/Forms/ApplyNow.js +157 -139
- package/dist/Forms/ClearingForm.js +2 -2
- package/dist/Forms/CommercialDeposits.js +2 -2
- package/dist/Forms/CommercialLending.js +2 -2
- package/dist/Forms/CommercialPremiumFinance.js +2 -2
- package/dist/Forms/ContactCompany.js +2 -2
- package/dist/Forms/ContactCompanyTitle.js +2 -2
- package/dist/Forms/ContactUs.js +2 -2
- package/dist/Forms/ContactUsAAS.js +2 -2
- package/dist/Forms/ContactUsBusiness.js +2 -2
- package/dist/Forms/ContactUsBusinessNameEmail.js +2 -2
- package/dist/Forms/ContactUsLVF.js +2 -2
- package/dist/Forms/ContactUsNMLSId.js +2 -2
- package/dist/Forms/CpraRequest.js +2 -2
- package/dist/Forms/CraPublicFile.js +2 -2
- package/dist/Forms/DealerServices.js +2 -2
- package/dist/Forms/EmailOnly.js +2 -2
- package/dist/Forms/EmailUs.js +2 -2
- package/dist/Forms/Forms.css.d.ts +60 -42
- package/dist/Forms/Forms.css.js +45 -39
- package/dist/Forms/HoneyPot/HoneyPot.css.js +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +2 -2
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +1 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -1
- package/dist/Forms/QuickPricer/QuickPricerForm.js +4 -4
- package/dist/Forms/QuickPricer/QuickPricerResults.css.js +1 -1
- package/dist/Forms/QuickPricer/UserInformation.css.js +1 -1
- package/dist/Forms/ScheduleCall.js +2 -2
- package/dist/Forms/ScheduleCallPremier.js +2 -2
- package/dist/Forms/SuccesForm.js +2 -2
- package/dist/Forms/VendorQuestionnaire.js +1 -1
- package/dist/Forms/WcplSurvey.js +2 -2
- package/dist/Forms/applynow-utils.d.ts +1 -0
- package/dist/Forms/applynow-utils.js +48 -0
- package/dist/Forms/index.d.ts +1 -0
- package/dist/Forms/index.js +6 -2
- package/dist/HelpArticle/HelpArticle.css.js +1 -1
- package/dist/HeroBanner/HeroBanner.css.d.ts +16 -16
- package/dist/HeroBanner/HeroBanner.css.js +1 -1
- package/dist/HeroBanner/HeroBanner.js +2 -2
- package/dist/HeroBanner/LargeBanner.css.d.ts +20 -20
- package/dist/HeroBanner/LargeBanner.css.js +1 -1
- package/dist/HeroBanner/SelectionBanner.css.d.ts +8 -8
- package/dist/HeroBanner/SelectionBanner.css.js +1 -1
- package/dist/Hyperlink/Hyperlink.css.js +1 -1
- package/dist/Hyperlink/index.js +1 -1
- package/dist/IconBillboard/IconBillboard.css.d.ts +24 -24
- package/dist/IconBillboard/IconBillboard.css.js +1 -1
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/IconBillboard/sections/CallToActionSection.js +2 -1
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +20 -20
- package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.js +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +2 -2
- package/dist/ImageLink/ImageLink.css.js +1 -1
- package/dist/ImageLink/ImageLink.js +1 -1
- package/dist/ImageLink/ImageLinkSet.js +1 -1
- package/dist/ImageLink/index.js +1 -1
- package/dist/Input/Checkbox.css.js +1 -1
- package/dist/Input/Dropdown.css.js +1 -1
- package/dist/Input/Input.css.d.ts +16 -16
- package/dist/Input/Input.css.js +1 -1
- package/dist/Input/RadioButton.css.js +1 -1
- package/dist/Inputs/Input.css.d.ts +14 -14
- package/dist/Inputs/Input.css.js +1 -1
- package/dist/Insight/Featured/CategorySelector.css.js +1 -1
- package/dist/Insight/Featured/CategorySelector.js +3 -3
- package/dist/Insight/Featured/Featured.css.js +1 -1
- package/dist/Insight/Featured/Featured.js +2 -2
- package/dist/Insight/Featured/Header.css.js +1 -1
- package/dist/Insight/Featured/Header.js +2 -2
- package/dist/Insight/Insight.css.js +1 -1
- package/dist/Interstitial/Interstitial-variants.css.d.ts +2 -2
- package/dist/Interstitial/Interstitial-variants.css.js +1 -1
- package/dist/Interstitial/Interstitial.module.js +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.css.d.ts +3 -3
- package/dist/LandingPageHeader/LandingPageHeader.css.js +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.js +1 -1
- package/dist/LoadingIndicator/LoadingIndicator.css.js +1 -1
- package/dist/Modal/Modal.css.js +1 -1
- package/dist/Modal/Modal.js +1 -1
- package/dist/Modal/contextApi/store.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavData.js +1 -1
- package/dist/NavigationMenu/AxosALTS/index.js +1 -1
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -1
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosBank/NavData.js +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/index.js +1 -1
- package/dist/NavigationMenu/AxosClearing/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosClearing/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavBar.css.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavBar.module.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavData.js +1 -1
- package/dist/NavigationMenu/LaVictoire/index.js +1 -1
- package/dist/NavigationMenu/NavDataJson.js +1 -1
- package/dist/NavigationMenu/Navbar.js +1 -1
- package/dist/NavigationMenu/SignInNavButton.js +1 -1
- package/dist/PageNavItem/PageNavItem.css.d.ts +2 -2
- package/dist/PageNavItem/PageNavItem.css.js +1 -1
- package/dist/PageNavSet/PageNavSet.js +1 -1
- package/dist/PageNavSet/PageNavigationSet.css.js +1 -1
- package/dist/Pagination/Pagination.css.js +1 -1
- package/dist/Pagination/Pagination.js +2 -2
- package/dist/SecondaryFooter/SecondaryFooter.css.js +1 -1
- package/dist/SecondaryFooter/index.js +1 -1
- package/dist/SetContainer/SetContainer.css.d.ts +16 -16
- package/dist/SetContainer/SetContainer.css.js +1 -1
- package/dist/SetContainer/SetContainer.js +2 -2
- package/dist/SocialMediaBar/SocialMediaBar.css.js +1 -1
- package/dist/SocialMediaBar/iconsRepository.js +1 -1
- package/dist/StepItem/StepItem.css.d.ts +18 -18
- package/dist/StepItem/StepItem.css.js +1 -1
- package/dist/StepItemSet/StepItemSet.css.d.ts +14 -14
- package/dist/StepItemSet/StepItemSet.css.js +1 -1
- package/dist/Tab/Tab.css.d.ts +12 -12
- package/dist/Tab/Tab.css.js +1 -1
- package/dist/Table/Table.css.d.ts +25 -25
- package/dist/Table/Table.css.js +1 -1
- package/dist/Table/Table.js +2 -2
- package/dist/TextBlock/TextBlock.css.js +1 -1
- package/dist/TextBlock/TextBlock.js +1 -1
- package/dist/Topic/Topic.css.js +1 -1
- package/dist/TopicalNavItem/TopicalNavItem.css.js +1 -1
- package/dist/TopicalNavSet/TopicalNavSet.css.js +1 -1
- package/dist/Typography/Typography.css.js +1 -1
- package/dist/VideoTile/VideoTile.css.js +1 -1
- package/dist/VideoTile/VideoTile.js +1 -1
- package/dist/VideoWrapper/VideoWrapper.css.js +1 -1
- package/dist/VideoWrapper/index.js +1 -1
- package/dist/WalnutIframe/wrapper.module.js +1 -1
- package/dist/assets/Forms/Forms.css +136 -105
- package/dist/globals.css.js +1 -1
- package/dist/icons/ArrowIcon/ArrowIcon.css.d.ts +3 -3
- package/dist/icons/ArrowIcon/ArrowIcon.css.js +1 -1
- package/dist/icons/CheckIcon/CheckIcon.css.d.ts +2 -2
- package/dist/icons/CheckIcon/CheckIcon.css.js +1 -1
- package/dist/icons/DownloadIcon/DownloadIcon.css.js +1 -1
- package/dist/icons/FollowIcon/FollowIcon.css.js +1 -1
- package/dist/icons/Star/Star.css.js +1 -1
- package/dist/index.css.js +1 -1
- package/dist/main.js +6 -2
- package/dist/themes/axos.css.d.ts +38 -38
- package/dist/themes/axos.css.js +1 -1
- package/dist/themes/premier.css.js +1 -1
- package/dist/themes/victorie.css.js +1 -1
- package/dist/utils/optimizeImage/optimizeImage.module.js +1 -1
- package/package.json +133 -133
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -8,7 +8,7 @@ import "../Accordion/Accordion.js";
|
|
|
8
8
|
import "../Accordion/Accordion.css.js";
|
|
9
9
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
10
10
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
11
|
-
|
|
11
|
+
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -7,7 +7,7 @@ import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
|
7
7
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
8
8
|
import SvgChevronDown from "../icons/ChevronDown.js";
|
|
9
9
|
import SvgChevronUp from "../icons/ChevronUp.js";
|
|
10
|
-
|
|
10
|
+
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
@@ -127,7 +127,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
127
127
|
/* empty css */
|
|
128
128
|
import { getLevelNumber } from "../utils/faqAccordionOptions.js";
|
|
129
129
|
import { create } from "zustand";
|
|
130
|
-
import { summary, summaryHeader, content, header, faqAccordion
|
|
130
|
+
import { summary, summaryHeader, content, faqAccordion_section, header, faqAccordion } from "./FaqAccordion.css.js";
|
|
131
131
|
const useAccordion = create()((set) => ({
|
|
132
132
|
itemsOpened: [],
|
|
133
133
|
addItem: (id) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
3
|
var footerDisclosure = createRuntimeFn({ defaultClassName: "_1a6b3vu0", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] });
|
|
4
4
|
var footerParagraph = "_1a6b3vu1";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { Hyperlink } from "../../Hyperlink/index.js";
|
|
3
3
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
4
4
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
5
|
-
|
|
5
|
+
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
@@ -10,7 +10,7 @@ import '../../assets/icons/FollowIcon/FollowIcon.css';import '../../assets/icons
|
|
|
10
10
|
import SvgComponent$1 from "../../icons/Logos/LVF.js";
|
|
11
11
|
import SvgComponent from "../../icons/Logos/LVFText.js";
|
|
12
12
|
import clsx from "clsx";
|
|
13
|
-
import {
|
|
13
|
+
import { lvf_footer, lvf_small_footer, lvf_footer_content, lvf_footer_terms, divider } from "./LaVictorieFooter.css.js";
|
|
14
14
|
const LaVictorieFooter = ({
|
|
15
15
|
footerLinks,
|
|
16
16
|
logo = "full",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -3,7 +3,7 @@ import "../../Accordion/Accordion.js";
|
|
|
3
3
|
import "../../Accordion/Accordion.css.js";
|
|
4
4
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
5
5
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
6
|
-
|
|
6
|
+
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
@@ -20,7 +20,7 @@ import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
|
20
20
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
21
21
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
22
22
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
23
|
-
|
|
23
|
+
/* empty css */
|
|
24
24
|
/* empty css */
|
|
25
25
|
/* empty css */
|
|
26
26
|
/* empty css */
|
|
@@ -31,7 +31,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
31
31
|
import clsx from "clsx";
|
|
32
32
|
import { useForm, FormProvider } from "react-hook-form";
|
|
33
33
|
import * as z from "zod";
|
|
34
|
-
import { iconForm, headerContainer, headerForm, form, descriptionField,
|
|
34
|
+
import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, fullRowForm, disclosureForm, actions } from "./Forms.css.js";
|
|
35
35
|
import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
|
|
36
36
|
import { SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
37
37
|
const ApplicationStart = ({
|
package/dist/Forms/ApplyNow.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormProps } from './FormProps';
|
|
2
2
|
|
|
3
|
-
export declare const ApplyNow: ({ icon, children, disclosure, variant: fullVariant, headline, description, id, gbf, }: Omit<FormProps & {
|
|
3
|
+
export declare const ApplyNow: ({ icon, children, disclosure, variant: fullVariant, headline, description, id, gbf, project, }: Omit<FormProps & {
|
|
4
4
|
gbf?: boolean;
|
|
5
|
+
project?: string;
|
|
5
6
|
}, "callToAction" | "validateEmail" | "onSubmit">) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const getLink: (selection: Array<string>) => string;
|
package/dist/Forms/ApplyNow.js
CHANGED
|
@@ -6,7 +6,7 @@ import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
|
6
6
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
7
7
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
8
8
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
9
|
-
|
|
9
|
+
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
@@ -45,9 +45,10 @@ import "../Input/InputTextArea.js";
|
|
|
45
45
|
import "../Input/DownPaymentInput.js";
|
|
46
46
|
import "../Input/RadioButton.js";
|
|
47
47
|
import "react-hook-form";
|
|
48
|
-
import { iconForm, headerContainer, headerForm, form, descriptionField, formWrapper,
|
|
48
|
+
import { formContainer, iconForm, axosHeader, headerContainer, headerForm, form, descriptionField, apply_now_form, formWrapper, show_options, hide_options, form_nav_apply_now, step_title_apply_now, iconbillboards_option_apply_now, back_btn_apply_now, disclosureForm } from "./Forms.css.js";
|
|
49
49
|
import "./HoneyPot/index.js";
|
|
50
50
|
import "./SalesforceFieldsForm.js";
|
|
51
|
+
import { getLink } from "./applynow-utils.js";
|
|
51
52
|
import "../Input/RadioButton.css.js";
|
|
52
53
|
import "../Input/Checkbox.css.js";
|
|
53
54
|
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
@@ -135,7 +136,8 @@ const ApplyNow = ({
|
|
|
135
136
|
headline,
|
|
136
137
|
description,
|
|
137
138
|
id,
|
|
138
|
-
gbf = false
|
|
139
|
+
gbf = false,
|
|
140
|
+
project = "lvf"
|
|
139
141
|
}) => {
|
|
140
142
|
const reducer = (state, action) => {
|
|
141
143
|
if (action.type == "back") {
|
|
@@ -145,11 +147,29 @@ const ApplyNow = ({
|
|
|
145
147
|
selection: state.selection.includes("Inventory Finance") ? [] : state.selection.slice(0, -1)
|
|
146
148
|
};
|
|
147
149
|
}
|
|
150
|
+
if (action.type == "Initial") {
|
|
151
|
+
return {
|
|
152
|
+
...state,
|
|
153
|
+
step: 1,
|
|
154
|
+
selection: [],
|
|
155
|
+
title: "Choose the boat loan that fits your needs."
|
|
156
|
+
};
|
|
157
|
+
}
|
|
148
158
|
if (action.type == "Term") {
|
|
149
|
-
return {
|
|
159
|
+
return {
|
|
160
|
+
...state,
|
|
161
|
+
step: 2,
|
|
162
|
+
selection: ["Term"],
|
|
163
|
+
title: "How are you going to use your boat?"
|
|
164
|
+
};
|
|
150
165
|
}
|
|
151
166
|
if (action.type == "Credit Line") {
|
|
152
|
-
return {
|
|
167
|
+
return {
|
|
168
|
+
...state,
|
|
169
|
+
step: 2,
|
|
170
|
+
selection: ["Credit Line"],
|
|
171
|
+
title: "How are you going to use your boat?"
|
|
172
|
+
};
|
|
153
173
|
}
|
|
154
174
|
if (action.type == "Inventory Finance") {
|
|
155
175
|
return { ...state, step: 4, selection: ["Inventory Finance"] };
|
|
@@ -158,31 +178,40 @@ const ApplyNow = ({
|
|
|
158
178
|
return {
|
|
159
179
|
...state,
|
|
160
180
|
step: 3,
|
|
161
|
-
selection: [...state.selection, "Limited Charter"]
|
|
181
|
+
selection: [...state.selection, "Limited Charter"],
|
|
182
|
+
title: "Will you hold your boat in LLC or personally own it?"
|
|
162
183
|
};
|
|
163
184
|
}
|
|
164
185
|
if (action.type == "Personal Use") {
|
|
165
186
|
return {
|
|
166
187
|
...state,
|
|
167
188
|
step: 3,
|
|
168
|
-
selection: [...state.selection, "Personal Use"]
|
|
189
|
+
selection: [...state.selection, "Personal Use"],
|
|
190
|
+
title: "Will you hold your boat in LLC or personally own it?"
|
|
169
191
|
};
|
|
170
192
|
}
|
|
171
193
|
if (action.type == "Full-time Charter") {
|
|
172
194
|
return {
|
|
173
195
|
...state,
|
|
174
196
|
step: 3,
|
|
175
|
-
selection: [...state.selection, "Full-time Charter"]
|
|
197
|
+
selection: [...state.selection, "Full-time Charter"],
|
|
198
|
+
title: "Will you hold your boat in LLC or personally own it?"
|
|
176
199
|
};
|
|
177
200
|
}
|
|
178
201
|
if (action.type == "LLC") {
|
|
179
|
-
return {
|
|
202
|
+
return {
|
|
203
|
+
...state,
|
|
204
|
+
step: 4,
|
|
205
|
+
selection: [...state.selection, "LLC"],
|
|
206
|
+
title: "Get ready to start your application."
|
|
207
|
+
};
|
|
180
208
|
}
|
|
181
209
|
if (action.type == "Personal") {
|
|
182
210
|
return {
|
|
183
211
|
...state,
|
|
184
212
|
step: 4,
|
|
185
|
-
selection: [...state.selection, "Personal"]
|
|
213
|
+
selection: [...state.selection, "Personal"],
|
|
214
|
+
title: "Get ready to start your application."
|
|
186
215
|
};
|
|
187
216
|
}
|
|
188
217
|
if (action.type == "URL") {
|
|
@@ -197,26 +226,38 @@ const ApplyNow = ({
|
|
|
197
226
|
const [stateRed, dispatch] = useReducer(reducer, {
|
|
198
227
|
url: "",
|
|
199
228
|
selection: [],
|
|
200
|
-
step: 1
|
|
229
|
+
step: 1,
|
|
230
|
+
title: "Choose the boat loan that fits your needs."
|
|
201
231
|
});
|
|
202
232
|
const variant = getVariant(fullVariant);
|
|
203
233
|
return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
204
234
|
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
205
|
-
/* @__PURE__ */ jsxs(
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
),
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
235
|
+
/* @__PURE__ */ jsxs(
|
|
236
|
+
"div",
|
|
237
|
+
{
|
|
238
|
+
className: clsx(
|
|
239
|
+
project === "lvf" ? axosHeader : "",
|
|
240
|
+
`${headerContainer} text_center`,
|
|
241
|
+
headerForm({ variant })
|
|
242
|
+
),
|
|
243
|
+
children: [
|
|
244
|
+
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: stateRed.title ?? headline }),
|
|
245
|
+
/* @__PURE__ */ jsx(
|
|
246
|
+
"div",
|
|
247
|
+
{
|
|
248
|
+
className: clsx(
|
|
249
|
+
"text_center",
|
|
250
|
+
form,
|
|
251
|
+
descriptionField({ variant }),
|
|
252
|
+
project === "axos" && stateRed.step > 1 ? "hide" : ""
|
|
253
|
+
),
|
|
254
|
+
children: description
|
|
255
|
+
}
|
|
256
|
+
)
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
),
|
|
260
|
+
/* @__PURE__ */ jsxs("form", { className: project === "lvf" ? form : apply_now_form, children: [
|
|
220
261
|
/* @__PURE__ */ jsx(
|
|
221
262
|
"div",
|
|
222
263
|
{
|
|
@@ -235,30 +276,48 @@ const ApplyNow = ({
|
|
|
235
276
|
stateRed.step == 1 ? show_options : hide_options
|
|
236
277
|
),
|
|
237
278
|
children: [
|
|
238
|
-
/* @__PURE__ */ jsx(
|
|
239
|
-
"
|
|
279
|
+
/* @__PURE__ */ jsx(
|
|
280
|
+
"div",
|
|
240
281
|
{
|
|
241
282
|
className: clsx(
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
step_title_apply_now
|
|
283
|
+
form_nav_apply_now,
|
|
284
|
+
project !== "lvf" ? "hide" : ""
|
|
245
285
|
),
|
|
246
|
-
children:
|
|
286
|
+
children: /* @__PURE__ */ jsx(
|
|
287
|
+
"p",
|
|
288
|
+
{
|
|
289
|
+
className: clsx(
|
|
290
|
+
"header_2",
|
|
291
|
+
headerForm({ variant }),
|
|
292
|
+
step_title_apply_now
|
|
293
|
+
),
|
|
294
|
+
children: "Step One"
|
|
295
|
+
}
|
|
296
|
+
)
|
|
247
297
|
}
|
|
248
|
-
)
|
|
298
|
+
),
|
|
249
299
|
/* @__PURE__ */ jsxs("div", { className: clsx(iconbillboards_option_apply_now), children: [
|
|
250
300
|
/* @__PURE__ */ jsx(
|
|
251
301
|
IconBillboard,
|
|
252
302
|
{
|
|
253
303
|
headline: "Term Loans",
|
|
254
|
-
body:
|
|
304
|
+
body: project === "lvf" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
305
|
+
"I am buying a new or used boat ",
|
|
306
|
+
/* @__PURE__ */ jsx("strong", { children: "or" }),
|
|
307
|
+
" I am looking for a Preapproval."
|
|
308
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
309
|
+
"I'm ready to begin a boat loan application",
|
|
310
|
+
" ",
|
|
311
|
+
/* @__PURE__ */ jsx("strong", { children: "or" }),
|
|
312
|
+
" get preapproved."
|
|
313
|
+
] }),
|
|
255
314
|
callToActionRow: [
|
|
256
315
|
{
|
|
257
316
|
id: "Term",
|
|
258
317
|
targetUrl: "#",
|
|
259
|
-
displayText: "Select",
|
|
260
|
-
variant: "secondary",
|
|
261
|
-
type: "Button",
|
|
318
|
+
displayText: project === "lvf" ? "Select" : "Get Started",
|
|
319
|
+
variant: project === "lvf" ? "secondary" : "primary",
|
|
320
|
+
type: project === "lvf" ? "Button" : "Chevron",
|
|
262
321
|
as: "button",
|
|
263
322
|
onClick: () => {
|
|
264
323
|
dispatch({ type: "Term" });
|
|
@@ -270,48 +329,50 @@ const ApplyNow = ({
|
|
|
270
329
|
variant: "primary"
|
|
271
330
|
}
|
|
272
331
|
),
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
332
|
+
project === "lvf" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
333
|
+
gbf && /* @__PURE__ */ jsx(
|
|
334
|
+
IconBillboard,
|
|
335
|
+
{
|
|
336
|
+
headline: "Credit Line",
|
|
337
|
+
body: "I want to make improvements on my boat.",
|
|
338
|
+
callToActionRow: [
|
|
339
|
+
{
|
|
340
|
+
id: "Credit Line",
|
|
341
|
+
targetUrl: "#",
|
|
342
|
+
displayText: "Select",
|
|
343
|
+
variant: "secondary",
|
|
344
|
+
type: "Button",
|
|
345
|
+
as: "button",
|
|
346
|
+
onClick: () => {
|
|
347
|
+
dispatch({ type: "Credit Line" });
|
|
348
|
+
dispatch({ type: "URL" });
|
|
349
|
+
}
|
|
289
350
|
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
)
|
|
351
|
+
],
|
|
352
|
+
id: "Credit Line",
|
|
353
|
+
variant: "primary"
|
|
354
|
+
}
|
|
355
|
+
),
|
|
356
|
+
!gbf && /* @__PURE__ */ jsx(
|
|
357
|
+
IconBillboard,
|
|
358
|
+
{
|
|
359
|
+
headline: "Inventory Finance",
|
|
360
|
+
body: "I am a boat dealer purchasing multiple boats in the future.",
|
|
361
|
+
callToActionRow: [
|
|
362
|
+
{
|
|
363
|
+
id: "Inventory Finance",
|
|
364
|
+
targetUrl: "/contact-us",
|
|
365
|
+
displayText: "Select",
|
|
366
|
+
variant: "secondary",
|
|
367
|
+
type: "Button",
|
|
368
|
+
as: "a"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
id: "billboard-term",
|
|
372
|
+
variant: "primary"
|
|
373
|
+
}
|
|
374
|
+
)
|
|
375
|
+
] })
|
|
315
376
|
] })
|
|
316
377
|
]
|
|
317
378
|
}
|
|
@@ -332,6 +393,7 @@ const ApplyNow = ({
|
|
|
332
393
|
action: () => {
|
|
333
394
|
dispatch({ type: "back" });
|
|
334
395
|
dispatch({ type: "URL" });
|
|
396
|
+
dispatch({ type: "Initial" });
|
|
335
397
|
},
|
|
336
398
|
variant: "primary",
|
|
337
399
|
targetUrl: "#",
|
|
@@ -347,7 +409,8 @@ const ApplyNow = ({
|
|
|
347
409
|
className: clsx(
|
|
348
410
|
"header_2",
|
|
349
411
|
headerForm({ variant }),
|
|
350
|
-
step_title_apply_now
|
|
412
|
+
step_title_apply_now,
|
|
413
|
+
project !== "lvf" ? "hide" : ""
|
|
351
414
|
),
|
|
352
415
|
children: "Step Two"
|
|
353
416
|
}
|
|
@@ -364,8 +427,8 @@ const ApplyNow = ({
|
|
|
364
427
|
id: "Full-time Charter",
|
|
365
428
|
targetUrl: "#",
|
|
366
429
|
displayText: "Select",
|
|
367
|
-
variant: "secondary",
|
|
368
|
-
type: "Button",
|
|
430
|
+
variant: project === "lvf" ? "secondary" : "primary",
|
|
431
|
+
type: project === "lvf" ? "Button" : "Chevron",
|
|
369
432
|
as: "button",
|
|
370
433
|
onClick: () => {
|
|
371
434
|
dispatch({ type: "Full-time Charter" });
|
|
@@ -387,8 +450,8 @@ const ApplyNow = ({
|
|
|
387
450
|
id: "Limited-charter",
|
|
388
451
|
targetUrl: "#",
|
|
389
452
|
displayText: "Select",
|
|
390
|
-
variant: "secondary",
|
|
391
|
-
type: "Button",
|
|
453
|
+
variant: project === "lvf" ? "secondary" : "primary",
|
|
454
|
+
type: project === "lvf" ? "Button" : "Chevron",
|
|
392
455
|
as: "button",
|
|
393
456
|
onClick: () => {
|
|
394
457
|
dispatch({ type: "Limited Charter" });
|
|
@@ -410,8 +473,8 @@ const ApplyNow = ({
|
|
|
410
473
|
id: "personal-use",
|
|
411
474
|
targetUrl: "#",
|
|
412
475
|
displayText: "Select",
|
|
413
|
-
variant: "secondary",
|
|
414
|
-
type: "Button",
|
|
476
|
+
variant: project === "lvf" ? "secondary" : "primary",
|
|
477
|
+
type: project === "lvf" ? "Button" : "Chevron",
|
|
415
478
|
as: "button",
|
|
416
479
|
onClick: () => {
|
|
417
480
|
dispatch({ type: "Personal Use" });
|
|
@@ -458,7 +521,8 @@ const ApplyNow = ({
|
|
|
458
521
|
className: clsx(
|
|
459
522
|
"header_2",
|
|
460
523
|
headerForm({ variant }),
|
|
461
|
-
step_title_apply_now
|
|
524
|
+
step_title_apply_now,
|
|
525
|
+
project !== "lvf" ? "hide" : ""
|
|
462
526
|
),
|
|
463
527
|
children: "Step Three"
|
|
464
528
|
}
|
|
@@ -475,8 +539,8 @@ const ApplyNow = ({
|
|
|
475
539
|
id: "llc",
|
|
476
540
|
targetUrl: "#",
|
|
477
541
|
displayText: "Select",
|
|
478
|
-
variant: "secondary",
|
|
479
|
-
type: "Button",
|
|
542
|
+
variant: project === "lvf" ? "secondary" : "primary",
|
|
543
|
+
type: project === "lvf" ? "Button" : "Chevron",
|
|
480
544
|
as: "button",
|
|
481
545
|
onClick: () => {
|
|
482
546
|
dispatch({ type: "LLC" });
|
|
@@ -498,8 +562,8 @@ const ApplyNow = ({
|
|
|
498
562
|
id: "personal",
|
|
499
563
|
targetUrl: "#",
|
|
500
564
|
displayText: "Select",
|
|
501
|
-
variant: "secondary",
|
|
502
|
-
type: "Button",
|
|
565
|
+
variant: project === "lvf" ? "secondary" : "primary",
|
|
566
|
+
type: project === "lvf" ? "Button" : "Chevron",
|
|
503
567
|
as: "button",
|
|
504
568
|
onClick: () => {
|
|
505
569
|
dispatch({ type: "Personal" });
|
|
@@ -567,8 +631,8 @@ const ApplyNow = ({
|
|
|
567
631
|
{
|
|
568
632
|
id: "Inventory Finance",
|
|
569
633
|
targetUrl: stateRed.url,
|
|
570
|
-
displayText: "Select",
|
|
571
|
-
variant: "secondary",
|
|
634
|
+
displayText: project === "lvf" ? "Select" : "Start Application",
|
|
635
|
+
variant: project === "lvf" ? "secondary" : "primary",
|
|
572
636
|
type: "Button",
|
|
573
637
|
as: "a"
|
|
574
638
|
}
|
|
@@ -586,52 +650,6 @@ const ApplyNow = ({
|
|
|
586
650
|
] })
|
|
587
651
|
] }) }) }, id);
|
|
588
652
|
};
|
|
589
|
-
const getLink = (selection) => {
|
|
590
|
-
const formSelection = selection.join(" | ");
|
|
591
|
-
let url = "{LVFMYSITE}/Portal/nPortal__SelfRegistration?core=es5";
|
|
592
|
-
switch (formSelection) {
|
|
593
|
-
case "Term | Full-time Charter | LLC":
|
|
594
|
-
url += "&product=a0u5e000001XiAo";
|
|
595
|
-
break;
|
|
596
|
-
case "Term | Limited Charter | LLC":
|
|
597
|
-
url += "&product=a0u5e000001XiAp";
|
|
598
|
-
break;
|
|
599
|
-
case "Term | Personal Use | LLC":
|
|
600
|
-
url += "&product=a0u5e000001XiB3";
|
|
601
|
-
break;
|
|
602
|
-
case "Term | Full-time Charter | Personal":
|
|
603
|
-
url += "&product=a0u5e000001Wfd5";
|
|
604
|
-
break;
|
|
605
|
-
case "Term | Limited Charter | Personal":
|
|
606
|
-
url += "&product=a0u5e000001WfdA";
|
|
607
|
-
break;
|
|
608
|
-
case "Term | Personal Use | Personal":
|
|
609
|
-
url += "&product=a0u5e000001WfdB";
|
|
610
|
-
break;
|
|
611
|
-
case "Credit Line | Full-time Charter | LLC":
|
|
612
|
-
url += "&product=a0u8W00002DhceX";
|
|
613
|
-
break;
|
|
614
|
-
case "Credit Line | Limited Charter | LLC":
|
|
615
|
-
url += "&product=a0u8W00002DhceY";
|
|
616
|
-
break;
|
|
617
|
-
case "Credit Line | Personal Use | LLC":
|
|
618
|
-
url += "&product=a0u8W00002DhceZ";
|
|
619
|
-
break;
|
|
620
|
-
case "Credit Line | Full-time Charter | Personal":
|
|
621
|
-
url += "&product=a0u8W00002DhceS";
|
|
622
|
-
break;
|
|
623
|
-
case "Credit Line | Limited Charter | Personal":
|
|
624
|
-
url += "&product=a0u8W00002DhceT";
|
|
625
|
-
break;
|
|
626
|
-
case "Credit Line | Personal Use | Personal":
|
|
627
|
-
url += "&product=a0u8W00002DhceU";
|
|
628
|
-
break;
|
|
629
|
-
default:
|
|
630
|
-
url += "&product=a0u5e000000hzHz";
|
|
631
|
-
}
|
|
632
|
-
return url;
|
|
633
|
-
};
|
|
634
653
|
export {
|
|
635
|
-
ApplyNow
|
|
636
|
-
getLink
|
|
654
|
+
ApplyNow
|
|
637
655
|
};
|
|
@@ -21,7 +21,7 @@ import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
|
21
21
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
22
22
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
23
23
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
24
|
-
|
|
24
|
+
/* empty css */
|
|
25
25
|
/* empty css */
|
|
26
26
|
/* empty css */
|
|
27
27
|
/* empty css */
|
|
@@ -32,7 +32,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
32
32
|
import clsx from "clsx";
|
|
33
33
|
import { useForm, FormProvider } from "react-hook-form";
|
|
34
34
|
import * as z from "zod";
|
|
35
|
-
import { iconForm, headerForm, form, descriptionField,
|
|
35
|
+
import { formContainer, iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, xc_input, fullRowForm, ro_input, disclosureForm, actions } from "./Forms.css.js";
|
|
36
36
|
import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
|
|
37
37
|
import { SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
38
38
|
const options = [
|