@axos-web-dev/shared-components 2.0.0-dev.9-fixdependencies → 2.0.0-dev.login

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/README.md +111 -111
  2. package/dist/ATMLocator/ATMLocator.d.ts +1 -1
  3. package/dist/ATMLocator/ATMLocator.js +13 -8
  4. package/dist/Accordion/Accordion.d.ts +3 -3
  5. package/dist/Article/Article.css.d.ts +8 -4
  6. package/dist/Article/Article.d.ts +1 -1
  7. package/dist/ArticlesSet/ArticlesSet.css.d.ts +23 -1
  8. package/dist/ArticlesSet/ArticlesSet.css.js +7 -7
  9. package/dist/ArticlesSet/ArticlesSet.js +3 -4
  10. package/dist/Auth/ErrorAlert.d.ts +1 -1
  11. package/dist/Auth/ErrorAlert.js +14 -9
  12. package/dist/Auth/Logout.d.ts +1 -1
  13. package/dist/Auth/SignInPassword.d.ts +1 -1
  14. package/dist/Auth/SignInPassword.js +1 -1
  15. package/dist/Avatar/Avatar.module.js +7 -7
  16. package/dist/AwardsItem/AwardsItem.js +2 -2
  17. package/dist/Blockquote/Blockquote.module.js +3 -3
  18. package/dist/BulletItem/BulletItem.d.ts +1 -1
  19. package/dist/Button/Button.d.ts +1 -1
  20. package/dist/Button/Button.js +34 -11
  21. package/dist/Button/GoBackButton.d.ts +1 -1
  22. package/dist/Calculators/AnnualFeeCalculator/index.js +1 -1
  23. package/dist/Calculators/ApyCalculator/ApyCalculator.css.d.ts +46 -5
  24. package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +72 -19
  25. package/dist/Calculators/ApyCalculator/index.js +583 -293
  26. package/dist/Calculators/ApyCalculatorUserTest/ApyCalculatorUserTest.css.d.ts +95 -0
  27. package/dist/Calculators/ApyCalculatorUserTest/ApyCalculatorUserTest.css.js +101 -0
  28. package/dist/Calculators/ApyCalculatorUserTest/index.d.ts +12 -0
  29. package/dist/Calculators/ApyCalculatorUserTest/index.js +618 -0
  30. package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +3 -1
  31. package/dist/Calculators/Calculator.d.ts +1 -1
  32. package/dist/Calculators/Calculator.js +21 -6
  33. package/dist/Calculators/MarginTradingCalculator/index.js +15 -10
  34. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +1 -1
  35. package/dist/Calculators/MaxLoanCalculator/index.js +1 -1
  36. package/dist/Calculators/MonthlyPaymentCalculator/index.js +1 -1
  37. package/dist/Calculators/calculator.css.d.ts +21 -1
  38. package/dist/Calculators/calculator.css.js +3 -3
  39. package/dist/Calculators/index.d.ts +1 -0
  40. package/dist/Calculators/index.js +2 -0
  41. package/dist/Carousel/index.d.ts +3 -3
  42. package/dist/Carousel/index.js +14 -9
  43. package/dist/Chatbot/AnimatedGradientBorder.css.d.ts +3 -0
  44. package/dist/Chatbot/AnimatedGradientBorder.css.js +8 -2
  45. package/dist/Chatbot/AudioManager.d.ts +19 -0
  46. package/dist/Chatbot/AudioManager.js +61 -0
  47. package/dist/Chatbot/Bubble.css.js +2 -2
  48. package/dist/Chatbot/Bubble.d.ts +2 -2
  49. package/dist/Chatbot/Bubble.js +84 -103
  50. package/dist/Chatbot/Chat.d.ts +1 -1
  51. package/dist/Chatbot/Chat.js +17 -7
  52. package/dist/Chatbot/ChatWindow.css.d.ts +4 -0
  53. package/dist/Chatbot/ChatWindow.css.js +45 -37
  54. package/dist/Chatbot/ChatWindow.js +462 -367
  55. package/dist/Chatbot/Chatbot.css.js +0 -1
  56. package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +1 -0
  57. package/dist/Chatbot/Chatbot.d.ts +13 -2
  58. package/dist/Chatbot/Chatbot.js +170 -81
  59. package/dist/Chatbot/ChatbotMessage.js +183 -197
  60. package/dist/Chatbot/EllipsisAnimation.d.ts +1 -1
  61. package/dist/Chatbot/EllipsisAnimation.js +0 -6
  62. package/dist/Chatbot/EllipsisIcon.d.ts +1 -1
  63. package/dist/Chatbot/ExpandChatToggle.d.ts +8 -0
  64. package/dist/Chatbot/ExpandChatToggle.js +74 -0
  65. package/dist/Chatbot/index.js +7 -2
  66. package/dist/Chatbot/store/chat.d.ts +8 -0
  67. package/dist/Chatbot/store/chat.js +14 -2
  68. package/dist/Chatbot/useHeadlessChat.js +1 -2
  69. package/dist/Chevron/Chevron.interface.d.ts +1 -0
  70. package/dist/Chevron/index.js +20 -11
  71. package/dist/Comparison/Comparison.css.d.ts +1 -0
  72. package/dist/Comparison/Comparison.css.js +16 -16
  73. package/dist/Comparison/Comparison.d.ts +1 -1
  74. package/dist/Comparison/Comparison.js +13 -8
  75. package/dist/Comparison/ComparisonSet.d.ts +1 -1
  76. package/dist/Comparison/ComparisonSet.js +2 -1
  77. package/dist/Comparison/index.js +2 -1
  78. package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +27 -0
  79. package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
  80. package/dist/ExecutiveBio/ExecutiveBio.js +287 -268
  81. package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -1
  82. package/dist/ExecutiveBio/Overlay.d.ts +1 -1
  83. package/dist/FaqAccordion/index.d.ts +5 -5
  84. package/dist/FaqAccordion/index.js +15 -10
  85. package/dist/FdicCallout/FdicCallout.module.js +2 -2
  86. package/dist/FdicCallout/index.d.ts +1 -1
  87. package/dist/FdicCallout/index.js +2 -1
  88. package/dist/FooterDisclosure/FooterDisclosure.d.ts +4 -4
  89. package/dist/FooterDisclosure/FooterDisclosure.js +1 -0
  90. package/dist/FooterDisclosure/LVF/LaVictorieFooter.d.ts +1 -1
  91. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.d.ts +1 -1
  92. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +685 -647
  93. package/dist/Forms/ApplicationStart.d.ts +1 -1
  94. package/dist/Forms/ApplyNow.d.ts +1 -1
  95. package/dist/Forms/ApplyNow.js +14 -9
  96. package/dist/Forms/BoatMooringLocation.d.ts +5 -2
  97. package/dist/Forms/BoatMooringLocation.js +134 -53
  98. package/dist/Forms/ClearingForm.d.ts +1 -1
  99. package/dist/Forms/CommercialDeposits.d.ts +1 -1
  100. package/dist/Forms/CommercialDepositsACS.d.ts +3 -0
  101. package/dist/Forms/CommercialDepositsACS.js +278 -0
  102. package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +1 -1
  103. package/dist/Forms/CommercialLending.d.ts +1 -1
  104. package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
  105. package/dist/Forms/CommercialTrustAndEstate.d.ts +15 -0
  106. package/dist/Forms/CommercialTrustAndEstate.js +237 -0
  107. package/dist/Forms/ConstructionLendingDynamic.d.ts +1 -1
  108. package/dist/Forms/ContactCompany.d.ts +1 -1
  109. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  110. package/dist/Forms/ContactUs.d.ts +1 -1
  111. package/dist/Forms/ContactUsAAS.d.ts +1 -1
  112. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  113. package/dist/Forms/ContactUsBusiness.js +17 -12
  114. package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
  115. package/dist/Forms/ContactUsBusinessNameEmail.js +17 -12
  116. package/dist/Forms/ContactUsLVF.d.ts +1 -1
  117. package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
  118. package/dist/Forms/ContactUsNMLSId.js +17 -12
  119. package/dist/Forms/ContactUsSchwabAAS.d.ts +11 -0
  120. package/dist/Forms/ContactUsSchwabAAS.js +263 -0
  121. package/dist/Forms/CpraRequest.d.ts +1 -1
  122. package/dist/Forms/CpraRequest.js +16 -11
  123. package/dist/Forms/CraPublicFile.d.ts +1 -1
  124. package/dist/Forms/CraPublicFile.js +17 -12
  125. package/dist/Forms/DealerServices.d.ts +1 -1
  126. package/dist/Forms/EmailOnly.d.ts +1 -1
  127. package/dist/Forms/EmailOnly.js +18 -13
  128. package/dist/Forms/EmailUs.d.ts +1 -1
  129. package/dist/Forms/FormEnums.js +2 -2
  130. package/dist/Forms/Forms.css.d.ts +4 -0
  131. package/dist/Forms/Forms.css.js +3 -1
  132. package/dist/Forms/HoneyPot/index.d.ts +1 -1
  133. package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
  134. package/dist/Forms/MortgageRate/MortgageRateForm.js +14 -9
  135. package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.d.ts +1 -1
  136. package/dist/Forms/MortgageRate/MortgageRateWatch.d.ts +1 -1
  137. package/dist/Forms/MortgageRate/MortgageRateWatch.js +14 -9
  138. package/dist/Forms/MortgageWarehouseLending.d.ts +2 -2
  139. package/dist/Forms/MortgageWarehouseLending.js +24 -19
  140. package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
  141. package/dist/Forms/QuickPricer/UserInformation.d.ts +1 -1
  142. package/dist/Forms/ScheduleCall.d.ts +1 -1
  143. package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
  144. package/dist/Forms/SuccesForm.d.ts +1 -1
  145. package/dist/Forms/SuccesForm.js +15 -10
  146. package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
  147. package/dist/Forms/WcplSurvey.d.ts +1 -1
  148. package/dist/Forms/index.d.ts +3 -0
  149. package/dist/Forms/index.js +8 -1
  150. package/dist/HeroBanner/HeroBanner.d.ts +1 -1
  151. package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -0
  152. package/dist/HeroBanner/HeroBanner.js +33 -28
  153. package/dist/HeroBanner/HeroVideoPoster.d.ts +1 -1
  154. package/dist/HeroBanner/LargeHeroBanner.d.ts +1 -1
  155. package/dist/Hyperlink/index.js +15 -10
  156. package/dist/IconBillboard/IconBillboard.css.d.ts +16 -0
  157. package/dist/IconBillboard/IconBillboard.css.js +7 -4
  158. package/dist/IconBillboard/IconBillboard.d.ts +1 -1
  159. package/dist/IconBillboard/IconBillboard.interface.d.ts +2 -0
  160. package/dist/IconBillboard/IconBillboardSet.d.ts +1 -1
  161. package/dist/IconBillboard/IconBillboardSet.js +68 -62
  162. package/dist/IconBillboard/index.js +2 -1
  163. package/dist/IconBillboard/sections/CallToActionSection.d.ts +1 -1
  164. package/dist/IconBillboard/sections/CallToActionSection.js +3 -1
  165. package/dist/IconBillboard/sections/HeaderSection.d.ts +2 -2
  166. package/dist/IconBillboard/sections/IconSection.d.ts +1 -1
  167. package/dist/IconBillboard/sections/ItemsSection.d.ts +1 -1
  168. package/dist/IconBillboard/sections/LayoutSection.d.ts +1 -1
  169. package/dist/ImageBillboard/ExitIntentModal/ModalWrapper.d.ts +1 -1
  170. package/dist/ImageBillboard/ImageBillboard.d.ts +1 -1
  171. package/dist/ImageBillboard/ImageBillboard.interface.d.ts +2 -0
  172. package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
  173. package/dist/ImageBillboard/ImageBillboardSet.js +28 -20
  174. package/dist/ImageLink/ImageLink.d.ts +1 -1
  175. package/dist/ImageLink/ImageLink.js +10 -5
  176. package/dist/ImageLink/ImageLinkSet.d.ts +1 -1
  177. package/dist/ImageLink/ImageLinkSet.js +9 -4
  178. package/dist/ImageLink/index.js +14 -9
  179. package/dist/ImageToast/ImageToast.css.d.ts +5 -0
  180. package/dist/ImageToast/ImageToast.css.js +13 -0
  181. package/dist/ImageToast/index.d.ts +9 -0
  182. package/dist/{NavigationMenu/Navbar.js → ImageToast/index.js} +88 -99
  183. package/dist/ImageWrapper/ImageWrapper.d.ts +1 -1
  184. package/dist/Insight/Featured/CategorySelector.d.ts +3 -3
  185. package/dist/Insight/Featured/CategorySelector.js +17 -11
  186. package/dist/Insight/Featured/Featured.d.ts +2 -2
  187. package/dist/Insight/Featured/Featured.js +14 -9
  188. package/dist/Insight/Featured/Header.d.ts +2 -3
  189. package/dist/Insight/Featured/Header.js +14 -9
  190. package/dist/Interstitial/Interstitial.module.js +10 -10
  191. package/dist/LandingPageHeader/LandingPageHeader.css.d.ts +1 -0
  192. package/dist/LandingPageHeader/LandingPageHeader.css.js +2 -0
  193. package/dist/LandingPageHeader/LandingPageHeader.d.ts +2 -1
  194. package/dist/LandingPageHeader/LandingPageHeader.js +338 -23
  195. package/dist/LandingPageHeader/index.js +2 -1
  196. package/dist/LoadingIndicator/index.d.ts +1 -1
  197. package/dist/MainHTML/index.d.ts +1 -1
  198. package/dist/Modal/Modal.js +16 -11
  199. package/dist/Modal/contextApi/store.d.ts +6 -1
  200. package/dist/Modal/contextApi/store.js +112 -6
  201. package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
  202. package/dist/NavigationMenu/AxosALTS/index.d.ts +1 -1
  203. package/dist/NavigationMenu/AxosALTS/index.js +48 -29
  204. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  205. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +1 -1
  206. package/dist/NavigationMenu/AxosAdvisor/index.d.ts +1 -1
  207. package/dist/NavigationMenu/AxosAdvisor/index.js +1 -1
  208. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  209. package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.d.ts +1 -1
  210. package/dist/NavigationMenu/AxosAdvisorServices/index.d.ts +1 -1
  211. package/dist/NavigationMenu/AxosAdvisorServices/index.js +31 -24
  212. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +1 -1
  213. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +12 -7
  214. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
  215. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +15 -16
  216. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +35 -42
  217. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
  218. package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +1 -1
  219. package/dist/NavigationMenu/AxosBank/SubNavBar.js +106 -150
  220. package/dist/NavigationMenu/AxosBank/index.d.ts +1 -1
  221. package/dist/NavigationMenu/AxosBank/index.js +83 -54
  222. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
  223. package/dist/NavigationMenu/AxosClearing/SubNavBar.d.ts +1 -1
  224. package/dist/NavigationMenu/AxosClearing/SubNavBar.js +6 -6
  225. package/dist/NavigationMenu/AxosClearing/index.d.ts +1 -1
  226. package/dist/NavigationMenu/AxosClearing/index.js +31 -16
  227. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +40 -43
  228. package/dist/NavigationMenu/AxosFiduciary/index.d.ts +1 -1
  229. package/dist/NavigationMenu/AxosFiduciary/index.js +5 -3
  230. package/dist/NavigationMenu/LaVictoire/NavBar.module.js +37 -37
  231. package/dist/NavigationMenu/LaVictoire/SubNavBar.d.ts +1 -1
  232. package/dist/NavigationMenu/LaVictoire/index.d.ts +1 -1
  233. package/dist/NavigationMenu/LaVictoire/index.js +16 -11
  234. package/dist/NavigationMenu/NavItem/index.d.ts +1 -1
  235. package/dist/NavigationMenu/NavItem/index.js +141 -1
  236. package/dist/NavigationMenu/ServerNavigation/DropwdownButton.d.ts +8 -0
  237. package/dist/NavigationMenu/ServerNavigation/DropwdownButton.js +248 -0
  238. package/dist/NavigationMenu/ServerNavigation/Menu.d.ts +40 -0
  239. package/dist/NavigationMenu/ServerNavigation/Menu.js +268 -0
  240. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.d.ts +13 -0
  241. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.js +637 -0
  242. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileMenu.module.js +86 -0
  243. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileNavData.d.ts +51 -0
  244. package/dist/NavigationMenu/ServerNavigation/MobileMenu/MobileNavData.js +96 -0
  245. package/dist/NavigationMenu/ServerNavigation/MobileMenu/mobileReducer.d.ts +36 -0
  246. package/dist/NavigationMenu/ServerNavigation/MobileMenu/mobileReducer.js +105 -0
  247. package/dist/NavigationMenu/ServerNavigation/NavBar.module.js +125 -0
  248. package/dist/NavigationMenu/ServerNavigation/NavigationBar.css.d.ts +7 -0
  249. package/dist/NavigationMenu/ServerNavigation/NavigationBar.css.js +22 -0
  250. package/dist/NavigationMenu/ServerNavigation/SubNavBar.d.ts +6 -0
  251. package/dist/NavigationMenu/ServerNavigation/SubNavBar.js +281 -0
  252. package/dist/NavigationMenu/ServerNavigation/SubNavItem.d.ts +1 -0
  253. package/dist/NavigationMenu/ServerNavigation/SubNavItem.js +317 -0
  254. package/dist/NavigationMenu/ServerNavigation/SubNavbar.css.d.ts +60 -0
  255. package/dist/NavigationMenu/ServerNavigation/SubNavbar.css.js +22 -0
  256. package/dist/NavigationMenu/ServerNavigation/index.d.ts +7 -0
  257. package/dist/NavigationMenu/ServerNavigation/index.js +297 -0
  258. package/dist/NavigationMenu/index.d.ts +2 -0
  259. package/dist/NavigationMenu/index.js +19 -10
  260. package/dist/NavigationMenu/utils.d.ts +480 -0
  261. package/dist/NavigationMenu/utils.js +128 -0
  262. package/dist/PageNavSet/PageNavSet.js +16 -8
  263. package/dist/Pagination/Pagination.d.ts +1 -1
  264. package/dist/SecondaryFooter/index.d.ts +1 -1
  265. package/dist/SecondaryFooter/index.js +8 -1
  266. package/dist/SetContainer/SetContainer.css.d.ts +4 -0
  267. package/dist/SetContainer/SetContainer.css.js +5 -3
  268. package/dist/SetContainer/SetContainer.d.ts +1 -1
  269. package/dist/SetContainer/SetContainer.js +18 -7
  270. package/dist/SetContainer/index.js +2 -1
  271. package/dist/SocialMediaBar/iconsRepository.d.ts +14 -14
  272. package/dist/SocialMediaBar/iconsRepository.js +14 -9
  273. package/dist/SocialMediaBar/index.d.ts +1 -1
  274. package/dist/SocialMediaBar/index.js +1 -1
  275. package/dist/StepItemSet/StepItemSet.css.d.ts +3 -0
  276. package/dist/Tab/Tab.d.ts +1 -1
  277. package/dist/Tab/TabContainer.d.ts +1 -1
  278. package/dist/Table/Table.css.d.ts +17 -1
  279. package/dist/Table/Table.css.js +26 -19
  280. package/dist/Table/Table.d.ts +5 -5
  281. package/dist/Table/Table.interface.d.ts +5 -8
  282. package/dist/Table/Table.js +30 -38
  283. package/dist/Table/index.js +3 -1
  284. package/dist/TextBlock/TextBlock.d.ts +1 -1
  285. package/dist/Topic/Topic.d.ts +4 -4
  286. package/dist/TopicalNavItem/TopicalNavItem.css.d.ts +0 -1
  287. package/dist/TopicalNavItem/TopicalNavItem.css.js +2 -4
  288. package/dist/TopicalNavItem/TopicalNavItem.js +11 -33
  289. package/dist/TopicalNavItem/index.js +1 -2
  290. package/dist/TopicalNavSet/TopicalNavSet.js +17 -9
  291. package/dist/VideoTile/VideoInit.d.ts +1 -1
  292. package/dist/VideoTile/VideoTile.js +13 -8
  293. package/dist/VideoWrapper/index.js +14 -9
  294. package/dist/WalnutIframe/index.d.ts +1 -1
  295. package/dist/WalnutIframe/wrapper.module.js +3 -3
  296. package/dist/assets/Article/Article.css +8 -4
  297. package/dist/assets/ArticlesSet/ArticlesSet.css +54 -39
  298. package/dist/assets/Auth/SignIn.css +2 -1
  299. package/dist/assets/Avatar/Avatar.css +59 -59
  300. package/dist/assets/Blockquote/Blockquote.css +72 -72
  301. package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +350 -64
  302. package/dist/assets/Calculators/ApyCalculatorUserTest/ApyCalculatorUserTest.css +424 -0
  303. package/dist/assets/Calculators/AxosOneCalculator/BalanceAPYCalculator.css +2 -2
  304. package/dist/assets/Calculators/calculator.css +25 -15
  305. package/dist/assets/CallToActionBar/CallToActionBar.css +2 -0
  306. package/dist/assets/Chatbot/AnimatedGradientBorder.css +39 -8
  307. package/dist/assets/Chatbot/Bubble.css +8 -2
  308. package/dist/assets/Chatbot/ChatWindow.css +166 -99
  309. package/dist/assets/Comparison/Comparison.css +32 -29
  310. package/dist/assets/DownloadTile/DownloadTile.css +3 -1
  311. package/dist/assets/ExecutiveBio/ExecutiveBio.css +55 -17
  312. package/dist/assets/FaqAccordion/FaqAccordion.css +1 -1
  313. package/dist/assets/FdicCallout/FdicCallout.css +48 -48
  314. package/dist/assets/FooterSiteMap/AxosBank/FooterSiteMap.css +2 -2
  315. package/dist/assets/Forms/Forms.css +9 -3
  316. package/dist/assets/HeroBanner/HeroBanner.css +1 -0
  317. package/dist/assets/IconBillboard/IconBillboard.css +64 -13
  318. package/dist/assets/ImageBillboard/ImageBillboard.css +1 -1
  319. package/dist/assets/ImageToast/ImageToast.css +39 -0
  320. package/dist/assets/Insight/Featured/Header.css +4 -2
  321. package/dist/assets/Interstitial/Interstitial.css +142 -142
  322. package/dist/assets/LandingPageHeader/LandingPageHeader.css +5 -0
  323. package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +265 -264
  324. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
  325. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +631 -630
  326. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +445 -445
  327. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css +485 -484
  328. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css +428 -427
  329. package/dist/assets/NavigationMenu/LaVictoire/NavBar.css +429 -429
  330. package/dist/assets/NavigationMenu/{AxosBank → ServerNavigation}/MobileMenu/MobileMenu.css +353 -353
  331. package/dist/assets/NavigationMenu/ServerNavigation/NavBar.css +483 -0
  332. package/dist/assets/NavigationMenu/ServerNavigation/NavigationBar.css +40 -0
  333. package/dist/assets/NavigationMenu/ServerNavigation/SubNavbar.css +87 -0
  334. package/dist/assets/SetContainer/SetContainer.css +27 -20
  335. package/dist/assets/SocialMediaBar/SocialMediaBar.css +1 -0
  336. package/dist/assets/StepItemSet/StepItemSet.css +3 -3
  337. package/dist/assets/Table/Table.css +112 -78
  338. package/dist/assets/TextBlock/TextBlock.css +7 -0
  339. package/dist/assets/TopicalNavItem/TopicalNavItem.css +25 -52
  340. package/dist/assets/TopicalNavSet/TopicalNavSet.css +28 -6
  341. package/dist/assets/VideoTile/VideoTile.css +3 -0
  342. package/dist/assets/WalnutIframe/wrapper.css +48 -48
  343. package/dist/assets/globals.css +36 -4
  344. package/dist/assets/themes/axos.css +8 -7
  345. package/dist/assets/themes/premier.css +9 -8
  346. package/dist/assets/themes/ufb.css +9 -8
  347. package/dist/assets/themes/victorie.css +9 -8
  348. package/dist/assets/utils/optimizeImage/optimizeImage.css +47 -47
  349. package/dist/globals.css.js +8 -1
  350. package/dist/icons/AxosX/Blue.d.ts +1 -1
  351. package/dist/icons/AxosX/index.d.ts +1 -1
  352. package/dist/icons/CheckCircle.d.ts +1 -1
  353. package/dist/icons/CheckCircleLight.d.ts +1 -1
  354. package/dist/icons/CheckIcon/index.d.ts +1 -1
  355. package/dist/icons/ChevronDown.d.ts +1 -1
  356. package/dist/icons/ChevronUp.d.ts +1 -1
  357. package/dist/icons/Clock/index.d.ts +1 -1
  358. package/dist/icons/EqualHousingLender.d.ts +1 -1
  359. package/dist/icons/Logos/AAS.d.ts +1 -1
  360. package/dist/icons/Logos/AFS.d.ts +1 -1
  361. package/dist/icons/Logos/AXA.d.ts +1 -1
  362. package/dist/icons/Logos/AXB.d.ts +1 -1
  363. package/dist/icons/Logos/AXC.d.ts +1 -1
  364. package/dist/icons/Logos/AXI.d.ts +1 -1
  365. package/dist/icons/Logos/AXOS.d.ts +1 -1
  366. package/dist/icons/Logos/GBLVF.d.ts +1 -1
  367. package/dist/icons/Logos/LVF.d.ts +1 -1
  368. package/dist/icons/Logos/LVFText.d.ts +1 -1
  369. package/dist/icons/Logos/SPB.d.ts +1 -1
  370. package/dist/icons/MemberFdicLogo.d.ts +1 -1
  371. package/dist/icons/QuoteIconGrey.d.ts +1 -1
  372. package/dist/icons/QuoteIconGrey.js +1 -0
  373. package/dist/icons/QuoteIconWhite.d.ts +1 -1
  374. package/dist/icons/QuoteIconWhite.js +1 -0
  375. package/dist/icons/QuoteIconYellow.d.ts +1 -1
  376. package/dist/icons/QuoteIconYellow.js +1 -0
  377. package/dist/index.css.js +8 -1
  378. package/dist/main.js +51 -21
  379. package/dist/themes/axos.css.d.ts +1 -0
  380. package/dist/themes/axos.css.js +1 -1
  381. package/dist/utils/allowedAxosDomains.js +8 -13
  382. package/dist/utils/appendQueryParams.d.ts +3 -1
  383. package/dist/utils/appendQueryParams.js +66 -66
  384. package/dist/utils/index.js +3 -1
  385. package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
  386. package/dist/utils/tealiumOrganicFallback.d.ts +21 -0
  387. package/dist/utils/tealiumOrganicFallback.js +26 -0
  388. package/dist/utils/useVisibility.d.ts +1 -0
  389. package/dist/utils/useVisibility.js +21 -0
  390. package/dist/vite-env.d.js +1 -0
  391. package/package.json +148 -148
  392. package/dist/Chatbot/authenticate.d.ts +0 -3
  393. package/dist/Chatbot/authenticate.js +0 -16
  394. package/dist/NavigationMenu/Navbar.d.ts +0 -5
  395. package/dist/NavigationMenu/SignInNavButton.d.ts +0 -1
  396. package/dist/NavigationMenu/SignInNavButton.js +0 -363
  397. package/dist/assets/Chatbot/Chatbot.css +0 -3
