@axos-web-dev/shared-components 1.0.77-patch.60 → 1.0.77-patch.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/Accordion.js +3 -3
- package/dist/AlertBanner/index.js +1 -1
- package/dist/Article/Article.js +1 -1
- 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 +9 -12
- package/dist/Chatbot/Chatbot.d.ts +1 -1
- package/dist/Chatbot/Chatbot.js +45 -21
- package/dist/Chatbot/ChatbotMessage.js +37 -20
- package/dist/Chatbot/store/chat.d.ts +3 -0
- package/dist/Chatbot/store/chat.js +6 -2
- 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/FooterDisclosure/FooterDisclosure.js +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -1
- package/dist/HeroBanner/HeroBanner.js +2 -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/LandingPageHeader/LandingPageHeader.css.d.ts +19 -1
- package/dist/LandingPageHeader/LandingPageHeader.css.js +6 -6
- package/dist/LandingPageHeader/LandingPageHeader.d.ts +3 -1
- package/dist/LandingPageHeader/LandingPageHeader.js +42 -16
- package/dist/Modal/contextApi/store.js +1 -1
- 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/assets/Chatbot/ChatWindow.css +16 -8
- package/dist/assets/LandingPageHeader/LandingPageHeader.css +28 -15
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import React, { createContext,
|
|
4
|
+
import React, { createContext, useState, useContext } from "react";
|
|
5
5
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
6
6
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
7
7
|
import SvgChevronDown from "../icons/ChevronDown.js";
|
|
@@ -12,7 +12,7 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
-
import {
|
|
15
|
+
import { bodyAccordion, hide, paragraph, accordion, headerContent, icon, headerAccordion } from "./Accordion.css.js";
|
|
16
16
|
const AccordionCtx = createContext({
|
|
17
17
|
isOpen: false,
|
|
18
18
|
onclick: () => {
|
|
@@ -10,7 +10,7 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
import SvgLockIcon from "../icons/LockIcon/index.js";
|
|
12
12
|
import { SvgWarningIcon } from "../icons/WarningIcon/index.js";
|
|
13
|
-
import {
|
|
13
|
+
import { alertBanner_img_section, alertBanner_body, alertBanner_cta, alertBanner } from "./AlertBanner.css.js";
|
|
14
14
|
const AlertBanner = ({
|
|
15
15
|
alertType,
|
|
16
16
|
message,
|
package/dist/Article/Article.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import { OptimizeImage } from "../utils/optimizeImage/OptimizeImage.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ant_img, ant_content, ant_eyebrow, ant_card_title, ant_card_body, ant_card_cta, ant_article } from "./Article.css.js";
|
|
5
5
|
import { Button } from "../Button/Button.js";
|
|
6
6
|
import "../Button/Button.css.js";
|
|
7
7
|
import "react";
|
|
@@ -8,7 +8,7 @@ import { getVariant } from "../../utils/getVariant.js";
|
|
|
8
8
|
import { useRef, useState, useEffect } from "react";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { calculator } from "../calculator.css.js";
|
|
11
|
-
import {
|
|
11
|
+
import { calc_container, calc_block, pb0_1023, slider_block_wrapper, w100, stat_row, balance_wrapper, fb50, stat, slider_wrapper, slider, pt0_1023, text_block, container } from "./AnnualFeeCalculator.css.js";
|
|
12
12
|
const AnnualFeeCalculator = ({
|
|
13
13
|
marketingTiles,
|
|
14
14
|
variant: fullVariant = "primary"
|
|
@@ -7,7 +7,7 @@ import "react-use";
|
|
|
7
7
|
import { Chevron } from "../../Chevron/index.js";
|
|
8
8
|
import { section_container, content, headerIconBillboard, buttons } from "../../IconBillboard/IconBillboard.css.js";
|
|
9
9
|
import { getVariant } from "../../utils/getVariant.js";
|
|
10
|
-
import {
|
|
10
|
+
import { apy_calculator, calculator_section, section_header, header_theme, mt_8, apy_calculator_form, pis_0, errorTag, fieldset, field_row, relative, label_symbol, cash, prefix_pad, percent, submit_section, span_12, form_disclosure, marketing, marketingTile, bodyContent, container } from "./ApyCalculator.css.js";
|
|
11
11
|
const ApyCalculator = ({
|
|
12
12
|
header,
|
|
13
13
|
body,
|
|
@@ -23,7 +23,7 @@ import { z } from "zod";
|
|
|
23
23
|
import { getVariant } from "../../utils/getVariant.js";
|
|
24
24
|
import clsx from "clsx";
|
|
25
25
|
import { useForm, FormProvider } from "react-hook-form";
|
|
26
|
-
import {
|
|
26
|
+
import { calculator_section, section_header, theme_header, mt_8, buydown_calculator_form, row_form, calculate_row, form_wrapper, form_disclosure, calc_container } from "./BuyDownCalculator.css.js";
|
|
27
27
|
const BuyDownCalculator = ({
|
|
28
28
|
header,
|
|
29
29
|
body,
|
|
@@ -4,7 +4,7 @@ import { Button } from "../../Button/Button.js";
|
|
|
4
4
|
import { button } from "../../Button/Button.css.js";
|
|
5
5
|
import { useEffect } from "react";
|
|
6
6
|
import "react-use";
|
|
7
|
-
import {
|
|
7
|
+
import { field_row, errorTag, marketingTile, bodyContent, header_theme, container } from "../ApyCalculator/ApyCalculator.css.js";
|
|
8
8
|
import { Chevron } from "../../Chevron/index.js";
|
|
9
9
|
import { content, headerIconBillboard, buttons } from "../../IconBillboard/IconBillboard.css.js";
|
|
10
10
|
import { findMoreAxosDomains } from "../../utils/allowedAxosDomains.js";
|
|
@@ -8,7 +8,7 @@ import { useState } from "react";
|
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { calc_text, description_text, calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
10
10
|
import { calculator } from "../calculator.css.js";
|
|
11
|
-
import { calc_container,
|
|
11
|
+
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, hide_select_arrow, calculation_header, payment_results, container } from "../MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
12
12
|
const MarineLoanMonthlyPaymentCalculator = ({ variant, header, disclosure, bodyCopy = true }) => {
|
|
13
13
|
const fullVariant = getVariant(variant);
|
|
14
14
|
const [loanAmountDisplay, setLoanAmountDisplay] = useState("$75,000");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { button } from "../../Button/Button.css.js";
|
|
4
|
-
import { calc_container,
|
|
4
|
+
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results, container } from "../MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
5
5
|
import { title } from "../../IconBillboard/IconBillboard.css.js";
|
|
6
6
|
import "../../utils/allowedAxosDomains.js";
|
|
7
7
|
import { getVariant } from "../../utils/getVariant.js";
|
|
@@ -8,7 +8,7 @@ import { useState } from "react";
|
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { calc_text, description_text, calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
10
10
|
import { calculator } from "../calculator.css.js";
|
|
11
|
-
import { calc_container,
|
|
11
|
+
import { calc_container, h2i, inputs_container, input_container, input_box, error_message, calculation_header, payment_results, container } from "./MonthlyPaymentCalculator.css.js";
|
|
12
12
|
const MonthlyPaymentCalculator = ({
|
|
13
13
|
variant,
|
|
14
14
|
header,
|
|
@@ -5,7 +5,7 @@ import "../../utils/allowedAxosDomains.js";
|
|
|
5
5
|
import { getVariant } from "../../utils/getVariant.js";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
8
|
-
import {
|
|
8
|
+
import { calc_content_area, calc_h2, calc_bodycopy, lvf_calc_wrapper, lvf_calc_header, calc_wrapper_inner, calc_input_wrap, rounded_cell, calc_input_styles, error_dialog, results_wrap, result_header, result_value, waves, parallax, bg_vars } from "./MonthlyPaymentCalculator.css.js";
|
|
9
9
|
const MonthlyPaymentLVFCalculator = ({ variant, header, bodyCopy, disclosure }) => {
|
|
10
10
|
const theme = getVariant(variant);
|
|
11
11
|
const [loanAmountMasked, setLoanAmountMasked] = useState("50,000");
|
package/dist/Carousel/index.js
CHANGED
|
@@ -133,7 +133,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
133
133
|
/* empty css */
|
|
134
134
|
/* empty css */
|
|
135
135
|
/* empty css */
|
|
136
|
-
import { icon,
|
|
136
|
+
import { icon, quoteSetContainer, headerCarousel, descriptionCarousel, slides, carousel, slide, authorLocation, author, dots, dot } from "./Carousel.css.js";
|
|
137
137
|
import { useCarousel } from "./store.js";
|
|
138
138
|
const iconVarints = /* @__PURE__ */ new Map([
|
|
139
139
|
[
|
|
@@ -41,7 +41,9 @@ const ChatWindow = ({
|
|
|
41
41
|
showThankyouMessage,
|
|
42
42
|
displayThankyouMessage,
|
|
43
43
|
toggleThankyouMessage,
|
|
44
|
-
hasEscalated
|
|
44
|
+
hasEscalated,
|
|
45
|
+
isBlockedInput,
|
|
46
|
+
isOpen
|
|
45
47
|
} = useOpenChat();
|
|
46
48
|
const [mounted, setMounted] = React.useState(false);
|
|
47
49
|
const [menuOpen, setMenuOpen] = React.useState(false);
|
|
@@ -50,14 +52,14 @@ const ChatWindow = ({
|
|
|
50
52
|
const [input, setInput] = React.useState("");
|
|
51
53
|
const messagesEndRef = useRef(null);
|
|
52
54
|
const inputRef = useRef(null);
|
|
53
|
-
const isOpen = useOpenChat((state2) => state2.isOpen);
|
|
54
55
|
useEffect(() => {
|
|
55
56
|
messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
|
|
56
57
|
}, [messages]);
|
|
57
58
|
const handleSend = (e) => {
|
|
58
59
|
e.preventDefault();
|
|
59
60
|
const cleaned = cleanInput(input);
|
|
60
|
-
if (
|
|
61
|
+
if (isBlockedInput) return;
|
|
62
|
+
if (cleaned != "") {
|
|
61
63
|
onSend(cleaned);
|
|
62
64
|
setInput("");
|
|
63
65
|
}
|
|
@@ -451,7 +453,7 @@ const ChatWindow = ({
|
|
|
451
453
|
style: {
|
|
452
454
|
display: "flex",
|
|
453
455
|
padding: "12px 16px",
|
|
454
|
-
background: "#ffffff",
|
|
456
|
+
background: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected ? "light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3))" : "#ffffff",
|
|
455
457
|
borderRadius: 12
|
|
456
458
|
},
|
|
457
459
|
children: [
|
|
@@ -466,18 +468,13 @@ const ChatWindow = ({
|
|
|
466
468
|
previewTyping(e.target?.value);
|
|
467
469
|
}
|
|
468
470
|
if (e.key === "Enter" && !e.shiftKey) {
|
|
469
|
-
e
|
|
470
|
-
const cleaned = cleanInput(input);
|
|
471
|
-
if (cleaned) {
|
|
472
|
-
onSend(cleaned);
|
|
473
|
-
setInput("");
|
|
474
|
-
}
|
|
471
|
+
handleSend(e);
|
|
475
472
|
}
|
|
476
473
|
},
|
|
477
474
|
placeholder: "Ask anything...",
|
|
478
475
|
className: clsx(inputStyle, autoResize),
|
|
479
476
|
autoFocus: true,
|
|
480
|
-
disabled: inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected,
|
|
477
|
+
disabled: isBlockedInput || inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected,
|
|
481
478
|
rows: 1
|
|
482
479
|
}
|
|
483
480
|
),
|
|
@@ -490,7 +487,7 @@ const ChatWindow = ({
|
|
|
490
487
|
),
|
|
491
488
|
type: "submit",
|
|
492
489
|
title: "Send message",
|
|
493
|
-
disabled: inputDisabled || status !== "connected" || !input.trim() || messages.length == 0 || escalationDeflected,
|
|
490
|
+
disabled: isBlockedInput || inputDisabled || status !== "connected" || !input.trim() || messages.length == 0 || escalationDeflected,
|
|
494
491
|
children: /* @__PURE__ */ jsx(
|
|
495
492
|
"svg",
|
|
496
493
|
{
|
|
@@ -7,4 +7,4 @@ export declare const Chatbot: ({ project, projectEnv, menuOption, debug, }: {
|
|
|
7
7
|
projectEnv?: "dev" | "qa" | "uat" | "stg" | "prod";
|
|
8
8
|
menuOption?: "Support Virtual Agent" | string;
|
|
9
9
|
debug?: boolean;
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
}) => false | import("react/jsx-runtime").JSX.Element;
|
package/dist/Chatbot/Chatbot.js
CHANGED
|
@@ -20,7 +20,9 @@ const Chatbot = ({
|
|
|
20
20
|
reset,
|
|
21
21
|
startEscalation,
|
|
22
22
|
hasEscalated,
|
|
23
|
-
endEscalation
|
|
23
|
+
endEscalation,
|
|
24
|
+
unblockInput,
|
|
25
|
+
blockInput
|
|
24
26
|
} = useOpenChat();
|
|
25
27
|
const { addMessage, addMessages, clearMessages, messages } = useMessages();
|
|
26
28
|
const clientRef = useRef(null);
|
|
@@ -97,22 +99,27 @@ const Chatbot = ({
|
|
|
97
99
|
};
|
|
98
100
|
const onChatMessageHandler = async (message) => {
|
|
99
101
|
console.log("Received message:", message);
|
|
100
|
-
|
|
102
|
+
const { event, $userType } = message;
|
|
103
|
+
if (["system", "virtual_agent", "user"].includes($userType) && event === void 0) {
|
|
101
104
|
addMessage(message);
|
|
105
|
+
if (!hasEscalated) {
|
|
106
|
+
unblockInput?.();
|
|
107
|
+
}
|
|
102
108
|
return;
|
|
103
109
|
}
|
|
104
|
-
|
|
105
|
-
switch (eventName) {
|
|
110
|
+
switch (event) {
|
|
106
111
|
case "escalationAccepted":
|
|
112
|
+
case "escalationStarted":
|
|
107
113
|
setScalationStarted(true);
|
|
108
114
|
startEscalation?.();
|
|
109
115
|
addMessage(message);
|
|
110
116
|
return;
|
|
111
|
-
case "
|
|
112
|
-
|
|
113
|
-
|
|
117
|
+
case "escalationEnded":
|
|
118
|
+
case "escalationFailed": {
|
|
119
|
+
endEscalation?.();
|
|
114
120
|
addMessage(message);
|
|
115
121
|
return;
|
|
122
|
+
}
|
|
116
123
|
default:
|
|
117
124
|
addMessage(message);
|
|
118
125
|
if (["end_user"].includes(message.$userType)) {
|
|
@@ -157,19 +164,28 @@ const Chatbot = ({
|
|
|
157
164
|
const onChatConnectedHandler = async () => {
|
|
158
165
|
setStatus("connected");
|
|
159
166
|
console.log("connected");
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
(msg) => msg.$userType === "user" || ["escalationAccepted", "escalationStarted"].includes(
|
|
165
|
-
msg.event
|
|
166
|
-
)
|
|
167
|
-
);
|
|
168
|
-
console.log(hasEscalation);
|
|
169
|
-
if (hasEscalation) {
|
|
170
|
-
setScalationStarted(true);
|
|
171
|
-
startEscalation?.();
|
|
167
|
+
try {
|
|
168
|
+
if (!clientRef.current) {
|
|
169
|
+
console.error("Client not initialized on chat connected");
|
|
170
|
+
return;
|
|
172
171
|
}
|
|
172
|
+
const messages2 = await clientRef.current?.fetchMessages();
|
|
173
|
+
console.log("Fetched messages on chat connected:", messages2);
|
|
174
|
+
if (messages2) {
|
|
175
|
+
addMessages(messages2);
|
|
176
|
+
const hasEscalation = messages2.some(
|
|
177
|
+
(msg) => msg.$userType === "user" || ["escalationAccepted", "escalationStarted"].includes(
|
|
178
|
+
msg.event
|
|
179
|
+
)
|
|
180
|
+
);
|
|
181
|
+
console.log(hasEscalation);
|
|
182
|
+
if (hasEscalation) {
|
|
183
|
+
setScalationStarted(true);
|
|
184
|
+
startEscalation?.();
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
} catch (error) {
|
|
188
|
+
console.error("Error fetching messages on chat connected:", error);
|
|
173
189
|
}
|
|
174
190
|
};
|
|
175
191
|
const registerEventHandlers = () => {
|
|
@@ -278,7 +294,15 @@ const Chatbot = ({
|
|
|
278
294
|
};
|
|
279
295
|
const onSendMessage = async (msg) => {
|
|
280
296
|
console.log("Sending message:", msg);
|
|
281
|
-
|
|
297
|
+
try {
|
|
298
|
+
await clientRef.current?.sendTextMessage(msg);
|
|
299
|
+
} catch (error) {
|
|
300
|
+
console.log(error);
|
|
301
|
+
} finally {
|
|
302
|
+
if (!hasEscalated) {
|
|
303
|
+
blockInput?.();
|
|
304
|
+
}
|
|
305
|
+
}
|
|
282
306
|
};
|
|
283
307
|
const onEndChat = async () => {
|
|
284
308
|
console.log("Ending chat");
|
|
@@ -341,7 +365,7 @@ const Chatbot = ({
|
|
|
341
365
|
console.error("Error sending preview message:", error);
|
|
342
366
|
}
|
|
343
367
|
};
|
|
344
|
-
return /* @__PURE__ */ jsxs("div", { className: project === "ufb" ? chatbotUFB : chatbotAXB, children: [
|
|
368
|
+
return menusLoaded && /* @__PURE__ */ jsxs("div", { className: project === "ufb" ? chatbotUFB : chatbotAXB, children: [
|
|
345
369
|
/* @__PURE__ */ jsx(Bubble, { onClick: handleClick }),
|
|
346
370
|
/* @__PURE__ */ jsx(
|
|
347
371
|
ChatWindow,
|
|
@@ -9,7 +9,7 @@ import '../assets/themes/victorie.css';import '../assets/themes/ufb.css';import
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import clsx from "clsx";
|
|
12
|
-
import { shimmerText, notificationStyle,
|
|
12
|
+
import { shimmerText, notificationStyle, messageStyle, user_msg, agent_msg, inline_button_wrapper, inline_button, endChatButtonStyle } from "./ChatWindow.css.js";
|
|
13
13
|
import { useOpenChat } from "./store/chat.js";
|
|
14
14
|
function timeAgo(date) {
|
|
15
15
|
const seconds = Math.floor(((/* @__PURE__ */ new Date()).getTime() - date.getTime()) / 1e3);
|
|
@@ -24,7 +24,6 @@ const ChatbotMessage = ({
|
|
|
24
24
|
showAvatar,
|
|
25
25
|
showName,
|
|
26
26
|
virtualAgent,
|
|
27
|
-
onCancelEndChat,
|
|
28
27
|
onEndChat,
|
|
29
28
|
onSend
|
|
30
29
|
}) => {
|
|
@@ -76,23 +75,20 @@ const ChatbotMessage = ({
|
|
|
76
75
|
" ",
|
|
77
76
|
msg.to_agent ? /* @__PURE__ */ jsx("strong", { children: msg?.to_agent?.name }) : "an agent"
|
|
78
77
|
] }, msg.$index),
|
|
79
|
-
msg.type == "noti" && msg.$userType == "virtual_agent" && msg.event == "escalationDeflected" && /* @__PURE__ */
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
),
|
|
94
|
-
/* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: 12 }, children: /* @__PURE__ */ jsx("button", { className: endChatButtonStyle, onClick: onCancelEndChat, children: "End Chat" }) })
|
|
95
|
-
] }),
|
|
78
|
+
msg.type == "noti" && msg.$userType == "virtual_agent" && msg.event == "escalationDeflected" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
className: notificationStyle,
|
|
82
|
+
style: { fontSize: 12 },
|
|
83
|
+
children: [
|
|
84
|
+
"Our chat team is available weekdays, 8am-5pm, except federal bank holidays. For immediate assistance you can reach out to us at",
|
|
85
|
+
" ",
|
|
86
|
+
/* @__PURE__ */ jsx("a", { href: "tel:1-888-502-2967", children: "1-888-502-2967" }),
|
|
87
|
+
"."
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
msg.$index
|
|
91
|
+
) }),
|
|
96
92
|
["text", "markdown_template", "markdown"].includes(msg.type) && /* @__PURE__ */ jsx(
|
|
97
93
|
"div",
|
|
98
94
|
{
|
|
@@ -181,7 +177,28 @@ const ChatbotMessage = ({
|
|
|
181
177
|
index
|
|
182
178
|
);
|
|
183
179
|
}) }),
|
|
184
|
-
|
|
180
|
+
" ",
|
|
181
|
+
msg.event == "chatEnded" && msg.status == "failed" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
182
|
+
/* @__PURE__ */ jsxs(
|
|
183
|
+
"div",
|
|
184
|
+
{
|
|
185
|
+
title: (/* @__PURE__ */ new Date()).toLocaleString(),
|
|
186
|
+
style: {
|
|
187
|
+
fontSize: 12,
|
|
188
|
+
color: "#888",
|
|
189
|
+
marginBottom: 4,
|
|
190
|
+
textAlign: "center"
|
|
191
|
+
},
|
|
192
|
+
children: [
|
|
193
|
+
"No team members are online at the moment.",
|
|
194
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
195
|
+
" Please try again later."
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
),
|
|
199
|
+
/* @__PURE__ */ jsx("div", { style: { textAlign: "center", marginBottom: 12 }, children: /* @__PURE__ */ jsx("button", { className: endChatButtonStyle, onClick: onEndChat, children: "End Chat" }) })
|
|
200
|
+
] }),
|
|
201
|
+
msg.event == "chatEnded" && msg.status != "failed" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
185
202
|
/* @__PURE__ */ jsxs(
|
|
186
203
|
"div",
|
|
187
204
|
{
|
|
@@ -11,6 +11,9 @@ interface OpenChatState {
|
|
|
11
11
|
hasEscalated?: boolean;
|
|
12
12
|
startEscalation?: () => void;
|
|
13
13
|
endEscalation?: () => void;
|
|
14
|
+
isBlockedInput?: boolean;
|
|
15
|
+
blockInput?: () => void;
|
|
16
|
+
unblockInput?: () => void;
|
|
14
17
|
}
|
|
15
18
|
export declare const useOpenChat: import('zustand').UseBoundStore<import('zustand').StoreApi<OpenChatState>>;
|
|
16
19
|
export {};
|
|
@@ -17,12 +17,16 @@ const useOpenChat = create((set, get) => ({
|
|
|
17
17
|
hasOpenedOnce: false,
|
|
18
18
|
isOpen: false,
|
|
19
19
|
showThankyouMessage: false,
|
|
20
|
-
hasEscalated: false
|
|
20
|
+
hasEscalated: false,
|
|
21
|
+
isBlockedInput: false
|
|
21
22
|
}),
|
|
22
23
|
displayThankyouMessage: () => set({ showThankyouMessage: true }),
|
|
23
24
|
toggleThankyouMessage: () => set((state) => ({ showThankyouMessage: !state.showThankyouMessage })),
|
|
24
25
|
startEscalation: () => set({ hasEscalated: true }),
|
|
25
|
-
endEscalation: () => set({ hasEscalated: false })
|
|
26
|
+
endEscalation: () => set({ hasEscalated: false }),
|
|
27
|
+
isBlockedInput: false,
|
|
28
|
+
blockInput: () => set({ isBlockedInput: true }),
|
|
29
|
+
unblockInput: () => set({ isBlockedInput: false })
|
|
26
30
|
}));
|
|
27
31
|
export {
|
|
28
32
|
useOpenChat
|
|
@@ -7,7 +7,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
7
7
|
import { Button } from "../Button/Button.js";
|
|
8
8
|
import "../Button/Button.css.js";
|
|
9
9
|
import "react-use";
|
|
10
|
-
import {
|
|
10
|
+
import { section_pad, section_min_pad, push_down_24, cb_eyebrow, body_copy, call_to_action_row, link, content_banner } from "./ContentBanner.css.js";
|
|
11
11
|
const ContentBanner = ({
|
|
12
12
|
variant,
|
|
13
13
|
icon,
|
|
@@ -4,7 +4,7 @@ import { useRef, useState, useEffect, createElement } from "react";
|
|
|
4
4
|
import { getVariant } from "../utils/getVariant.js";
|
|
5
5
|
import { OptimizeImage } from "../utils/optimizeImage/OptimizeImage.js";
|
|
6
6
|
import { Overlay } from "./Overlay.js";
|
|
7
|
-
import { executive_bio, padding,
|
|
7
|
+
import { executive_bio, padding, shift, media, headshot, img_area, description, person, headline_setting, job_title, copy, contacts, contact_col, svg_icon, contact_entry, url_row, item_bio, ceoContainer, ceoWrapper, ceoMedia, ceoImgWrapper, imgAlignment, highlights, bulletsHeadline, bulletsWrapper, ceoContent, ceoHeader, ceoPersonalInfo, ceo_name, ceo_title, ceo_contacts, social, hover, svg_color, tooltip, ceo_quote, ceo_body, order_3, overlay, ceoSection } from "./ExecutiveBio.css.js";
|
|
8
8
|
import "../Accordion/Accordion.js";
|
|
9
9
|
import "../Accordion/Accordion.css.js";
|
|
10
10
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import { ExecutiveBio } from "./ExecutiveBio.js";
|
|
4
|
-
import {
|
|
4
|
+
import { bio_section_text, header_theme, components, details, section_theme } from "./ExecutiveBio.css.js";
|
|
5
5
|
const ExecutiveBioSet = ({
|
|
6
6
|
id,
|
|
7
7
|
title,
|
|
@@ -135,7 +135,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
135
135
|
/* empty css */
|
|
136
136
|
import { getLevelNumber } from "../utils/faqAccordionOptions.js";
|
|
137
137
|
import { create } from "zustand";
|
|
138
|
-
import { summary, summaryHeader,
|
|
138
|
+
import { content, summary, summaryHeader, header, faqAccordion, faqAccordion_section } from "./FaqAccordion.css.js";
|
|
139
139
|
const useAccordion = create()((set) => ({
|
|
140
140
|
itemsOpened: [],
|
|
141
141
|
addItem: (id) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import {
|
|
3
|
+
import { footerDisclosure, iconsContent, footerParagraph } from "./FooterDisclosure.css.js";
|
|
4
4
|
const FooterContent = (props) => {
|
|
5
5
|
return /* @__PURE__ */ jsx(
|
|
6
6
|
"div",
|
|
@@ -47,7 +47,7 @@ import "../../Input/RadioButton.js";
|
|
|
47
47
|
import "../../Input/PercentageInput.js";
|
|
48
48
|
import { useForm, FormProvider } from "react-hook-form";
|
|
49
49
|
import "../../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
|
|
50
|
-
import { iconForm, headerForm, form, descriptionField, headerContainer, fullRowSelect,
|
|
50
|
+
import { iconForm, headerForm, form, descriptionField, headerContainer, fullRowSelect, centerSelect, formWrapper, mt2rem, fullRowForm, disclosureForm, actions, formBtns, na_cursor, formContainer } from "../Forms.css.js";
|
|
51
51
|
import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "../HoneyPot/index.js";
|
|
52
52
|
import { SalesforceSchema } from "../SalesforceFieldsForm.js";
|
|
53
53
|
import "../../Input/RadioButton.css.js";
|
|
@@ -16,8 +16,8 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
16
16
|
import { getVariant } from "../utils/getVariant.js";
|
|
17
17
|
import Image from "next/image.js";
|
|
18
18
|
import clsx from "clsx";
|
|
19
|
-
import { logout,
|
|
20
|
-
import {
|
|
19
|
+
import { logout, hero_wrapper, hero_content, reversed, hero_text, heroSupertag, headline_text, hero_bullet_item, hero_sub_bullets, hero_btns, hero_img, img_contents, hero_banner, reversed_lg_image } from "./HeroBanner.css.js";
|
|
20
|
+
import { lg_hero_content, lg_hero_eyebrow, lg_headline_text, lg_hero_text, lg_hero_img, lg_hero_sizing, lg_hero_banner } from "./LargeBanner.css.js";
|
|
21
21
|
import { selection_section_icon_img, selection_section_icon, selection_section, selection_section_bg, selection_section_content, selection_headline_text } from "./SelectionBanner.css.js";
|
|
22
22
|
const HeroBanner = ({
|
|
23
23
|
id,
|
|
@@ -7,7 +7,7 @@ import { Button } from "../Button/Button.js";
|
|
|
7
7
|
import "../Button/Button.css.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "react-use";
|
|
10
|
-
import { section_text, header_section, section_body, section_container,
|
|
10
|
+
import { section_text, header_section, section_body, section_container, billboard_icon, content, headerIconBillboard, title, list, layout, buttons, containerIconBillboard } from "./IconBillboard.css.js";
|
|
11
11
|
const IconBillboardSet = ({
|
|
12
12
|
variant,
|
|
13
13
|
side = false,
|
|
@@ -15,7 +15,7 @@ import "../Button/Button.css.js";
|
|
|
15
15
|
import "react";
|
|
16
16
|
import "react-use";
|
|
17
17
|
import { inline_container } from "../SetContainer/SetContainer.css.js";
|
|
18
|
-
import { section_text_ImageBillboard, header,
|
|
18
|
+
import { section_text_ImageBillboard, header, billboard_container, body, billboard_body, billboard_header_section, supertag, billboard_ctas, billboard } from "./ImageBillboard.css.js";
|
|
19
19
|
const ImageBillboardSet = ({
|
|
20
20
|
id,
|
|
21
21
|
variant,
|
package/dist/Input/Checkbox.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { checkbox, checkboxContainer } from "./Checkbox.css.js";
|
|
5
|
+
import { input, labelClassName, container, helperText, wrapper } from "./Input.css.js";
|
|
6
6
|
const Checkbox = forwardRef((props, ref) => {
|
|
7
7
|
const {
|
|
8
8
|
disabled,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { forwardRef, useState, useEffect } from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { labelClassName, input, container, helperText, wrapper } from "./Input.css.js";
|
|
6
6
|
import { dp_input } from "./Dropdown.css.js";
|
|
7
7
|
const DownPaymentInput = forwardRef(
|
|
8
8
|
({
|
package/dist/Input/Dropdown.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import { selectInput } from "./Dropdown.css.js";
|
|
5
|
-
import {
|
|
5
|
+
import { labelClassName, iconContainer, iconInput, input, container, helperText, wrapper } from "./Input.css.js";
|
|
6
6
|
const Dropdown = forwardRef(
|
|
7
7
|
(props, ref) => {
|
|
8
8
|
const {
|
package/dist/Input/Input.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { labelClassName, iconContainer, iconInput, input, container, helperText, wrapper } from "./Input.css.js";
|
|
5
5
|
const Input = forwardRef((props, ref) => {
|
|
6
6
|
const {
|
|
7
7
|
disabled,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { labelClassName, iconContainer, iconInput, input, container, helperText, wrapper } from "./Input.css.js";
|
|
5
5
|
const InputTextArea = forwardRef((props, ref) => {
|
|
6
6
|
const {
|
|
7
7
|
disabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
4
|
import { getVariant } from "../../utils/getVariant.js";
|
|
@@ -101,7 +101,7 @@ import "next/script.js";
|
|
|
101
101
|
/* empty css */
|
|
102
102
|
/* empty css */
|
|
103
103
|
/* empty css */
|
|
104
|
-
import {
|
|
104
|
+
import { featured_title, featured_maingrid_img, featured_maingrid_title, featured_center_vertical, featured_maingrid_item, featured_maingrid, featured_hero, featured_subgrid_divider, featured_subgrid, featured_grid, featured_section, featured_subgrid_item, featured_supertag, featured_subgrid_title } from "./Featured.css.js";
|
|
105
105
|
/* empty css */
|
|
106
106
|
import "../../LandingPageHeader/LandingPageHeader.css.js";
|
|
107
107
|
/* empty css */
|
|
@@ -9,10 +9,28 @@ export declare const lp_theme: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
9
9
|
tertiary: {
|
|
10
10
|
background: `var(--${string})`;
|
|
11
11
|
};
|
|
12
|
+
quaternary: {
|
|
13
|
+
background: `var(--${string})`;
|
|
14
|
+
};
|
|
12
15
|
};
|
|
13
16
|
}>;
|
|
14
17
|
export declare const lp_container: string;
|
|
15
18
|
export declare const spb_container: string;
|
|
16
19
|
export declare const lp_hover: string;
|
|
17
20
|
export declare const spb_hover: string;
|
|
18
|
-
export declare const svg_fill:
|
|
21
|
+
export declare const svg_fill: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
22
|
+
variant: {
|
|
23
|
+
primary: {
|
|
24
|
+
fill: `var(--${string})`;
|
|
25
|
+
};
|
|
26
|
+
secondary: {
|
|
27
|
+
fill: `var(--${string})`;
|
|
28
|
+
};
|
|
29
|
+
tertiary: {
|
|
30
|
+
fill: `var(--${string})`;
|
|
31
|
+
};
|
|
32
|
+
quaternary: {
|
|
33
|
+
fill: `var(--${string})`;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
@@ -4,12 +4,12 @@ import '../assets/LandingPageHeader/LandingPageHeader.css';import '../assets/the
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
7
|
-
var lp_theme = createRuntimeFn({ defaultClassName: "_1o1hxre0", variantClassNames: { variant: { primary: "_1o1hxre1", secondary: "_1o1hxre2", tertiary: "_1o1hxre3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8
|
-
var lp_container = "
|
|
9
|
-
var spb_container = "
|
|
10
|
-
var lp_hover = "
|
|
11
|
-
var spb_hover = "
|
|
12
|
-
var svg_fill = "
|
|
7
|
+
var lp_theme = createRuntimeFn({ defaultClassName: "_1o1hxre0", variantClassNames: { variant: { primary: "_1o1hxre1", secondary: "_1o1hxre2", tertiary: "_1o1hxre3", quaternary: "_1o1hxre4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8
|
+
var lp_container = "_1o1hxre5";
|
|
9
|
+
var spb_container = "_1o1hxre6";
|
|
10
|
+
var lp_hover = "_1o1hxre7";
|
|
11
|
+
var spb_hover = "_1o1hxre8";
|
|
12
|
+
var svg_fill = createRuntimeFn({ defaultClassName: "_1o1hxre9", variantClassNames: { variant: { primary: "_1o1hxrea", secondary: "_1o1hxreb", tertiary: "_1o1hxrec", quaternary: "_1o1hxred" } }, defaultVariants: {}, compoundVariants: [] });
|
|
13
13
|
export {
|
|
14
14
|
lp_container,
|
|
15
15
|
lp_hover,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { QuaternaryTypes } from '../utils/variant.types';
|
|
2
|
+
import { ImageInterface } from '../main';
|
|
2
3
|
|
|
3
4
|
export interface LandingPageHeaderProps {
|
|
4
5
|
id: string;
|
|
5
6
|
variant: QuaternaryTypes;
|
|
6
7
|
project?: string;
|
|
7
8
|
alt?: string;
|
|
9
|
+
logo?: ImageInterface;
|
|
8
10
|
}
|
|
9
|
-
export declare const LandingPageHeader: ({ id, variant: fullVariant, project, alt, }: LandingPageHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const LandingPageHeader: ({ id, variant: fullVariant, project, alt, logo, }: LandingPageHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,28 +13,45 @@ import SvgComponent from "../icons/Logos/AXA.js";
|
|
|
13
13
|
import SvgComponent$2 from "../icons/Logos/AXC.js";
|
|
14
14
|
import SvgComponent$4 from "../icons/Logos/AXI.js";
|
|
15
15
|
import SvgComponent$5 from "../icons/Logos/AXOS.js";
|
|
16
|
-
import SvgComponent$
|
|
17
|
-
import SvgComponent$
|
|
18
|
-
import SvgComponent$8 from "../icons/Logos/SPB.js";
|
|
16
|
+
import SvgComponent$6 from "../icons/Logos/GBLVF.js";
|
|
17
|
+
import SvgComponent$7 from "../icons/Logos/SPB.js";
|
|
19
18
|
import { getVariant } from "../utils/getVariant.js";
|
|
20
|
-
import {
|
|
19
|
+
import { svg_fill, spb_container, lp_container, spb_hover, lp_hover, lp_theme } from "./LandingPageHeader.css.js";
|
|
21
20
|
const LandingPageHeader = ({
|
|
22
21
|
id,
|
|
23
22
|
variant: fullVariant = "primary",
|
|
24
23
|
project = "AXB",
|
|
25
|
-
alt
|
|
24
|
+
alt,
|
|
25
|
+
logo
|
|
26
26
|
}) => {
|
|
27
27
|
const variant = getVariant(fullVariant);
|
|
28
28
|
const website = /* @__PURE__ */ new Map([
|
|
29
|
-
[
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
[
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
[
|
|
29
|
+
[
|
|
30
|
+
"AXA",
|
|
31
|
+
/* @__PURE__ */ jsx(SvgComponent, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
"AFS",
|
|
35
|
+
/* @__PURE__ */ jsx(SvgComponent$1, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"AXC",
|
|
39
|
+
/* @__PURE__ */ jsx(SvgComponent$2, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
"AAS",
|
|
43
|
+
/* @__PURE__ */ jsx(SvgComponent$3, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
|
|
44
|
+
],
|
|
45
|
+
[
|
|
46
|
+
"AXI",
|
|
47
|
+
/* @__PURE__ */ jsx(SvgComponent$4, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
"AXB",
|
|
51
|
+
/* @__PURE__ */ jsx(SvgComponent$5, { height: 30, width: 120, classNameFill: svg_fill({ variant }) })
|
|
52
|
+
],
|
|
53
|
+
["GBLVF", /* @__PURE__ */ jsx(SvgComponent$6, { height: 60, width: 220 })],
|
|
54
|
+
["SPB", /* @__PURE__ */ jsx(SvgComponent$7, { height: "100%", width: "100%" })]
|
|
38
55
|
]);
|
|
39
56
|
const isSPBPage = project === "SPB";
|
|
40
57
|
return /* @__PURE__ */ jsx("header", { className: `${lp_theme({ variant })}`, id: `id_${id}`, children: /* @__PURE__ */ jsx(
|
|
@@ -46,8 +63,17 @@ const LandingPageHeader = ({
|
|
|
46
63
|
{
|
|
47
64
|
href: project == "AXI" ? "/invest" : "/",
|
|
48
65
|
className: isSPBPage ? spb_hover : lp_hover,
|
|
49
|
-
"aria-label": alt ?? "
|
|
50
|
-
children:
|
|
66
|
+
"aria-label": alt ?? "return to homepage",
|
|
67
|
+
children: logo ? /* @__PURE__ */ jsx(
|
|
68
|
+
"img",
|
|
69
|
+
{
|
|
70
|
+
src: logo.src,
|
|
71
|
+
alt: logo.alt ?? "",
|
|
72
|
+
height: Number(logo.height),
|
|
73
|
+
width: Number(logo.width),
|
|
74
|
+
className: "img_fluid"
|
|
75
|
+
}
|
|
76
|
+
) : website.get(project)
|
|
51
77
|
}
|
|
52
78
|
)
|
|
53
79
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Modal } from "../Modal.js";
|
|
4
4
|
import "../../utils/allowedAxosDomains.js";
|
|
5
|
-
import { createContext,
|
|
5
|
+
import { createContext, useState, useContext } from "react";
|
|
6
6
|
import { shortUrl } from "../../utils/validateExternalLinks.js";
|
|
7
7
|
const GlobalContext = createContext({
|
|
8
8
|
targetLinkUrl: "",
|
|
@@ -82,7 +82,7 @@ import "../Chatbot/authenticate.js";
|
|
|
82
82
|
import "../Chatbot/store/messages.js";
|
|
83
83
|
/* empty css */
|
|
84
84
|
import "../Comparison/Comparison.css.js";
|
|
85
|
-
import { setcontainer_section_text,
|
|
85
|
+
import { setcontainer_section_text, inline_container, set_container_cols, set_container, isolate_container } from "./SetContainer.css.js";
|
|
86
86
|
import "../Tab/Tab.css.js";
|
|
87
87
|
import "../icons/Star/Star.css.js";
|
|
88
88
|
import { heroSupertag } from "../HeroBanner/HeroBanner.css.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
|
-
import { li,
|
|
3
|
+
import { li, point, step_num, line_points, bullet_details, bs_topic, bs_copy } from "./StepItem.css.js";
|
|
4
4
|
const StepItem = ({
|
|
5
5
|
id,
|
|
6
6
|
counter,
|
|
@@ -16,7 +16,7 @@ import '../assets/VideoTile/VideoTile.css';import '../assets/themes/victorie.css
|
|
|
16
16
|
/* empty css */
|
|
17
17
|
/* empty css */
|
|
18
18
|
/* empty css */
|
|
19
|
-
import {
|
|
19
|
+
import { bs_wrapper, svg_logo, modifier, sec_title, sec_subtitle, tablet_col, bs_image, bs_video, steps_wrapper, ol, ul, bs_btns, bs_add_details, bs_section } from "./StepItemSet.css.js";
|
|
20
20
|
const StepItemSet = ({
|
|
21
21
|
id,
|
|
22
22
|
variant: fullVariant = "primary",
|
package/dist/Table/Table.js
CHANGED
|
@@ -12,7 +12,7 @@ import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/Downl
|
|
|
12
12
|
import "../utils/allowedAxosDomains.js";
|
|
13
13
|
import { getVariant } from "../utils/getVariant.js";
|
|
14
14
|
import { createElement } from "react";
|
|
15
|
-
import {
|
|
15
|
+
import { table, highlight_first_row, highlight_last_row, alternate_color_rows, apy_table, tableWrapper, td, th, table_section, table_container_text, table_headline, table_description_text, table_container } from "./Table.css.js";
|
|
16
16
|
const TableContainer = ({
|
|
17
17
|
tableTitle,
|
|
18
18
|
tableBody,
|
package/dist/Topic/Topic.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { topic_container,
|
|
3
|
+
import { topic_container, topic_columns, topic_header, topic_item } from "./Topic.css.js";
|
|
4
4
|
const Topic = ({ children }) => {
|
|
5
5
|
return /* @__PURE__ */ jsx("div", { className: clsx(topic_container), children });
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@keyframes _13n1jqku {
|
|
2
2
|
0% {
|
|
3
|
-
background-position:
|
|
3
|
+
background-position: 200% 0;
|
|
4
4
|
}
|
|
5
5
|
100% {
|
|
6
|
-
background-position: 200% 0;
|
|
6
|
+
background-position: -200% 0;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
._13n1jqk0 {
|
|
@@ -93,6 +93,7 @@ button:has(span:hover) ._13n1jqk6 {
|
|
|
93
93
|
font-size: 16px;
|
|
94
94
|
opacity: 0.7;
|
|
95
95
|
outline: none;
|
|
96
|
+
background: transparent;
|
|
96
97
|
resize: none;
|
|
97
98
|
}
|
|
98
99
|
._13n1jqk9::placeholder {
|
|
@@ -101,21 +102,23 @@ button:has(span:hover) ._13n1jqk6 {
|
|
|
101
102
|
._1hpv6vm1 ._13n1jqk9::placeholder {
|
|
102
103
|
color: rgba(31,31,31,.58);
|
|
103
104
|
}
|
|
105
|
+
._13n1jqk9:disabled {
|
|
106
|
+
cursor: not-allowed;
|
|
107
|
+
}
|
|
104
108
|
._13n1jqka {
|
|
105
109
|
overflow-y: hidden;
|
|
106
110
|
min-height: 20px;
|
|
107
111
|
}
|
|
108
112
|
._13n1jqkb {
|
|
109
113
|
padding-inline: 20px;
|
|
110
|
-
background:
|
|
114
|
+
background: transparent;
|
|
111
115
|
border: none;
|
|
112
116
|
}
|
|
113
117
|
._13n1jqkb:hover {
|
|
114
|
-
background: #ffffff;
|
|
115
118
|
cursor: pointer;
|
|
116
119
|
}
|
|
117
|
-
.
|
|
118
|
-
|
|
120
|
+
._13n1jqkb:disabled {
|
|
121
|
+
cursor: not-allowed;
|
|
119
122
|
}
|
|
120
123
|
._13n1jqkb svg {
|
|
121
124
|
fill: rgba(31,31,31,.38);
|
|
@@ -301,8 +304,13 @@ button:has(span:hover) ._13n1jqk6 {
|
|
|
301
304
|
border-bottom-right-radius: 32px;
|
|
302
305
|
}
|
|
303
306
|
._13n1jqkv {
|
|
304
|
-
background: linear-gradient(
|
|
305
|
-
|
|
307
|
+
background: linear-gradient(
|
|
308
|
+
90deg,
|
|
309
|
+
var(--_1073cm819) 0%,
|
|
310
|
+
rgba(255,255,255,0.8) 50%,
|
|
311
|
+
var(--_1073cm819) 100%
|
|
312
|
+
);
|
|
313
|
+
background-size: 200% auto;
|
|
306
314
|
background-clip: text;
|
|
307
315
|
-webkit-background-clip: text;
|
|
308
316
|
color: transparent;
|
|
@@ -2,56 +2,69 @@
|
|
|
2
2
|
background: var(--_1073cm81);
|
|
3
3
|
}
|
|
4
4
|
._1o1hxre2 {
|
|
5
|
-
background: var(--
|
|
5
|
+
background: var(--_1073cm88);
|
|
6
6
|
}
|
|
7
7
|
._1o1hxre3 {
|
|
8
|
-
background: var(--
|
|
8
|
+
background: var(--_1073cm8f);
|
|
9
9
|
}
|
|
10
10
|
._1o1hxre4 {
|
|
11
|
-
|
|
12
|
-
min-height: 59px;
|
|
11
|
+
background: var(--_1073cm8m);
|
|
13
12
|
}
|
|
14
13
|
._1o1hxre5 {
|
|
15
|
-
padding:
|
|
14
|
+
padding: 7px 24px;
|
|
16
15
|
min-height: 59px;
|
|
17
16
|
}
|
|
18
17
|
._1o1hxre6 {
|
|
18
|
+
padding: 32px 24px;
|
|
19
|
+
min-height: 59px;
|
|
20
|
+
}
|
|
21
|
+
._1o1hxre7 {
|
|
19
22
|
transition: opacity 0.35s ease;
|
|
23
|
+
display: flex;
|
|
20
24
|
}
|
|
21
|
-
.
|
|
25
|
+
._1o1hxre7:hover {
|
|
22
26
|
opacity: 0.6;
|
|
23
27
|
}
|
|
24
|
-
.
|
|
28
|
+
._1o1hxre7:active {
|
|
25
29
|
opacity: 1;
|
|
26
30
|
}
|
|
27
|
-
.
|
|
31
|
+
._1o1hxre8 {
|
|
28
32
|
transition: opacity 0.35s ease;
|
|
29
33
|
width: 568px;
|
|
30
34
|
height: 78px;
|
|
31
35
|
}
|
|
32
|
-
.
|
|
36
|
+
._1o1hxre8:hover {
|
|
33
37
|
opacity: 0.6;
|
|
34
38
|
}
|
|
35
|
-
.
|
|
39
|
+
._1o1hxre8:active {
|
|
36
40
|
opacity: 1;
|
|
37
41
|
}
|
|
38
|
-
.
|
|
42
|
+
._1o1hxrea {
|
|
39
43
|
fill: var(--_1073cm85);
|
|
40
44
|
}
|
|
45
|
+
._1o1hxreb {
|
|
46
|
+
fill: var(--_1073cm8c);
|
|
47
|
+
}
|
|
48
|
+
._1o1hxrec {
|
|
49
|
+
fill: var(--_1073cm8j);
|
|
50
|
+
}
|
|
51
|
+
._1o1hxred {
|
|
52
|
+
fill: var(--_1073cm8q);
|
|
53
|
+
}
|
|
41
54
|
@media screen and (max-width: 1023px) {
|
|
42
|
-
.
|
|
55
|
+
._1o1hxre6 {
|
|
43
56
|
padding: 28px 24px;
|
|
44
57
|
}
|
|
45
|
-
.
|
|
58
|
+
._1o1hxre8 {
|
|
46
59
|
width: 454px;
|
|
47
60
|
height: 62px;
|
|
48
61
|
}
|
|
49
62
|
}
|
|
50
63
|
@media screen and (max-width: 768px) {
|
|
51
|
-
.
|
|
64
|
+
._1o1hxre6 {
|
|
52
65
|
padding: 24px 24px;
|
|
53
66
|
}
|
|
54
|
-
.
|
|
67
|
+
._1o1hxre8 {
|
|
55
68
|
width: 340px;
|
|
56
69
|
height: 46px;
|
|
57
70
|
}
|
package/package.json
CHANGED