@axos-web-dev/shared-components 2.0.0-dev.14 → 2.0.0-dev.16
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 +4 -4
- package/dist/AlertBanner/AlertBanner.css.js +1 -1
- package/dist/AlertBanner/index.js +2 -2
- package/dist/Article/Article.css.d.ts +40 -40
- package/dist/Article/Article.css.js +1 -1
- package/dist/Article/Article.js +1 -1
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +20 -20
- 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/AnnualFeeCalculator/index.js +1 -1
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +12 -12
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +1 -1
- package/dist/Calculators/ApyCalculator/index.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 +20 -20
- 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 +4 -4
- 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/MonthlyPaymentLVFCalculator/index.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 +24 -24
- package/dist/Carousel/Carousel.css.js +1 -1
- package/dist/Carousel/index.js +2 -2
- package/dist/Chatbot/AnimatedGradientBorder.css.d.ts +2 -2
- package/dist/Chatbot/AnimatedGradientBorder.css.js +1 -1
- package/dist/Chatbot/Bubble.css.js +1 -1
- package/dist/Chatbot/Bubble.js +1 -1
- package/dist/Chatbot/ChatWindow.css.js +1 -1
- package/dist/Chatbot/ChatWindow.js +26 -20
- package/dist/Chatbot/Chatbot.css.js +1 -1
- package/dist/Chatbot/Chatbot.js +19 -17
- package/dist/Chatbot/ChatbotMessage.js +2 -2
- package/dist/Chatbot/ThankYouMessage.js +2 -2
- package/dist/Chevron/Chevron.css.d.ts +4 -4
- 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/ContentBanner/index.js +1 -1
- package/dist/DownloadTile/DownloadTile.css.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +73 -73
- package/dist/ExecutiveBio/ExecutiveBio.css.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +2 -2
- package/dist/ExecutiveBio/ExecutiveBioSet.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/FooterDisclosure.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 +19 -1
- package/dist/Forms/ApplicationStart.js +2 -2
- package/dist/Forms/ApplyNow.js +2 -2
- package/dist/Forms/BoatMooringLocation.js +2 -2
- package/dist/Forms/ClearingForm.js +2 -2
- package/dist/Forms/CommercialDeposits.js +2 -2
- package/dist/Forms/CommercialDepositsNoLendingOption.js +2 -2
- package/dist/Forms/CommercialLending.js +2 -2
- package/dist/Forms/CommercialPremiumFinance.js +2 -2
- package/dist/Forms/ConstructionLendingDynamic.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 +44 -44
- package/dist/Forms/Forms.css.js +1 -1
- 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/MortgageWarehouseLending.js +2 -2
- package/dist/Forms/QuickPricer/QuickPricerForm.js +3 -3
- 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/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 +3 -3
- package/dist/HeroBanner/LargeBanner.css.d.ts +36 -36
- package/dist/HeroBanner/LargeBanner.css.js +1 -1
- package/dist/HeroBanner/LargeHeroBanner.js +3 -3
- package/dist/HeroBanner/SelectionBanner.css.d.ts +4 -4
- package/dist/HeroBanner/SelectionBanner.css.js +1 -1
- package/dist/Hyperlink/Hyperlink.css.d.ts +4 -4
- package/dist/Hyperlink/Hyperlink.css.js +1 -1
- package/dist/Hyperlink/index.js +1 -1
- package/dist/IconBillboard/IconBillboard.css.d.ts +22 -22
- package/dist/IconBillboard/IconBillboard.css.js +1 -1
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/IconBillboard/IconBillboardSet.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +16 -16
- package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.js +2 -2
- 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/Checkbox.js +2 -2
- package/dist/Input/DownPaymentInput.js +1 -1
- package/dist/Input/Dropdown.css.js +1 -1
- package/dist/Input/Dropdown.js +1 -1
- package/dist/Input/Input.css.d.ts +16 -16
- package/dist/Input/Input.css.js +1 -1
- package/dist/Input/Input.js +1 -1
- package/dist/Input/InputTextArea.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 +3 -3
- 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 +8 -8
- package/dist/LandingPageHeader/LandingPageHeader.css.js +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.js +2 -2
- 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/NavigationMenu/AxosALTS/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavBar.module.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.js +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -0
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +3 -0
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +10 -1
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/index.js +10 -2
- 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/index.js +1 -1
- package/dist/NavigationMenu/Navbar.js +1 -1
- package/dist/NavigationMenu/SignInNavButton.js +1 -1
- package/dist/PageNavItem/PageNavItem.css.d.ts +4 -4
- package/dist/PageNavItem/PageNavItem.css.js +1 -1
- package/dist/PageNavItem/PageNavItem.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 +20 -20
- package/dist/StepItem/StepItem.css.js +1 -1
- package/dist/StepItem/StepItem.js +1 -1
- package/dist/StepItemSet/StepItemSet.css.d.ts +12 -12
- package/dist/StepItemSet/StepItemSet.css.js +1 -1
- package/dist/StepItemSet/StepItemSet.js +2 -2
- package/dist/Tab/Tab.css.d.ts +12 -12
- package/dist/Tab/Tab.css.js +1 -1
- package/dist/Table/Table.css.d.ts +26 -26
- 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/Topic/Topic.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/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -353
- 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/themes/axos.css.d.ts +50 -50
- package/dist/themes/axos.css.js +1 -1
- package/dist/themes/premier.css.js +1 -1
- package/dist/themes/ufb.css.js +1 -1
- package/dist/themes/victorie.css.js +1 -1
- package/dist/utils/optimizeImage/optimizeImage.module.js +1 -1
- package/package.json +148 -148
|
@@ -15,32 +15,32 @@ export declare const summit_calc_text: string;
|
|
|
15
15
|
export declare const summit_description_text: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
16
16
|
variant: {
|
|
17
17
|
primary: {
|
|
18
|
-
color: `var(--${string})`;
|
|
18
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
19
19
|
};
|
|
20
20
|
secondary: {
|
|
21
|
-
color: `var(--${string})`;
|
|
21
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
22
22
|
};
|
|
23
23
|
tertiary: {
|
|
24
|
-
color: `var(--${string})`;
|
|
24
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
25
25
|
};
|
|
26
26
|
quaternary: {
|
|
27
|
-
color: `var(--${string})`;
|
|
27
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
}>;
|
|
31
31
|
export declare const summit_calc_disclosure: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
32
32
|
variant: {
|
|
33
33
|
primary: {
|
|
34
|
-
color: `var(--${string})`;
|
|
34
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
35
|
};
|
|
36
36
|
secondary: {
|
|
37
|
-
color: `var(--${string})`;
|
|
37
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
38
38
|
};
|
|
39
39
|
tertiary: {
|
|
40
|
-
color: `var(--${string})`;
|
|
40
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
41
41
|
};
|
|
42
42
|
quaternary: {
|
|
43
|
-
color: `var(--${string})`;
|
|
43
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
}>;
|
|
@@ -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 */
|
|
@@ -19,7 +19,7 @@ import { headerCell } from "../../Table/Table.css.js";
|
|
|
19
19
|
import { getVariant } from "../../utils/getVariant.js";
|
|
20
20
|
import { useGlobalContext } from "../../Modal/contextApi/store.js";
|
|
21
21
|
import clsx from "clsx";
|
|
22
|
-
import { summit_container, summit_calc_icon, summit_header_container, summit_header_calc, summit_calc_text, summit_description_text, summit_calculator_wrapper, summit_input_container, summit_input_label, summit_d_label, summit_m_label, summit_calculator_input, summit_calculator_button, focus_row,
|
|
22
|
+
import { summit_container, summit_calc_icon, summit_header_container, summit_header_calc, summit_calc_text, summit_description_text, summit_table_container, summit_calculator_wrapper, summit_input_container, summit_input_label, summit_d_label, summit_m_label, summit_calculator_input, summit_calculator_button, focus_row, summit_calc_disclosure } from "./BalanceAPYCalculator.css.js";
|
|
23
23
|
const SummitApyCalculator = ({
|
|
24
24
|
headline,
|
|
25
25
|
bodyCopy,
|
|
@@ -2,36 +2,36 @@ export declare const calculator: string;
|
|
|
2
2
|
export declare const calculator_description: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
3
|
variant: {
|
|
4
4
|
primary: {
|
|
5
|
-
background: `var(--${string})`;
|
|
6
|
-
color: `var(--${string})`;
|
|
5
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
6
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7
7
|
};
|
|
8
8
|
secondary: {
|
|
9
|
-
background: `var(--${string})`;
|
|
10
|
-
color: `var(--${string})`;
|
|
9
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
10
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
11
11
|
};
|
|
12
12
|
tertiary: {
|
|
13
|
-
background: `var(--${string})`;
|
|
14
|
-
color: `var(--${string})`;
|
|
13
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
15
15
|
};
|
|
16
16
|
quaternary: {
|
|
17
|
-
background: `var(--${string})`;
|
|
18
|
-
color: `var(--${string})`;
|
|
17
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
}>;
|
|
22
22
|
export declare const calculator_headline: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
23
23
|
variant: {
|
|
24
24
|
primary: {
|
|
25
|
-
color: `var(--${string})`;
|
|
25
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
26
26
|
};
|
|
27
27
|
secondary: {
|
|
28
|
-
color: `var(--${string})`;
|
|
28
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
29
29
|
};
|
|
30
30
|
tertiary: {
|
|
31
|
-
color: `var(--${string})`;
|
|
31
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
32
32
|
};
|
|
33
33
|
quaternary: {
|
|
34
|
-
color: `var(--${string})`;
|
|
34
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -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 { Chevron } from "../Chevron/index.js";
|
|
|
8
8
|
import { getVariant } from "../utils/getVariant.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { getBannerSizeClassName } from "../utils/ctaOptions.js";
|
|
11
|
-
import { sticky_banner, is_sticky, cta, cta_image_section, cta_image_section_overlap, cta_image_overlap, cta_large_image,
|
|
11
|
+
import { sticky_banner, is_sticky, cta, cta_containment, cta_image_section, cta_image_section_overlap, cta_image_overlap, cta_large_image, cta_body_section, cta_text, cta_h2, ctas_section } from "./CallToActionBar.css.js";
|
|
12
12
|
const CallToActionBar = ({
|
|
13
13
|
bannerSize,
|
|
14
14
|
image,
|
|
@@ -5,53 +5,53 @@ export declare const dots: string;
|
|
|
5
5
|
export declare const headerCarousel: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
6
6
|
variant: {
|
|
7
7
|
primary: {
|
|
8
|
-
color: `var(--${string})`;
|
|
8
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
9
|
};
|
|
10
10
|
secondary: {
|
|
11
|
-
color: `var(--${string})`;
|
|
11
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
12
12
|
};
|
|
13
13
|
tertiary: {
|
|
14
|
-
color: `var(--${string})`;
|
|
14
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
15
15
|
};
|
|
16
16
|
quaternary: {
|
|
17
|
-
color: `var(--${string})`;
|
|
17
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
}>;
|
|
21
21
|
export declare const carousel: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
22
22
|
variant: {
|
|
23
23
|
primary: {
|
|
24
|
-
background: `var(--${string})`;
|
|
24
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
25
25
|
border: "1px solid #E9EBEF";
|
|
26
|
-
color: `var(--${string})`;
|
|
26
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
27
|
};
|
|
28
28
|
secondary: {
|
|
29
|
-
background: `var(--${string})`;
|
|
30
|
-
color: `var(--${string})`;
|
|
29
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
30
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
31
31
|
};
|
|
32
32
|
tertiary: {
|
|
33
|
-
background: `var(--${string})`;
|
|
34
|
-
color: `var(--${string})`;
|
|
33
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
34
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
35
|
};
|
|
36
36
|
quaternary: {
|
|
37
|
-
background: `var(--${string})`;
|
|
38
|
-
color: `var(--${string})`;
|
|
37
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
38
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
}>;
|
|
42
42
|
export declare const descriptionCarousel: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
43
43
|
variant: {
|
|
44
44
|
primary: {
|
|
45
|
-
color: `var(--${string})`;
|
|
45
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
46
46
|
};
|
|
47
47
|
secondary: {
|
|
48
|
-
color: `var(--${string})`;
|
|
48
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
49
49
|
};
|
|
50
50
|
tertiary: {
|
|
51
|
-
color: `var(--${string})`;
|
|
51
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
52
52
|
};
|
|
53
53
|
quaternary: {
|
|
54
|
-
color: `var(--${string})`;
|
|
54
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
}>;
|
|
@@ -59,16 +59,16 @@ export declare const authorLocation: string;
|
|
|
59
59
|
export declare const author: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
60
60
|
variant: {
|
|
61
61
|
primary: {
|
|
62
|
-
color: `var(--${string})`;
|
|
62
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
63
63
|
};
|
|
64
64
|
secondary: {
|
|
65
|
-
color: `var(--${string})`;
|
|
65
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
66
66
|
};
|
|
67
67
|
tertiary: {
|
|
68
|
-
color: `var(--${string})`;
|
|
68
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
69
69
|
};
|
|
70
70
|
quaternary: {
|
|
71
|
-
color: `var(--${string})`;
|
|
71
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
}>;
|
|
@@ -79,7 +79,7 @@ export declare const icon: import('@vanilla-extract/recipes').RuntimeFn<{}>;
|
|
|
79
79
|
export declare const dot: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
80
80
|
variant: {
|
|
81
81
|
primary: {
|
|
82
|
-
borderColor: `var(--${string})`;
|
|
82
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
83
83
|
selectors: {
|
|
84
84
|
"&:hover": {
|
|
85
85
|
background: "#87B9D7";
|
|
@@ -87,7 +87,7 @@ export declare const dot: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
secondary: {
|
|
90
|
-
borderColor: `var(--${string})`;
|
|
90
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
91
91
|
selectors: {
|
|
92
92
|
"&:hover": {
|
|
93
93
|
background: "#87B9D7";
|
|
@@ -95,7 +95,7 @@ export declare const dot: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
97
|
tertiary: {
|
|
98
|
-
borderColor: `var(--${string})`;
|
|
98
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
99
99
|
selectors: {
|
|
100
100
|
"&:hover": {
|
|
101
101
|
background: "#EBEBEB";
|
|
@@ -103,7 +103,7 @@ export declare const dot: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
quaternary: {
|
|
106
|
-
borderColor: `var(--${string})`;
|
|
106
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
107
107
|
selectors: {
|
|
108
108
|
"&:hover": {
|
|
109
109
|
background: "#EBEBEB";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
package/dist/Carousel/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
6
6
|
import { section_text } from "../IconBillboard/IconBillboard.css.js";
|
|
7
7
|
import "../icons/ArrowIcon/ArrowIcon.css.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 */
|
|
@@ -128,7 +128,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
128
128
|
/* empty css */
|
|
129
129
|
/* empty css */
|
|
130
130
|
/* empty css */
|
|
131
|
-
import { icon,
|
|
131
|
+
import { icon, slide, authorLocation, author, quoteSetContainer, headerCarousel, descriptionCarousel, carousel, slides, dots, dot } from "./Carousel.css.js";
|
|
132
132
|
import { useCarousel } from "./store.js";
|
|
133
133
|
const iconVarints = /* @__PURE__ */ new Map([
|
|
134
134
|
[
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const angle: `var(--${string})`;
|
|
2
|
-
export declare const offsetVar: `var(--${string})`;
|
|
1
|
+
export declare const angle: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
2
|
+
export declare const offsetVar: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3
3
|
export declare const gradientBorder: string;
|
|
4
4
|
export declare const gradientBorderUfb: string;
|
|
5
5
|
export declare const gradientFocus: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
package/dist/Chatbot/Bubble.js
CHANGED
|
@@ -4,7 +4,7 @@ import { vars } from "../themes/axos.css.js";
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { AnimatePresence, motion } from "framer-motion";
|
|
6
6
|
import { gradientBorder, gradientBorderUfb } from "./AnimatedGradientBorder.css.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bubbleWrapper, inner, bubbleButton, svgFill, bubbleText } from "./Bubble.css.js";
|
|
8
8
|
import { useOpenChat } from "./store/chat.js";
|
|
9
9
|
const Bubble = ({
|
|
10
10
|
children,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { vars } from "../themes/axos.css.js";
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
@@ -10,7 +10,7 @@ import React, { useRef, useEffect } from "react";
|
|
|
10
10
|
import { useNetworkState, useMount } from "react-use";
|
|
11
11
|
import { gradientFocus } from "./AnimatedGradientBorder.css.js";
|
|
12
12
|
import { ChatbotMessage } from "./ChatbotMessage.js";
|
|
13
|
-
import { windowBarStyle, left_bar_section, chat_title,
|
|
13
|
+
import { windowStyle, windowOpenStyle, windowBarStyle, left_bar_section, chat_title, buttonss_section, button_bar, chatbotMenu, chatbotMenuItem, chatEndDialogOverlay, chatFinishDialog, chatEndCircle, endChatButtonStyle, noAnswerButton, button_reset, arrowFill, chatNetworkStatus, messagesContainerStyle, shimmerText, inputStyle, autoResize, sendButtonStyle } from "./ChatWindow.css.js";
|
|
14
14
|
import { EllipsisIcon } from "./EllipsisIcon.js";
|
|
15
15
|
import { useOpenChat } from "./store/chat.js";
|
|
16
16
|
import { ThankYouMessage } from "./ThankYouMessage.js";
|
|
@@ -43,7 +43,8 @@ const ChatWindow = ({
|
|
|
43
43
|
toggleThankyouMessage,
|
|
44
44
|
hasEscalated,
|
|
45
45
|
isBlockedInput,
|
|
46
|
-
isOpen
|
|
46
|
+
isOpen,
|
|
47
|
+
hasOpenedOnce
|
|
47
48
|
} = useOpenChat();
|
|
48
49
|
const [mounted, setMounted] = React.useState(false);
|
|
49
50
|
const [menuOpen, setMenuOpen] = React.useState(false);
|
|
@@ -398,7 +399,7 @@ const ChatWindow = ({
|
|
|
398
399
|
}
|
|
399
400
|
) }) : null,
|
|
400
401
|
/* @__PURE__ */ jsxs("div", { className: clsx(messagesContainerStyle), children: [
|
|
401
|
-
(status === "idle" || messages.length == 0) && /* @__PURE__ */ jsx(
|
|
402
|
+
(status === "idle" && messages.length == 0 || messages.length == 0) && /* @__PURE__ */ jsx(
|
|
402
403
|
"div",
|
|
403
404
|
{
|
|
404
405
|
className: clsx(),
|
|
@@ -425,23 +426,28 @@ const ChatWindow = ({
|
|
|
425
426
|
)
|
|
426
427
|
}
|
|
427
428
|
),
|
|
428
|
-
messages?.map((msg) =>
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
429
|
+
messages?.map((msg) => {
|
|
430
|
+
if (!hasOpenedOnce) {
|
|
431
|
+
return null;
|
|
432
|
+
}
|
|
433
|
+
return /* @__PURE__ */ jsx(
|
|
434
|
+
ChatbotMessage,
|
|
435
|
+
{
|
|
436
|
+
msg,
|
|
437
|
+
onSend,
|
|
438
|
+
showAvatar,
|
|
439
|
+
showName,
|
|
440
|
+
virtualAgent,
|
|
441
|
+
onCancelEndChat,
|
|
442
|
+
onEndChat: () => {
|
|
443
|
+
endChat();
|
|
444
|
+
onCloseAfterThankYou();
|
|
445
|
+
},
|
|
446
|
+
inputRef
|
|
440
447
|
},
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
)),
|
|
448
|
+
msg?.$index
|
|
449
|
+
);
|
|
450
|
+
}),
|
|
445
451
|
showReconnect && /* @__PURE__ */ jsx(
|
|
446
452
|
"button",
|
|
447
453
|
{
|
package/dist/Chatbot/Chatbot.js
CHANGED
|
@@ -39,13 +39,11 @@ const Chatbot = ({
|
|
|
39
39
|
const clientRef = useRef(null);
|
|
40
40
|
const menuRef = useRef(null);
|
|
41
41
|
const isMountedRef = useRef(false);
|
|
42
|
-
const hasLoadedBefore = useRef(true);
|
|
43
42
|
const chatRef = useRef(null);
|
|
44
43
|
const agent_virtual = useRef(null);
|
|
45
44
|
const [status, setStatus] = useState("idle");
|
|
46
45
|
const [hasStarted, setHasStarted] = useState(false);
|
|
47
46
|
const [menusLoaded, setMenusLoaded] = useState(false);
|
|
48
|
-
const [pendingStart, setPendingStart] = useState(false);
|
|
49
47
|
const [isTyping, setIsTyping] = useState(false);
|
|
50
48
|
const [scalationStarted, setScalationStarted] = useState(false);
|
|
51
49
|
useEffect(() => {
|
|
@@ -100,6 +98,9 @@ const Chatbot = ({
|
|
|
100
98
|
menuRef.current = await clientRef.current.getMenus();
|
|
101
99
|
setMenusLoaded(true);
|
|
102
100
|
console.log("menus:", menuRef.current);
|
|
101
|
+
if (menuRef.current !== null) {
|
|
102
|
+
await startChat();
|
|
103
|
+
}
|
|
103
104
|
}
|
|
104
105
|
};
|
|
105
106
|
const onAuthenticatedHandler = async () => {
|
|
@@ -260,9 +261,10 @@ const Chatbot = ({
|
|
|
260
261
|
return;
|
|
261
262
|
};
|
|
262
263
|
const startChat = async () => {
|
|
263
|
-
console.log("Starting chat");
|
|
264
|
+
console.log("Starting chat", chatRef.current);
|
|
264
265
|
const client = clientRef.current;
|
|
265
266
|
if (!client) return;
|
|
267
|
+
if (hasStarted) return;
|
|
266
268
|
if (!menuRef.current || !menuRef.current.menus) {
|
|
267
269
|
let waited = 0;
|
|
268
270
|
while ((!menuRef.current || !menuRef.current.menus) && waited < 5e3) {
|
|
@@ -275,19 +277,26 @@ const Chatbot = ({
|
|
|
275
277
|
}
|
|
276
278
|
}
|
|
277
279
|
try {
|
|
280
|
+
console.log("menus: ->", menuRef.current);
|
|
278
281
|
const ongoingChat = await client.loadOngoingChat();
|
|
282
|
+
console.log("theres a ongoing chat?: -->", ongoingChat);
|
|
279
283
|
if (ongoingChat) {
|
|
280
284
|
console.log("Ongoing chat found:", ongoingChat);
|
|
281
285
|
console.log("Resuming chat:", ongoingChat.id);
|
|
282
|
-
chatRef.current =
|
|
286
|
+
chatRef.current = ongoingChat;
|
|
283
287
|
agent_virtual.current = ongoingChat.agent;
|
|
284
288
|
return;
|
|
285
289
|
}
|
|
290
|
+
console.log("not ongoing chat ");
|
|
291
|
+
console.log(!!ongoingChat);
|
|
286
292
|
const foundMenu = menuRef.current.menus.find(
|
|
287
293
|
(menu) => menu.name === menuOption
|
|
288
294
|
);
|
|
289
295
|
const menuId = foundMenu && foundMenu.id;
|
|
290
296
|
console.log("Creating new chat with menu ID:", menuId);
|
|
297
|
+
if (!foundMenu) {
|
|
298
|
+
throw new Error("Menu not found: " + menuOption);
|
|
299
|
+
}
|
|
291
300
|
const newChat = await client.createChat(menuId, { custom_data });
|
|
292
301
|
if (newChat !== null) {
|
|
293
302
|
chatRef.current = newChat;
|
|
@@ -297,6 +306,7 @@ const Chatbot = ({
|
|
|
297
306
|
} catch (err) {
|
|
298
307
|
console.error("Error creating chat:", err);
|
|
299
308
|
} finally {
|
|
309
|
+
setHasStarted(true);
|
|
300
310
|
if (clientRef?.current?.chat?.state?.status == "va_assigned") {
|
|
301
311
|
const OriginalAudio = window.Audio;
|
|
302
312
|
class PatchedAudio extends OriginalAudio {
|
|
@@ -312,10 +322,6 @@ const Chatbot = ({
|
|
|
312
322
|
const handleClick = async () => {
|
|
313
323
|
toggle();
|
|
314
324
|
if (hasStarted) return;
|
|
315
|
-
if (!menusLoaded) {
|
|
316
|
-
setPendingStart(true);
|
|
317
|
-
return;
|
|
318
|
-
}
|
|
319
325
|
if (!hasOpenedOnce) {
|
|
320
326
|
await startChat();
|
|
321
327
|
setHasStarted(true);
|
|
@@ -356,17 +362,9 @@ const Chatbot = ({
|
|
|
356
362
|
isMountedRef.current = true;
|
|
357
363
|
await createClient();
|
|
358
364
|
});
|
|
359
|
-
useEffect(() => {
|
|
360
|
-
if (menusLoaded && pendingStart && !hasStarted) {
|
|
361
|
-
startChat();
|
|
362
|
-
setPendingStart(false);
|
|
363
|
-
}
|
|
364
|
-
}, [menusLoaded, pendingStart, hasStarted]);
|
|
365
365
|
useUnmount(() => {
|
|
366
366
|
console.log("Chatbot unmounted");
|
|
367
367
|
deregisterEventHandlers();
|
|
368
|
-
isMountedRef.current = false;
|
|
369
|
-
hasLoadedBefore.current = true;
|
|
370
368
|
reset();
|
|
371
369
|
setHasStarted(false);
|
|
372
370
|
setStatus("idle");
|
|
@@ -379,9 +377,13 @@ const Chatbot = ({
|
|
|
379
377
|
const onClose = () => {
|
|
380
378
|
toggle();
|
|
381
379
|
};
|
|
382
|
-
const
|
|
380
|
+
const newChatSession = async () => {
|
|
381
|
+
console.log("create new session");
|
|
382
|
+
};
|
|
383
|
+
const onCloseAfterThankYou = async () => {
|
|
383
384
|
reset();
|
|
384
385
|
setHasStarted(false);
|
|
386
|
+
newChatSession();
|
|
385
387
|
};
|
|
386
388
|
const onPreviewTyping = async (msg) => {
|
|
387
389
|
console.log("Preview typing message:", msg);
|
|
@@ -4,12 +4,12 @@ import { useState, useEffect } from "react";
|
|
|
4
4
|
import ReactMarkdown from "react-markdown";
|
|
5
5
|
import remarkGfm from "remark-gfm";
|
|
6
6
|
import { vars } from "../themes/axos.css.js";
|
|
7
|
-
|
|
7
|
+
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import clsx from "clsx";
|
|
12
|
-
import { shimmerText, notificationStyle,
|
|
12
|
+
import { shimmerText, notificationStyle, messageStyle, user_msg, agent_msg, tableMsg, tableHead, tableCell, trMortgageTable, inline_button_wrapper, inline_button, endChatButtonStyle } from "./ChatWindow.css.js";
|
|
13
13
|
import { useOpenChat } from "./store/chat.js";
|
|
14
14
|
function timeAgo(date) {
|
|
15
15
|
const seconds = Math.floor(((/* @__PURE__ */ new Date()).getTime() - date.getTime()) / 1e3);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { vars } from "../themes/axos.css.js";
|
|
3
|
-
|
|
3
|
+
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
|
-
import {
|
|
8
|
+
import { chatEndDialogOverlay, thankyou_overlay, chatFinishDialog, thankyou_message, thankyou_image, endChatButtonStyle, noAnswerButton } from "./ChatWindow.css.js";
|
|
9
9
|
const ThankYouMessage = ({
|
|
10
10
|
showEndChatDialog = false,
|
|
11
11
|
onClose,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const chevron: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
2
|
variant: {
|
|
3
3
|
primary: {
|
|
4
|
-
color: `var(--${string})`;
|
|
4
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
5
5
|
selectors: {
|
|
6
6
|
"&:hover": {
|
|
7
7
|
textDecoration: "underline";
|
|
8
|
-
textDecorationColor: `var(--${string})`;
|
|
8
|
+
textDecorationColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
secondary: {
|
|
13
|
-
color: `var(--${string})`;
|
|
13
|
+
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
14
14
|
selectors: {
|
|
15
15
|
"&:hover": {
|
|
16
16
|
textDecoration: "underline";
|
|
17
|
-
textDecorationColor: `var(--${string})`;
|
|
17
|
+
textDecorationColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|