@axos-web-dev/shared-components 1.0.100-dev.75 → 1.0.100-dev.77
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/README.md +111 -111
- package/dist/Accordion/Accordion.js +3 -3
- package/dist/AlertBanner/index.js +1 -1
- package/dist/Article/Article.js +1 -1
- package/dist/Avatar/Avatar.module.js +7 -7
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/Calculators/AnnualFeeCalculator/index.js +1 -1
- package/dist/Calculators/ApyCalculator/index.js +1 -1
- package/dist/Calculators/BuyDownCalculator/index.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +1 -1
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +1 -1
- package/dist/Calculators/MaxLoanCalculator/index.js +1 -1
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +1 -1
- package/dist/Calculators/MonthlyPaymentLVFCalculator/index.js +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/Chatbot/ChatWindow.js +5 -9
- package/dist/Chatbot/Chatbot.js +19 -11
- package/dist/Chatbot/ChatbotMessage.js +37 -20
- package/dist/ContentBanner/index.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBioSet.js +1 -1
- package/dist/FaqAccordion/index.js +1 -1
- package/dist/FdicCallout/FdicCallout.module.js +2 -2
- package/dist/FooterDisclosure/FooterDisclosure.js +1 -1
- package/dist/Forms/ConstructionLendingDynamic.js +27 -1
- package/dist/Forms/FormEnums.js +1 -3
- package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -1
- package/dist/HeroBanner/HeroBanner.js +2 -2
- package/dist/Hyperlink/index.js +3 -2
- package/dist/IconBillboard/IconBillboardSet.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.js +1 -1
- package/dist/Input/Checkbox.js +2 -2
- package/dist/Input/DownPaymentInput.js +1 -1
- package/dist/Input/Dropdown.js +1 -1
- package/dist/Input/Input.js +1 -1
- package/dist/Input/InputTextArea.js +1 -1
- package/dist/Insight/Featured/Featured.js +2 -2
- package/dist/Interstitial/Interstitial.module.js +10 -10
- package/dist/LandingPageHeader/LandingPageHeader.js +1 -1
- package/dist/Modal/contextApi/store.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
- 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.module.js +39 -39
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +9 -0
- package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
- package/dist/NavigationMenu/LaVictoire/NavBar.module.js +37 -37
- package/dist/PageNavItem/PageNavItem.js +1 -1
- package/dist/SetContainer/SetContainer.js +1 -1
- package/dist/StepItem/StepItem.js +1 -1
- package/dist/StepItemSet/StepItemSet.js +1 -1
- package/dist/Table/Table.js +1 -1
- package/dist/Topic/Topic.js +1 -1
- package/dist/WalnutIframe/wrapper.module.js +3 -3
- package/dist/assets/Avatar/Avatar.css.css +59 -59
- package/dist/assets/Blockquote/Blockquote.css.css +72 -72
- package/dist/assets/Chatbot/ChatWindow.css +7 -4
- package/dist/assets/FdicCallout/FdicCallout.css.css +48 -48
- package/dist/assets/Interstitial/Interstitial.css.css +142 -142
- package/dist/assets/NavigationMenu/AxosALTS/NavBar.css.css +264 -264
- package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +609 -609
- package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +630 -630
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +353 -353
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +445 -445
- package/dist/assets/NavigationMenu/AxosClearing/NavBar.css.css +484 -484
- package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +427 -427
- package/dist/assets/NavigationMenu/LaVictoire/NavBar.css.css +429 -429
- package/dist/assets/WalnutIframe/wrapper.css.css +48 -48
- package/dist/assets/utils/optimizeImage/optimizeImage.css.css +47 -47
- package/dist/utils/appendQueryParams.js +36 -5
- package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
- package/dist/utils/validateExternalLinks.js +2 -4
- package/package.json +1 -1
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
@keyframes
|
|
2
|
-
from {
|
|
3
|
-
transform: translateX(-100%);
|
|
4
|
-
}
|
|
5
|
-
to {
|
|
6
|
-
transform: translateX(100%);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.
|
|
11
|
-
background: #1e3860;
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
height: 555px;
|
|
14
|
-
isolation: isolate;
|
|
15
|
-
margin-block: 48px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
section > .
|
|
19
|
-
margin-top: 0 !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.
|
|
23
|
-
content: "";
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: 0;
|
|
26
|
-
left: 0;
|
|
27
|
-
width: 190%;
|
|
28
|
-
height: 100%;
|
|
29
|
-
background: linear-gradient(
|
|
30
|
-
65deg,
|
|
31
|
-
rgba(255, 255, 255, 0) 20%,
|
|
32
|
-
rgba(255, 255, 255, 0.5) 50%,
|
|
33
|
-
rgba(255, 255, 255, 0) 80%
|
|
34
|
-
);
|
|
35
|
-
animation:
|
|
36
|
-
z-index: -1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.
|
|
40
|
-
height: 100%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@media (max-width: 1023px) {
|
|
45
|
-
.
|
|
46
|
-
display: none;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
@keyframes _shimmer_1wqdl_1 {
|
|
2
|
+
from {
|
|
3
|
+
transform: translateX(-100%);
|
|
4
|
+
}
|
|
5
|
+
to {
|
|
6
|
+
transform: translateX(100%);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
._wrapper_1wqdl_19 {
|
|
11
|
+
background: #1e3860;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
height: 555px;
|
|
14
|
+
isolation: isolate;
|
|
15
|
+
margin-block: 48px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
section > ._wrapper_1wqdl_19:first-child {
|
|
19
|
+
margin-top: 0 !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
._wrapper_1wqdl_19::before {
|
|
23
|
+
content: "";
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
width: 190%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
background: linear-gradient(
|
|
30
|
+
65deg,
|
|
31
|
+
rgba(255, 255, 255, 0) 20%,
|
|
32
|
+
rgba(255, 255, 255, 0.5) 50%,
|
|
33
|
+
rgba(255, 255, 255, 0) 80%
|
|
34
|
+
);
|
|
35
|
+
animation: _shimmer_1wqdl_1 1.3s infinite linear;
|
|
36
|
+
z-index: -1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
._wrapper_control_1wqdl_77 {
|
|
40
|
+
height: 100%;
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media (max-width: 1023px) {
|
|
45
|
+
._wrapper_1wqdl_19 {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
@keyframes
|
|
2
|
-
from {
|
|
3
|
-
transform: translateX(-100%);
|
|
4
|
-
}
|
|
5
|
-
to {
|
|
6
|
-
transform: translateX(100%);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.
|
|
11
|
-
height: 100%;
|
|
12
|
-
width: 100%;
|
|
13
|
-
inset: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.
|
|
17
|
-
position: relative;
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
background: #1e3860;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
._1es6o1h0 .
|
|
25
|
-
background-color: var(--_1073cm8f);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.fl2fv50 .
|
|
29
|
-
background-color: #28587d;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.
|
|
33
|
-
content: "";
|
|
34
|
-
position: absolute;
|
|
35
|
-
top: 0;
|
|
36
|
-
left: 0;
|
|
37
|
-
width: 190%;
|
|
38
|
-
height: 100%;
|
|
39
|
-
background: linear-gradient(
|
|
40
|
-
65deg,
|
|
41
|
-
rgba(255, 255, 255, 0) 20%,
|
|
42
|
-
rgba(255, 255, 255, 0.5) 50%,
|
|
43
|
-
rgba(255, 255, 255, 0) 80%
|
|
44
|
-
);
|
|
45
|
-
animation:
|
|
46
|
-
z-index: 1;
|
|
47
|
-
}
|
|
1
|
+
@keyframes _shimmer_1cu2x_1 {
|
|
2
|
+
from {
|
|
3
|
+
transform: translateX(-100%);
|
|
4
|
+
}
|
|
5
|
+
to {
|
|
6
|
+
transform: translateX(100%);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
._loader_1cu2x_19 {
|
|
11
|
+
height: 100%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
inset: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
._loading_1cu2x_31 {
|
|
17
|
+
position: relative;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
background: #1e3860;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
._1es6o1h0 ._loading_1cu2x_31 {
|
|
25
|
+
background-color: var(--_1073cm8f);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.fl2fv50 ._loading_1cu2x_31 {
|
|
29
|
+
background-color: #28587d;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
._loading_1cu2x_31::before {
|
|
33
|
+
content: "";
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 0;
|
|
36
|
+
left: 0;
|
|
37
|
+
width: 190%;
|
|
38
|
+
height: 100%;
|
|
39
|
+
background: linear-gradient(
|
|
40
|
+
65deg,
|
|
41
|
+
rgba(255, 255, 255, 0) 20%,
|
|
42
|
+
rgba(255, 255, 255, 0.5) 50%,
|
|
43
|
+
rgba(255, 255, 255, 0) 80%
|
|
44
|
+
);
|
|
45
|
+
animation: _shimmer_1cu2x_1 1.3s infinite linear;
|
|
46
|
+
z-index: 1;
|
|
47
|
+
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
const appendQueryParams = () => {
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const currentOrigin = window.location.origin;
|
|
3
|
+
const currentPathname = window.location.pathname;
|
|
4
|
+
const filterParams = (href, currentSearch) => {
|
|
4
5
|
try {
|
|
5
|
-
const
|
|
6
|
+
const search = currentSearch ?? window.location.search;
|
|
7
|
+
const searchParams = new URLSearchParams(search);
|
|
8
|
+
const base = window.location.origin + window.location.pathname + window.location.search;
|
|
9
|
+
const url = new URL(href, base);
|
|
6
10
|
const existingParams = new URLSearchParams(url.search);
|
|
7
11
|
const newParams = new URLSearchParams();
|
|
8
12
|
const addedKeys = /* @__PURE__ */ new Set();
|
|
@@ -25,17 +29,44 @@ const appendQueryParams = () => {
|
|
|
25
29
|
}
|
|
26
30
|
const mergedParams = new URLSearchParams(existingParams);
|
|
27
31
|
newParams.forEach((value, key) => mergedParams.append(key, value));
|
|
28
|
-
return `${url.origin}${url.pathname}?${mergedParams.toString()}`;
|
|
32
|
+
return `${url.origin}${url.pathname}?${mergedParams.toString()}${url.hash}`;
|
|
29
33
|
} catch (e) {
|
|
30
34
|
console.error(e);
|
|
31
35
|
return href;
|
|
32
36
|
}
|
|
33
37
|
};
|
|
38
|
+
const handleSamePageClick = (e) => {
|
|
39
|
+
const anchor = e.target?.closest?.("a[href]");
|
|
40
|
+
if (!anchor || anchor.classList.contains("ext-link"))
|
|
41
|
+
return;
|
|
42
|
+
const href = anchor.getAttribute("href")?.trim();
|
|
43
|
+
if (!href || href.startsWith("tel:") || href.startsWith("mailto:") || href === "#" || href === "" || href.startsWith("#"))
|
|
44
|
+
return;
|
|
45
|
+
const base = window.location.origin + window.location.pathname + window.location.search;
|
|
46
|
+
const url = new URL(href, base);
|
|
47
|
+
if (url.origin !== currentOrigin || url.pathname !== currentPathname)
|
|
48
|
+
return;
|
|
49
|
+
e.preventDefault();
|
|
50
|
+
e.stopImmediatePropagation();
|
|
51
|
+
const merged = filterParams(href, window.location.search);
|
|
52
|
+
const mergedUrl = new URL(merged, window.location.origin);
|
|
53
|
+
const fullUrl = `${mergedUrl.pathname}${mergedUrl.search}${mergedUrl.hash}`;
|
|
54
|
+
window.history.replaceState({ ...window.history.state }, "", fullUrl);
|
|
55
|
+
window.dispatchEvent(
|
|
56
|
+
new PopStateEvent("popstate", { state: window.history.state })
|
|
57
|
+
);
|
|
58
|
+
if (mergedUrl.hash) {
|
|
59
|
+
const el = document.querySelector(mergedUrl.hash);
|
|
60
|
+
el?.scrollIntoView({ behavior: "smooth" });
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
document.addEventListener("click", handleSamePageClick, true);
|
|
34
64
|
if (window.location.search.length) {
|
|
65
|
+
const searchParams = new URLSearchParams(window.location.search);
|
|
35
66
|
document.querySelectorAll("a[href]:not(.ext-link)").forEach((anchor) => {
|
|
36
67
|
const href = anchor.getAttribute("href")?.trim();
|
|
37
68
|
if (href && !href.startsWith("tel:") && !href.startsWith("mailto:") && href !== "#" && href !== "" && !href.startsWith("#")) {
|
|
38
|
-
anchor.href = filterParams(href);
|
|
69
|
+
anchor.href = filterParams(href, searchParams.toString());
|
|
39
70
|
}
|
|
40
71
|
});
|
|
41
72
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../../assets/utils/optimizeImage/optimizeImage.css.css';const loader = "
|
|
2
|
-
const loading = "
|
|
3
|
-
const shimmer = "
|
|
1
|
+
import '../../assets/utils/optimizeImage/optimizeImage.css.css';const loader = "_loader_1cu2x_19";
|
|
2
|
+
const loading = "_loading_1cu2x_31";
|
|
3
|
+
const shimmer = "_shimmer_1cu2x_1";
|
|
4
4
|
const css = {
|
|
5
5
|
loader,
|
|
6
6
|
loading,
|
|
@@ -8,12 +8,10 @@ const shortUrl = (url) => {
|
|
|
8
8
|
return uri.hostname;
|
|
9
9
|
};
|
|
10
10
|
const isEmailLink = (url) => {
|
|
11
|
-
|
|
12
|
-
return uri.protocol == "mailto:";
|
|
11
|
+
return typeof url === "string" && url.trim().toLowerCase().startsWith("mailto:");
|
|
13
12
|
};
|
|
14
13
|
const isPhoneLink = (url) => {
|
|
15
|
-
|
|
16
|
-
return uri.protocol === "tel:";
|
|
14
|
+
return typeof url === "string" && url.trim().toLowerCase().startsWith("tel:");
|
|
17
15
|
};
|
|
18
16
|
const validateLink = (url) => {
|
|
19
17
|
let openModal = false;
|
package/package.json
CHANGED