@axos-web-dev/shared-components 1.0.100-dev.5 → 1.0.100-dev.51
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 +9 -3
- 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 +42 -69
- package/dist/Article/Article.css.js +11 -9
- package/dist/Article/index.js +3 -2
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +20 -80
- package/dist/ArticlesSet/ArticlesSet.css.js +1 -1
- package/dist/ArticlesSet/ArticlesSet.js +3 -3
- package/dist/Auth/ErrorAlert.css.js +1 -1
- package/dist/Auth/ErrorAlert.js +9 -3
- package/dist/Auth/Logout.js +1 -1
- package/dist/Auth/SignIn.css.js +1 -1
- package/dist/Auth/SignInPassword.js +3 -3
- package/dist/Avatar/Avatar.module.js +7 -7
- package/dist/AwardsBanner/AwardsBanner.css.js +4 -1
- package/dist/AwardsItem/AwardsItem.css.js +0 -1
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/BulletItem/BulletItem.css.js +1 -1
- package/dist/BulletItem/BulletItem.js +2 -1
- package/dist/Button/Button.css.d.ts +21 -21
- package/dist/Button/Button.css.js +1 -1
- package/dist/Button/Button.js +8 -2
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.d.ts +12 -12
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +1 -1
- package/dist/Calculators/AnnualFeeCalculator/index.js +1 -1
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +12 -40
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +1 -1
- package/dist/Calculators/ApyCalculator/index.js +11 -5
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.d.ts +9 -8
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +4 -2
- package/dist/Calculators/AxosOneCalculator/index.d.ts +3 -0
- package/dist/Calculators/AxosOneCalculator/index.js +49 -21
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.d.ts +20 -48
- 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 -19
- package/dist/Calculators/BuyDownCalculator/BuyDownCalculator.css.js +2 -4
- package/dist/Calculators/BuyDownCalculator/index.d.ts +4 -1
- package/dist/Calculators/BuyDownCalculator/index.js +109 -69
- package/dist/Calculators/Calculator.d.ts +3 -0
- package/dist/Calculators/Calculator.js +16 -6
- package/dist/Calculators/MarginTradingCalculator/MarginTradingCalculator.css.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +2 -2
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +1 -1
- package/dist/Calculators/MaxLoanCalculator/index.js +1 -1
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.d.ts +12 -12
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +1 -1
- package/dist/Calculators/MonthlyPaymentCalculator/index.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 +17 -8
- package/dist/Calculators/calculator.css.d.ts +12 -18
- package/dist/Calculators/calculator.css.js +1 -1
- package/dist/CallToActionBar/CallToActionBar.css.d.ts +3 -1
- package/dist/CallToActionBar/CallToActionBar.css.js +22 -16
- package/dist/CallToActionBar/index.js +4 -3
- package/dist/Carousel/Carousel.css.d.ts +26 -37
- package/dist/Carousel/Carousel.css.js +1 -1
- package/dist/Carousel/index.js +9 -3
- package/dist/Chatbot/Bubble.css.d.ts +2 -0
- package/dist/Chatbot/Bubble.css.js +7 -0
- package/dist/Chatbot/Bubble.d.ts +5 -0
- package/dist/Chatbot/Bubble.js +103 -0
- package/dist/Chatbot/Chat.d.ts +1 -0
- package/dist/Chatbot/Chat.js +165 -0
- package/dist/Chatbot/ChatWindow.css.d.ts +19 -0
- package/dist/Chatbot/ChatWindow.css.js +41 -0
- package/dist/Chatbot/ChatWindow.d.ts +26 -0
- package/dist/Chatbot/ChatWindow.js +467 -0
- package/dist/Chatbot/Chatbot.css.d.ts +2 -0
- package/dist/Chatbot/Chatbot.css.js +7 -0
- package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +1 -0
- package/dist/Chatbot/Chatbot.d.ts +10 -0
- package/dist/Chatbot/Chatbot.js +257 -0
- package/dist/Chatbot/EllipsisAnimation.d.ts +2 -0
- package/dist/Chatbot/EllipsisAnimation.js +85 -0
- package/dist/Chatbot/EllipsisIcon.d.ts +4 -0
- package/dist/Chatbot/EllipsisIcon.js +19 -0
- package/dist/Chatbot/authenticate.d.ts +3 -0
- package/dist/Chatbot/authenticate.js +16 -0
- package/dist/Chatbot/index.d.ts +8 -0
- package/dist/Chatbot/index.js +39 -0
- package/dist/Chatbot/store/chat.d.ts +10 -0
- package/dist/Chatbot/store/chat.js +18 -0
- package/dist/Chatbot/store/messages.d.ts +15 -0
- package/dist/Chatbot/store/messages.js +13 -0
- package/dist/Chatbot/useHeadlessChat.d.ts +27 -0
- package/dist/Chatbot/useHeadlessChat.js +240 -0
- package/dist/Chevron/Chevron.css.d.ts +6 -6
- package/dist/Chevron/Chevron.css.js +1 -1
- package/dist/Chevron/index.js +9 -3
- package/dist/CollectInformationAlert/CollectInformationAlert.css.js +1 -1
- package/dist/CollectInformationAlert/index.js +2 -2
- package/dist/Comparison/Comparison.css.d.ts +10 -10
- package/dist/Comparison/Comparison.css.js +1 -1
- package/dist/Comparison/Comparison.js +9 -3
- package/dist/Comparison/ComparisonSet.js +34 -25
- package/dist/ContentBanner/ContentBanner.css.d.ts +12 -12
- package/dist/ContentBanner/ContentBanner.css.js +2 -1
- package/dist/DownloadTile/DownloadTile.css.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +184 -31
- package/dist/ExecutiveBio/ExecutiveBio.css.js +51 -1
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +11 -4
- package/dist/ExecutiveBio/ExecutiveBio.js +266 -7
- package/dist/ExecutiveBio/Overlay.d.ts +8 -0
- package/dist/ExecutiveBio/Overlay.js +589 -0
- package/dist/ExecutiveBio/index.js +26 -1
- package/dist/FaqAccordion/FaqAccordion.css.js +1 -1
- package/dist/FaqAccordion/index.js +9 -3
- 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 +11 -9
- package/dist/Forms/ApplicationStart.js +6 -4
- package/dist/Forms/ApplyNow.js +10 -4
- package/dist/Forms/ClearingForm.js +6 -4
- package/dist/Forms/CommercialDeposits.js +6 -4
- package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +16 -0
- package/dist/Forms/CommercialDepositsNoLendingOption.js +332 -0
- package/dist/Forms/CommercialLending.js +6 -4
- package/dist/Forms/CommercialPremiumFinance.js +6 -4
- package/dist/Forms/ContactCompany.js +6 -4
- package/dist/Forms/ContactCompanyTitle.js +6 -4
- package/dist/Forms/ContactUs.js +6 -4
- package/dist/Forms/ContactUsAAS.js +6 -4
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.js +17 -9
- package/dist/Forms/ContactUsBusinessNameEmail.js +13 -5
- package/dist/Forms/ContactUsLVF.js +6 -4
- package/dist/Forms/ContactUsNMLSId.js +13 -5
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CpraRequest.js +7 -4
- package/dist/Forms/CraPublicFile.js +13 -5
- package/dist/Forms/DealerServices.js +6 -4
- package/dist/Forms/EmailOnly.js +94 -66
- package/dist/Forms/EmailUs.js +8 -6
- package/dist/Forms/FormEnums.js +4 -1
- package/dist/Forms/Forms.css.d.ts +50 -73
- package/dist/Forms/Forms.css.js +51 -45
- package/dist/Forms/HoneyPot/HoneyPot.css.js +1 -1
- package/dist/Forms/HoneyPot/index.js +2 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +45 -16
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +12 -6
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +8 -2
- package/dist/Forms/MortgageWarehouseLending.js +13 -5
- package/dist/Forms/QuickPricer/QuickPricerForm.js +19 -15
- package/dist/Forms/QuickPricer/QuickPricerResults.css.js +1 -1
- package/dist/Forms/QuickPricer/UserInformation.css.js +1 -1
- package/dist/Forms/ScheduleCall.js +6 -4
- package/dist/Forms/ScheduleCallPremier.js +6 -4
- package/dist/Forms/SuccesForm.js +11 -5
- package/dist/Forms/VendorQuestionnaire.js +7 -3
- package/dist/Forms/WcplSurvey.js +2 -2
- package/dist/Forms/index.d.ts +1 -0
- package/dist/Forms/index.js +7 -1
- package/dist/HelpArticle/HelpArticle.css.js +1 -1
- package/dist/HeroBanner/HeroBanner.css.d.ts +17 -29
- package/dist/HeroBanner/HeroBanner.css.js +2 -1
- package/dist/HeroBanner/HeroBanner.js +16 -18
- package/dist/HeroBanner/LargeBanner.css.d.ts +20 -20
- package/dist/HeroBanner/LargeBanner.css.js +1 -1
- package/dist/HeroBanner/SelectionBanner.css.d.ts +5 -23
- package/dist/HeroBanner/SelectionBanner.css.js +7 -7
- package/dist/Hyperlink/Hyperlink.css.d.ts +4 -4
- package/dist/Hyperlink/Hyperlink.css.js +4 -1
- package/dist/Hyperlink/index.js +8 -2
- package/dist/IconBillboard/IconBillboard.css.d.ts +24 -58
- package/dist/IconBillboard/IconBillboard.css.js +1 -1
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +17 -73
- package/dist/ImageBillboard/ImageBillboard.css.js +2 -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 +9 -3
- package/dist/ImageLink/ImageLinkSet.js +8 -2
- package/dist/ImageLink/index.js +8 -2
- package/dist/Input/Checkbox.css.js +1 -1
- package/dist/Input/Dropdown.css.js +1 -1
- package/dist/Input/Input.css.d.ts +17 -16
- package/dist/Input/Input.css.js +11 -9
- package/dist/Input/RadioButton.css.js +1 -1
- package/dist/Input/index.js +2 -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 +10 -4
- package/dist/Insight/Featured/Featured.css.js +1 -1
- package/dist/Insight/Featured/Featured.js +9 -3
- package/dist/Insight/Featured/Header.css.js +1 -1
- package/dist/Insight/Featured/Header.js +9 -3
- package/dist/Insight/Insight.css.d.ts +18 -0
- package/dist/Insight/Insight.css.js +45 -9
- package/dist/Insight/index.js +19 -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 +5 -3
- package/dist/LandingPageHeader/LandingPageHeader.css.js +7 -3
- package/dist/LandingPageHeader/LandingPageHeader.js +19 -10
- package/dist/LandingPageHeader/index.js +3 -1
- package/dist/LoadingIndicator/LoadingIndicator.css.d.ts +4 -4
- package/dist/LoadingIndicator/LoadingIndicator.css.js +1 -1
- package/dist/LoadingIndicator/index.js +1 -0
- package/dist/Modal/Modal.css.d.ts +1 -0
- package/dist/Modal/Modal.css.js +6 -4
- package/dist/Modal/Modal.js +11 -5
- 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 +8 -2
- package/dist/NavigationMenu/AxosALTS/index.js +8 -2
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.d.ts +2 -0
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +7 -2
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
- package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosAdvisor/index.js +40 -22
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.d.ts +2 -0
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +7 -2
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.d.ts +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosAdvisorServices/index.js +14 -8
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +2 -2
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +5 -9
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +18 -18
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +2 -1
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +41 -41
- package/dist/NavigationMenu/AxosBank/NavData.js +8 -2
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +288 -311
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.d.ts +2 -0
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +5 -1
- package/dist/NavigationMenu/AxosBank/index.js +8 -2
- package/dist/NavigationMenu/AxosClearing/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
- package/dist/NavigationMenu/LaVictoire/NavBar.css.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavBar.module.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavData.js +8 -2
- package/dist/NavigationMenu/LaVictoire/index.js +8 -2
- package/dist/NavigationMenu/NavDataJson.js +8 -2
- package/dist/NavigationMenu/Navbar.js +8 -2
- package/dist/NavigationMenu/SignInNavButton.js +8 -2
- package/dist/PageNavItem/PageNavItem.css.d.ts +4 -22
- 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 +8 -8
- 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 +10 -4
- package/dist/SocialMediaBar/SocialMediaBar.css.js +1 -1
- package/dist/SocialMediaBar/iconsRepository.js +8 -2
- package/dist/StepItem/StepItem.css.d.ts +20 -48
- package/dist/StepItem/StepItem.css.js +1 -1
- package/dist/StepItemSet/StepItemSet.css.d.ts +16 -42
- package/dist/StepItemSet/StepItemSet.css.js +12 -6
- package/dist/StepItemSet/StepItemSet.d.ts +8 -0
- package/dist/StepItemSet/StepItemSet.js +38 -14
- package/dist/StepItemSet/index.js +4 -2
- package/dist/Tab/Tab.css.d.ts +12 -12
- package/dist/Tab/Tab.css.js +1 -1
- package/dist/Tab/Tab.js +1 -0
- package/dist/Table/Table.css.d.ts +32 -32
- package/dist/Table/Table.css.js +6 -6
- package/dist/Table/Table.js +3 -3
- 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 +8 -2
- package/dist/VideoWrapper/VideoWrapper.css.js +1 -1
- package/dist/VideoWrapper/index.js +8 -2
- package/dist/WalnutIframe/wrapper.module.js +3 -3
- package/dist/assets/Accordion/Accordion.css +4 -4
- package/dist/assets/Article/Article.css +87 -86
- package/dist/assets/ArticlesSet/ArticlesSet.css +26 -56
- package/dist/assets/Auth/SignIn.css +12 -12
- package/dist/assets/Avatar/Avatar.css.css +10 -10
- package/dist/assets/AwardsBanner/AwardsBanner.css +1 -1
- package/dist/assets/AwardsItem/AwardsItem.css +3 -4
- package/dist/assets/Blockquote/Blockquote.css.css +21 -17
- package/dist/assets/Button/Button.css +28 -28
- package/dist/assets/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css +8 -8
- package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +12 -21
- package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +32 -12
- package/dist/assets/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css +22 -34
- package/dist/assets/Calculators/BuyDownCalculator/BuyDownCalculator.css +15 -21
- package/dist/assets/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css +9 -9
- package/dist/assets/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css +10 -10
- package/dist/assets/Calculators/SummitApyCalculator/BalanceAPYCalculator.css +18 -10
- package/dist/assets/Calculators/calculator.css +9 -15
- package/dist/assets/CallToActionBar/CallToActionBar.css +95 -69
- package/dist/assets/Carousel/Carousel.css +27 -41
- package/dist/assets/Chatbot/Bubble.css +51 -0
- package/dist/assets/Chatbot/ChatWindow.css +225 -0
- package/dist/assets/Chevron/Chevron.css +11 -10
- package/dist/assets/CollectInformationAlert/CollectInformationAlert.css +4 -3
- package/dist/assets/Comparison/Comparison.css +8 -5
- package/dist/assets/ContentBanner/ContentBanner.css +14 -8
- package/dist/assets/DownloadTile/DownloadTile.css +6 -6
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +342 -27
- package/dist/assets/FaqAccordion/FaqAccordion.css +5 -5
- package/dist/assets/FooterDisclosure/FooterDisclosure.css +1 -1
- package/dist/assets/FooterSiteMap/AxosBank/FooterSiteMap.css +3 -8
- package/dist/assets/Forms/Forms.css +176 -165
- package/dist/assets/Forms/QuickPricer/UserInformation.css +1 -1
- package/dist/assets/HeroBanner/HeroBanner.css +85 -76
- package/dist/assets/HeroBanner/LargeBanner.css +15 -15
- package/dist/assets/HeroBanner/SelectionBanner.css +15 -29
- package/dist/assets/Hyperlink/Hyperlink.css +4 -4
- package/dist/assets/IconBillboard/IconBillboard.css +32 -48
- package/dist/assets/ImageBillboard/ImageBillboard.css +59 -64
- package/dist/assets/Input/Input.css +54 -47
- package/dist/assets/Inputs/Input.css +4 -4
- package/dist/assets/Insight/Featured/CategorySelector.css +1 -1
- package/dist/assets/Insight/Insight.css +212 -43
- package/dist/assets/Interstitial/Interstitial-variants.css +3 -3
- package/dist/assets/LandingPageHeader/LandingPageHeader.css +37 -4
- package/dist/assets/LoadingIndicator/LoadingIndicator.css +5 -5
- package/dist/assets/Modal/Modal.css +17 -28
- package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +1 -1
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +25 -2
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +138 -126
- package/dist/assets/NavigationMenu/AxosAdvisor/SubNavbar.css +5 -4
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +25 -2
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +142 -130
- package/dist/assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css +22 -4
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +32 -31
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css +21 -9
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +120 -148
- package/dist/assets/NavigationMenu/AxosBank/SubNavbar.css +35 -1
- package/dist/assets/NavigationMenu/AxosClearing/NavBar.css.css +133 -107
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +84 -83
- package/dist/assets/PageNavItem/PageNavItem.css +16 -33
- package/dist/assets/Pagination/Pagination.css +1 -1
- package/dist/assets/SetContainer/SetContainer.css +5 -5
- package/dist/assets/StepItem/StepItem.css +26 -42
- package/dist/assets/StepItemSet/StepItemSet.css +50 -41
- package/dist/assets/Tab/Tab.css +12 -12
- package/dist/assets/Table/Table.css +90 -97
- package/dist/assets/TextBlock/TextBlock.css +1 -1
- package/dist/assets/TopicalNavItem/TopicalNavItem.css +3 -3
- package/dist/assets/TopicalNavSet/TopicalNavSet.css +1 -1
- package/dist/assets/VideoTile/VideoTile.css +1 -1
- package/dist/assets/WalnutIframe/wrapper.css.css +48 -49
- package/dist/assets/globals.css +11 -8
- package/dist/assets/icons/ArrowIcon/ArrowIcon.css +3 -3
- package/dist/assets/icons/DownloadIcon/DownloadIcon.css +1 -1
- package/dist/assets/icons/FollowIcon/FollowIcon.css +1 -1
- package/dist/assets/themes/axos.css +32 -32
- package/dist/assets/themes/premier.css +31 -31
- package/dist/assets/themes/victorie.css +23 -23
- 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/CheckCircle.js +1 -1
- package/dist/icons/CheckCircleLight.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/CheckIcon/index.js +1 -1
- package/dist/icons/Clock/index.js +6 -6
- package/dist/icons/DownloadIcon/DownloadIcon.css.js +1 -1
- package/dist/icons/FollowIcon/FollowIcon.css.js +1 -1
- package/dist/icons/Logos/SPB.d.ts +4 -0
- package/dist/icons/Logos/SPB.js +132 -0
- package/dist/icons/QuoteIconGrey.js +2 -2
- package/dist/icons/Star/Star.css.js +1 -1
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +2 -0
- package/dist/index.css.js +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +121 -22
- package/dist/themes/axos.css.d.ts +38 -38
- package/dist/themes/axos.css.js +2 -2
- package/dist/themes/premier.css.js +1 -1
- package/dist/themes/victorie.css.js +1 -1
- package/dist/utils/allowedAxosDomains.js +2 -1
- package/dist/utils/emailValidation.d.ts +1 -0
- package/dist/utils/emailValidation.js +31 -0
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/index.js +9 -1
- package/dist/utils/nmlsValidation.d.ts +1 -0
- package/dist/utils/nmlsValidation.js +34 -0
- package/dist/utils/optimizeImage/optimizeImage.module.js +1 -1
- package/dist/utils/useCachedValidators.d.ts +2 -0
- package/dist/utils/useCachedValidators.js +22 -0
- package/package.json +136 -133
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
variant: {
|
|
3
3
|
primary: {
|
|
4
|
-
background: `var(--${string})`;
|
|
5
|
-
color: `var(--${string})`;
|
|
4
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
5
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6
6
|
};
|
|
7
7
|
secondary: {
|
|
8
|
-
background: `var(--${string})`;
|
|
9
|
-
color: `var(--${string})`;
|
|
8
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10
10
|
};
|
|
11
11
|
tertiary: {
|
|
12
|
-
background: `var(--${string})`;
|
|
13
|
-
color: `var(--${string})`;
|
|
12
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
13
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
14
|
};
|
|
15
15
|
quaternary: {
|
|
16
|
-
background: `var(--${string})`;
|
|
17
|
-
color: `var(--${string})`;
|
|
16
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
}>;
|
|
@@ -33,44 +33,16 @@ export declare const header_container: string;
|
|
|
33
33
|
export declare const header_calc: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
34
34
|
variant: {
|
|
35
35
|
primary: {
|
|
36
|
-
|
|
37
|
-
[x: string]: {
|
|
38
|
-
WebkitBackgroundClip: string;
|
|
39
|
-
backgroundImage: `var(--${string})`;
|
|
40
|
-
WebkitTextFillColor: string;
|
|
41
|
-
textShadow: string;
|
|
42
|
-
color?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
color: `var(--${string})`;
|
|
45
|
-
WebkitBackgroundClip?: undefined;
|
|
46
|
-
backgroundImage?: undefined;
|
|
47
|
-
WebkitTextFillColor?: undefined;
|
|
48
|
-
textShadow?: undefined;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
36
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
51
37
|
};
|
|
52
38
|
secondary: {
|
|
53
|
-
|
|
54
|
-
[x: string]: {
|
|
55
|
-
WebkitBackgroundClip: "text";
|
|
56
|
-
backgroundImage: `var(--${string})`;
|
|
57
|
-
WebkitTextFillColor: "transparent";
|
|
58
|
-
textShadow: "0px 0px #00000000";
|
|
59
|
-
color?: undefined;
|
|
60
|
-
} | {
|
|
61
|
-
color: `var(--${string})`;
|
|
62
|
-
WebkitBackgroundClip?: undefined;
|
|
63
|
-
backgroundImage?: undefined;
|
|
64
|
-
WebkitTextFillColor?: undefined;
|
|
65
|
-
textShadow?: undefined;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
39
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
68
40
|
};
|
|
69
41
|
tertiary: {
|
|
70
|
-
color: `var(--${string})`;
|
|
42
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
71
43
|
};
|
|
72
44
|
quaternary: {
|
|
73
|
-
color: `var(--${string})`;
|
|
45
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
74
46
|
};
|
|
75
47
|
};
|
|
76
48
|
}>;
|
|
@@ -78,32 +50,32 @@ export declare const calc_text: string;
|
|
|
78
50
|
export declare const description_text: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
79
51
|
variant: {
|
|
80
52
|
primary: {
|
|
81
|
-
color: `var(--${string})`;
|
|
53
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
82
54
|
};
|
|
83
55
|
secondary: {
|
|
84
|
-
color: `var(--${string})`;
|
|
56
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
85
57
|
};
|
|
86
58
|
tertiary: {
|
|
87
|
-
color: `var(--${string})`;
|
|
59
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
88
60
|
};
|
|
89
61
|
quaternary: {
|
|
90
|
-
color: `var(--${string})`;
|
|
62
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
91
63
|
};
|
|
92
64
|
};
|
|
93
65
|
}>;
|
|
94
66
|
export declare const calc_disclosure: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
95
67
|
variant: {
|
|
96
68
|
primary: {
|
|
97
|
-
color: `var(--${string})`;
|
|
69
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
98
70
|
};
|
|
99
71
|
secondary: {
|
|
100
|
-
color: `var(--${string})`;
|
|
72
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
101
73
|
};
|
|
102
74
|
tertiary: {
|
|
103
|
-
color: `var(--${string})`;
|
|
75
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
104
76
|
};
|
|
105
77
|
quaternary: {
|
|
106
|
-
color: `var(--${string})`;
|
|
78
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
107
79
|
};
|
|
108
80
|
};
|
|
109
81
|
}>;
|
|
@@ -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 "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
|
8
8
|
import SvgAxosX from "../../icons/AxosX/index.js";
|
|
9
9
|
import SvgComponent from "../../icons/AxosX/Blue.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 */
|
|
@@ -18,7 +18,7 @@ import { headerCell } from "../../Table/Table.css.js";
|
|
|
18
18
|
import "../../utils/allowedAxosDomains.js";
|
|
19
19
|
import { getVariant } from "../../utils/getVariant.js";
|
|
20
20
|
import clsx from "clsx";
|
|
21
|
-
import { calc_icon, header_container, header_calc, calc_text, description_text, calculator_wrapper, input_container, input_label, d_label, m_label, calculator_input, calculator_button, max_balance, error_message,
|
|
21
|
+
import { container, calc_icon, header_container, header_calc, calc_text, description_text, table_container, calculator_wrapper, input_container, input_label, d_label, m_label, calculator_input, calculator_button, max_balance, error_message, calc_disclosure } from "./BalanceAPYCalculator.css.js";
|
|
22
22
|
const BalanceAPYCalculator = ({
|
|
23
23
|
headline,
|
|
24
24
|
bodyCopy,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const calc_container: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
variant: {
|
|
3
3
|
primary: {
|
|
4
|
-
background: `var(--${string})`;
|
|
5
|
-
color: `var(--${string})`;
|
|
4
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
5
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6
6
|
};
|
|
7
7
|
secondary: {
|
|
8
|
-
background: `var(--${string})`;
|
|
9
|
-
color: `var(--${string})`;
|
|
8
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10
10
|
};
|
|
11
11
|
tertiary: {
|
|
12
|
-
background: `var(--${string})`;
|
|
13
|
-
color: `var(--${string})`;
|
|
12
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
13
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
14
|
};
|
|
15
15
|
quaternary: {
|
|
16
|
-
background: `var(--${string})`;
|
|
17
|
-
color: `var(--${string})`;
|
|
16
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
17
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
}>;
|
|
@@ -26,16 +26,16 @@ export declare const errorTag: string;
|
|
|
26
26
|
export declare const form_wrapper: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
27
27
|
variant: {
|
|
28
28
|
primary: {
|
|
29
|
-
color: `var(--${string})`;
|
|
29
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
30
30
|
};
|
|
31
31
|
secondary: {
|
|
32
|
-
color: `var(--${string})`;
|
|
32
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
33
33
|
};
|
|
34
34
|
tertiary: {
|
|
35
|
-
color: `var(--${string})`;
|
|
35
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
36
36
|
};
|
|
37
37
|
quaternary: {
|
|
38
|
-
color: `var(--${string})`;
|
|
38
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
}>;
|
|
@@ -58,12 +58,12 @@ export declare const theme_header: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
58
58
|
selectors: {
|
|
59
59
|
[x: string]: {
|
|
60
60
|
WebkitBackgroundClip: "text";
|
|
61
|
-
backgroundImage: `var(--${string})`;
|
|
61
|
+
backgroundImage: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
62
62
|
WebkitTextFillColor: "transparent";
|
|
63
63
|
textShadow: "0px 0px #00000000";
|
|
64
64
|
color?: undefined;
|
|
65
65
|
} | {
|
|
66
|
-
color: `var(--${string})`;
|
|
66
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
67
67
|
WebkitBackgroundClip?: undefined;
|
|
68
68
|
backgroundImage?: undefined;
|
|
69
69
|
WebkitTextFillColor?: undefined;
|
|
@@ -75,12 +75,12 @@ export declare const theme_header: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
75
75
|
selectors: {
|
|
76
76
|
[x: string]: {
|
|
77
77
|
WebkitBackgroundClip: "text";
|
|
78
|
-
backgroundImage: `var(--${string})`;
|
|
78
|
+
backgroundImage: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
79
79
|
WebkitTextFillColor: "transparent";
|
|
80
80
|
textShadow: "0px 0px #00000000";
|
|
81
81
|
color?: undefined;
|
|
82
82
|
} | {
|
|
83
|
-
color: `var(--${string})`;
|
|
83
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
84
84
|
WebkitBackgroundClip?: undefined;
|
|
85
85
|
backgroundImage?: undefined;
|
|
86
86
|
WebkitTextFillColor?: undefined;
|
|
@@ -89,13 +89,12 @@ export declare const theme_header: import('@vanilla-extract/recipes').RuntimeFn<
|
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
tertiary: {
|
|
92
|
-
color: `var(--${string})`;
|
|
92
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
93
93
|
};
|
|
94
94
|
quaternary: {
|
|
95
|
-
color: `var(--${string})`;
|
|
95
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
}>;
|
|
99
99
|
export declare const mt_8: string;
|
|
100
100
|
export declare const pis_0: string;
|
|
101
|
-
export declare const limit_one: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
2
3
|
/* empty css */
|
|
3
4
|
/* empty css */
|
|
4
|
-
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
7
7
|
var calc_container = createRuntimeFn({ defaultClassName: "n9fzuw0", variantClassNames: { variant: { primary: "n9fzuw1", secondary: "n9fzuw2", tertiary: "n9fzuw3", quaternary: "n9fzuw4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -27,7 +27,6 @@ var bodyContent = "n9fzuwr";
|
|
|
27
27
|
var theme_header = createRuntimeFn({ defaultClassName: "n9fzuws", variantClassNames: { variant: { primary: "n9fzuwt", secondary: "n9fzuwu", tertiary: "n9fzuwv", quaternary: "n9fzuww" } }, defaultVariants: {}, compoundVariants: [] });
|
|
28
28
|
var mt_8 = "n9fzuwx";
|
|
29
29
|
var pis_0 = "n9fzuwy";
|
|
30
|
-
var limit_one = "n9fzuwz";
|
|
31
30
|
export {
|
|
32
31
|
apy_calculator,
|
|
33
32
|
bodyContent,
|
|
@@ -42,7 +41,6 @@ export {
|
|
|
42
41
|
form_disclosure,
|
|
43
42
|
form_wrapper,
|
|
44
43
|
label_symbol,
|
|
45
|
-
limit_one,
|
|
46
44
|
mt_8,
|
|
47
45
|
percent,
|
|
48
46
|
pis_0,
|
|
@@ -19,8 +19,11 @@ export type BuyDownCalculatorInputs = {
|
|
|
19
19
|
fullTimeCharter: boolean;
|
|
20
20
|
mooringOutsideContinentalUS: boolean;
|
|
21
21
|
operatingAccount: boolean;
|
|
22
|
-
ltvAbove60: boolean;
|
|
23
22
|
floorplanDealerIncentive: boolean;
|
|
24
23
|
dealerCommercialDeposit: boolean;
|
|
24
|
+
vesselOver15Years: boolean;
|
|
25
|
+
highPerformanceBoats: boolean;
|
|
26
|
+
retailCheckingAccount: boolean;
|
|
27
|
+
electricMotorHybrid: boolean;
|
|
25
28
|
};
|
|
26
29
|
export declare const BuyDownCalculator: FC<BuyDownCalculatorProps>;
|
|
@@ -16,14 +16,14 @@ import "../../Input/InputAmount.js";
|
|
|
16
16
|
import "../../Input/InputPhone.js";
|
|
17
17
|
import "../../Input/InputTextArea.js";
|
|
18
18
|
import "../../Input/DownPaymentInput.js";
|
|
19
|
-
import
|
|
19
|
+
import "../../Input/RadioButton.js";
|
|
20
20
|
import { PercentageInput } from "../../Input/PercentageInput.js";
|
|
21
21
|
import "../../utils/allowedAxosDomains.js";
|
|
22
|
+
import { z } from "zod";
|
|
22
23
|
import { getVariant } from "../../utils/getVariant.js";
|
|
23
24
|
import clsx from "clsx";
|
|
24
25
|
import { useForm, FormProvider } from "react-hook-form";
|
|
25
|
-
import {
|
|
26
|
-
import { calc_container, calculator_section, section_header, theme_header, mt_8, buydown_calculator_form, row_form, limit_one, calculate_row, form_wrapper, form_disclosure } from "./BuyDownCalculator.css.js";
|
|
26
|
+
import { calc_container, calculator_section, section_header, theme_header, mt_8, buydown_calculator_form, form_wrapper, row_form, calculate_row, form_disclosure } from "./BuyDownCalculator.css.js";
|
|
27
27
|
const BuyDownCalculator = ({
|
|
28
28
|
header,
|
|
29
29
|
body,
|
|
@@ -45,12 +45,12 @@ const BuyDownCalculator = ({
|
|
|
45
45
|
const [dealerContributionAmount, setDealerContributionAmount] = useState("");
|
|
46
46
|
const [enableFullTimeCharter, setEnableFullTimeCharter] = useState(false);
|
|
47
47
|
const [disableMooringOutside, setDisableMooringOutside] = useState(false);
|
|
48
|
-
const [disableLTVAbove60, setDisableLTVAbove60] = useState(true);
|
|
49
48
|
const [isDealerContributionDisabled, setIsDealerContributionDisabled] = useState(false);
|
|
50
49
|
const [
|
|
51
50
|
isManufacturerContributionDisabled,
|
|
52
51
|
setIsManufacturerContributionDisabled
|
|
53
52
|
] = useState(false);
|
|
53
|
+
const [ltvDiscountApplied, setLtvDiscountApplied] = useState(false);
|
|
54
54
|
const schema = z.object({
|
|
55
55
|
purchasePrice: z.string().min(1, { message: "Loan amount is required." }).transform((val) => {
|
|
56
56
|
return formatToNumber(val);
|
|
@@ -111,7 +111,6 @@ const BuyDownCalculator = ({
|
|
|
111
111
|
if (purchasePrice && downpayment) {
|
|
112
112
|
const financedAmount2 = purchasePrice - downpayment;
|
|
113
113
|
const range = getRange(financedAmount2);
|
|
114
|
-
const disableLTV = checkLTVStatus(downpayment, purchasePrice);
|
|
115
114
|
if (financedAmount2 < 0) {
|
|
116
115
|
ctx.addIssue({
|
|
117
116
|
code: z.ZodIssueCode.custom,
|
|
@@ -123,11 +122,6 @@ const BuyDownCalculator = ({
|
|
|
123
122
|
const loanRange2 = getRange(financedAmount2, program);
|
|
124
123
|
setLoanRange(loanRange2);
|
|
125
124
|
}
|
|
126
|
-
if (!disableLTV) {
|
|
127
|
-
setDisableLTVAbove60(false);
|
|
128
|
-
} else {
|
|
129
|
-
setDisableLTVAbove60(true);
|
|
130
|
-
}
|
|
131
125
|
}
|
|
132
126
|
if (updateFicoRequirements(range, program) === false) {
|
|
133
127
|
ctx.addIssue({
|
|
@@ -166,7 +160,6 @@ const BuyDownCalculator = ({
|
|
|
166
160
|
}
|
|
167
161
|
}, [watchedFields]);
|
|
168
162
|
const calculator_variant = getVariant(variant);
|
|
169
|
-
const enableDependentInputs = enableFullTimeCharter;
|
|
170
163
|
const formatToNumber = (value) => {
|
|
171
164
|
const cleanValue = value.replace(/[%$, ]/gi, "");
|
|
172
165
|
return parseFloat(cleanValue);
|
|
@@ -189,7 +182,7 @@ const BuyDownCalculator = ({
|
|
|
189
182
|
const percentage = downpayment / purchasePrice * 100;
|
|
190
183
|
const loanToValue2 = 100 - percentage;
|
|
191
184
|
if (loanToValue2 <= 60) return false;
|
|
192
|
-
|
|
185
|
+
return true;
|
|
193
186
|
};
|
|
194
187
|
const getRange = (financedAmount2, program, forRates) => {
|
|
195
188
|
let range = "";
|
|
@@ -358,23 +351,34 @@ const BuyDownCalculator = ({
|
|
|
358
351
|
}
|
|
359
352
|
return rate;
|
|
360
353
|
};
|
|
361
|
-
const calculateAdjustments = () => {
|
|
354
|
+
const calculateAdjustments = (purchasePrice, downpayment) => {
|
|
362
355
|
let total = 0;
|
|
363
356
|
const checkboxes = document.querySelectorAll(
|
|
364
|
-
'input[type="checkbox"]:checked
|
|
357
|
+
'input[type="checkbox"]:checked'
|
|
365
358
|
);
|
|
366
359
|
checkboxes.forEach((checkbox) => {
|
|
367
360
|
total += parseFloat(checkbox.value);
|
|
368
361
|
});
|
|
362
|
+
if (purchasePrice && downpayment && purchasePrice > 0 && downpayment >= 0) {
|
|
363
|
+
const ltvStatus = checkLTVStatus(downpayment, purchasePrice);
|
|
364
|
+
if (!ltvStatus) {
|
|
365
|
+
total += -0.35;
|
|
366
|
+
setLtvDiscountApplied(true);
|
|
367
|
+
} else {
|
|
368
|
+
setLtvDiscountApplied(false);
|
|
369
|
+
}
|
|
370
|
+
} else {
|
|
371
|
+
setLtvDiscountApplied(false);
|
|
372
|
+
}
|
|
369
373
|
return total;
|
|
370
374
|
};
|
|
371
|
-
const calculateRates = (program, fico, financedAmount2, buydownRate) => {
|
|
375
|
+
const calculateRates = (program, fico, financedAmount2, buydownRate, purchasePrice, downpayment) => {
|
|
372
376
|
const minRate = 6.94;
|
|
373
377
|
const loanRange2 = getRange(financedAmount2, program, true);
|
|
374
378
|
const startingRate = parseFloat(
|
|
375
379
|
getInterestRate(program, fico, loanRange2).replace(/[%,]/g, "")
|
|
376
380
|
);
|
|
377
|
-
const rateAdjustments = calculateAdjustments();
|
|
381
|
+
const rateAdjustments = calculateAdjustments(purchasePrice, downpayment);
|
|
378
382
|
const adjustedRate = startingRate + rateAdjustments;
|
|
379
383
|
const finalNoteRateValue = Math.max(minRate, adjustedRate);
|
|
380
384
|
const finalNoteRate2 = formatToPercentage(finalNoteRateValue);
|
|
@@ -419,7 +423,7 @@ const BuyDownCalculator = ({
|
|
|
419
423
|
};
|
|
420
424
|
const calculatePMT = (annualRate, totalPeriods, financedAmount2) => {
|
|
421
425
|
const monthlyRate = annualRate / 100 / 12;
|
|
422
|
-
const payment = financedAmount2 * monthlyRate / (1 - Math.pow(1 + monthlyRate, -
|
|
426
|
+
const payment = financedAmount2 * monthlyRate / (1 - Math.pow(1 + monthlyRate, -totalPeriods));
|
|
423
427
|
return payment;
|
|
424
428
|
};
|
|
425
429
|
const totalInterestByYear = (annualRate, totalPeriods, financedAmount2, years) => {
|
|
@@ -469,13 +473,19 @@ const BuyDownCalculator = ({
|
|
|
469
473
|
setManuContributionPercentage(percentage);
|
|
470
474
|
return manufacturerContribution;
|
|
471
475
|
};
|
|
472
|
-
const calculateDealerContributionAmount = (dealerContribution, totalBuydownCost2) => {
|
|
473
|
-
|
|
476
|
+
const calculateDealerContributionAmount = (dealerContribution, manufacturerContributionAmount, totalBuydownCost2) => {
|
|
477
|
+
let dealerContributionValue;
|
|
478
|
+
if (dealerContribution > 0) {
|
|
479
|
+
dealerContributionValue = totalBuydownCost2 * (dealerContribution / 100);
|
|
480
|
+
} else {
|
|
481
|
+
dealerContributionValue = totalBuydownCost2 - manufacturerContributionAmount;
|
|
482
|
+
}
|
|
474
483
|
const formattedAmount = formatToCurrency(dealerContributionValue);
|
|
475
484
|
setDealerContributionAmount(formattedAmount);
|
|
476
485
|
};
|
|
477
486
|
const onSubmit = (data) => {
|
|
478
487
|
if (isValid) {
|
|
488
|
+
setLtvDiscountApplied(false);
|
|
479
489
|
const {
|
|
480
490
|
buydownRate,
|
|
481
491
|
buydownTerm,
|
|
@@ -495,7 +505,9 @@ const BuyDownCalculator = ({
|
|
|
495
505
|
program,
|
|
496
506
|
fico,
|
|
497
507
|
financedAmountValue,
|
|
498
|
-
buydownRate
|
|
508
|
+
buydownRate,
|
|
509
|
+
purchasePrice,
|
|
510
|
+
downpayment
|
|
499
511
|
);
|
|
500
512
|
const buydownPayment2 = calculateBuydownPayment(
|
|
501
513
|
buydownRate,
|
|
@@ -517,7 +529,11 @@ const BuyDownCalculator = ({
|
|
|
517
529
|
manufacturerContributionAmount,
|
|
518
530
|
totalBuydownCost2
|
|
519
531
|
);
|
|
520
|
-
calculateDealerContributionAmount(
|
|
532
|
+
calculateDealerContributionAmount(
|
|
533
|
+
dealerContribution,
|
|
534
|
+
manufacturerContributionAmount,
|
|
535
|
+
totalBuydownCost2
|
|
536
|
+
);
|
|
521
537
|
}
|
|
522
538
|
};
|
|
523
539
|
return /* @__PURE__ */ jsxs("section", { className: `${calc_container({ variant: calculator_variant })}`, children: [
|
|
@@ -689,7 +705,7 @@ const BuyDownCalculator = ({
|
|
|
689
705
|
required: true,
|
|
690
706
|
deps: ["program"]
|
|
691
707
|
}),
|
|
692
|
-
label: "Buydown Term
|
|
708
|
+
label: "Buydown Term",
|
|
693
709
|
sizes: "medium",
|
|
694
710
|
required: true,
|
|
695
711
|
error: !!errors.buydownTerm,
|
|
@@ -700,56 +716,57 @@ const BuyDownCalculator = ({
|
|
|
700
716
|
children: BuydownTerm.map((item) => /* @__PURE__ */ jsx("option", { value: item.value, children: item.text }, item.value))
|
|
701
717
|
}
|
|
702
718
|
) }) }),
|
|
703
|
-
/* @__PURE__ */ jsx("div", { className: `${row_form}`, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("label", { children: "Loan Level Rate Adjustments" }) }) }),
|
|
719
|
+
/* @__PURE__ */ jsx("div", { className: `${row_form}`, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("label", { children: "Loan Level Rate Adjustments. Rate Adjustments are subject to change, are limited, and restricted by floor rate." }) }) }),
|
|
704
720
|
/* @__PURE__ */ jsxs("div", { className: `${row_form}`, children: [
|
|
705
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { className: row_form, children: /* @__PURE__ */ jsxs(
|
|
706
|
-
RadioButtonSet,
|
|
707
|
-
{
|
|
708
|
-
id: "dependentInputs",
|
|
709
|
-
label: "Limit One",
|
|
710
|
-
sizes: "medium",
|
|
711
|
-
variant,
|
|
712
|
-
direction: "column",
|
|
713
|
-
disabled: !enableDependentInputs,
|
|
714
|
-
className: limit_one,
|
|
715
|
-
children: [
|
|
716
|
-
/* @__PURE__ */ jsx(
|
|
717
|
-
RadioButton,
|
|
718
|
-
{
|
|
719
|
-
id: "mooringOutsideContinentalUS",
|
|
720
|
-
...register("mooringOutsideContinentalUS"),
|
|
721
|
-
value: 0.5,
|
|
722
|
-
radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\r\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\r\n +0.500",
|
|
723
|
-
groupName: "dependentInputs",
|
|
724
|
-
disabled: disableMooringOutside
|
|
725
|
-
}
|
|
726
|
-
),
|
|
727
|
-
/* @__PURE__ */ jsx(
|
|
728
|
-
RadioButton,
|
|
729
|
-
{
|
|
730
|
-
id: "operatingAccount",
|
|
731
|
-
...register("operatingAccount"),
|
|
732
|
-
value: -0.25,
|
|
733
|
-
radioText: "Open and fund an LLC Operating Account with Axos - 0.25",
|
|
734
|
-
groupName: "dependentInputs"
|
|
735
|
-
}
|
|
736
|
-
)
|
|
737
|
-
]
|
|
738
|
-
}
|
|
739
|
-
) }) }),
|
|
740
721
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
741
|
-
/* @__PURE__ */ jsx("div", {
|
|
722
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
723
|
+
Checkbox,
|
|
724
|
+
{
|
|
725
|
+
id: "mooringOutsideContinentalUS",
|
|
726
|
+
...register("mooringOutsideContinentalUS"),
|
|
727
|
+
sizes: "medium",
|
|
728
|
+
variant: calculator_variant,
|
|
729
|
+
value: 0.5,
|
|
730
|
+
disabled: !enableFullTimeCharter || disableMooringOutside,
|
|
731
|
+
children: "Mooring Outside Continental U.S. (Includes Puerto Rico, Hawaii, and Alaska) (Does not apply to Full Time Charter) +0.500"
|
|
732
|
+
}
|
|
733
|
+
) }),
|
|
734
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
735
|
+
Checkbox,
|
|
736
|
+
{
|
|
737
|
+
id: "operatingAccount",
|
|
738
|
+
...register("operatingAccount"),
|
|
739
|
+
sizes: "medium",
|
|
740
|
+
variant: calculator_variant,
|
|
741
|
+
value: -0.25,
|
|
742
|
+
disabled: !enableFullTimeCharter,
|
|
743
|
+
children: "Open and fund an LLC Operating Account with Axos - 0.25"
|
|
744
|
+
}
|
|
745
|
+
) }),
|
|
746
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
742
747
|
Checkbox,
|
|
743
748
|
{
|
|
744
|
-
id: "
|
|
745
|
-
...register("
|
|
749
|
+
id: "vesselOver15Years",
|
|
750
|
+
...register("vesselOver15Years"),
|
|
746
751
|
sizes: "medium",
|
|
747
|
-
variant,
|
|
748
|
-
value:
|
|
749
|
-
|
|
750
|
-
children: "LTV ≤ 60% (If not required by program) -0.350"
|
|
752
|
+
variant: calculator_variant,
|
|
753
|
+
value: 1.25,
|
|
754
|
+
children: "Vessel > 15 Years +1.250"
|
|
751
755
|
}
|
|
752
756
|
) }),
|
|
757
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
758
|
+
Checkbox,
|
|
759
|
+
{
|
|
760
|
+
id: "highPerformanceBoats",
|
|
761
|
+
...register("highPerformanceBoats"),
|
|
762
|
+
sizes: "medium",
|
|
763
|
+
variant: calculator_variant,
|
|
764
|
+
value: 0.5,
|
|
765
|
+
children: "High Performance Boats (>4 Engines) +0.500"
|
|
766
|
+
}
|
|
767
|
+
) })
|
|
768
|
+
] }),
|
|
769
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
753
770
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
754
771
|
Checkbox,
|
|
755
772
|
{
|
|
@@ -758,7 +775,29 @@ const BuyDownCalculator = ({
|
|
|
758
775
|
sizes: "medium",
|
|
759
776
|
variant: calculator_variant,
|
|
760
777
|
value: -0.125,
|
|
761
|
-
children: "
|
|
778
|
+
children: "Floor Plan Dealer Incentive -0.125"
|
|
779
|
+
}
|
|
780
|
+
) }),
|
|
781
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
782
|
+
Checkbox,
|
|
783
|
+
{
|
|
784
|
+
id: "retailCheckingAccount",
|
|
785
|
+
...register("retailCheckingAccount"),
|
|
786
|
+
sizes: "medium",
|
|
787
|
+
variant: calculator_variant,
|
|
788
|
+
value: -0.125,
|
|
789
|
+
children: "Retail Checking Account w/ACH and Minimum of 3 Months P&I Balance -0.125"
|
|
790
|
+
}
|
|
791
|
+
) }),
|
|
792
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
793
|
+
Checkbox,
|
|
794
|
+
{
|
|
795
|
+
id: "electricMotorHybrid",
|
|
796
|
+
...register("electricMotorHybrid"),
|
|
797
|
+
sizes: "medium",
|
|
798
|
+
variant: calculator_variant,
|
|
799
|
+
value: -0.25,
|
|
800
|
+
children: "100% Electric Motor / Hybrid -0.250"
|
|
762
801
|
}
|
|
763
802
|
) }),
|
|
764
803
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
@@ -853,7 +892,8 @@ const BuyDownCalculator = ({
|
|
|
853
892
|
label: "Final Note Rate",
|
|
854
893
|
disabled: true,
|
|
855
894
|
variant: calculator_variant,
|
|
856
|
-
value: finalNoteRate
|
|
895
|
+
value: finalNoteRate,
|
|
896
|
+
helperText: ltvDiscountApplied && "LTV discount applied"
|
|
857
897
|
}
|
|
858
898
|
) })
|
|
859
899
|
] }),
|
|
@@ -874,7 +914,7 @@ const BuyDownCalculator = ({
|
|
|
874
914
|
{
|
|
875
915
|
id: "buydownPayment",
|
|
876
916
|
sizes: "medium",
|
|
877
|
-
label: "
|
|
917
|
+
label: "Monthly payment WITH buydown",
|
|
878
918
|
disabled: true,
|
|
879
919
|
variant: calculator_variant,
|
|
880
920
|
value: buydownPayment
|
|
@@ -887,7 +927,7 @@ const BuyDownCalculator = ({
|
|
|
887
927
|
{
|
|
888
928
|
id: "nonBuydownPayment",
|
|
889
929
|
sizes: "medium",
|
|
890
|
-
label: "
|
|
930
|
+
label: "Monthly Payment WITHOUT buydown",
|
|
891
931
|
disabled: true,
|
|
892
932
|
variant: calculator_variant,
|
|
893
933
|
value: nonBuydownPayment
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IconBillboardProps } from '../IconBillboard/IconBillboard.interface';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
3
4
|
|
|
4
5
|
export interface CalculatorProps {
|
|
5
6
|
id?: string;
|
|
@@ -11,5 +12,7 @@ export interface CalculatorProps {
|
|
|
11
12
|
bodyCopy?: React.ReactNode;
|
|
12
13
|
disclosure?: React.ReactNode;
|
|
13
14
|
marketingTiles?: IconBillboardProps[];
|
|
15
|
+
initialBalance?: number;
|
|
16
|
+
callToActionRow?: ChevronProps[];
|
|
14
17
|
}
|
|
15
18
|
export declare const Calculator: (props: CalculatorProps) => import("react/jsx-runtime").JSX.Element;
|