@axos-web-dev/shared-components 2.0.0-dev.17 → 2.0.0-dev.17-nav-0

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 (255) hide show
  1. package/README.md +111 -111
  2. package/dist/ATMLocator/ATMLocator.js +3 -2
  3. package/dist/Accordion/Accordion.css.js +1 -1
  4. package/dist/Accordion/Accordion.js +4 -4
  5. package/dist/AlertBanner/AlertBanner.css.js +1 -1
  6. package/dist/AlertBanner/index.js +2 -2
  7. package/dist/Article/Article.css.js +1 -1
  8. package/dist/Article/Article.js +1 -1
  9. package/dist/ArticlesSet/ArticlesSet.css.js +1 -1
  10. package/dist/Auth/ErrorAlert.css.js +1 -1
  11. package/dist/Auth/ErrorAlert.js +4 -3
  12. package/dist/Auth/Logout.js +1 -1
  13. package/dist/Auth/SignIn.css.js +1 -1
  14. package/dist/Auth/SignInPassword.js +1 -1
  15. package/dist/Avatar/Avatar.module.js +7 -7
  16. package/dist/AwardsBanner/AwardsBanner.css.js +1 -1
  17. package/dist/AwardsItem/AwardsItem.css.js +1 -1
  18. package/dist/Blockquote/Blockquote.module.js +3 -3
  19. package/dist/BulletItem/BulletItem.css.js +1 -1
  20. package/dist/BulletItem/BulletItem.js +1 -1
  21. package/dist/Button/Button.css.js +1 -1
  22. package/dist/Button/Button.js +3 -2
  23. package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +1 -1
  24. package/dist/Calculators/AnnualFeeCalculator/index.js +1 -1
  25. package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +1 -1
  26. package/dist/Calculators/ApyCalculator/index.js +1 -1
  27. package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +1 -1
  28. package/dist/Calculators/AxosOneCalculator/index.js +2 -2
  29. package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js +1 -1
  30. package/dist/Calculators/BalanceAPYCalculator/index.js +2 -2
  31. package/dist/Calculators/BuyDownCalculator/BuyDownCalculator.css.js +1 -1
  32. package/dist/Calculators/BuyDownCalculator/index.js +2 -2
  33. package/dist/Calculators/Calculator.js +3 -2
  34. package/dist/Calculators/MarginTradingCalculator/MarginTradingCalculator.css.js +1 -1
  35. package/dist/Calculators/MarginTradingCalculator/index.js +6 -5
  36. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +1 -1
  37. package/dist/Calculators/MaxLoanCalculator/index.js +1 -1
  38. package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +1 -1
  39. package/dist/Calculators/MonthlyPaymentCalculator/index.js +1 -1
  40. package/dist/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js +1 -1
  41. package/dist/Calculators/MonthlyPaymentLVFCalculator/index.js +1 -1
  42. package/dist/Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js +1 -1
  43. package/dist/Calculators/SummitApyCalculator/index.js +2 -2
  44. package/dist/Calculators/calculator.css.js +1 -1
  45. package/dist/CallToActionBar/CallToActionBar.css.js +1 -1
  46. package/dist/CallToActionBar/index.js +1 -1
  47. package/dist/Carousel/Carousel.css.js +1 -1
  48. package/dist/Carousel/index.js +4 -3
  49. package/dist/Chatbot/AnimatedGradientBorder.css.js +1 -1
  50. package/dist/Chatbot/Bubble.css.js +1 -1
  51. package/dist/Chatbot/Bubble.js +1 -1
  52. package/dist/Chatbot/ChatWindow.css.js +1 -1
  53. package/dist/Chatbot/ChatWindow.js +2 -2
  54. package/dist/Chatbot/Chatbot.css.js +1 -1
  55. package/dist/Chatbot/ChatbotMessage.js +2 -2
  56. package/dist/Chatbot/ThankYouMessage.js +2 -2
  57. package/dist/Chevron/Chevron.css.js +1 -1
  58. package/dist/Chevron/index.js +4 -3
  59. package/dist/CollectInformationAlert/CollectInformationAlert.css.js +1 -1
  60. package/dist/CollectInformationAlert/index.js +1 -1
  61. package/dist/Comparison/Comparison.css.js +1 -1
  62. package/dist/Comparison/Comparison.js +4 -3
  63. package/dist/Comparison/ComparisonSet.js +1 -1
  64. package/dist/ContentBanner/ContentBanner.css.js +1 -1
  65. package/dist/ContentBanner/index.js +1 -1
  66. package/dist/DownloadTile/DownloadTile.css.js +1 -1
  67. package/dist/ExecutiveBio/ExecutiveBio.css.js +1 -1
  68. package/dist/ExecutiveBio/ExecutiveBio.js +4 -3
  69. package/dist/ExecutiveBio/ExecutiveBioSet.js +1 -1
  70. package/dist/FaqAccordion/FaqAccordion.css.js +1 -1
  71. package/dist/FaqAccordion/index.js +4 -3
  72. package/dist/FdicCallout/FdicCallout.module.js +2 -2
  73. package/dist/FooterDisclosure/FooterDisclosure.css.js +1 -1
  74. package/dist/FooterDisclosure/FooterDisclosure.js +1 -1
  75. package/dist/FooterDisclosure/LVF/LaVictorieFooter.css.js +1 -1
  76. package/dist/FooterDisclosure/LVF/LaVictorieFooter.js +2 -2
  77. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.css.js +1 -1
  78. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +3 -2
  79. package/dist/Forms/ApplicationStart.js +2 -2
  80. package/dist/Forms/ApplyNow.js +4 -3
  81. package/dist/Forms/BoatMooringLocation.js +2 -2
  82. package/dist/Forms/ClearingForm.js +2 -2
  83. package/dist/Forms/CommercialDeposits.js +2 -2
  84. package/dist/Forms/CommercialDepositsNoLendingOption.js +2 -2
  85. package/dist/Forms/CommercialLending.js +2 -2
  86. package/dist/Forms/CommercialPremiumFinance.js +2 -2
  87. package/dist/Forms/ConstructionLendingDynamic.js +2 -2
  88. package/dist/Forms/ContactCompany.js +2 -2
  89. package/dist/Forms/ContactCompanyTitle.js +2 -2
  90. package/dist/Forms/ContactUs.js +2 -2
  91. package/dist/Forms/ContactUsAAS.js +2 -2
  92. package/dist/Forms/ContactUsBusiness.js +4 -3
  93. package/dist/Forms/ContactUsBusinessNameEmail.js +4 -3
  94. package/dist/Forms/ContactUsLVF.js +2 -2
  95. package/dist/Forms/ContactUsNMLSId.js +4 -3
  96. package/dist/Forms/CpraRequest.js +4 -3
  97. package/dist/Forms/CraPublicFile.js +4 -3
  98. package/dist/Forms/DealerServices.js +2 -2
  99. package/dist/Forms/EmailOnly.js +4 -3
  100. package/dist/Forms/EmailUs.js +2 -2
  101. package/dist/Forms/Forms.css.js +1 -1
  102. package/dist/Forms/HoneyPot/HoneyPot.css.js +1 -1
  103. package/dist/Forms/MortgageRate/MortgageRateForm.js +4 -3
  104. package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +1 -1
  105. package/dist/Forms/MortgageRate/MortgageRateWatch.js +3 -2
  106. package/dist/Forms/MortgageWarehouseLending.js +4 -3
  107. package/dist/Forms/QuickPricer/QuickPricerForm.js +3 -3
  108. package/dist/Forms/QuickPricer/QuickPricerResults.css.js +1 -1
  109. package/dist/Forms/QuickPricer/UserInformation.css.js +1 -1
  110. package/dist/Forms/ScheduleCall.js +2 -2
  111. package/dist/Forms/ScheduleCallPremier.js +2 -2
  112. package/dist/Forms/SuccesForm.js +4 -3
  113. package/dist/Forms/VendorQuestionnaire.js +1 -1
  114. package/dist/Forms/WcplSurvey.js +2 -2
  115. package/dist/HelpArticle/HelpArticle.css.js +1 -1
  116. package/dist/HeroBanner/HeroBanner.css.js +1 -1
  117. package/dist/HeroBanner/HeroBanner.js +3 -3
  118. package/dist/HeroBanner/LargeBanner.css.js +1 -1
  119. package/dist/HeroBanner/LargeHeroBanner.js +3 -3
  120. package/dist/HeroBanner/SelectionBanner.css.js +1 -1
  121. package/dist/Hyperlink/Hyperlink.css.js +1 -1
  122. package/dist/Hyperlink/index.js +3 -2
  123. package/dist/IconBillboard/IconBillboard.css.js +1 -1
  124. package/dist/IconBillboard/IconBillboard.js +1 -1
  125. package/dist/IconBillboard/IconBillboardSet.js +1 -1
  126. package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
  127. package/dist/ImageBillboard/ImageBillboard.js +2 -2
  128. package/dist/ImageBillboard/ImageBillboardSet.js +2 -2
  129. package/dist/ImageLink/ImageLink.css.js +1 -1
  130. package/dist/ImageLink/ImageLink.js +3 -2
  131. package/dist/ImageLink/ImageLinkSet.js +3 -2
  132. package/dist/ImageLink/index.js +3 -2
  133. package/dist/Input/Checkbox.css.js +1 -1
  134. package/dist/Input/Checkbox.js +2 -2
  135. package/dist/Input/DownPaymentInput.js +1 -1
  136. package/dist/Input/Dropdown.css.js +1 -1
  137. package/dist/Input/Dropdown.js +1 -1
  138. package/dist/Input/Input.css.js +1 -1
  139. package/dist/Input/Input.js +1 -1
  140. package/dist/Input/InputTextArea.js +1 -1
  141. package/dist/Input/RadioButton.css.js +1 -1
  142. package/dist/Inputs/Input.css.js +1 -1
  143. package/dist/Insight/Featured/CategorySelector.css.js +1 -1
  144. package/dist/Insight/Featured/CategorySelector.js +5 -4
  145. package/dist/Insight/Featured/Featured.css.js +1 -1
  146. package/dist/Insight/Featured/Featured.js +5 -4
  147. package/dist/Insight/Featured/Header.css.js +1 -1
  148. package/dist/Insight/Featured/Header.js +4 -3
  149. package/dist/Insight/Insight.css.js +1 -1
  150. package/dist/Interstitial/Interstitial-variants.css.js +1 -1
  151. package/dist/Interstitial/Interstitial.module.js +10 -10
  152. package/dist/LandingPageHeader/LandingPageHeader.css.js +1 -1
  153. package/dist/LandingPageHeader/LandingPageHeader.js +2 -2
  154. package/dist/LoadingIndicator/LoadingIndicator.css.js +1 -1
  155. package/dist/Modal/Modal.css.js +1 -1
  156. package/dist/Modal/Modal.js +3 -2
  157. package/dist/NavigationMenu/AxosALTS/NavBar.css.js +1 -1
  158. package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
  159. package/dist/NavigationMenu/AxosALTS/index.js +3 -2
  160. package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +1 -1
  161. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  162. package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +1 -1
  163. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +1 -1
  164. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  165. package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +1 -1
  166. package/dist/NavigationMenu/AxosBank/DropwdownButton.d.ts +7 -0
  167. package/dist/NavigationMenu/AxosBank/DropwdownButton.js +109 -0
  168. package/dist/NavigationMenu/AxosBank/Menu.d.ts +37 -0
  169. package/dist/NavigationMenu/AxosBank/Menu.js +119 -0
  170. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.d.ts +12 -1
  171. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +185 -165
  172. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
  173. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +35 -282
  174. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +53 -523
  175. package/dist/NavigationMenu/AxosBank/MobileMenu/mobileReducer.d.ts +36 -0
  176. package/dist/NavigationMenu/AxosBank/MobileMenu/mobileReducer.js +105 -0
  177. package/dist/NavigationMenu/AxosBank/NavBar.css.js +1 -1
  178. package/dist/NavigationMenu/AxosBank/NavBar.module.js +42 -39
  179. package/dist/NavigationMenu/AxosBank/SubNavBar.d.ts +6 -1
  180. package/dist/NavigationMenu/AxosBank/SubNavBar.js +113 -3082
  181. package/dist/NavigationMenu/AxosBank/SubNavItem.d.ts +1 -0
  182. package/dist/NavigationMenu/AxosBank/SubNavItem.js +185 -0
  183. package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +1 -1
  184. package/dist/NavigationMenu/AxosBank/index.d.ts +5 -3
  185. package/dist/NavigationMenu/AxosBank/index.js +134 -396
  186. package/dist/NavigationMenu/AxosClearing/NavBar.css.js +1 -1
  187. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
  188. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
  189. package/dist/NavigationMenu/LaVictoire/NavBar.css.js +1 -1
  190. package/dist/NavigationMenu/LaVictoire/NavBar.module.js +37 -37
  191. package/dist/NavigationMenu/LaVictoire/index.js +3 -2
  192. package/dist/NavigationMenu/Navbar.d.ts +4 -1
  193. package/dist/NavigationMenu/Navbar.js +6 -5
  194. package/dist/NavigationMenu/SignInNavButton.js +4 -3
  195. package/dist/NavigationMenu/utils.d.ts +465 -0
  196. package/dist/NavigationMenu/utils.js +112 -0
  197. package/dist/PageNavItem/PageNavItem.css.js +1 -1
  198. package/dist/PageNavItem/PageNavItem.js +1 -1
  199. package/dist/PageNavSet/PageNavSet.js +1 -1
  200. package/dist/PageNavSet/PageNavigationSet.css.js +1 -1
  201. package/dist/Pagination/Pagination.css.js +1 -1
  202. package/dist/Pagination/Pagination.js +2 -2
  203. package/dist/SecondaryFooter/SecondaryFooter.css.js +1 -1
  204. package/dist/SecondaryFooter/index.js +1 -1
  205. package/dist/SetContainer/SetContainer.css.js +1 -1
  206. package/dist/SetContainer/SetContainer.js +4 -3
  207. package/dist/SocialMediaBar/SocialMediaBar.css.js +1 -1
  208. package/dist/SocialMediaBar/iconsRepository.js +3 -2
  209. package/dist/StepItem/StepItem.css.js +1 -1
  210. package/dist/StepItem/StepItem.js +1 -1
  211. package/dist/StepItemSet/StepItemSet.css.js +1 -1
  212. package/dist/StepItemSet/StepItemSet.js +2 -2
  213. package/dist/Tab/Tab.css.js +1 -1
  214. package/dist/Table/Table.css.js +1 -1
  215. package/dist/Table/Table.js +2 -2
  216. package/dist/TextBlock/TextBlock.css.js +1 -1
  217. package/dist/TextBlock/TextBlock.js +1 -1
  218. package/dist/Topic/Topic.css.js +1 -1
  219. package/dist/Topic/Topic.js +1 -1
  220. package/dist/TopicalNavItem/TopicalNavItem.css.js +1 -1
  221. package/dist/TopicalNavSet/TopicalNavSet.css.js +1 -1
  222. package/dist/Typography/Typography.css.js +1 -1
  223. package/dist/VideoTile/VideoTile.css.js +1 -1
  224. package/dist/VideoTile/VideoTile.js +3 -2
  225. package/dist/VideoWrapper/VideoWrapper.css.js +1 -1
  226. package/dist/VideoWrapper/index.js +3 -2
  227. package/dist/WalnutIframe/wrapper.module.js +3 -3
  228. package/dist/assets/Avatar/Avatar.css +59 -59
  229. package/dist/assets/Blockquote/Blockquote.css +72 -72
  230. package/dist/assets/FdicCallout/FdicCallout.css +48 -48
  231. package/dist/assets/Interstitial/Interstitial.css +142 -142
  232. package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +264 -264
  233. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
  234. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +630 -630
  235. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -353
  236. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +483 -445
  237. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css +484 -484
  238. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css +427 -427
  239. package/dist/assets/NavigationMenu/LaVictoire/NavBar.css +429 -429
  240. package/dist/assets/WalnutIframe/wrapper.css +48 -48
  241. package/dist/assets/utils/optimizeImage/optimizeImage.css +47 -47
  242. package/dist/globals.css.js +1 -1
  243. package/dist/icons/ArrowIcon/ArrowIcon.css.js +1 -1
  244. package/dist/icons/CheckIcon/CheckIcon.css.js +1 -1
  245. package/dist/icons/DownloadIcon/DownloadIcon.css.js +1 -1
  246. package/dist/icons/FollowIcon/FollowIcon.css.js +1 -1
  247. package/dist/icons/Star/Star.css.js +1 -1
  248. package/dist/index.css.js +1 -1
  249. package/dist/themes/axos.css.js +1 -1
  250. package/dist/themes/premier.css.js +1 -1
  251. package/dist/themes/ufb.css.js +1 -1
  252. package/dist/themes/victorie.css.js +1 -1
  253. package/dist/utils/allowedAxosDomains.js +6 -2
  254. package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
  255. package/package.json +148 -148