@@ -19,31 +19,6 @@ function timeAgo(date) {
19
19
  minute: "2-digit"
20
20
  });
21
21
  }
22
- function convertBulletsToTable(text) {
23
- const lines = text.split("\n");
24
- const header = lines[0];
25
- const bulletLines = lines.filter((line) => line.trim().startsWith("•"));
26
- if (bulletLines.length === 0) return text;
27
- const fields = bulletLines.map((line) => {
28
- const [field] = line.split(":");
29
- const cleanField = field.replace(/•\s*\*\*|\*\*/g, "").trim();
30
- return cleanField;
31
- });
32
- const values = bulletLines.map((line) => {
33
- const [, value] = line.split(":");
34
- return value.trim();
35
- });
36
- const headerRow = `| ${fields.join(" | ")} |`;
37
- const separatorRow = `| ${fields.map(() => "-------").join(" | ")} |`;
38
- const valueRow = `| ${values.join(" | ")} |`;
39
- return `
40
- ### ${header}
41
-
42
- ${headerRow}
43
- ${separatorRow}
44
- ${valueRow}
45
- `;
46
- }
47
22
  const ChatbotMessage = ({
48
23
  msg,
49
24
  showAvatar,
@@ -93,186 +68,197 @@ const ChatbotMessage = ({
93
68
  }
94
69
  );
95
70
  }
96
- const checkInformationMortgage = typeof msg.content == "string" ? convertBulletsToTable(msg.content) : "";
97
- return /* @__PURE__ */ jsxs(Fragment, { children: [
98
- msg.type == "noti" && msg.$userType == "system" && msg.event == "escalationStarted" && /* @__PURE__ */ jsx("div", { className: notificationStyle, children: "We are connecting you with a human agent..." }, msg.$index),
99
- msg.type == "noti" && msg.$userType == "system" && msg.event == "memberLeft" && /* @__PURE__ */ jsxs("div", { className: notificationStyle, children: [
100
- /* @__PURE__ */ jsx("strong", { children: "Virtual Agent" }),
101
- " just left the conversation."
102
- ] }, msg.$index),
103
- msg.type == "noti" && msg.$userType == "system" && msg.event == "escalationAccepted" && /* @__PURE__ */ jsxs("div", { className: notificationStyle, children: [
104
- "You are now connected with a",
105
- " ",
106
- msg.to_agent ? /* @__PURE__ */ jsx("strong", { children: msg?.to_agent?.name }) : "an agent"
107
- ] }, msg.$index),
108
- msg.type == "noti" && msg.$userType == "virtual_agent" && msg.event == "escalationDeflected" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
109
- "div",
110
- {
111
- className: notificationStyle,
112
- style: { fontSize: 12 },
113
- children: [
114
- "Our chat team is available weekdays, 8am-5pm, except federal bank holidays. For immediate assistance you can reach out to us at",
115
- " ",
116
- /* @__PURE__ */ jsx("a", { href: "tel:1-888-502-2967", children: "1-888-502-2967" }),
117
- "."
118
- ]
71
+ const checkInformationMortgage = typeof msg.content == "string" ? msg.content.replace(/•/g, "-").replace(/\\n/g, "\n") : "";
72
+ return /* @__PURE__ */ jsxs(
73
+ "div",
74
+ {
75
+ style: {
76
+ display: "flex",
77
+ flexDirection: "column"
119
78
  },
120
- msg.$index
121
- ) }),
122
- ["text", "markdown_template", "markdown"].includes(msg.type) && /* @__PURE__ */ jsx(
123
- "div",
124
- {
125
- className: clsx(
126
- messageStyle,
127
- msg.$userType == "end_user" ? user_msg : agent_msg
79
+ children: [
80
+ msg.type == "noti" && msg.$userType == "system" && msg.event == "escalationStarted" && /* @__PURE__ */ jsx("div", { className: notificationStyle, children: "We are connecting you with a human agent..." }, msg.$index),
81
+ msg.type == "noti" && msg.$userType == "system" && msg.event == "memberLeft" && /* @__PURE__ */ jsxs("div", { className: notificationStyle, children: [
82
+ /* @__PURE__ */ jsx("strong", { children: "Virtual Agent" }),
83
+ " just left the conversation."
84
+ ] }, msg.$index),
85
+ msg.type == "noti" && msg.$userType == "system" && msg.event == "escalationAccepted" && /* @__PURE__ */ jsxs("div", { className: notificationStyle, children: [
86
+ "You are now connected with a",
87
+ " ",
88
+ msg.to_agent ? /* @__PURE__ */ jsx("strong", { children: msg?.to_agent?.name }) : "an agent"
89
+ ] }, msg.$index),
90
+ msg.type == "noti" && msg.$userType == "virtual_agent" && msg.event == "escalationDeflected" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
91
+ "div",
92
+ {
93
+ className: notificationStyle,
94
+ style: { fontSize: 12 },
95
+ children: [
96
+ "Our chat team is available weekdays, 8am-5pm, except federal bank holidays. For immediate assistance you can reach out to us at",
97
+ " ",
98
+ /* @__PURE__ */ jsx("a", { href: "tel:1-888-502-2967", children: "1-888-502-2967" }),
99
+ "."
100
+ ]
101
+ },
102
+ msg.$index
103
+ ) }),
104
+ ["text", "markdown_template", "markdown"].includes(msg.type) && /* @__PURE__ */ jsx(
105
+ "div",
106
+ {
107
+ className: clsx(
108
+ messageStyle,
109
+ msg.$userType == "end_user" ? user_msg : agent_msg
110
+ ),
111
+ children: /* @__PURE__ */ jsxs(
112
+ "div",
113
+ {
114
+ style: {
115
+ fontSize: 14,
116
+ display: "flex",
117
+ flexDirection: "column",
118
+ gap: 4
119
+ },
120
+ children: [
121
+ msg.$userType == "virtual_agent" && /* @__PURE__ */ jsxs(
122
+ "div",
123
+ {
124
+ style: {
125
+ display: "flex",
126
+ alignItems: "center",
127
+ gap: "8px"
128
+ },
129
+ children: [
130
+ showAvatar && /* @__PURE__ */ jsx(
131
+ "img",
132
+ {
133
+ width: 24,
134
+ height: 24,
135
+ src: virtualAgent?.avatar_url,
136
+ alt: "agent avatar"
137
+ }
138
+ ),
139
+ showName && /* @__PURE__ */ jsx("strong", { children: virtualAgent?.name })
140
+ ]
141
+ }
142
+ ),
143
+ msg.$userType != "end_user" ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
144
+ ReactMarkdown,
145
+ {
146
+ remarkPlugins: [[remarkGfm, { singleTilde: false }]],
147
+ components: {
148
+ p: ({ ...props }) => /* @__PURE__ */ jsx(
149
+ "p",
150
+ {
151
+ style: { margin: 0, fontSize: "inherit" },
152
+ title: new Date(msg.$timestamp).toLocaleTimeString([], {
153
+ hour: "2-digit",
154
+ minute: "2-digit"
155
+ }),
156
+ ...props
157
+ }
158
+ ),
159
+ a: ({ ...props }) => /* @__PURE__ */ jsx("a", { style: { wordBreak: "break-word" }, ...props }),
160
+ table: ({ node, ...props }) => /* @__PURE__ */ jsx("div", { style: { overflowX: "auto", marginTop: 4 }, children: /* @__PURE__ */ jsx(
161
+ "table",
162
+ {
163
+ ...props,
164
+ className: clsx(tableMsg),
165
+ style: { tableLayout: "fixed" }
166
+ }
167
+ ) }),
168
+ th: ({ node, ...props }) => /* @__PURE__ */ jsx("th", { ...props, className: clsx(tableHead) }),
169
+ td: ({ node, ...props }) => /* @__PURE__ */ jsx("td", { ...props, className: clsx(tableCell) }),
170
+ tr: ({ node, ...props }) => {
171
+ return /* @__PURE__ */ jsx("tr", { className: clsx(trMortgageTable), ...props });
172
+ }
173
+ },
174
+ children: msg?.content?.includes("Does this information look correct?") ? checkInformationMortgage : msg.content
175
+ }
176
+ ) }) : /* @__PURE__ */ jsx(
177
+ "div",
178
+ {
179
+ title: new Date(msg.$timestamp).toLocaleTimeString([], {
180
+ hour: "2-digit",
181
+ minute: "2-digit"
182
+ }),
183
+ children: msg.content
184
+ }
185
+ )
186
+ ]
187
+ }
188
+ )
189
+ },
190
+ msg.$index
128
191
  ),
129
- children: /* @__PURE__ */ jsxs(
192
+ msg.type == "inline_button" && Array.isArray(msg.buttons) && msg.buttons.length > 0 && /* @__PURE__ */ jsx("div", { className: inline_button_wrapper, children: msg.buttons.length !== 0 && Array.isArray(msg.buttons) && msg.buttons.map((button, index) => {
193
+ return /* @__PURE__ */ jsx(
194
+ "button",
195
+ {
196
+ className: inline_button,
197
+ onClick: () => {
198
+ onSend?.(button?.title);
199
+ },
200
+ children: button.title
201
+ },
202
+ index
203
+ );
204
+ }) }),
205
+ " ",
206
+ msg.event == "chatEnded" && msg.status == "failed" && /* @__PURE__ */ jsxs(Fragment, { children: [
207
+ /* @__PURE__ */ jsxs(
208
+ "div",
209
+ {
210
+ title: (/* @__PURE__ */ new Date()).toLocaleString(),
211
+ style: {
212
+ fontSize: 12,
213
+ color: "#888",
214
+ marginBottom: 4,
215
+ textAlign: "center"
216
+ },
217
+ children: [
218
+ "No team members are online at the moment.",
219
+ /* @__PURE__ */ jsx("br", {}),
220
+ " Please try again later."
221
+ ]
222
+ }
223
+ ),
224
+ /* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: 12 }, children: /* @__PURE__ */ jsx("button", { className: endChatButtonStyle, onClick: onEndChat, children: "End Chat" }) })
225
+ ] }),
226
+ msg.event == "chatEnded" && msg.status != "failed" && /* @__PURE__ */ jsxs(Fragment, { children: [
227
+ /* @__PURE__ */ jsxs(
228
+ "div",
229
+ {
230
+ title: (/* @__PURE__ */ new Date()).toLocaleString(),
231
+ style: {
232
+ fontSize: 12,
233
+ color: "#888",
234
+ marginBottom: 4,
235
+ textAlign: "center"
236
+ },
237
+ children: [
238
+ "Thank you for chatting!",
239
+ /* @__PURE__ */ jsx("br", {}),
240
+ " This conversation has ended."
241
+ ]
242
+ }
243
+ ),
244
+ /* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: 12 }, children: /* @__PURE__ */ jsx("button", { className: endChatButtonStyle, onClick: onEndChat, children: "End Chat" }) })
245
+ ] }),
246
+ msg.type == "text" && /* @__PURE__ */ jsx(
130
247
  "div",
131
248
  {
132
249
  style: {
133
- fontSize: 14,
134
- display: "flex",
135
- flexDirection: "column",
136
- gap: 4
250
+ textAlign: msg.$userType === "end_user" ? "right" : "left",
251
+ fontSize: 12,
252
+ color: vars.chatbot.window.timestampColor,
253
+ textTransform: "capitalize",
254
+ fontFamily: "inherit"
137
255
  },
138
- children: [
139
- msg.$userType == "virtual_agent" && /* @__PURE__ */ jsxs(
140
- "div",
141
- {
142
- style: {
143
- display: "flex",
144
- alignItems: "center",
145
- gap: "8px"
146
- },
147
- children: [
148
- showAvatar && /* @__PURE__ */ jsx(
149
- "img",
150
- {
151
- width: 24,
152
- height: 24,
153
- src: virtualAgent?.avatar_url,
154
- alt: "agent avatar"
155
- }
156
- ),
157
- showName && /* @__PURE__ */ jsx("strong", { children: virtualAgent?.name })
158
- ]
159
- }
160
- ),
161
- msg.$userType != "end_user" ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
162
- ReactMarkdown,
163
- {
164
- remarkPlugins: [[remarkGfm, { singleTilde: false }]],
165
- components: {
166
- p: ({ ...props }) => /* @__PURE__ */ jsx(
167
- "p",
168
- {
169
- style: { margin: 0, fontSize: "inherit" },
170
- title: new Date(msg.$timestamp).toLocaleTimeString([], {
171
- hour: "2-digit",
172
- minute: "2-digit"
173
- }),
174
- ...props
175
- }
176
- ),
177
- a: ({ ...props }) => /* @__PURE__ */ jsx("a", { style: { wordBreak: "break-word" }, ...props }),
178
- table: ({ node, ...props }) => /* @__PURE__ */ jsx("div", { style: { overflowX: "auto", marginTop: 4 }, children: /* @__PURE__ */ jsx(
179
- "table",
180
- {
181
- ...props,
182
- className: clsx(tableMsg),
183
- style: { tableLayout: "fixed" }
184
- }
185
- ) }),
186
- th: ({ node, ...props }) => /* @__PURE__ */ jsx("th", { ...props, className: clsx(tableHead) }),
187
- td: ({ node, ...props }) => /* @__PURE__ */ jsx("td", { ...props, className: clsx(tableCell) }),
188
- tr: ({ node, ...props }) => {
189
- return /* @__PURE__ */ jsx("tr", { className: clsx(trMortgageTable), ...props });
190
- }
191
- },
192
- children: msg?.content?.includes("Does this information look correct?") ? checkInformationMortgage : msg.content
193
- }
194
- ) }) : /* @__PURE__ */ jsx(
195
- "div",
196
- {
197
- title: new Date(msg.$timestamp).toLocaleTimeString([], {
198
- hour: "2-digit",
199
- minute: "2-digit"
200
- }),
201
- children: msg.content
202
- }
203
- )
204
- ]
256
+ children: timeText
205
257
  }
