@axos-web-dev/shared-components 0.0.113 → 0.0.115
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 +28 -30
- package/dist/Accordion/Accordion.css.js +4 -4
- package/dist/Accordion/Accordion.js +3 -3
- package/dist/AlertBanner/AlertBanner.css.js +1 -1
- package/dist/AlertBanner/index.js +3 -3
- package/dist/Article/Article.css.js +4 -4
- package/dist/ArticlesSet/ArticlesSet.css.js +4 -4
- package/dist/AwardsBanner/AwardsBanner.css.js +1 -1
- package/dist/AwardsItem/AwardsItem.css.js +2 -2
- package/dist/BulletItem/BulletItem.css.js +2 -2
- package/dist/BulletItem/BulletItem.js +3 -3
- package/dist/Button/Button.css.js +4 -4
- package/dist/Button/Button.js +29 -31
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +3 -3
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +3 -3
- package/dist/Calculators/ApyCalculator/index.d.ts +1 -1
- package/dist/Calculators/ApyCalculator/index.js +193 -199
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js +4 -4
- package/dist/Calculators/BalanceAPYCalculator/index.js +116 -122
- package/dist/Calculators/Calculator.js +27 -29
- package/dist/Calculators/MarginTradingCalculator/MarginTradingCalculator.css.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +1 -1
- package/dist/Calculators/MaxLoanCalculator/index.js +1 -1
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +3 -3
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +1 -1
- package/dist/Calculators/calculator.css.js +4 -4
- package/dist/CallToActionBar/CallToActionBar.css.js +3 -3
- package/dist/CallToActionBar/index.js +1 -1
- package/dist/Carousel/Carousel.css.js +3 -3
- package/dist/Carousel/index.js +28 -30
- package/dist/Chevron/Chevron.css.js +4 -4
- package/dist/Chevron/index.js +29 -31
- package/dist/CollectInformationAlert/CollectInformationAlert.css.js +4 -4
- package/dist/CollectInformationAlert/index.js +3 -3
- package/dist/Comparison/Comparison.css.js +5 -5
- package/dist/Comparison/Comparison.js +27 -29
- package/dist/ContentBanner/ContentBanner.css.js +4 -4
- package/dist/ContentBanner/index.js +1 -1
- package/dist/DownloadTile/DownloadTile.css.js +3 -3
- package/dist/DownloadTile/index.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.js +4 -4
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBioSet.js +2 -2
- package/dist/FaqAccordion/FaqAccordion.css.js +4 -4
- package/dist/FaqAccordion/index.js +28 -30
- package/dist/FooterDisclosure/FooterDisclosure.css.js +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.css.js +2 -2
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +27 -29
- package/dist/Forms/ApplicationStart.js +5 -5
- package/dist/Forms/ClearingForm.js +7 -7
- package/dist/Forms/CommercialLending.js +5 -5
- package/dist/Forms/ContactCompany.js +5 -5
- package/dist/Forms/ContactUs.js +5 -5
- package/dist/Forms/ContactUsAAS.js +5 -5
- package/dist/Forms/ContactUsBusiness.js +29 -31
- package/dist/Forms/ContactUsNMLSId.js +29 -31
- package/dist/Forms/CpraRequest.js +5 -5
- package/dist/Forms/DealerServices.js +5 -5
- package/dist/Forms/EmailOnly.js +29 -31
- package/dist/Forms/EmailUs.js +3 -3
- package/dist/Forms/Forms.css.js +7 -7
- package/dist/Forms/QuickPricer.js +5 -5
- package/dist/Forms/ScheduleCall.js +5 -5
- package/dist/Forms/ScheduleCallPremier.js +5 -5
- package/dist/Forms/SuccesForm.js +28 -30
- package/dist/Forms/WcplSurvey.js +5 -5
- package/dist/HeroBanner/HeroBanner.css.js +5 -5
- package/dist/HeroBanner/LargeBanner.css.js +4 -4
- package/dist/HeroBanner/SelectionBanner.css.js +4 -4
- package/dist/Hyperlink/Hyperlink.css.js +1 -1
- package/dist/Hyperlink/index.js +28 -30
- package/dist/IconBillboard/IconBillboard.css.js +4 -4
- package/dist/IconBillboard/IconBillboardSet.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.css.js +4 -4
- package/dist/ImageBillboard/ImageBillboard.js +4 -4
- package/dist/ImageBillboard/ImageBillboardSet.js +3 -3
- package/dist/ImageLink/ImageLink.css.js +1 -1
- package/dist/ImageLink/ImageLink.js +28 -30
- package/dist/ImageLink/ImageLinkSet.js +30 -32
- package/dist/ImageLink/index.js +28 -30
- package/dist/Input/Checkbox.css.js +1 -1
- package/dist/Input/CurrencyInput.js +2 -2
- package/dist/Input/DatePicker.css.js +2 -2
- package/dist/Input/Dropdown.css.js +2 -2
- package/dist/Input/Input.css.js +4 -4
- package/dist/Input/InputAmount.js +2 -2
- package/dist/Input/InputDate.css.js +1 -1
- package/dist/Input/InputPhone.js +2 -2
- package/dist/Input/RadioButton.css.js +1 -1
- package/dist/Inputs/Input.css.js +3 -3
- package/dist/Insight/Featured/CategorySelector.css.js +5 -5
- package/dist/Insight/Featured/CategorySelector.js +26 -28
- package/dist/Insight/Featured/Featured.css.js +2 -2
- package/dist/Insight/Featured/Featured.js +28 -30
- package/dist/Interstitial/Interstitial-variants.css.js +4 -4
- package/dist/LandingPageHeader/LandingPageHeader.css.js +3 -3
- package/dist/LandingPageHeader/LandingPageHeader.js +3 -3
- package/dist/LoadingIndicator/LoadingIndicator.css.js +1 -1
- package/dist/Modal/Modal.css.js +3 -3
- package/dist/Modal/Modal.js +28 -30
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +3 -3
- package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +3 -3
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +3 -3
- package/dist/NavigationMenu/AxosBank/NavData.js +28 -30
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +28 -30
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +3 -3
- package/dist/NavigationMenu/AxosBank/index.js +26 -28
- package/dist/NavigationMenu/AxosClearing/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosClearing/NavData.js +1 -1
- package/dist/NavigationMenu/AxosClearing/index.js +1 -1
- package/dist/PageNavItem/PageNavItem.css.js +4 -4
- package/dist/PageNavSet/PageNavSet.js +8 -7
- package/dist/SecondaryFooter/SecondaryFooter.css.js +3 -3
- package/dist/SecondaryFooter/index.js +1 -1
- package/dist/SetContainer/SetContainer.css.js +3 -3
- package/dist/SetContainer/SetContainer.js +28 -30
- package/dist/SocialMediaBar/SocialMediaBar.css.js +1 -1
- package/dist/StepItem/StepItem.css.js +3 -3
- package/dist/StepItemSet/StepItemSet.css.js +3 -3
- package/dist/Tab/Tab.css.js +3 -3
- package/dist/Table/Table.css.js +3 -3
- package/dist/TextBlock/TextBlock.css.js +3 -3
- package/dist/TextBlock/TextBlock.js +1 -1
- package/dist/TopicalNavItem/TopicalNavItem.css.js +1 -1
- package/dist/TopicalNavSet/TopicalNavSet.css.js +1 -1
- package/dist/Typography/Typography.css.js +1 -1
- package/dist/VideoTile/VideoTile.css.js +4 -4
- package/dist/VideoTile/VideoTile.js +3 -3
- package/dist/VideoWrapper/VideoWrapper.css.js +1 -1
- package/dist/VideoWrapper/index.js +4 -4
- package/dist/assets/Comparison/Comparison.css +1 -0
- package/dist/globals.css.js +2 -2
- package/dist/icons/ArrowIcon/ArrowIcon.css.js +3 -3
- package/dist/icons/CheckIcon/CheckIcon.css.js +3 -3
- package/dist/icons/DownloadIcon/DownloadIcon.css.js +3 -3
- package/dist/icons/FollowIcon/FollowIcon.css.js +3 -3
- package/dist/icons/Star/Star.css.js +1 -1
- package/dist/index.css.js +3 -3
- package/dist/themes/axos.css.js +1 -1
- package/dist/themes/premier.css.js +2 -2
- package/dist/utils/allowedAxosDomains.js +1 -1
- package/package.json +16 -14
- package/dist/assets/node_modules/slick-carousel/slick/slick-theme.css.css +0 -204
- package/dist/assets/node_modules/slick-carousel/slick/slick.css.css +0 -119
- /package/dist/{lib/ImageLink → ImageLink}/ImageLink.css.ts.vanilla.css.js +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Button } from "../../Button/Button.js";
|
|
3
4
|
import { button } from "../../Button/Button.css.js";
|
|
4
5
|
import { useState, useCallback, useEffect } from "react";
|
|
5
|
-
import { container, 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 } from "./ApyCalculator.css.js";
|
|
6
|
-
import { Button } from "../../Button/Button.js";
|
|
7
6
|
import "react-use";
|
|
8
|
-
import { getVariant } from "../../utils/getVariant.js";
|
|
9
7
|
import { Chevron } from "../../Chevron/index.js";
|
|
10
8
|
import { section_container, content, headerIconBillboard, buttons } from "../../IconBillboard/IconBillboard.css.js";
|
|
9
|
+
import { getVariant } from "../../utils/getVariant.js";
|
|
10
|
+
import { container, 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 } from "./ApyCalculator.css.js";
|
|
11
11
|
const ApyCalculator = ({
|
|
12
12
|
header,
|
|
13
13
|
body,
|
|
@@ -108,210 +108,204 @@ const ApyCalculator = ({
|
|
|
108
108
|
setAPR(new_apr);
|
|
109
109
|
convertInterest();
|
|
110
110
|
};
|
|
111
|
-
return /* @__PURE__ */ jsx(
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
header
|
|
119
|
-
|
|
111
|
+
return /* @__PURE__ */ jsx("section", { className: `${container({ variant: getVariant(variant) })}`, children: /* @__PURE__ */ jsxs("div", { className: `${apy_calculator} containment flex between`, children: [
|
|
112
|
+
/* @__PURE__ */ jsxs("div", { className: `${calculator_section}`, children: [
|
|
113
|
+
(header || body) && /* @__PURE__ */ jsxs("div", { className: `${section_header}`, children: [
|
|
114
|
+
header && /* @__PURE__ */ jsx(
|
|
115
|
+
"h2",
|
|
116
|
+
{
|
|
117
|
+
className: `header_2 ${header_theme({ variant: calculator_variant })}`,
|
|
118
|
+
children: header
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
body && /* @__PURE__ */ jsx("div", { className: mt_8, children: body })
|
|
122
|
+
] }),
|
|
123
|
+
/* @__PURE__ */ jsxs("form", { id: "calculator_form", className: `${apy_calculator_form}`, children: [
|
|
124
|
+
/* @__PURE__ */ jsx("div", { id: "errmsgbox", className: " flex middle", children: errors.length > 0 && /* @__PURE__ */ jsx("ul", { className: pis_0, children: errors.map((error, index) => /* @__PURE__ */ jsx("li", { className: `${errorTag}`, children: error }, index)) }) }),
|
|
125
|
+
/* @__PURE__ */ jsxs("div", { className: `${fieldset}`, children: [
|
|
126
|
+
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
127
|
+
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "initDeposit", children: "Initial Deposit" }),
|
|
128
|
+
/* @__PURE__ */ jsx("label", { className: `${label_symbol} ${cash}`, children: "$" }),
|
|
129
|
+
/* @__PURE__ */ jsx(
|
|
130
|
+
"input",
|
|
131
|
+
{
|
|
132
|
+
className: `${prefix_pad} bordered`,
|
|
133
|
+
id: "initDeposit",
|
|
134
|
+
type: "number",
|
|
135
|
+
step: 100,
|
|
136
|
+
name: "initDeposit",
|
|
137
|
+
value: initialDeposit,
|
|
138
|
+
onChange: (e) => setInititalDeposit(parseInt(e.target.value))
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
] }),
|
|
142
|
+
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
143
|
+
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "apr", children: "APR (Annual Percentage Rate)" }),
|
|
144
|
+
/* @__PURE__ */ jsx("label", { className: `${label_symbol} ${percent}`, children: "%" }),
|
|
145
|
+
/* @__PURE__ */ jsx(
|
|
146
|
+
"input",
|
|
147
|
+
{
|
|
148
|
+
className: `${prefix_pad} bordered`,
|
|
149
|
+
id: "apr",
|
|
150
|
+
type: "number",
|
|
151
|
+
step: 0.01,
|
|
152
|
+
name: "apr",
|
|
153
|
+
value: APR,
|
|
154
|
+
onChange: (e) => updateAPR(parseFloat(e.target.value))
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
] }),
|
|
158
|
+
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
159
|
+
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "apy", children: "APY (Annual Percentage Yield)" }),
|
|
160
|
+
/* @__PURE__ */ jsx("label", { className: `${label_symbol} ${percent}`, children: "%" }),
|
|
161
|
+
/* @__PURE__ */ jsx(
|
|
162
|
+
"input",
|
|
163
|
+
{
|
|
164
|
+
className: `${prefix_pad} bordered`,
|
|
165
|
+
id: "apy",
|
|
166
|
+
type: "number",
|
|
167
|
+
step: 0.01,
|
|
168
|
+
name: "apy",
|
|
169
|
+
value: APY,
|
|
170
|
+
onChange: (e) => updateAPY(parseFloat(e.target.value))
|
|
171
|
+
}
|
|
172
|
+
)
|
|
173
|
+
] }),
|
|
174
|
+
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
175
|
+
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "months", children: "Months" }),
|
|
176
|
+
/* @__PURE__ */ jsx(
|
|
177
|
+
"input",
|
|
178
|
+
{
|
|
179
|
+
className: `${prefix_pad} bordered`,
|
|
180
|
+
id: "months",
|
|
181
|
+
min: 1,
|
|
182
|
+
maxLength: 4,
|
|
183
|
+
type: "number",
|
|
184
|
+
name: "months",
|
|
185
|
+
value: months,
|
|
186
|
+
onChange: (e) => setMonths(parseInt(e.target.value))
|
|
187
|
+
}
|
|
188
|
+
)
|
|
189
|
+
] }),
|
|
190
|
+
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
191
|
+
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "compounding", children: "Compounding" }),
|
|
192
|
+
/* @__PURE__ */ jsxs(
|
|
193
|
+
"select",
|
|
120
194
|
{
|
|
121
|
-
className:
|
|
122
|
-
|
|
195
|
+
className: `${prefix_pad} bordered`,
|
|
196
|
+
id: "compounding",
|
|
197
|
+
name: "compounding",
|
|
198
|
+
value: compounding,
|
|
199
|
+
onChange: (e) => setCompounding(Number(e.target.value)),
|
|
200
|
+
children: [
|
|
201
|
+
/* @__PURE__ */ jsx("option", { value: 360, children: "Daily" }),
|
|
202
|
+
/* @__PURE__ */ jsx("option", { value: 12, children: "Monthly" }),
|
|
203
|
+
/* @__PURE__ */ jsx("option", { value: 4, children: "Quarterly" }),
|
|
204
|
+
/* @__PURE__ */ jsx("option", { value: 2, children: "Semi-Annual" }),
|
|
205
|
+
/* @__PURE__ */ jsx("option", { value: 1, children: "Yearly" })
|
|
206
|
+
]
|
|
123
207
|
}
|
|
124
|
-
)
|
|
125
|
-
body && /* @__PURE__ */ jsx("div", { className: mt_8, children: body })
|
|
208
|
+
)
|
|
126
209
|
] }),
|
|
127
|
-
/* @__PURE__ */ jsxs("
|
|
128
|
-
/* @__PURE__ */ jsx("
|
|
129
|
-
/* @__PURE__ */
|
|
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
|
-
/* @__PURE__ */
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
id: "months",
|
|
185
|
-
min: 1,
|
|
186
|
-
maxLength: 4,
|
|
187
|
-
type: "number",
|
|
188
|
-
name: "months",
|
|
189
|
-
value: months,
|
|
190
|
-
onChange: (e) => setMonths(parseInt(e.target.value))
|
|
191
|
-
}
|
|
192
|
-
)
|
|
193
|
-
] }),
|
|
194
|
-
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
195
|
-
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "compounding", children: "Compounding" }),
|
|
196
|
-
/* @__PURE__ */ jsxs(
|
|
197
|
-
"select",
|
|
198
|
-
{
|
|
199
|
-
className: `${prefix_pad} bordered`,
|
|
200
|
-
id: "compounding",
|
|
201
|
-
name: "compounding",
|
|
202
|
-
value: compounding,
|
|
203
|
-
onChange: (e) => setCompounding(Number(e.target.value)),
|
|
204
|
-
children: [
|
|
205
|
-
/* @__PURE__ */ jsx("option", { value: 360, children: "Daily" }),
|
|
206
|
-
/* @__PURE__ */ jsx("option", { value: 12, children: "Monthly" }),
|
|
207
|
-
/* @__PURE__ */ jsx("option", { value: 4, children: "Quarterly" }),
|
|
208
|
-
/* @__PURE__ */ jsx("option", { value: 2, children: "Semi-Annual" }),
|
|
209
|
-
/* @__PURE__ */ jsx("option", { value: 1, children: "Yearly" })
|
|
210
|
-
]
|
|
211
|
-
}
|
|
212
|
-
)
|
|
213
|
-
] }),
|
|
214
|
-
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
215
|
-
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "monthlyDeposits", children: "Monthly Deposits" }),
|
|
216
|
-
/* @__PURE__ */ jsx("label", { className: `${label_symbol} ${cash}`, children: "$" }),
|
|
217
|
-
/* @__PURE__ */ jsx(
|
|
218
|
-
"input",
|
|
219
|
-
{
|
|
220
|
-
className: `${prefix_pad} bordered`,
|
|
221
|
-
id: "monthlyDeposits",
|
|
222
|
-
maxLength: 25,
|
|
223
|
-
type: "number",
|
|
224
|
-
value: monthlyDeposits,
|
|
225
|
-
name: "monthlyDeposits",
|
|
226
|
-
onChange: (e) => setMonthlyDeposits(parseInt(e.target.value))
|
|
227
|
-
}
|
|
228
|
-
)
|
|
229
|
-
] }),
|
|
230
|
-
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
231
|
-
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "endBal", children: "Ending Balance" }),
|
|
232
|
-
/* @__PURE__ */ jsx(
|
|
233
|
-
"input",
|
|
234
|
-
{
|
|
235
|
-
className: `${prefix_pad} bordered`,
|
|
236
|
-
id: "endBal",
|
|
237
|
-
maxLength: 30,
|
|
238
|
-
type: "string",
|
|
239
|
-
readOnly: true,
|
|
240
|
-
name: "endBal",
|
|
241
|
-
value: endingBalance
|
|
242
|
-
}
|
|
243
|
-
)
|
|
244
|
-
] }),
|
|
210
|
+
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
211
|
+
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "monthlyDeposits", children: "Monthly Deposits" }),
|
|
212
|
+
/* @__PURE__ */ jsx("label", { className: `${label_symbol} ${cash}`, children: "$" }),
|
|
213
|
+
/* @__PURE__ */ jsx(
|
|
214
|
+
"input",
|
|
215
|
+
{
|
|
216
|
+
className: `${prefix_pad} bordered`,
|
|
217
|
+
id: "monthlyDeposits",
|
|
218
|
+
maxLength: 25,
|
|
219
|
+
type: "number",
|
|
220
|
+
value: monthlyDeposits,
|
|
221
|
+
name: "monthlyDeposits",
|
|
222
|
+
onChange: (e) => setMonthlyDeposits(parseInt(e.target.value))
|
|
223
|
+
}
|
|
224
|
+
)
|
|
225
|
+
] }),
|
|
226
|
+
/* @__PURE__ */ jsxs("div", { className: `${field_row} ${relative} flex flex_col`, children: [
|
|
227
|
+
/* @__PURE__ */ jsx("label", { className: "input_label", htmlFor: "endBal", children: "Ending Balance" }),
|
|
228
|
+
/* @__PURE__ */ jsx(
|
|
229
|
+
"input",
|
|
230
|
+
{
|
|
231
|
+
className: `${prefix_pad} bordered`,
|
|
232
|
+
id: "endBal",
|
|
233
|
+
maxLength: 30,
|
|
234
|
+
type: "string",
|
|
235
|
+
readOnly: true,
|
|
236
|
+
name: "endBal",
|
|
237
|
+
value: endingBalance
|
|
238
|
+
}
|
|
239
|
+
)
|
|
240
|
+
] }),
|
|
241
|
+
/* @__PURE__ */ jsx(
|
|
242
|
+
"div",
|
|
243
|
+
{
|
|
244
|
+
className: `${submit_section} ${span_12} flex center middle push_up_32`,
|
|
245
|
+
children: /* @__PURE__ */ jsx(
|
|
246
|
+
"input",
|
|
247
|
+
{
|
|
248
|
+
className: `${button({ color: "primary", size: "medium", rounded: "medium" })} center`,
|
|
249
|
+
type: "button",
|
|
250
|
+
value: "Calculate",
|
|
251
|
+
onClick: handleCalculate
|
|
252
|
+
}
|
|
253
|
+
)
|
|
254
|
+
}
|
|
255
|
+
),
|
|
256
|
+
disclosure && /* @__PURE__ */ jsx("div", { className: `${form_disclosure} push_up_24`, children: disclosure })
|
|
257
|
+
] })
|
|
258
|
+
] })
|
|
259
|
+
] }),
|
|
260
|
+
/* @__PURE__ */ jsx("div", { className: `${marketing} ${section_container}`, children: marketingTiles && marketingTiles?.map(
|
|
261
|
+
({ id, headline, bodyCopy, callToActionRow }) => /* @__PURE__ */ jsxs(
|
|
262
|
+
"div",
|
|
263
|
+
{
|
|
264
|
+
className: `${container({ variant: getVariant(variant) })} ${marketingTile} rounded bordered`,
|
|
265
|
+
children: [
|
|
266
|
+
/* @__PURE__ */ jsx("div", { className: `${content} ${bodyContent}`, children: /* @__PURE__ */ jsxs("div", { className: headerIconBillboard, children: [
|
|
245
267
|
/* @__PURE__ */ jsx(
|
|
246
268
|
"div",
|
|
247
269
|
{
|
|
248
|
-
className:
|
|
249
|
-
children:
|
|
250
|
-
"input",
|
|
251
|
-
{
|
|
252
|
-
className: `${button({ color: "primary", size: "medium", rounded: "medium" })} center`,
|
|
253
|
-
type: "button",
|
|
254
|
-
value: "Calculate",
|
|
255
|
-
onClick: handleCalculate
|
|
256
|
-
}
|
|
257
|
-
)
|
|
270
|
+
className: `header_3 ${header_theme({ variant: calculator_variant })}`,
|
|
271
|
+
children: headline
|
|
258
272
|
}
|
|
259
273
|
),
|
|
260
|
-
|
|
261
|
-
] })
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
},
|
|
296
|
-
id2
|
|
297
|
-
) : /* @__PURE__ */ jsx(
|
|
298
|
-
Chevron,
|
|
299
|
-
{
|
|
300
|
-
targetUrl,
|
|
301
|
-
variant: getVariant(variant2),
|
|
302
|
-
children: displayText
|
|
303
|
-
},
|
|
304
|
-
id2
|
|
305
|
-
)
|
|
306
|
-
) })
|
|
307
|
-
]
|
|
308
|
-
},
|
|
309
|
-
id
|
|
310
|
-
)
|
|
311
|
-
) })
|
|
312
|
-
] })
|
|
313
|
-
}
|
|
314
|
-
);
|
|
274
|
+
/* @__PURE__ */ jsx("div", { children: bodyCopy })
|
|
275
|
+
] }) }),
|
|
276
|
+
callToActionRow && /* @__PURE__ */ jsx("div", { className: `${buttons} middle`, children: callToActionRow.map(
|
|
277
|
+
({
|
|
278
|
+
id: id2,
|
|
279
|
+
variant: variant2,
|
|
280
|
+
displayText,
|
|
281
|
+
targetUrl,
|
|
282
|
+
type
|
|
283
|
+
}) => type === "Button" ? /* @__PURE__ */ jsx(
|
|
284
|
+
Button,
|
|
285
|
+
{
|
|
286
|
+
targetUrl,
|
|
287
|
+
color: getVariant(variant2),
|
|
288
|
+
size: "medium",
|
|
289
|
+
rounded: "medium",
|
|
290
|
+
children: displayText
|
|
291
|
+
},
|
|
292
|
+
id2
|
|
293
|
+
) : /* @__PURE__ */ jsx(
|
|
294
|
+
Chevron,
|
|
295
|
+
{
|
|
296
|
+
targetUrl,
|
|
297
|
+
variant: getVariant(variant2),
|
|
298
|
+
children: displayText
|
|
299
|
+
},
|
|
300
|
+
id2
|
|
301
|
+
)
|
|
302
|
+
) })
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
id
|
|
306
|
+
)
|
|
307
|
+
) })
|
|
308
|
+
] }) });
|
|
315
309
|
};
|
|
316
310
|
export {
|
|
317
311
|
ApyCalculator
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* empty css
|
|
2
|
-
/* empty css
|
|
3
|
-
/* empty css
|
|
4
|
-
/* empty css
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
5
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
6
6
|
var container = createRuntimeFn({ defaultClassName: "_1mjmksf0", variantClassNames: { variant: { primary: "_1mjmksf1", secondary: "_1mjmksf2", tertiary: "_1mjmksf3", quaternary: "_1mjmksf4" } }, defaultVariants: {}, compoundVariants: [] });
|
|
7
7
|
var table_container = "_1mjmksf5";
|