@axos-web-dev/shared-components 1.0.100-chat.1 → 1.0.100-dev.10
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/Calculators/BuyDownCalculator/index.d.ts +1 -0
- package/dist/Calculators/BuyDownCalculator/index.js +162 -76
- package/dist/Chatbot/ChatWindow.css.d.ts +2 -0
- package/dist/Chatbot/ChatWindow.css.js +4 -0
- package/dist/Chatbot/ChatWindow.js +117 -50
- package/dist/Chatbot/index.js +3 -1
- package/dist/Chatbot/useHeadlessChat.d.ts +2 -1
- package/dist/Chatbot/useHeadlessChat.js +27 -9
- package/dist/Comparison/ComparisonSet.js +33 -24
- package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +16 -0
- package/dist/Forms/CommercialDepositsNoLendingOption.js +330 -0
- package/dist/Forms/ContactUsLVF.d.ts +5 -1
- package/dist/Forms/ContactUsLVF.js +8 -6
- package/dist/Forms/FormEnums.js +6 -15
- package/dist/Forms/QuickPricer/QuickPricerForm.js +1 -1
- package/dist/Forms/SalesforceFieldsForm.d.ts +5 -0
- package/dist/Forms/SalesforceFieldsForm.js +11 -1
- package/dist/Forms/index.d.ts +1 -0
- package/dist/Forms/index.js +2 -0
- package/dist/Input/Dropdown.js +1 -0
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -0
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +3 -0
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +21 -0
- package/dist/StepItemSet/StepItemSet.css.d.ts +1 -0
- package/dist/StepItemSet/StepItemSet.css.js +9 -5
- package/dist/StepItemSet/StepItemSet.d.ts +6 -0
- package/dist/StepItemSet/StepItemSet.js +22 -3
- package/dist/StepItemSet/index.js +2 -1
- package/dist/assets/Chatbot/ChatWindow.css +17 -0
- package/dist/assets/Comparison/Comparison.css +3 -1
- package/dist/assets/StepItemSet/StepItemSet.css +27 -10
- package/dist/main.js +7 -2
- package/package.json +1 -1
package/dist/Forms/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import { ApplyNow } from "./ApplyNow.js";
|
|
|
4
4
|
import { getLink } from "./applynow-utils.js";
|
|
5
5
|
import { ClearingForm } from "./ClearingForm.js";
|
|
6
6
|
import { CommercialDeposits } from "./CommercialDeposits.js";
|
|
7
|
+
import { CommercialDepositsNoLendingOption } from "./CommercialDepositsNoLendingOption.js";
|
|
7
8
|
import { CommercialLending } from "./CommercialLending.js";
|
|
8
9
|
import { CommercialPremiumFinance } from "./CommercialPremiumFinance.js";
|
|
9
10
|
import { ContactCompany } from "./ContactCompany.js";
|
|
@@ -44,6 +45,7 @@ export {
|
|
|
44
45
|
ApplyNow,
|
|
45
46
|
ClearingForm,
|
|
46
47
|
CommercialDeposits,
|
|
48
|
+
CommercialDepositsNoLendingOption,
|
|
47
49
|
CommercialLending,
|
|
48
50
|
CommercialPremiumFinance,
|
|
49
51
|
ContactCompany,
|
package/dist/Input/Dropdown.js
CHANGED
|
@@ -424,6 +424,9 @@ const menuData = {
|
|
|
424
424
|
"{AXOSBANK}/tools/calculators/saving-to-start-a-business-calculator"
|
|
425
425
|
)
|
|
426
426
|
},
|
|
427
|
+
"Refer-a-Friend": findMoreAxosDomains(
|
|
428
|
+
"{AXOSBANK}/business/refer-a-friend"
|
|
429
|
+
),
|
|
427
430
|
Insights: findMoreAxosDomains("{AXOSBANK}/business/insights")
|
|
428
431
|
},
|
|
429
432
|
"Commercial Banking": {
|
|
@@ -2447,6 +2447,27 @@ function SubNavBar() {
|
|
|
2447
2447
|
) })
|
|
2448
2448
|
] })
|
|
2449
2449
|
] }),
|
|
2450
|
+
/* @__PURE__ */ jsxs("div", { className: "flex_row", children: [
|
|
2451
|
+
/* @__PURE__ */ jsx(
|
|
2452
|
+
Image,
|
|
2453
|
+
{
|
|
2454
|
+
src: `https://images.axos.com/o9ov1v03uwqk/6ninSDVeSycXICNX8zF4J3/75ccf4194f0b3e7209f4095457bce00d/nav-submenu-raf-icon.svg`,
|
|
2455
|
+
alt: "",
|
|
2456
|
+
width: 20,
|
|
2457
|
+
height: 20
|
|
2458
|
+
}
|
|
2459
|
+
),
|
|
2460
|
+
/* @__PURE__ */ jsx("ul", { className: `${styles.ml_8} list_unstyled`, children: /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
2461
|
+
Link,
|
|
2462
|
+
{
|
|
2463
|
+
href: findMoreAxosDomains(
|
|
2464
|
+
"{AXOSBANK}/business/refer-a-friend"
|
|
2465
|
+
),
|
|
2466
|
+
role: "heading",
|
|
2467
|
+
children: "Refer-a-Friend"
|
|
2468
|
+
}
|
|
2469
|
+
) }) })
|
|
2470
|
+
] }),
|
|
2450
2471
|
/* @__PURE__ */ jsxs("div", { className: "flex_row", children: [
|
|
2451
2472
|
/* @__PURE__ */ jsx(
|
|
2452
2473
|
Image,
|
|
@@ -83,6 +83,7 @@ export declare const sec_title: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
|
83
83
|
export declare const sec_subtitle: string;
|
|
84
84
|
export declare const tablet_col: string;
|
|
85
85
|
export declare const bs_image: string;
|
|
86
|
+
export declare const bs_video: string;
|
|
86
87
|
export declare const steps_wrapper: string;
|
|
87
88
|
export declare const ol: string;
|
|
88
89
|
export declare const bs_btns: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import '../assets/StepItemSet/StepItemSet.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
|
|
1
|
+
import '../assets/StepItemSet/StepItemSet.css';import '../assets/VideoTile/VideoTile.css';import '../assets/Typography/Typography.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
4
6
|
/* empty css */
|
|
5
7
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
6
8
|
var bs_section = createRuntimeFn({ defaultClassName: "_18par6f0", variantClassNames: { variant: { primary: "_18par6f1", secondary: "_18par6f2", tertiary: "_18par6f3", quaternary: "_18par6f4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -11,15 +13,17 @@ var sec_title = createRuntimeFn({ defaultClassName: "_18par6fc", variantClassNam
|
|
|
11
13
|
var sec_subtitle = "_18par6fh";
|
|
12
14
|
var tablet_col = "_18par6fi";
|
|
13
15
|
var bs_image = "_18par6fj";
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
16
|
+
var bs_video = "_18par6fk";
|
|
17
|
+
var steps_wrapper = "_18par6fl";
|
|
18
|
+
var ol = "_18par6fm";
|
|
19
|
+
var bs_btns = "_18par6fn";
|
|
20
|
+
var bs_add_details = "_18par6fo";
|
|
18
21
|
export {
|
|
19
22
|
bs_add_details,
|
|
20
23
|
bs_btns,
|
|
21
24
|
bs_image,
|
|
22
25
|
bs_section,
|
|
26
|
+
bs_video,
|
|
23
27
|
bs_wrapper,
|
|
24
28
|
modifier,
|
|
25
29
|
ol,
|
|
@@ -13,5 +13,11 @@ export interface StepItemSetProps {
|
|
|
13
13
|
stepItems?: StepItemProps[];
|
|
14
14
|
callToActionRow?: boolean | ChevronProps[];
|
|
15
15
|
additionalDetails?: string | ReactNode;
|
|
16
|
+
video?: {
|
|
17
|
+
videoId: string;
|
|
18
|
+
videoPlayer: string;
|
|
19
|
+
thubnailImage: string;
|
|
20
|
+
transcript?: string;
|
|
21
|
+
};
|
|
16
22
|
}
|
|
17
23
|
export declare const StepItemSet: FC<StepItemSetProps>;
|
|
@@ -8,7 +8,14 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
8
8
|
import { OptimizeImage } from "../utils/optimizeImage/OptimizeImage.js";
|
|
9
9
|
import { StepItem } from "../StepItem/StepItem.js";
|
|
10
10
|
import "../StepItem/StepItem.css.js";
|
|
11
|
-
import
|
|
11
|
+
import "next/script.js";
|
|
12
|
+
import { VideoTile } from "../VideoTile/VideoTile.js";
|
|
13
|
+
import '../assets/VideoTile/VideoTile.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';import '../assets/Typography/Typography.css';/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
import { bs_section, bs_wrapper, svg_logo, modifier, sec_title, sec_subtitle, tablet_col, bs_image, bs_video, steps_wrapper, ol, bs_btns, bs_add_details } from "./StepItemSet.css.js";
|
|
12
19
|
const StepItemSet = ({
|
|
13
20
|
id,
|
|
14
21
|
variant: fullVariant = "primary",
|
|
@@ -17,7 +24,8 @@ const StepItemSet = ({
|
|
|
17
24
|
image,
|
|
18
25
|
stepItems,
|
|
19
26
|
callToActionRow,
|
|
20
|
-
additionalDetails
|
|
27
|
+
additionalDetails,
|
|
28
|
+
video
|
|
21
29
|
}) => {
|
|
22
30
|
const variant = getVariant(fullVariant);
|
|
23
31
|
return /* @__PURE__ */ jsx("section", { className: `${bs_section({ variant })}`, id, children: /* @__PURE__ */ jsxs("div", { className: `${bs_wrapper} containment`, children: [
|
|
@@ -55,7 +63,18 @@ const StepItemSet = ({
|
|
|
55
63
|
description && /* @__PURE__ */ jsx("div", { className: sec_subtitle, children: /* @__PURE__ */ jsx(Fragment, { children: description }) })
|
|
56
64
|
] }),
|
|
57
65
|
/* @__PURE__ */ jsxs("div", { className: `push_up_32 flex ${tablet_col}`, children: [
|
|
58
|
-
image && /* @__PURE__ */ jsx("div", { className: bs_image, role: "presentation", children: /* @__PURE__ */ jsx(OptimizeImage, { src: image?.src, alt: "" }) }),
|
|
66
|
+
image && image.src ? /* @__PURE__ */ jsx("div", { className: bs_image, role: "presentation", children: /* @__PURE__ */ jsx(OptimizeImage, { src: image?.src, alt: "" }) }) : video && video.videoId && /* @__PURE__ */ jsx("div", { className: bs_video, role: "presentation", children: /* @__PURE__ */ jsx(
|
|
67
|
+
VideoTile,
|
|
68
|
+
{
|
|
69
|
+
id: "video-tile",
|
|
70
|
+
videoId: video.videoId,
|
|
71
|
+
videoPlayer: video.videoPlayer,
|
|
72
|
+
thumbnailImage: video.thubnailImage,
|
|
73
|
+
displayType: "inline",
|
|
74
|
+
transcript: video.transcript,
|
|
75
|
+
enableModal: true
|
|
76
|
+
}
|
|
77
|
+
) }),
|
|
59
78
|
/* @__PURE__ */ jsx("div", { className: steps_wrapper, children: /* @__PURE__ */ jsx("ol", { className: ol, children: stepItems?.map((step, index) => /* @__PURE__ */ jsx(
|
|
60
79
|
StepItem,
|
|
61
80
|
{
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { StepItemSet } from "./StepItemSet.js";
|
|
2
|
-
import { bs_add_details, bs_btns, bs_image, bs_section, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet.css.js";
|
|
2
|
+
import { bs_add_details, bs_btns, bs_image, bs_section, bs_video, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet.css.js";
|
|
3
3
|
export {
|
|
4
4
|
StepItemSet,
|
|
5
5
|
bs_add_details,
|
|
6
6
|
bs_btns,
|
|
7
7
|
bs_image,
|
|
8
8
|
bs_section,
|
|
9
|
+
bs_video,
|
|
9
10
|
bs_wrapper,
|
|
10
11
|
modifier,
|
|
11
12
|
ol,
|
|
@@ -193,4 +193,21 @@
|
|
|
193
193
|
border: none;
|
|
194
194
|
color: inherit;
|
|
195
195
|
cursor: pointer;
|
|
196
|
+
}
|
|
197
|
+
._13n1jqkg {
|
|
198
|
+
font-size: 10px;
|
|
199
|
+
text-align: center;
|
|
200
|
+
margin-bottom: 8px;
|
|
201
|
+
margin-top: 8px;
|
|
202
|
+
color: #1e3860;
|
|
203
|
+
}
|
|
204
|
+
._1hpv6vm1 ._13n1jqkg {
|
|
205
|
+
color: #323339;
|
|
206
|
+
}
|
|
207
|
+
._13n1jqkh {
|
|
208
|
+
display: flex;
|
|
209
|
+
flex-direction: column;
|
|
210
|
+
align-items: center;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
padding: 0 1rem;
|
|
196
213
|
}
|
|
@@ -103,7 +103,6 @@
|
|
|
103
103
|
width: 100%;
|
|
104
104
|
text-align: center;
|
|
105
105
|
gap: 24px;
|
|
106
|
-
flex-wrap: wrap;
|
|
107
106
|
align-items: center;
|
|
108
107
|
}
|
|
109
108
|
._198o0lt0 ._1nivbwe1 {
|
|
@@ -112,6 +111,9 @@
|
|
|
112
111
|
._198o0lt0 ._1nivbwe5 {
|
|
113
112
|
font-size: 20px;
|
|
114
113
|
}
|
|
114
|
+
.comparison_container--many_items ._198o0lte {
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
}
|
|
115
117
|
@media screen and (max-width: 1023px) {
|
|
116
118
|
._198o0lt0 {
|
|
117
119
|
border-radius: 0;
|
|
@@ -72,6 +72,19 @@
|
|
|
72
72
|
overflow: hidden;
|
|
73
73
|
width: 48%;
|
|
74
74
|
}
|
|
75
|
+
._18par6fk {
|
|
76
|
+
border-radius: 8px;
|
|
77
|
+
min-height: 378px;
|
|
78
|
+
position: relative;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
width: 48%;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
}
|
|
85
|
+
._18par6fk ._16puo4g0 {
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
75
88
|
._18par6fj img {
|
|
76
89
|
height: 100%;
|
|
77
90
|
inset: 0;
|
|
@@ -80,31 +93,31 @@
|
|
|
80
93
|
position: absolute;
|
|
81
94
|
width: 100%;
|
|
82
95
|
}
|
|
83
|
-
.
|
|
96
|
+
._18par6fl {
|
|
84
97
|
padding: 27px 48px;
|
|
85
98
|
flex: 1 1 0%;
|
|
86
99
|
}
|
|
87
|
-
.
|
|
100
|
+
._18par6fm {
|
|
88
101
|
padding: 0;
|
|
89
102
|
list-style: none;
|
|
90
103
|
margin: 0;
|
|
91
104
|
}
|
|
92
|
-
.
|
|
105
|
+
._18par6fm > li + li > :first-child > :first-child {
|
|
93
106
|
padding-top: 24px;
|
|
94
107
|
}
|
|
95
|
-
.
|
|
108
|
+
._18par6fm > li + li > :last-child {
|
|
96
109
|
padding-top: 24px;
|
|
97
110
|
}
|
|
98
|
-
.
|
|
111
|
+
._18par6fn > * + * {
|
|
99
112
|
margin-left: 48px;
|
|
100
113
|
}
|
|
101
|
-
.
|
|
114
|
+
._18par6fo {
|
|
102
115
|
margin-left: auto;
|
|
103
116
|
margin-right: auto;
|
|
104
117
|
text-align: center;
|
|
105
118
|
max-width: 800px;
|
|
106
119
|
}
|
|
107
|
-
.
|
|
120
|
+
._18par6fo > * {
|
|
108
121
|
line-height: 1.5;
|
|
109
122
|
}
|
|
110
123
|
@media screen and (min-width:1024px) {
|
|
@@ -113,7 +126,7 @@
|
|
|
113
126
|
}
|
|
114
127
|
}
|
|
115
128
|
@media screen and (max-width:1280px) {
|
|
116
|
-
.
|
|
129
|
+
._18par6fl {
|
|
117
130
|
padding-left: 24px;
|
|
118
131
|
padding-right: 0;
|
|
119
132
|
}
|
|
@@ -129,14 +142,18 @@
|
|
|
129
142
|
aspect-ratio: 16 / 9;
|
|
130
143
|
}
|
|
131
144
|
._18par6fk {
|
|
145
|
+
width: 100%;
|
|
146
|
+
min-height: 183px;
|
|
147
|
+
}
|
|
148
|
+
._18par6fl {
|
|
132
149
|
padding: 0px;
|
|
133
150
|
margin-top: 24px;
|
|
134
151
|
}
|
|
135
|
-
.
|
|
152
|
+
._18par6fn {
|
|
136
153
|
flex-direction: column;
|
|
137
154
|
margin-top: 24px;
|
|
138
155
|
}
|
|
139
|
-
.
|
|
156
|
+
._18par6fn > * + * {
|
|
140
157
|
margin-left: 0px;
|
|
141
158
|
margin-top: 24px;
|
|
142
159
|
}
|
package/dist/main.js
CHANGED
|
@@ -42,7 +42,7 @@ import { bubbleWrapper, svgFill } from "./Chatbot/Bubble.css.js";
|
|
|
42
42
|
import { Chatbot } from "./Chatbot/Chatbot.js";
|
|
43
43
|
import { chatbotAXB, chatbotUFB } from "./Chatbot/Chatbot.css.js";
|
|
44
44
|
import { ChatWindow } from "./Chatbot/ChatWindow.js";
|
|
45
|
-
import { arrowFill, button_reset, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, messageStyle, messagesContainerStyle, notificationStyle, sendButtonStyle, windowBarStyle, windowOpenStyle, windowStyle } from "./Chatbot/ChatWindow.css.js";
|
|
45
|
+
import { arrowFill, button_reset, chatFinishDialog, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, messageStyle, messagesContainerStyle, notificationStyle, sendButtonStyle, windowBarStyle, windowOpenStyle, windowStyle } from "./Chatbot/ChatWindow.css.js";
|
|
46
46
|
import { useOpenChat } from "./Chatbot/store/chat.js";
|
|
47
47
|
import { useMessages } from "./Chatbot/store/messages.js";
|
|
48
48
|
import { useHeadlessChat } from "./Chatbot/useHeadlessChat.js";
|
|
@@ -68,6 +68,7 @@ import { ApplyNow } from "./Forms/ApplyNow.js";
|
|
|
68
68
|
import { getLink } from "./Forms/applynow-utils.js";
|
|
69
69
|
import { ClearingForm } from "./Forms/ClearingForm.js";
|
|
70
70
|
import { CommercialDeposits } from "./Forms/CommercialDeposits.js";
|
|
71
|
+
import { CommercialDepositsNoLendingOption } from "./Forms/CommercialDepositsNoLendingOption.js";
|
|
71
72
|
import { CommercialLending } from "./Forms/CommercialLending.js";
|
|
72
73
|
import { CommercialPremiumFinance } from "./Forms/CommercialPremiumFinance.js";
|
|
73
74
|
import { ContactCompany } from "./Forms/ContactCompany.js";
|
|
@@ -183,7 +184,7 @@ import { SocialMediaBar } from "./SocialMediaBar/index.js";
|
|
|
183
184
|
import { StepItem } from "./StepItem/StepItem.js";
|
|
184
185
|
import { bs_copy, bs_topic, bullet_details, li, line_points, point, step_num } from "./StepItem/StepItem.css.js";
|
|
185
186
|
import { StepItemSet } from "./StepItemSet/StepItemSet.js";
|
|
186
|
-
import { bs_add_details, bs_btns, bs_image, bs_section, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet/StepItemSet.css.js";
|
|
187
|
+
import { bs_add_details, bs_btns, bs_image, bs_section, bs_video, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet/StepItemSet.css.js";
|
|
187
188
|
import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table/Table.js";
|
|
188
189
|
import { alternate_color_rows, apy_table, bodyHeader, headerCell, headerVariants, highlight_cell, highlight_first_row, highlight_last_row, highlight_th, table, tableWrapper, table_container, table_container_text, table_description_text, table_headline, table_section, td, th } from "./Table/Table.css.js";
|
|
189
190
|
import { TextBlock } from "./TextBlock/TextBlock.js";
|
|
@@ -267,6 +268,7 @@ export {
|
|
|
267
268
|
default11 as CloseIcon,
|
|
268
269
|
CollectInformationAlert,
|
|
269
270
|
CommercialDeposits,
|
|
271
|
+
CommercialDepositsNoLendingOption,
|
|
270
272
|
CommercialLending,
|
|
271
273
|
CommercialPremiumFinance,
|
|
272
274
|
ComparisonSet,
|
|
@@ -444,6 +446,7 @@ export {
|
|
|
444
446
|
bs_image,
|
|
445
447
|
bs_section,
|
|
446
448
|
bs_topic,
|
|
449
|
+
bs_video,
|
|
447
450
|
bs_wrapper,
|
|
448
451
|
bubbleWrapper,
|
|
449
452
|
bullet_details,
|
|
@@ -457,6 +460,8 @@ export {
|
|
|
457
460
|
center_center,
|
|
458
461
|
center_left,
|
|
459
462
|
center_right,
|
|
463
|
+
chatFinishDialog,
|
|
464
|
+
chatNetworkStatus,
|
|
460
465
|
chat_title,
|
|
461
466
|
chatbotAXB,
|
|
462
467
|
chatbotMenu,
|
package/package.json
CHANGED