206
258
  )
207
- },
208
- msg.$index
209
- ),
210
- msg.type == "inline_button" && Array.isArray(msg.buttons) && msg.buttons.length > 0 && /* @__PURE__ */ jsx("div", { className: inline_button_wrapper, children: msg.buttons.length !== 0 && Array.isArray(msg.buttons) && msg.buttons.map((button, index) => {
211
- return /* @__PURE__ */ jsx(
212
- "button",
213
- {
214
- className: inline_button,
215
- onClick: () => {
216
- onSend?.(button?.title);
217
- },
218
- children: button.title
219
- },
220
- index
221
- );
222
- }) }),
223
- " ",
224
- msg.event == "chatEnded" && msg.status == "failed" && /* @__PURE__ */ jsxs(Fragment, { children: [
225
- /* @__PURE__ */ jsxs(
226
- "div",
227
- {
228
- title: (/* @__PURE__ */ new Date()).toLocaleString(),
229
- style: {
230
- fontSize: 12,
231
- color: "#888",
232
- marginBottom: 4,
233
- textAlign: "center"
234
- },
235
- children: [
236
- "No team members are online at the moment.",
237
- /* @__PURE__ */ jsx("br", {}),
238
- " Please try again later."
239
- ]
240
- }
241
- ),
242
- /* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: 12 }, children: /* @__PURE__ */ jsx("button", { className: endChatButtonStyle, onClick: onEndChat, children: "End Chat" }) })
243
- ] }),
244
- msg.event == "chatEnded" && msg.status != "failed" && /* @__PURE__ */ jsxs(Fragment, { children: [
245
- /* @__PURE__ */ jsxs(
246
- "div",
247
- {
248
- title: (/* @__PURE__ */ new Date()).toLocaleString(),
249
- style: {
250
- fontSize: 12,
251
- color: "#888",
252
- marginBottom: 4,
253
- textAlign: "center"
254
- },
255
- children: [
256
- "Thank you for chatting!",
257
- /* @__PURE__ */ jsx("br", {}),
258
- " This conversation has ended."
259
- ]
260
- }
261
- ),
262
- /* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: 12 }, children: /* @__PURE__ */ jsx("button", { className: endChatButtonStyle, onClick: onEndChat, children: "End Chat" }) })
263
- ] }),
264
- msg.type == "text" && /* @__PURE__ */ jsx(
265
- "div",
266
- {
267
- style: {
268
- textAlign: msg.$userType === "end_user" ? "right" : "left",
269
- fontSize: 12,
270
- color: vars.chatbot.window.timestampColor
271
- },
272
- children: timeText
273
- }
274
- )
275
- ] });
259
+ ]
260
+ }
261
+ );
276
262
  };