@@ -0,0 +1,465 @@
1
+ export interface Logo {
2
+ id: string;
3
+ url: string;
4
+ alt: string;
5
+ }
6
+ export interface NavItem {
7
+ id: string;
8
+ url: string;
9
+ label: string;
10
+ descriptiveTextAriaLabel?: string;
11
+ icon?: string | undefined;
12
+ ariaLabel?: string | undefined;
13
+ target?: any;
14
+ }
15
+ export interface NavItems extends NavItem {
16
+ items?: NavItems[];
17
+ subItems?: NavItems[];
18
+ menuItems?: Menu;
19
+ hasMenu?: boolean;
20
+ rightSide?: boolean | undefined;
21
+ dropdown?: boolean | undefined;
22
+ displayInNavigation?: boolean | undefined;
23
+ }
24
+ export interface SubNavItems extends NavItem {
25
+ subItems: (NavItems | NavItem | undefined)[];
26
+ menuItems?: Menu;
27
+ hasMenu?: boolean;
28
+ dropdown: boolean | undefined;
29
+ rightSide?: boolean | undefined;
30
+ displayInNavigation?: boolean | undefined;
31
+ }
32
+ export interface Navigation {
33
+ subNavBar?: SubNavItems[];
34
+ logo?: Logo;
35
+ quickLinks: NavItem[];
36
+ }
37
+ export interface Menu {
38
+ target: Record<string, unknown>;
39
+ heading: string;
40
+ bannerHeading: string;
41
+ bannerDescription: string;
42
+ helpAndSupportLink?: string;
43
+ bannerImage: {
44
+ fields: {
45
+ title: string;
46
+ file: {
47
+ url: string;
48
+ details: {
49
+ size: number;
50
+ image: {
51
+ width: number;
52
+ height: number;
53
+ };
54
+ };
55
+ fileName: string;
56
+ contentType: string;
57
+ };
58
+ };
59
+ };
60
+ bannerCta: {
61
+ id: string;
62
+ label: string;
63
+ url: string;
64
+ ariaLabel: string;
65
+ };
66
+ subItems?: NavItems[];
67
+ }
68
+ export interface PrimaryMenu {
69
+ sys: {
70
+ id: string;
71
+ contentType: {
72
+ sys: {
73
+ id: "primaryNavigation";
74
+ };
75
+ };
76
+ };
77
+ fields: {
78
+ display: string;
79
+ displayInNavigation: boolean;
80
+ rightSide: boolean;
81
+ dropdown: boolean;
82
+ target: {
83
+ sys: {
84
+ id: string;
85
+ contentType: {
86
+ sys: {
87
+ id: string;
88
+ };
89
+ };
90
+ };
91
+ fields: {
92
+ displayText: string;
93
+ targetUrl: string;
94
+ descriptiveTextAriaLabel: string;
95
+ icon: {
96
+ fields: {
97
+ image: {
98
+ fields: {
99
+ file: {
100
+ url: string;
101
+ };
102
+ };
103
+ };
104
+ };
105
+ };
106
+ };
107
+ };
108
+ children: Array<PrimaryChildrens>;
109
+ };
110
+ }
111
+ export interface QuickLink {
112
+ sys: {
113
+ id: string;
114
+ contentType: {
115
+ sys: {
116
+ id: string;
117
+ };
118
+ };
119
+ };
120
+ fields: {
121
+ displayText: string;
122
+ targetUrl: string;
123
+ descriptiveTextAriaLabel: string;
124
+ icon: {
125
+ fields: {
126
+ image: {
127
+ fields: {
128
+ file: {
129
+ url: string;
130
+ };
131
+ };
132
+ };
133
+ };
134
+ };
135
+ };
136
+ }
137
+ export interface HyperLinkType {
138
+ sys: {
139
+ id: string;
140
+ contentType: {
141
+ sys: {
142
+ id: "hyperlink";
143
+ };
144
+ };
145
+ };
146
+ fields: {
147
+ displayText: string;
148
+ targetUrl: string;
149
+ descriptiveTextAriaLabel: string;
150
+ };
151
+ }
152
+ export interface CallToActionType {
153
+ sys: {
154
+ id: string;
155
+ contentType: {
156
+ sys: {
157
+ id: "hyperlink";
158
+ };
159
+ };
160
+ };
161
+ fields: {
162
+ displayText: string;
163
+ targetUrl: string;
164
+ descriptiveTextAriaLabel: string;
165
+ icon: {
166
+ fields: {
167
+ image: {
168
+ fields: {
169
+ file: {
170
+ url: string;
171
+ };
172
+ };
173
+ };
174
+ };
175
+ };
176
+ };
177
+ }
178
+ export interface TertiaryMenu {
179
+ sys: {
180
+ id: string;
181
+ contentType: {
182
+ sys: {
183
+ id: "tertiaryNavigation";
184
+ };
185
+ };
186
+ };
187
+ fields: {
188
+ displayText?: string;
189
+ target: CallToActionType;
190
+ descriptiveTextAriaLabel?: string;
191
+ children: Array<HyperLinkType>;
192
+ targetUrl?: string;
193
+ icon: {
194
+ fields: {
195
+ file: {
196
+ url: string;
197
+ };
198
+ };
199
+ };
200
+ };
201
+ }
202
+ export interface SecondaryMenu {
203
+ sys: {
204
+ id: string;
205
+ contentType: {
206
+ sys: {
207
+ id: "secondaryNavigation";
208
+ };
209
+ };
210
+ };
211
+ fields: {
212
+ display: string;
213
+ target: HyperLinkType;
214
+ children: Array<TertiaryMenu>;
215
+ heading: string;
216
+ bannerHeading: string;
217
+ bannerDescription: string;
218
+ helpAndSupportLink?: string;
219
+ bannerImage: {
220
+ fields: {
221
+ title: string;
222
+ file: {
223
+ url: string;
224
+ details: {
225
+ size: number;
226
+ image: {
227
+ width: number;
228
+ height: number;
229
+ };
230
+ };
231
+ fileName: string;
232
+ contentType: string;
233
+ };
234
+ };
235
+ };
236
+ bannerCtaLinks?: Array<{
237
+ sys: {
238
+ id: string;
239
+ type: string;
240
+ };
241
+ fields: {
242
+ displayText: string;
243
+ targetUrl: string;
244
+ descriptiveTextAriaLabel: string;
245
+ };
246
+ }>;
247
+ };
248
+ }
249
+ type PrimaryChildrens = SecondaryMenu | HyperLinkType;
250
+ export interface MenuObject {
251
+ sys: {
252
+ id: string;
253
+ contentType: {
254
+ sys: {
255
+ id: string;
256
+ };
257
+ };
258
+ };
259
+ fields: {
260
+ label: string;
261
+ description: string;
262
+ display: string;
263
+ target: Array<{
264
+ sys: {
265
+ id: string;
266
+ contentType: {
267
+ sys: {
268
+ id: string;
269
+ };
270
+ };
271
+ };
272
+ fields: {
273
+ displayText: string;
274
+ targetUrl: string;
275
+ descriptiveTextAriaLabel: string;
276
+ };
277
+ }>;
278
+ logo: {
279
+ sys: {
280
+ id: string;
281
+ type: string;
282
+ };
283
+ fields: {
284
+ title: string;
285
+ image: {
286
+ fields: {
287
+ file: {
288
+ url: string;
289
+ };
290
+ };
291
+ };
292
+ };
293
+ };
294
+ quickLinks: Array<{
295
+ sys: {
296
+ id: string;
297
+ contentType: {
298
+ sys: {
299
+ id: string;
300
+ };
301
+ };
302
+ };
303
+ fields: {
304
+ displayText: string;
305
+ targetUrl: string;
306
+ descriptiveTextAriaLabel: string;
307
+ icon: {
308
+ fields: {
309
+ image: {
310
+ fields: {
311
+ file: {
312
+ url: string;
313
+ };
314
+ };
315
+ };
316
+ };
317
+ };
318
+ };
319
+ }>;
320
+ children: PrimaryMenu[];
321
+ };
322
+ }
323
+ export declare const getFirstLevelMenuItems: (menuData: MenuObject) => ({
324
+ id: string;
325
+ label: string;
326
+ url: string;
327
+ descriptiveTextAriaLabel: string;
328
+ rightSide: boolean;
329
+ dropdown: boolean;
330
+ } | {
331
+ id?: undefined;
332
+ label?: undefined;
333
+ url?: undefined;
334
+ descriptiveTextAriaLabel?: undefined;
335
+ rightSide?: undefined;
336
+ dropdown?: undefined;
337
+ })[];
338
+ export declare const getLogo: (menuData: MenuObject) => {
339
+ id: string;
340
+ url: string;
341
+ alt: string;
342
+ };
343
+ export declare const getQuickLinks: (menuData: MenuObject) => NavItem[];
344
+ export declare const extractChildrenTargets: (children: PrimaryChildrens[]) => (NavItem | {
345
+ id: string;
346
+ label: string;
347
+ url: string;
348
+ hasMenu: boolean;
349
+ descriptiveTextAriaLabel: string;
350
+ menuItems: {
351
+ target: {
352
+ displayText: string;
353
+ targetUrl: string;
354
+ descriptiveTextAriaLabel: string;
355
+ id: string;
356
+ };
357
+ heading: string;
358
+ bannerHeading: string;
359
+ bannerDescription: string;
360
+ helpAndSupportLink: string | undefined;
361
+ bannerImage: {
362
+ fields: {
363
+ title: string;
364
+ file: {
365
+ url: string;
366
+ details: {
367
+ size: number;
368
+ image: {
369
+ width: number;
370
+ height: number;
371
+ };
372
+ };
373
+ fileName: string;
374
+ contentType: string;
375
+ };
376
+ };
377
+ };
378
+ bannerCta: {
379
+ id: string;
380
+ label: string;
381
+ url: string;
382
+ ariaLabel: string;
383
+ }[] | undefined;
384
+ subItems: {
385
+ items: {
386
+ id: string;
387
+ label: string;
388
+ descriptiveTextAriaLabel: string;
389
+ url: string;
390
+ icon: string;
391
+ }[];
392
+ id: string;
393
+ label: string;
394
+ icon: string;
395
+ descrictiveTextAriaLabel: string;
396
+ url: string;
397
+ }[];
398
+ };
399
+ } | undefined)[];
400
+ export declare const getNavMenuItems: (menuData: MenuObject) => {
401
+ id: string;
402
+ label: string;
403
+ url: string;
404
+ descriptiveTextAriaLabel: string;
405
+ dropdown: boolean;
406
+ rightSide: boolean;
407
+ displayInNavigation: boolean;
408
+ subItems: (NavItem | {
409
+ id: string;
410
+ label: string;
411
+ url: string;
412
+ hasMenu: boolean;
413
+ descriptiveTextAriaLabel: string;
414
+ menuItems: {
415
+ target: {
416
+ displayText: string;
417
+ targetUrl: string;
418
+ descriptiveTextAriaLabel: string;
419
+ id: string;
420
+ };
421
+ heading: string;
422
+ bannerHeading: string;
423
+ bannerDescription: string;
424
+ helpAndSupportLink: string | undefined;
425
+ bannerImage: {
426
+ fields: {
427
+ title: string;
428
+ file: {
429
+ url: string;
430
+ details: {
431
+ size: number;
432
+ image: {
433
+ width: number;
434
+ height: number;
435
+ };
436
+ };
437
+ fileName: string;
438
+ contentType: string;
439
+ };
440
+ };
441
+ };
442
+ bannerCta: {
443
+ id: string;
444
+ label: string;
445
+ url: string;
446
+ ariaLabel: string;
447
+ }[] | undefined;
448
+ subItems: {
449
+ items: {
450
+ id: string;
451
+ label: string;
452
+ descriptiveTextAriaLabel: string;
453
+ url: string;
454
+ icon: string;
455
+ }[];
456
+ id: string;
457
+ label: string;
458
+ icon: string;
459
+ descrictiveTextAriaLabel: string;
460
+ url: string;
461
+ }[];
462
+ };
463
+ } | undefined)[];
464
+ }[];
465
+ export {};
@@ -0,0 +1,112 @@
1
+ const getFirstLevelMenuItems = (menuData) => {
2
+ if (!menuData.fields?.children) return [];
3
+ return menuData.fields?.children?.map(
4
+ ({ fields, sys }) => fields?.target !== void 0 ? {
5
+ id: sys.id || sys.id,
6
+ label: fields.target.fields.displayText,
7
+ url: fields.target.fields.targetUrl,
8
+ descriptiveTextAriaLabel: fields?.target.fields.descriptiveTextAriaLabel,
9
+ rightSide: !!fields.rightSide,
10
+ dropdown: fields?.dropdown
11
+ } : {}
12
+ );
13
+ };
14
+ const getLogo = (menuData) => {
15
+ const { fields } = menuData;
16
+ return {
17
+ id: fields?.logo?.sys?.id,
18
+ url: fields?.logo?.fields?.image?.fields?.file?.url,
19
+ alt: fields?.logo?.fields?.title
20
+ };
21
+ };
22
+ const transformPrimaryNavigation = (item) => {
23
+ const { sys, fields } = item;
24
+ return {
25
+ id: sys.id,
26
+ label: fields.display,
27
+ url: fields?.target?.fields?.targetUrl,
28
+ hasMenu: fields.children && fields.children.length > 0,
29
+ descriptiveTextAriaLabel: fields.target?.fields.descriptiveTextAriaLabel,
30
+ menuItems: {
31
+ target: { id: fields.target?.sys?.id, ...fields?.target?.fields },
32
+ heading: fields.heading,
33
+ bannerHeading: fields.bannerHeading,
34
+ bannerDescription: fields.bannerDescription,
35
+ helpAndSupportLink: fields.helpAndSupportLink,
36
+ bannerImage: fields?.bannerImage,
37
+ bannerCta: fields?.bannerCtaLinks?.map(({ sys: sys2, fields: fields2 }) => ({
38
+ id: sys2.id,
39
+ label: fields2.displayText,
40
+ url: fields2.targetUrl,
41
+ ariaLabel: fields2.descriptiveTextAriaLabel
42
+ })),
43
+ subItems: fields?.children?.length > 0 ? fields.children?.map(({ fields: menuFields, sys: menuSys }) => {
44
+ const target = {
45
+ id: menuSys.id,
46
+ label: menuFields?.target?.fields?.displayText ?? menuFields?.displayText,
47
+ icon: menuFields?.icon?.fields?.file?.url,
48
+ descrictiveTextAriaLabel: menuFields?.target?.fields?.descriptiveTextAriaLabel ?? menuFields.descriptiveTextAriaLabel,
49
+ url: menuFields?.target?.fields?.targetUrl ?? menuFields.targetUrl
50
+ };
51
+ const items = menuFields?.children?.map((item2) => {
52
+ return {
53
+ id: item2.sys.id,
54
+ label: item2.fields.displayText,
55
+ descriptiveTextAriaLabel: item2.fields.descriptiveTextAriaLabel,
56
+ url: item2.fields.targetUrl,
57
+ icon: menuFields?.icon?.fields?.file?.url
58
+ };
59
+ });
60
+ return {
61
+ ...target,
62
+ items
63
+ };
64
+ }) : []
65
+ }
66
+ };
67
+ };
68
+ const getQuickLinks = (menuData) => {
69
+ return menuData?.fields?.quickLinks?.map(({ fields, sys }) => ({
70
+ id: sys.id,
71
+ label: fields?.displayText,
72
+ url: fields?.targetUrl,
73
+ ariaLabel: fields?.descriptiveTextAriaLabel ?? "",
74
+ icon: fields?.icon?.fields?.image?.fields?.file?.url
75
+ }));
76
+ };
77
+ const extractChildrenTargets = (children) => {
78
+ if (!children) return [];
79
+ return children?.map((child) => {
80
+ if (child?.sys?.contentType?.sys?.id === "secondaryNavigation") {
81
+ return transformPrimaryNavigation(child);
82
+ }
83
+ if (child?.sys?.contentType?.sys?.id === "hyperlink") {
84
+ const { fields, sys } = child;
85
+ return {
86
+ id: sys.id,
87
+ label: fields?.displayText,
88
+ url: fields?.targetUrl,
89
+ descriptiveTextAriaLabel: fields?.descriptiveTextAriaLabel
90
+ };
91
+ }
92
+ });
93
+ };
94
+ const getNavMenuItems = (menuData) => {
95
+ return menuData?.fields?.children?.map(({ fields, sys }) => ({
96
+ id: sys.id,
97
+ label: fields.target?.fields?.displayText,
98
+ url: fields.target?.fields?.targetUrl,
99
+ descriptiveTextAriaLabel: fields.target?.fields?.descriptiveTextAriaLabel ?? "",
100
+ dropdown: fields?.dropdown,
101
+ rightSide: fields?.rightSide ?? false,
102
+ displayInNavigation: fields?.displayInNavigation,
103
+ subItems: extractChildrenTargets(fields.children)
104
+ }));
105
+ };
106
+ export {
107
+ extractChildrenTargets,
108
+ getFirstLevelMenuItems,
109
+ getLogo,
110
+ getNavMenuItems,
111
+ getQuickLinks
112
+ };
@@ -1,4 +1,4 @@
1
- import '../assets/PageNavItem/PageNavItem.css';import '../assets/Typography/Typography.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { getVariant } from "../utils/getVariant.js";
3
- import { pn_link, pn_btn } from "./PageNavItem.css.js";
3
+ import { pn_btn, pn_link } from "./PageNavItem.css.js";
4
4
  const PageNavItem = ({
5
5
  id,
6
6
  addClassName,
@@ -5,7 +5,7 @@ import { useState, useRef, useEffect } from "react";
5
5
  import Slider from "react-slick";
6
6
  import "../PageNavItem/PageNavItem.css.js";
7
7
  import { PageNavItem } from "../PageNavItem/PageNavItem.js";
8
- import { nav_wrapper, sticky_nav } from "./PageNavigationSet.css.js";
8
+ import { sticky_nav, nav_wrapper } from "./PageNavigationSet.css.js";
9
9
  const PageNavSet = ({ id, pageNavItems }) => {
10
10
  const SliderComponent = Slider.default ? Slider.default : Slider;
11
11
  const [activeSection, setActiveSection] = useState(
@@ -1,4 +1,4 @@
1
- import '../assets/PageNavSet/PageNavigationSet.css';/* empty css */
1
+ /* empty css */
2
2
  var nav_wrapper = "_1qd6ohx0";
3
3
  var sticky_nav = "_1qd6ohx1";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import '../assets/Pagination/Pagination.css';/* empty css */
1
+ /* empty css */
2
2
  var pagination_container = "o4qn1i0";
3
3
  var active_page = "o4qn1i1";
4
4
  var disabled_arrows = "o4qn1i2";
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import "../icons/ArrowIcon/ArrowIcon.css.js";
4
4
  import "../icons/CheckIcon/CheckIcon.css.js";
5
5
  import SvgChevronDown from "../icons/ChevronDown.js";
6
- import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
@@ -12,7 +12,7 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
12
12
  import clsx from "clsx";
13
13
  import Link from "next/link.js";
14
14
  import { useSearchParams } from "next/navigation.js";
15
- import { active_page, disabled_arrows, pagination_container } from "./Pagination.css.js";
15
+ import { active_page, pagination_container, disabled_arrows } from "./Pagination.css.js";
16
16
  function Pagination({ totalPages }) {
17
17
  const searchParams = useSearchParams();
18
18
  const page = searchParams.get("page") || 1;
@@ -1,4 +1,4 @@
1
- import '../assets/SecondaryFooter/SecondaryFooter.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Hyperlink } from "../Hyperlink/index.js";
3
3
  import clsx from "clsx";
4
- import { footer_items_wrapper, footer_item, footer_link, secondary_footer } from "./SecondaryFooter.css.js";
4
+ import { secondary_footer, footer_items_wrapper, footer_item, footer_link } from "./SecondaryFooter.css.js";
5
5
  const SecondaryFooter = (props) => {
6
6
  const { items } = props;
7
7
  return /* @__PURE__ */ jsx("div", { className: clsx(secondary_footer, "containment", "section_spacer"), children: /* @__PURE__ */ jsx("div", { className: footer_items_wrapper, children: items?.map((item) => /* @__PURE__ */ jsx("div", { className: footer_item, children: /* @__PURE__ */ jsx(Hyperlink, { targetUrl: item.targetURL, className: footer_link, children: item.displayText }) }, item.id)) }) });
@@ -1,4 +1,4 @@
1
- import '../assets/SetContainer/SetContainer.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
1
+ /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -4,7 +4,7 @@ import "../icons/ArrowIcon/ArrowIcon.css.js";
4
4
  import SvgAxosX from "../icons/AxosX/index.js";
5
5
  import SvgComponent from "../icons/AxosX/Blue.js";
6
6
  import "../icons/CheckIcon/CheckIcon.css.js";
7
- import '../assets/VideoWrapper/VideoWrapper.css';import '../assets/TopicalNavSet/TopicalNavSet.css';import '../assets/TopicalNavItem/TopicalNavItem.css';import '../assets/Topic/Topic.css';import '../assets/TextBlock/TextBlock.css';import '../assets/SocialMediaBar/SocialMediaBar.css';import '../assets/SecondaryFooter/SecondaryFooter.css';import '../assets/Pagination/Pagination.css';import '../assets/PageNavSet/PageNavigationSet.css';import '../assets/NavigationMenu/LaVictoire/NavBar2.css';import '../assets/NavigationMenu/AxosALTS/NavBar2.css';import '../assets/NavigationMenu/AxosClearing/NavBar2.css';import '../assets/NavigationMenu/AxosBank/SubNavbar.css';import '../assets/NavigationMenu/AxosBank/NavBar2.css';import '../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisorServices/NavBar2.css';import '../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisor/NavBar2.css';import '../assets/Insight/Featured/Header.css';import '../assets/Insight/Featured/CategorySelector.css';import '../assets/Insight/Featured/Featured.css';import '../assets/ImageLink/ImageLink.css';import '../assets/VideoTile/VideoTile.css';import '../assets/HelpArticle/HelpArticle.css';import '../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../assets/DownloadTile/DownloadTile.css';import '../assets/CollectInformationAlert/CollectInformationAlert.css';import '../assets/Chatbot/ChatWindow.css';import '../assets/Chatbot/Bubble.css';import '../assets/Chatbot/Chatbot.css';import '../assets/Chatbot/AnimatedGradientBorder.css';import '../assets/CallToActionBar/CallToActionBar.css';import '../assets/Insight/Insight.css';import '../assets/AwardsItem/AwardsItem.css';import '../assets/AwardsBanner/AwardsBanner.css';import '../assets/Auth/SignIn.css';import '../assets/Auth/ErrorAlert.css';import '../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../assets/Forms/QuickPricer/UserInformation.css';import '../assets/Forms/QuickPricer/QuickPricerResults.css';import '../assets/Modal/Modal.css';import '../assets/BulletItem/BulletItem.css';import '../assets/Typography/Typography.css';import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
@@ -81,7 +81,7 @@ import "../Chatbot/Chatbot.js";
81
81
  import "../Chatbot/store/messages.js";
82
82
  /* empty css */
83
83
  import "../Comparison/Comparison.css.js";
84
- import { setcontainer_section_text, inline_container, set_container_cols, set_container, isolate_container } from "./SetContainer.css.js";
84
+ import { set_container, isolate_container, setcontainer_section_text, set_container_cols, inline_container } from "./SetContainer.css.js";
85
85
  import "../Tab/Tab.css.js";
86
86
  import "../icons/Star/Star.css.js";
87
87
  import { heroSupertag } from "../HeroBanner/HeroBanner.css.js";
@@ -108,8 +108,9 @@ import "next/navigation.js";
108
108
  /* empty css */
109
109
  /* empty css */
110
110
  /* empty css */
111
- import "next/link.js";
112
111
  /* empty css */
112
+ import "next/link.js";
113
+ import "../NavigationMenu/AxosBank/Menu.js";
113
114
  /* empty css */
114
115
  /* empty css */
115
116
  /* empty css */