@axos-web-dev/shared-components 0.0.117 → 0.0.119
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/ATMLocator/ATMLocator.js +3 -2
- package/dist/ArticlesSet/ArticlesSet.js +1 -1
- package/dist/Button/Button.js +3 -2
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.d.ts +16 -1
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +8 -8
- package/dist/Calculators/AnnualFeeCalculator/index.js +7 -4
- package/dist/Calculators/Calculator.js +1 -0
- package/dist/Calculators/MarginTradingCalculator/index.js +29 -7
- package/dist/Calculators/MaxLoanCalculator/index.js +3 -1
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +3 -1
- package/dist/Calculators/calculator.css.d.ts +1 -0
- package/dist/Calculators/calculator.css.js +4 -2
- package/dist/Calculators/calculators.js +6 -0
- package/dist/Calculators/index.js +2 -1
- package/dist/Carousel/Carousel.css.d.ts +1 -0
- package/dist/Carousel/Carousel.css.js +13 -11
- package/dist/Carousel/index.d.ts +1 -0
- package/dist/Carousel/index.js +38 -29
- package/dist/Chevron/index.js +2 -1
- package/dist/Comparison/Comparison.js +2 -1
- package/dist/ContentBanner/ContentBanner.interface.d.ts +2 -1
- package/dist/ContentBanner/index.js +3 -2
- package/dist/DownloadTile/DownloadTile.css.d.ts +1 -0
- package/dist/DownloadTile/DownloadTile.css.js +9 -7
- package/dist/DownloadTile/DownloadTile.interface.d.ts +1 -0
- package/dist/DownloadTile/index.js +34 -25
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +1 -0
- package/dist/ExecutiveBio/ExecutiveBio.css.js +23 -21
- package/dist/ExecutiveBio/ExecutiveBio.js +3 -2
- package/dist/ExecutiveBio/index.js +2 -1
- package/dist/FaqAccordion/FaqAccordion.css.d.ts +1 -0
- package/dist/FaqAccordion/FaqAccordion.css.js +7 -5
- package/dist/FaqAccordion/index.d.ts +2 -0
- package/dist/FaqAccordion/index.js +16 -8
- package/dist/FooterDisclosure/FooterDisclosure.d.ts +5 -2
- package/dist/FooterDisclosure/FooterDisclosure.js +18 -2
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +2 -1
- package/dist/Forms/ApplicationStart.js +105 -113
- package/dist/Forms/BlendPurchase.d.ts +11 -0
- package/dist/Forms/BlendPurchase.js +215 -0
- package/dist/Forms/BlendRefinance.d.ts +11 -0
- package/dist/Forms/BlendRefinance.js +215 -0
- package/dist/Forms/ClearingForm.js +177 -185
- package/dist/Forms/CommercialLending.js +276 -281
- package/dist/Forms/ContactCompany.js +107 -115
- package/dist/Forms/ContactUs.js +89 -97
- package/dist/Forms/ContactUsAAS.js +170 -178
- package/dist/Forms/ContactUsBusiness.js +131 -138
- package/dist/Forms/ContactUsNMLSId.js +114 -121
- package/dist/Forms/CpraRequest.js +592 -600
- package/dist/Forms/DealerServices.js +219 -227
- package/dist/Forms/EmailOnly.js +51 -58
- package/dist/Forms/EmailUs.js +65 -73
- package/dist/Forms/ScheduleCall.js +149 -160
- package/dist/Forms/ScheduleCallPremier.js +171 -179
- package/dist/Forms/SuccesForm.js +2 -1
- package/dist/Forms/WcplSurvey.js +102 -110
- package/dist/HeroBanner/HeroBanner.js +2 -2
- package/dist/Hyperlink/index.js +2 -1
- package/dist/IconBillboard/IconBillboard.d.ts +1 -0
- package/dist/IconBillboard/IconBillboard.js +6 -4
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +1 -0
- package/dist/ImageBillboard/ImageBillboardSet.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +3 -1
- package/dist/ImageLink/ImageLink.css.d.ts +1 -0
- package/dist/ImageLink/ImageLink.css.js +5 -1
- package/dist/ImageLink/ImageLink.js +3 -2
- package/dist/ImageLink/ImageLinkSet.js +5 -3
- package/dist/ImageLink/index.js +1 -1
- package/dist/Insight/Featured/CategorySelector.js +2 -1
- package/dist/Insight/Featured/Featured.js +2 -1
- package/dist/MainHTML/index.d.ts +2 -1
- package/dist/MainHTML/index.js +10 -2
- package/dist/Modal/Modal.js +3 -2
- package/dist/NavigationMenu/AxosBank/NavData.js +2 -1
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +2 -1
- package/dist/NavigationMenu/AxosBank/index.js +3 -2
- package/dist/PageNavItem/PageNavItem.js +8 -1
- package/dist/PageNavSet/PageNavSet.js +16 -19
- package/dist/SetContainer/SetContainer.d.ts +2 -1
- package/dist/SetContainer/SetContainer.js +6 -3
- package/dist/StepItemSet/StepItemSet.js +1 -1
- package/dist/Table/Table.css.d.ts +1 -0
- package/dist/Table/Table.css.js +18 -16
- package/dist/Table/Table.js +23 -15
- package/dist/Table/index.js +2 -1
- package/dist/TextBlock/TextBlock.css.d.ts +1 -0
- package/dist/TextBlock/TextBlock.css.js +6 -4
- package/dist/TextBlock/TextBlock.d.ts +1 -0
- package/dist/TextBlock/TextBlock.js +13 -5
- package/dist/TextBlock/index.js +3 -2
- package/dist/VideoTile/VideoTile.css.d.ts +1 -0
- package/dist/VideoTile/VideoTile.css.js +15 -13
- package/dist/VideoTile/VideoTile.interface.d.ts +1 -0
- package/dist/VideoTile/VideoTile.js +65 -56
- package/dist/VideoTile/index.js +2 -1
- package/dist/VideoWrapper/VideoWrapper.css.d.ts +1 -0
- package/dist/VideoWrapper/VideoWrapper.css.js +6 -4
- package/dist/VideoWrapper/index.d.ts +1 -0
- package/dist/VideoWrapper/index.js +6 -4
- package/dist/assets/ArticlesSet/ArticlesSet.css +1 -1
- package/dist/assets/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css +23 -12
- package/dist/assets/Calculators/calculator.css +24 -11
- package/dist/assets/Carousel/Carousel.css +52 -39
- package/dist/assets/Comparison/Comparison.css +2 -3
- package/dist/assets/DownloadTile/DownloadTile.css +32 -19
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +92 -79
- package/dist/assets/FaqAccordion/FaqAccordion.css +24 -11
- package/dist/assets/IconBillboard/IconBillboard.css +11 -0
- package/dist/assets/ImageBillboard/ImageBillboard.css +9 -0
- package/dist/assets/ImageLink/ImageLink.css +13 -0
- package/dist/assets/PageNavSet/PageNavigationSet.css +6 -9
- package/dist/assets/Table/Table.css +90 -79
- package/dist/assets/TextBlock/TextBlock.css +16 -3
- package/dist/assets/VideoTile/VideoTile.css +27 -14
- package/dist/assets/VideoWrapper/VideoWrapper.css +18 -5
- package/dist/main.js +10 -5
- package/dist/utils/allowedAxosDomains.js +1 -1
- package/package.json +1 -1
- package/dist/ImageLink/ImageLink.css.ts.vanilla.css.js +0 -1
|
@@ -89,186 +89,178 @@ const ScheduleCallPremier = ({
|
|
|
89
89
|
await onSubmit(parseData);
|
|
90
90
|
};
|
|
91
91
|
const variant = getVariant(fullVariant);
|
|
92
|
-
return /* @__PURE__ */ jsx(
|
|
93
|
-
"
|
|
94
|
-
{
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
id: "email",
|
|
147
|
-
...register("email", {
|
|
148
|
-
required: true,
|
|
149
|
-
validate: {
|
|
150
|
-
isValid: associatedEmail
|
|
151
|
-
}
|
|
152
|
-
}),
|
|
153
|
-
label: "Email",
|
|
154
|
-
sizes: "medium",
|
|
155
|
-
placeholder: "Email",
|
|
156
|
-
required: true,
|
|
157
|
-
error: !!errors.email,
|
|
158
|
-
helperText: errors.email?.message,
|
|
159
|
-
variant
|
|
160
|
-
}
|
|
161
|
-
) }),
|
|
162
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
163
|
-
InputPhone,
|
|
164
|
-
{
|
|
165
|
-
id: "phone",
|
|
166
|
-
...register("phone", { required: true, maxLength: 12 }),
|
|
167
|
-
label: "Phone",
|
|
168
|
-
sizes: "medium",
|
|
169
|
-
placeholder: "Phone",
|
|
170
|
-
required: true,
|
|
171
|
-
error: !!errors.phone,
|
|
172
|
-
helperText: errors.phone?.message,
|
|
173
|
-
variant
|
|
174
|
-
}
|
|
175
|
-
) }),
|
|
176
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
177
|
-
Input,
|
|
178
|
-
{
|
|
179
|
-
id: "Best_Contact_Date__c",
|
|
180
|
-
...register("Best_Contact_Date__c", {
|
|
181
|
-
required: true
|
|
182
|
-
}),
|
|
183
|
-
type: "date",
|
|
184
|
-
label: "Best Date to Call",
|
|
185
|
-
sizes: "medium",
|
|
186
|
-
placeholder: "Best Date to Call",
|
|
187
|
-
required: true,
|
|
188
|
-
error: !!errors.Best_Contact_Date__c,
|
|
189
|
-
helperText: errors.Best_Contact_Date__c?.message,
|
|
190
|
-
variant
|
|
191
|
-
}
|
|
192
|
-
) }),
|
|
193
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
194
|
-
Dropdown,
|
|
195
|
-
{
|
|
196
|
-
id: "Best_Time_To_Call__c",
|
|
197
|
-
...register("Best_Time_To_Call__c", {
|
|
198
|
-
required: true,
|
|
199
|
-
maxLength: 12
|
|
200
|
-
}),
|
|
201
|
-
label: "Best Time to Call",
|
|
202
|
-
sizes: "medium",
|
|
203
|
-
required: true,
|
|
204
|
-
error: !!errors.Best_Time_To_Call__c,
|
|
205
|
-
helperText: errors.Best_Time_To_Call__c?.message,
|
|
206
|
-
variant,
|
|
207
|
-
defaultValue: "Best Time to Call",
|
|
208
|
-
children: [
|
|
209
|
-
/* @__PURE__ */ jsx("option", { value: "Best Time to Call", disabled: true, children: "Best Time to Call" }),
|
|
210
|
-
/* @__PURE__ */ jsx("option", { value: "8:00 am", children: "8:00 am" }),
|
|
211
|
-
/* @__PURE__ */ jsx("option", { value: "8:30 am", children: "8:30 am" }),
|
|
212
|
-
/* @__PURE__ */ jsx("option", { value: "9:00 am", children: "9:00 am" }),
|
|
213
|
-
/* @__PURE__ */ jsx("option", { value: "9:30 am", children: "9:30 am" }),
|
|
214
|
-
/* @__PURE__ */ jsx("option", { value: "10:00 am", children: "10:00 am" }),
|
|
215
|
-
/* @__PURE__ */ jsx("option", { value: "10:30 am", children: "10:30 am" }),
|
|
216
|
-
/* @__PURE__ */ jsx("option", { value: "11:00 am", children: "11:00 am" }),
|
|
217
|
-
/* @__PURE__ */ jsx("option", { value: "11:30 am", children: "11:30 am" }),
|
|
218
|
-
/* @__PURE__ */ jsx("option", { value: "12:00 pm", children: "12:00 pm" }),
|
|
219
|
-
/* @__PURE__ */ jsx("option", { value: "12:30 pm", children: "12:30 pm" }),
|
|
220
|
-
/* @__PURE__ */ jsx("option", { value: "1:00 pm", children: "1:00 pm" }),
|
|
221
|
-
/* @__PURE__ */ jsx("option", { value: "1:30 pm", children: "1:30 pm" }),
|
|
222
|
-
/* @__PURE__ */ jsx("option", { value: "2:00 pm", children: "2:00 pm" }),
|
|
223
|
-
/* @__PURE__ */ jsx("option", { value: "2:30 pm", children: "2:30 pm" }),
|
|
224
|
-
/* @__PURE__ */ jsx("option", { value: "3:00 pm", children: "3:00 pm" }),
|
|
225
|
-
/* @__PURE__ */ jsx("option", { value: "3:30 pm", children: "3:30 pm" }),
|
|
226
|
-
/* @__PURE__ */ jsx("option", { value: "4:00 pm", children: "4:00 pm" }),
|
|
227
|
-
/* @__PURE__ */ jsx("option", { value: "4:30 pm", children: "4:30 pm" }),
|
|
228
|
-
/* @__PURE__ */ jsx("option", { value: "5:00 pm", children: "5:00 pm" })
|
|
229
|
-
]
|
|
230
|
-
}
|
|
231
|
-
) }),
|
|
232
|
-
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
233
|
-
CurrencyInput,
|
|
234
|
-
{
|
|
235
|
-
id: "Potential_Funding__c",
|
|
236
|
-
...register("Potential_Funding__c", {
|
|
237
|
-
required: true
|
|
238
|
-
}),
|
|
239
|
-
label: "Potential Funding",
|
|
240
|
-
placeholder: "Potential Funding",
|
|
241
|
-
sizes: "medium",
|
|
242
|
-
required: true,
|
|
243
|
-
error: !!errors.Potential_Funding__c,
|
|
244
|
-
helperText: errors.Potential_Funding__c?.message,
|
|
245
|
-
variant
|
|
92
|
+
return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
93
|
+
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
94
|
+
/* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
|
|
95
|
+
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
|
|
96
|
+
description && /* @__PURE__ */ jsx(
|
|
97
|
+
"div",
|
|
98
|
+
{
|
|
99
|
+
className: clsx(
|
|
100
|
+
"text_center",
|
|
101
|
+
form,
|
|
102
|
+
descriptionField({ variant })
|
|
103
|
+
),
|
|
104
|
+
children: description
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
] }),
|
|
108
|
+
/* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
|
|
109
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant })), children: [
|
|
110
|
+
/* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
|
|
111
|
+
Input,
|
|
112
|
+
{
|
|
113
|
+
id: "first_name",
|
|
114
|
+
...register("first_name", { required: true }),
|
|
115
|
+
label: "First Name",
|
|
116
|
+
sizes: "medium",
|
|
117
|
+
placeholder: "First Name",
|
|
118
|
+
required: true,
|
|
119
|
+
error: !!errors.first_name,
|
|
120
|
+
helperText: errors.first_name?.message,
|
|
121
|
+
variant
|
|
122
|
+
}
|
|
123
|
+
) }),
|
|
124
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
125
|
+
Input,
|
|
126
|
+
{
|
|
127
|
+
id: "last_name",
|
|
128
|
+
...register("last_name", { required: true }),
|
|
129
|
+
label: "Last Name",
|
|
130
|
+
sizes: "medium",
|
|
131
|
+
placeholder: "Last Name",
|
|
132
|
+
required: true,
|
|
133
|
+
error: !!errors.last_name,
|
|
134
|
+
helperText: errors.last_name?.message,
|
|
135
|
+
variant
|
|
136
|
+
}
|
|
137
|
+
) }),
|
|
138
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
139
|
+
Input,
|
|
140
|
+
{
|
|
141
|
+
id: "email",
|
|
142
|
+
...register("email", {
|
|
143
|
+
required: true,
|
|
144
|
+
validate: {
|
|
145
|
+
isValid: associatedEmail
|
|
246
146
|
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
147
|
+
}),
|
|
148
|
+
label: "Email",
|
|
149
|
+
sizes: "medium",
|
|
150
|
+
placeholder: "Email",
|
|
151
|
+
required: true,
|
|
152
|
+
error: !!errors.email,
|
|
153
|
+
helperText: errors.email?.message,
|
|
154
|
+
variant
|
|
155
|
+
}
|
|
156
|
+
) }),
|
|
157
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
158
|
+
InputPhone,
|
|
159
|
+
{
|
|
160
|
+
id: "phone",
|
|
161
|
+
...register("phone", { required: true, maxLength: 12 }),
|
|
162
|
+
label: "Phone",
|
|
163
|
+
sizes: "medium",
|
|
164
|
+
placeholder: "Phone",
|
|
165
|
+
required: true,
|
|
166
|
+
error: !!errors.phone,
|
|
167
|
+
helperText: errors.phone?.message,
|
|
168
|
+
variant
|
|
169
|
+
}
|
|
170
|
+
) }),
|
|
171
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
172
|
+
Input,
|
|
173
|
+
{
|
|
174
|
+
id: "Best_Contact_Date__c",
|
|
175
|
+
...register("Best_Contact_Date__c", {
|
|
176
|
+
required: true
|
|
177
|
+
}),
|
|
178
|
+
type: "date",
|
|
179
|
+
label: "Best Date to Call",
|
|
180
|
+
sizes: "medium",
|
|
181
|
+
placeholder: "Best Date to Call",
|
|
182
|
+
required: true,
|
|
183
|
+
error: !!errors.Best_Contact_Date__c,
|
|
184
|
+
helperText: errors.Best_Contact_Date__c?.message,
|
|
185
|
+
variant
|
|
186
|
+
}
|
|
187
|
+
) }),
|
|
188
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
189
|
+
Dropdown,
|
|
190
|
+
{
|
|
191
|
+
id: "Best_Time_To_Call__c",
|
|
192
|
+
...register("Best_Time_To_Call__c", {
|
|
193
|
+
required: true,
|
|
194
|
+
maxLength: 12
|
|
195
|
+
}),
|
|
196
|
+
label: "Best Time to Call",
|
|
197
|
+
sizes: "medium",
|
|
198
|
+
required: true,
|
|
199
|
+
error: !!errors.Best_Time_To_Call__c,
|
|
200
|
+
helperText: errors.Best_Time_To_Call__c?.message,
|
|
201
|
+
variant,
|
|
202
|
+
defaultValue: "Best Time to Call",
|
|
203
|
+
children: [
|
|
204
|
+
/* @__PURE__ */ jsx("option", { value: "Best Time to Call", disabled: true, children: "Best Time to Call" }),
|
|
205
|
+
/* @__PURE__ */ jsx("option", { value: "8:00 am", children: "8:00 am" }),
|
|
206
|
+
/* @__PURE__ */ jsx("option", { value: "8:30 am", children: "8:30 am" }),
|
|
207
|
+
/* @__PURE__ */ jsx("option", { value: "9:00 am", children: "9:00 am" }),
|
|
208
|
+
/* @__PURE__ */ jsx("option", { value: "9:30 am", children: "9:30 am" }),
|
|
209
|
+
/* @__PURE__ */ jsx("option", { value: "10:00 am", children: "10:00 am" }),
|
|
210
|
+
/* @__PURE__ */ jsx("option", { value: "10:30 am", children: "10:30 am" }),
|
|
211
|
+
/* @__PURE__ */ jsx("option", { value: "11:00 am", children: "11:00 am" }),
|
|
212
|
+
/* @__PURE__ */ jsx("option", { value: "11:30 am", children: "11:30 am" }),
|
|
213
|
+
/* @__PURE__ */ jsx("option", { value: "12:00 pm", children: "12:00 pm" }),
|
|
214
|
+
/* @__PURE__ */ jsx("option", { value: "12:30 pm", children: "12:30 pm" }),
|
|
215
|
+
/* @__PURE__ */ jsx("option", { value: "1:00 pm", children: "1:00 pm" }),
|
|
216
|
+
/* @__PURE__ */ jsx("option", { value: "1:30 pm", children: "1:30 pm" }),
|
|
217
|
+
/* @__PURE__ */ jsx("option", { value: "2:00 pm", children: "2:00 pm" }),
|
|
218
|
+
/* @__PURE__ */ jsx("option", { value: "2:30 pm", children: "2:30 pm" }),
|
|
219
|
+
/* @__PURE__ */ jsx("option", { value: "3:00 pm", children: "3:00 pm" }),
|
|
220
|
+
/* @__PURE__ */ jsx("option", { value: "3:30 pm", children: "3:30 pm" }),
|
|
221
|
+
/* @__PURE__ */ jsx("option", { value: "4:00 pm", children: "4:00 pm" }),
|
|
222
|
+
/* @__PURE__ */ jsx("option", { value: "4:30 pm", children: "4:30 pm" }),
|
|
223
|
+
/* @__PURE__ */ jsx("option", { value: "5:00 pm", children: "5:00 pm" })
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
) }),
|
|
227
|
+
/* @__PURE__ */ jsx("div", { className: fullRowForm, children: /* @__PURE__ */ jsx(
|
|
228
|
+
CurrencyInput,
|
|
229
|
+
{
|
|
230
|
+
id: "Potential_Funding__c",
|
|
231
|
+
...register("Potential_Funding__c", {
|
|
232
|
+
required: true
|
|
233
|
+
}),
|
|
234
|
+
label: "Potential Funding",
|
|
235
|
+
placeholder: "Potential Funding",
|
|
236
|
+
sizes: "medium",
|
|
237
|
+
required: true,
|
|
238
|
+
error: !!errors.Potential_Funding__c,
|
|
239
|
+
helperText: errors.Potential_Funding__c?.message,
|
|
240
|
+
variant
|
|
241
|
+
}
|
|
242
|
+
) })
|
|
243
|
+
] }),
|
|
244
|
+
children,
|
|
245
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
246
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
|
|
247
|
+
LoadingIndicator,
|
|
248
|
+
{
|
|
249
|
+
style: { marginInline: "auto" },
|
|
250
|
+
variant
|
|
251
|
+
}
|
|
252
|
+
) : /* @__PURE__ */ jsx(
|
|
253
|
+
Button,
|
|
254
|
+
{
|
|
255
|
+
color: getVariant(callToAction?.variant),
|
|
256
|
+
as: "button",
|
|
257
|
+
type: "submit",
|
|
258
|
+
disabled: !isValid || isSubmitting,
|
|
259
|
+
children: callToAction?.displayText
|
|
260
|
+
}
|
|
261
|
+
) })
|
|
262
|
+
] })
|
|
263
|
+
] }) }) }, id);
|
|
272
264
|
};
|
|
273
265
|
export {
|
|
274
266
|
ScheduleCallPremier
|
package/dist/Forms/SuccesForm.js
CHANGED
|
@@ -18,13 +18,13 @@ import "../AlertBanner/AlertBanner.css.js";
|
|
|
18
18
|
import "../Article/Article.css.js";
|
|
19
19
|
import "../ArticlesSet/ArticlesSet.css.js";
|
|
20
20
|
import "react";
|
|
21
|
+
import "../Calculators/calculator.css.js";
|
|
21
22
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
22
23
|
import "../Button/Button.css.js";
|
|
23
24
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
24
25
|
import "../Table/Table.css.js";
|
|
25
26
|
import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
26
27
|
import "iframe-resizer";
|
|
27
|
-
import "../Calculators/calculator.css.js";
|
|
28
28
|
/* empty css */
|
|
29
29
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
30
30
|
/* empty css */
|
|
@@ -47,6 +47,7 @@ import "../FaqAccordion/index.js";
|
|
|
47
47
|
import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
48
48
|
/* empty css */
|
|
49
49
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
50
|
+
/* empty css */
|
|
50
51
|
import "../Input/Checkbox.js";
|
|
51
52
|
import "../Input/CurrencyInput.js";
|
|
52
53
|
import "../Input/Dropdown.js";
|
package/dist/Forms/WcplSurvey.js
CHANGED
|
@@ -79,116 +79,108 @@ const WCPLSurvey = ({
|
|
|
79
79
|
console.log(errors, isValid);
|
|
80
80
|
};
|
|
81
81
|
const variant = getVariant(fullVariant);
|
|
82
|
-
return /* @__PURE__ */ jsx(
|
|
83
|
-
"
|
|
84
|
-
{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
children: callToAction?.displayText
|
|
185
|
-
}
|
|
186
|
-
) })
|
|
187
|
-
] })
|
|
188
|
-
] }) })
|
|
189
|
-
},
|
|
190
|
-
id
|
|
191
|
-
);
|
|
82
|
+
return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
83
|
+
icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
|
|
84
|
+
/* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
|
|
85
|
+
/* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
|
|
86
|
+
description && /* @__PURE__ */ jsx(
|
|
87
|
+
"div",
|
|
88
|
+
{
|
|
89
|
+
className: `${form} ${descriptionField({ variant })} text_center`,
|
|
90
|
+
children: description
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
] }),
|
|
94
|
+
/* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
|
|
95
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
|
|
96
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
97
|
+
RadioButtonSet,
|
|
98
|
+
{
|
|
99
|
+
id: "Has_Deal",
|
|
100
|
+
label: "Do You have a potential deal you would like to discuss with an Account Executive?",
|
|
101
|
+
sizes: "medium",
|
|
102
|
+
placeholder: "Details",
|
|
103
|
+
required: true,
|
|
104
|
+
error: !!errors.Has_Deal,
|
|
105
|
+
helperText: errors.Has_Deal?.message,
|
|
106
|
+
variant,
|
|
107
|
+
children: [
|
|
108
|
+
/* @__PURE__ */ jsx(
|
|
109
|
+
RadioButton,
|
|
110
|
+
{
|
|
111
|
+
...register("Has_Deal", {
|
|
112
|
+
required: true
|
|
113
|
+
}),
|
|
114
|
+
value: "Yes",
|
|
115
|
+
radioText: "Yes",
|
|
116
|
+
groupName: "Has_Deal"
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ jsx(
|
|
120
|
+
RadioButton,
|
|
121
|
+
{
|
|
122
|
+
...register("Has_Deal", {
|
|
123
|
+
required: true
|
|
124
|
+
}),
|
|
125
|
+
value: "No",
|
|
126
|
+
radioText: "No",
|
|
127
|
+
groupName: "Has_Deal"
|
|
128
|
+
}
|
|
129
|
+
)
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
) }),
|
|
133
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
134
|
+
InputTextArea,
|
|
135
|
+
{
|
|
136
|
+
id: "Description_of_Deal_Details",
|
|
137
|
+
...register("Description_of_Deal_Details", {
|
|
138
|
+
required: true
|
|
139
|
+
}),
|
|
140
|
+
label: "Write Your Message",
|
|
141
|
+
sizes: "medium",
|
|
142
|
+
placeholder: "Details",
|
|
143
|
+
required: true,
|
|
144
|
+
error: !!errors.Description_of_Deal_Details,
|
|
145
|
+
helperText: errors.Description_of_Deal_Details?.message,
|
|
146
|
+
variant
|
|
147
|
+
}
|
|
148
|
+
) }),
|
|
149
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
150
|
+
InputPhone,
|
|
151
|
+
{
|
|
152
|
+
id: "Telephone",
|
|
153
|
+
...register("Telephone", { required: true, maxLength: 12 }),
|
|
154
|
+
label: "Telephone",
|
|
155
|
+
sizes: "medium",
|
|
156
|
+
placeholder: "Phone",
|
|
157
|
+
required: true,
|
|
158
|
+
error: !!errors.Telephone,
|
|
159
|
+
helperText: errors.Telephone?.message,
|
|
160
|
+
variant
|
|
161
|
+
}
|
|
162
|
+
) })
|
|
163
|
+
] }),
|
|
164
|
+
children,
|
|
165
|
+
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
|
166
|
+
/* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
|
|
167
|
+
LoadingIndicator,
|
|
168
|
+
{
|
|
169
|
+
style: { marginInline: "auto" },
|
|
170
|
+
variant
|
|
171
|
+
}
|
|
172
|
+
) : /* @__PURE__ */ jsx(
|
|
173
|
+
Button,
|
|
174
|
+
{
|
|
175
|
+
color: getVariant(callToAction?.variant),
|
|
176
|
+
as: "button",
|
|
177
|
+
type: "submit",
|
|
178
|
+
disabled: !isValid || isSubmitting,
|
|
179
|
+
children: callToAction?.displayText
|
|
180
|
+
}
|
|
181
|
+
) })
|
|
182
|
+
] })
|
|
183
|
+
] }) }) }, id);
|
|
192
184
|
};
|
|
193
185
|
export {
|
|
194
186
|
WCPLSurvey
|
|
@@ -25,7 +25,7 @@ const HeroBanner = ({
|
|
|
25
25
|
return /* @__PURE__ */ jsx(Fragment, { children: bannerType === "Hero" || bannerType === "Logout" ? /* @__PURE__ */ jsx(
|
|
26
26
|
"section",
|
|
27
27
|
{
|
|
28
|
-
id
|
|
28
|
+
id,
|
|
29
29
|
className: `${bannerType !== "Hero" ? logout : ""} ${hero_banner({ variant: getVariant(variant) })}`,
|
|
30
30
|
children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
|
|
31
31
|
"div",
|
|
@@ -199,7 +199,7 @@ const HeroBanner = ({
|
|
|
199
199
|
"section",
|
|
200
200
|
{
|
|
201
201
|
className: lg_hero_banner({ variant: getVariant(variant) }),
|
|
202
|
-
id
|
|
202
|
+
id,
|
|
203
203
|
children: /* @__PURE__ */ jsx("div", { className: `${hero_wrapper} containment`, children: /* @__PURE__ */ jsxs(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
package/dist/Hyperlink/index.js
CHANGED
|
@@ -24,6 +24,7 @@ import "../Interstitial/Interstitial-variants.css.js";
|
|
|
24
24
|
/* empty css */
|
|
25
25
|
import { useGlobalContext } from "../Modal/contextApi/store.js";
|
|
26
26
|
import clsx from "clsx";
|
|
27
|
+
import "../Calculators/calculator.css.js";
|
|
27
28
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
28
29
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
29
30
|
import "../Table/Table.css.js";
|
|
@@ -46,7 +47,6 @@ import "../Input/Checkbox.css.js";
|
|
|
46
47
|
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
47
48
|
import "../Input/RadioButton.js";
|
|
48
49
|
import "iframe-resizer";
|
|
49
|
-
import "../Calculators/calculator.css.js";
|
|
50
50
|
/* empty css */
|
|
51
51
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
52
52
|
/* empty css */
|
|
@@ -68,6 +68,7 @@ import "../FaqAccordion/index.js";
|
|
|
68
68
|
import "../FooterDisclosure/FooterDisclosure.css.js";
|
|
69
69
|
/* empty css */
|
|
70
70
|
import "../ImageBillboard/ImageBillboard.css.js";
|
|
71
|
+
/* empty css */
|
|
71
72
|
/* empty css */
|
|
72
73
|
/* empty css */
|
|
73
74
|
import "../LandingPageHeader/LandingPageHeader.css.js";
|