277
263
  export {
278
264
  ChatbotMessage
@@ -1,2 +1,2 @@
1
- declare const EllipsisLoader: () => import("react/jsx-runtime").JSX.Element;
1
+ declare const EllipsisLoader: () => import("react").JSX.Element;
2
2
  export default EllipsisLoader;
@@ -30,9 +30,6 @@ const loadingTransition = {
30
30
  ease: "easeInOut"
31
31
  };
32
32
  const EllipsisLoader = () => {
33
- const project = process.env.CCAI_PROJECT_ID;
34
- const isAxos = project === "axos";
35
- const endUserBg = isAxos ? "#14263d" : "#323339";
36
33
  return /* @__PURE__ */ jsxs(
37
34
  motion.svg,
38
35
  {
@@ -49,7 +46,6 @@ const EllipsisLoader = () => {
49
46
  cx: "20",
50
47
  cy: "15",
51
48
  r: "8",
52
- fill: endUserBg,
53
49
  variants: loadingCircleVariants,
54
50
  transition: loadingTransition
55
51
  }
@@ -60,7 +56,6 @@ const EllipsisLoader = () => {
60
56
  cx: "50",
61
57
  cy: "15",
62
58
  r: "8",
63
- fill: endUserBg,
64
59
  variants: loadingCircleVariants,
65
60
  transition: loadingTransition
66
61
  }
@@ -71,7 +66,6 @@ const EllipsisLoader = () => {
71
66
  cx: "80",
72
67
  cy: "15",
73
68
  r: "8",
74
- fill: endUserBg,
75
69
  variants: loadingCircleVariants,
76
70
  transition: loadingTransition
77
71
  }
@@ -1,4 +1,4 @@
1
1
  export declare const EllipsisIcon: ({ size, color }: {
2
2
  size?: number | undefined;
3
3
  color?: string | undefined;
4
- }) => import("react/jsx-runtime").JSX.Element;
4
+ }) => import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface ExpandChatToggleProps {
4
+ isExpanded: boolean;
5
+ onToggle: () => void;
6
+ }
7
+ export declare const ExpandChatToggle: React.FC<ExpandChatToggleProps>;
8
+ export {};
@@ -0,0 +1,74 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { vars } from "../themes/axos.css.js";
3
+ import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ import clsx from "clsx";
8
+ import { button_bar, expandToggleStyle } from "./ChatWindow.css.js";
9
+ const ExpandChatToggle = ({
10
+ isExpanded,
11
+ onToggle
12
+ }) => {
13
+ return /* @__PURE__ */ jsx(
14
+ "button",
15
+ {
16
+ type: "button",
17
+ onClick: onToggle,
18
+ className: clsx(button_bar, expandToggleStyle),
19
+ style: { border: "none", cursor: "pointer", padding: 0, lineHeight: 1 },
20
+ "aria-label": isExpanded ? "Collapse chat window" : "Expand chat window",
21
+ title: isExpanded ? "Collapse" : "Expand",
22
+ children: isExpanded ? (
23
+ // Collapse: inward corners — shown when panel is expanded (shrink toward bottom-right)
24
+ /* @__PURE__ */ jsxs(
25
+ "svg",
26
+ {
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ width: 16,
29
+ height: 16,
30
+ viewBox: "0 0 24 24",
31
+ fill: "none",
32
+ stroke: vars.chatbot.window.headerText,
33
+ strokeWidth: 2,
34
+ strokeLinecap: "round",
35
+ strokeLinejoin: "round",
36
+ "aria-hidden": true,
37
+ children: [
38
+ /* @__PURE__ */ jsx("polyline", { points: "20 14 14 14 14 20" }),
39
+ /* @__PURE__ */ jsx("polyline", { points: "4 10 10 10 10 4" }),
40
+ /* @__PURE__ */ jsx("line", { x1: "14", y1: "14", x2: "21", y2: "21" }),
41
+ /* @__PURE__ */ jsx("line", { x1: "10", y1: "10", x2: "3", y2: "3" })
42
+ ]
43
+ }
44
+ )
45
+ ) : (
46
+ // Expand: outward corners — shown when panel is compact (grow toward top-left)
47
+ /* @__PURE__ */ jsxs(
48
+ "svg",
49
+ {
50
+ xmlns: "http://www.w3.org/2000/svg",
51
+ width: 16,
52
+ height: 16,
53
+ viewBox: "0 0 24 24",
54
+ fill: "none",
55
+ stroke: vars.chatbot.window.headerText,
56
+ strokeWidth: 2,
57
+ strokeLinecap: "round",
58
+ strokeLinejoin: "round",
59
+ "aria-hidden": true,
60
+ children: [
61
+ /* @__PURE__ */ jsx("polyline", { points: "9 3 3 3 3 9" }),
62
+ /* @__PURE__ */ jsx("polyline", { points: "15 21 21 21 21 15" }),
63
+ /* @__PURE__ */ jsx("line", { x1: "3", y1: "3", x2: "10", y2: "10" }),
64
+ /* @__PURE__ */ jsx("line", { x1: "21", y1: "21", x2: "14", y2: "14" })
65
+ ]
66
+ }
67
+ )
68
+ )
69
+ }
70
+ );
71
+ };
72
+ export {
73
+ ExpandChatToggle
74
+ };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { Bubble } from "./Bubble.js";
3
3
  import { borderHoverGradient, bubbleButton, bubbleText, bubbleWrapper, inner, svgFill } from "./Bubble.css.js";
4
- import { Chatbot } from "./Chatbot.js";
4
+ import { Chatbot, audioManager } from "./Chatbot.js";
5
5
  import { chatbotAXB, chatbotUFB } from "./Chatbot.css.js";
6
6
  import { ChatWindow } from "./ChatWindow.js";
7
- import { agent_msg, arrowFill, autoResize, button_bar, button_reset, buttonss_section, chatEndCircle, chatEndDialogOverlay, chatFinishDialog, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, left_bar_section, messageStyle, messagesContainerStyle, noAnswerButton, notificationStyle, sendButtonStyle, shimmerText, tableCell, tableHead, tableMsg, thankyou_image, thankyou_message, thankyou_overlay, trMortgageTable, user_msg, windowBarStyle, windowOpenStyle, windowStyle } from "./ChatWindow.css.js";
7
+ import { agent_msg, arrowFill, autoResize, button_bar, button_reset, buttonss_section, chatAiDisclaimer, chatEndCircle, chatEndDialogOverlay, chatFinishDialog, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, expandToggleStyle, formTextButton, inline_button, inline_button_wrapper, inputStyle, left_bar_section, messageStyle, messagesContainerStyle, noAnswerButton, notificationStyle, sendButtonStyle, shimmerText, tableCell, tableHead, tableMsg, thankyou_image, thankyou_message, thankyou_overlay, trMortgageTable, user_msg, windowBarStyle, windowExpandedStyle, windowOpenStyle, windowStyle } from "./ChatWindow.css.js";
8
8
  import { useOpenChat } from "./store/chat.js";
9
9
  import { useMessages } from "./store/messages.js";
10
10
  export {
@@ -13,6 +13,7 @@ export {
13
13
  Chatbot,
14
14
  agent_msg,
15
15
  arrowFill,
16
+ audioManager,
16
17
  autoResize,
17
18
  borderHoverGradient,
18
19
  bubbleButton,
@@ -21,6 +22,7 @@ export {
21
22
  button_bar,
22
23
  button_reset,
23
24
  buttonss_section,
25
+ chatAiDisclaimer,
24
26
  chatEndCircle,
25
27
  chatEndDialogOverlay,
26
28
  chatFinishDialog,
@@ -31,6 +33,8 @@ export {
31
33
  chatbotMenuItem,
32
34
  chatbotUFB,
33
35
  endChatButtonStyle,
36
+ expandToggleStyle,
37
+ formTextButton,
34
38
  inline_button,
35
39
  inline_button_wrapper,
36
40
  inner,
@@ -54,6 +58,7 @@ export {
54
58
  useOpenChat,
55
59
  user_msg,
56
60
  windowBarStyle,
61
+ windowExpandedStyle,
57
62
  windowOpenStyle,
58
63
  windowStyle
59
64
  };
@@ -7,6 +7,7 @@ interface OpenChatState {
7
7
  reset: () => void;
8
8
  showThankyouMessage: boolean;
9
9
  displayThankyouMessage: () => void;
10
+ hideDisplayThankyouMessage: () => void;
10
11
  toggleThankyouMessage?: () => void;
11
12
  hasEscalated?: boolean;
12
13
  startEscalation?: () => void;
@@ -14,6 +15,13 @@ interface OpenChatState {
14
15
  isBlockedInput?: boolean;
15
16
  blockInput?: () => void;
16
17
  unblockInput?: () => void;
18
+ hasStarted: boolean;
19
+ setChatStarted: () => void;
20
+ resetChatStarted: () => void;
21
+ chatStatus: "idle" | "connected" | "connecting" | "ending" | "ended";
22
+ setChatStatus: (status: "idle" | "connected" | "connecting" | "ending" | "ended") => void;
23
+ isWindowExpanded: boolean;
24
+ toggleWindowExpanded: () => void;
17
25
  }
18
26
  export declare const useOpenChat: import('zustand').UseBoundStore<import('zustand').StoreApi<OpenChatState>>;
19
27
  export {};
@@ -4,6 +4,10 @@ const useOpenChat = create((set, get) => ({
4
4
  hasOpenedOnce: false,
5
5
  showThankyouMessage: false,
6
6
  hasEscalated: false,
7
+ hasStarted: false,
8
+ chatStatus: "idle",
9
+ isWindowExpanded: false,
10
+ toggleWindowExpanded: () => set((state) => ({ isWindowExpanded: !state.isWindowExpanded })),
7
11
  toggle: () => set((state) => ({ isOpen: !state.isOpen, hasOpenedOnce: true })),
8
12
  open: () => {
9
13
  const alreadyOpened = get().hasOpenedOnce;
@@ -18,15 +22,23 @@ const useOpenChat = create((set, get) => ({
18
22
  isOpen: false,
19
23
  showThankyouMessage: false,
20
24
  hasEscalated: false,
21
- isBlockedInput: false
25
+ isBlockedInput: false,
26
+ hasStarted: false,
27
+ isWindowExpanded: false
22
28
  }),
23
29
  displayThankyouMessage: () => set({ showThankyouMessage: true }),
30
+ hideDisplayThankyouMessage: () => set({ showThankyouMessage: false }),
24
31
  toggleThankyouMessage: () => set((state) => ({ showThankyouMessage: !state.showThankyouMessage })),
25
32
  startEscalation: () => set({ hasEscalated: true }),
26
33
  endEscalation: () => set({ hasEscalated: false }),
27
34
  isBlockedInput: false,
28
35
  blockInput: () => set({ isBlockedInput: true }),
29
- unblockInput: () => set({ isBlockedInput: false })
36
+ unblockInput: () => set({ isBlockedInput: false }),
37
+ setChatStarted: () => set({ hasStarted: true }),
38
+ resetChatStarted: () => set({ hasStarted: false }),
39
+ setChatStatus: (status) => set({
40
+ chatStatus: status
41
+ })
30
42
  }));
31
43
  export {
32
44
  useOpenChat
@@ -76,8 +76,7 @@ function useHeadlessChat({
76
76
  let chatTimeoutHandler;
77
77
  async function init() {
78
78
  setStatus("connecting");
79
- const { Client, Logger, consoleLoggerHandler } = await import("@ujet/websdk-headless");
80
- if (debug) Logger.addHandler(consoleLoggerHandler);
79
+ const { Client } = await import("@ujet/websdk-headless");
81
80
  try {
82
81
  clientRef.current = new Client({
83
82
  companyId,
@@ -49,4 +49,5 @@ export interface ChevronProps extends PropsWithChildren {
49
49
  action?: () => void;
50
50
  classNameWrapper?: string;
51
51
  leftArrow?: boolean;
52
+ hideArrow?: boolean;
52
53
  }