@axos-web-dev/shared-components 0.0.103 → 0.0.105

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.
@@ -3,13 +3,17 @@ import { FormProps } from './FormProps';
3
3
  export type CommercialLendingInputs = {
4
4
  first_name: string;
5
5
  last_name: string;
6
- business_email: string;
7
- business_phone: string;
8
- company_nmls_id: string;
9
- business_name: string;
10
- zip: string;
11
- annual_gross_revenue: string;
12
- time_in_business: string;
13
- type: string;
6
+ email: string;
7
+ General_Business_Phone_SFDC2__c: string;
8
+ Company_NMLS_ID__c: string;
9
+ Business_Name__c: string;
10
+ Property_Zip__c: string;
11
+ Annual_Gross_Revenue__c: string;
12
+ Time_in_Business__c: string;
13
+ Lead_Type__c: string;
14
+ Type_of_Equipment_Finance__c: string;
15
+ Asset_Class__c: string;
16
+ Loan__c: string;
17
+ Requested_loan_amount_and_leverage__c: string;
14
18
  };
15
19
  export declare const CommercialLending: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, validateEmail, description, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,8 +3,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { zodResolver } from "@hookform/resolvers/zod";
4
4
  import { Button } from "../Button/Button.js";
5
5
  import "../Button/Button.css.js";
6
- import "react";
7
- import "react-use";
6
+ import { useState, useEffect } from "react";
7
+ import { useLocation } from "react-use";
8
8
  import "../Input/Checkbox.js";
9
9
  import "../Input/CurrencyInput.js";
10
10
  import { Dropdown } from "../Input/Dropdown.js";
@@ -14,6 +14,7 @@ import { Input } from "../Input/Input.js";
14
14
  import "../Input/Input.css.js";
15
15
  import { InputPhone } from "../Input/InputPhone.js";
16
16
  import "../Input/InputTextArea.js";
17
+ import { LoadingIndicator } from "../LoadingIndicator/index.js";
17
18
  import "../icons/ArrowIcon/ArrowIcon.css.js";
18
19
  import SvgAxosX from "../icons/AxosX/index.js";
19
20
  import SvgComponent from "../icons/AxosX/Blue.js";
@@ -44,11 +45,36 @@ const CommercialLending = ({
44
45
  description,
45
46
  id
46
47
  }) => {
48
+ const { pathname } = useLocation();
49
+ const [equipmentPage, setEquipmentPage] = useState(false);
50
+ const [warehousePage, setWarehousePage] = useState(false);
51
+ const [CRESLPage, setCRESLPage] = useState(false);
52
+ useEffect(() => {
53
+ if (pathname?.toLocaleLowerCase() === "/commercial/lending/equipment-finance") {
54
+ setEquipmentPage(true);
55
+ }
56
+ if (pathname?.toLocaleLowerCase() === "/commercial/lending/residential-warehouse-lending") {
57
+ setWarehousePage(true);
58
+ }
59
+ if (pathname?.toLocaleLowerCase() === "/commercial/lending/bridge-and-construction-lending") {
60
+ setCRESLPage(true);
61
+ }
62
+ }, [pathname]);
47
63
  const schema = z.object({
48
- first_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "First Name is required." }),
49
- last_name: z.string().regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g).trim().min(1, { message: "Last Name is required." }),
50
- business_email: z.string().email({ message: "Business Email is required." }).refine(async (val) => await validateEmail(val)),
51
- business_phone: z.string().regex(/[\d-]{10}/).min(10, { message: "Business Phone is required." }).max(12, { message: "Business Phone is required." }).transform((val, ctx) => {
64
+ first_name: z.string({
65
+ required_error: "First name is required",
66
+ invalid_type_error: "Invalid first name"
67
+ }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
68
+ message: "Invalid first name"
69
+ }).trim().min(1, { message: "First Name is required." }),
70
+ last_name: z.string({
71
+ required_error: "Last name is required",
72
+ invalid_type_error: "Invalid last name"
73
+ }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
74
+ message: "Invalid last name"
75
+ }).trim().min(1, { message: "Last Name is required." }),
76
+ email: z.string().email({ message: "Business Email is required." }).refine(async (val) => await validateEmail(val)),
77
+ General_Business_Phone_SFDC2__c: z.string().regex(/[\d-]{10}/).min(10, { message: "Business Phone is required." }).max(12, { message: "Business Phone is required." }).transform((val, ctx) => {
52
78
  const removeDashes = val.replace(/-/gi, "");
53
79
  if (removeDashes.length !== 10) {
54
80
  ctx.addIssue({
@@ -59,10 +85,27 @@ const CommercialLending = ({
59
85
  }
60
86
  return removeDashes;
61
87
  }),
62
- zip: z.string(),
63
- annual_gross_revenue: z.string(),
64
- time_in_business: z.string(),
65
- type: z.string()
88
+ Company_NMLS_ID__c: z.string().min(6).max(7).optional().or(z.literal("")),
89
+ Business_Name__c: z.string({
90
+ invalid_type_error: "Invalid business name"
91
+ }).regex(/^[A-Za-z-0-9][^_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]*$/g).trim().optional().or(z.literal("")),
92
+ Property_Zip__c: z.string().regex(/^[0-9]*$/g, { message: "Invalid zip code" }).optional().or(z.literal("")),
93
+ Annual_Gross_Revenue__c: z.string({
94
+ invalid_type_error: "Invalid annual gross revenue",
95
+ required_error: "Annual gross revenue is required"
96
+ }),
97
+ Time_in_Business__c: z.string({
98
+ invalid_type_error: "Invalid time in business",
99
+ required_error: "Time in business is required"
100
+ }),
101
+ Lead_Type__c: z.string({
102
+ invalid_type_error: "Invalid type",
103
+ required_error: "Type is required"
104
+ }),
105
+ Type_of_Equipment_Finance__c: z.union([z.string(), z.undefined()]),
106
+ Loan__c: z.union([z.string(), z.undefined()]),
107
+ Asset_Class__c: z.union([z.string(), z.undefined()]),
108
+ Requested_loan_amount_and_leverage__c: z.union([z.string(), z.undefined()])
66
109
  });
67
110
  const methods = useForm({
68
111
  resolver: zodResolver(schema.merge(SalesforceSchema), {
@@ -70,13 +113,13 @@ const CommercialLending = ({
70
113
  }),
71
114
  mode: "all",
72
115
  defaultValues: {
73
- business_email: ""
116
+ email: ""
74
117
  }
75
118
  });
76
119
  const {
77
120
  handleSubmit,
78
121
  register,
79
- formState: { errors, isValid }
122
+ formState: { errors, isValid, isSubmitting }
80
123
  } = methods;
81
124
  const submitForm = async (data) => {
82
125
  await onSubmit(data);
@@ -112,7 +155,6 @@ const CommercialLending = ({
112
155
  ...register("first_name", { required: true }),
113
156
  label: "First Name",
114
157
  sizes: "medium",
115
- placeholder: "First Name",
116
158
  required: true,
117
159
  error: !!errors.first_name,
118
160
  helperText: errors.first_name?.message,
@@ -126,7 +168,6 @@ const CommercialLending = ({
126
168
  ...register("last_name", { required: true }),
127
169
  label: "Last Name",
128
170
  sizes: "medium",
129
- placeholder: "Last Name",
130
171
  required: true,
131
172
  error: !!errors.last_name,
132
173
  helperText: errors.last_name?.message,
@@ -136,8 +177,8 @@ const CommercialLending = ({
136
177
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
137
178
  Input,
138
179
  {
139
- id: "business_email",
140
- ...register("business_email", {
180
+ id: "email",
181
+ ...register("email", {
141
182
  required: true,
142
183
  validate: {
143
184
  isValid: associatedEmail
@@ -145,150 +186,218 @@ const CommercialLending = ({
145
186
  }),
146
187
  label: "Business Email",
147
188
  sizes: "medium",
148
- placeholder: "Business Email",
149
189
  required: true,
150
- error: !!errors.business_email,
151
- helperText: errors.business_email?.message,
190
+ error: !!errors.email,
191
+ helperText: errors.email?.message,
152
192
  variant
153
193
  }
154
194
  ) }),
155
195
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
156
196
  InputPhone,
157
197
  {
158
- id: "business_phone",
159
- ...register("business_phone", {
198
+ id: "General_Business_Phone_SFDC2__c",
199
+ ...register("General_Business_Phone_SFDC2__c", {
160
200
  required: true,
161
201
  maxLength: 12
162
202
  }),
163
203
  label: "Business Phone",
164
204
  sizes: "medium",
165
- placeholder: "Business Phone",
166
205
  required: true,
167
- error: !!errors.business_phone,
168
- helperText: errors.business_phone?.message,
206
+ error: !!errors.General_Business_Phone_SFDC2__c,
207
+ helperText: errors.General_Business_Phone_SFDC2__c?.message,
169
208
  variant
170
209
  }
171
210
  ) }),
172
211
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
173
212
  Input,
174
213
  {
175
- id: "company_nmls_id",
176
- ...register("company_nmls_id", {
177
- required: true,
178
- maxLength: 12
179
- }),
214
+ id: "Company_NMLS_ID__c",
215
+ ...register("Company_NMLS_ID__c"),
180
216
  label: "Company NMLS ID",
181
217
  sizes: "medium",
182
- placeholder: "Company NMLS ID",
183
- required: true,
184
- error: !!errors.company_nmls_id,
185
- helperText: errors.company_nmls_id?.message,
218
+ error: !!errors.Company_NMLS_ID__c,
219
+ helperText: errors.Company_NMLS_ID__c?.message,
186
220
  variant
187
221
  }
188
222
  ) }),
189
223
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
190
224
  Input,
191
225
  {
192
- id: "business_name",
193
- ...register("business_name", {
194
- required: true,
195
- maxLength: 12
196
- }),
226
+ id: "Business_Name__c",
227
+ ...register("Business_Name__c"),
197
228
  label: "Business Name",
198
229
  sizes: "medium",
199
- placeholder: "Buesiness Name",
200
- required: true,
201
- error: !!errors.business_name,
202
- helperText: errors.business_name?.message,
230
+ error: !!errors.Business_Name__c,
231
+ helperText: errors.Business_Name__c?.message,
203
232
  variant
204
233
  }
205
234
  ) }),
206
235
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
207
236
  Input,
208
237
  {
209
- id: "zip",
210
- ...register("zip", {
211
- required: true
212
- }),
238
+ id: "Property_Zip__c",
239
+ ...register("Property_Zip__c"),
213
240
  label: "Property Location or ZIP Code",
214
241
  sizes: "medium",
215
- placeholder: "Property Location or ZIP Code",
216
- required: true,
217
- error: !!errors.business_name,
218
- helperText: errors.business_name?.message,
242
+ error: !!errors.Property_Zip__c,
243
+ helperText: errors.Property_Zip__c?.message,
219
244
  variant
220
245
  }
221
246
  ) }),
222
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
247
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
223
248
  Dropdown,
224
249
  {
225
- id: "annual_gross_revenue",
226
- ...register("annual_gross_revenue", {
250
+ id: "Annual_Gross_Revenue__c",
251
+ ...register("Annual_Gross_Revenue__c", {
227
252
  required: true
228
253
  }),
229
254
  label: "Annual Gross Revenue",
230
255
  sizes: "medium",
231
256
  required: true,
232
- error: !!errors.annual_gross_revenue,
233
- helperText: errors.annual_gross_revenue?.message,
257
+ error: !!errors.Annual_Gross_Revenue__c,
258
+ helperText: errors.Annual_Gross_Revenue__c?.message,
234
259
  variant,
235
- options: [
236
- { value: 1, text: "<$5MM" },
237
- { value: 2, text: "$5-10MM" },
238
- { value: 3, text: "$10MM-$20MM" },
239
- { value: 4, text: "$20MM+" }
260
+ children: [
261
+ /* @__PURE__ */ jsx("option", { value: "<$5MM", children: "<$5MM" }),
262
+ /* @__PURE__ */ jsx("option", { value: "$5-10MM", children: "$5-10MM" }),
263
+ /* @__PURE__ */ jsx("option", { value: "$10MM-$20MM", children: "$10MM-$20MM" }),
264
+ /* @__PURE__ */ jsx("option", { value: "$20MM+", children: "$20MM+" })
240
265
  ]
241
266
  }
242
267
  ) }),
243
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
268
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
244
269
  Dropdown,
245
270
  {
246
- id: "time_in_business",
247
- ...register("time_in_business", {
271
+ id: "Time_in_Business__c",
272
+ ...register("Time_in_Business__c", {
248
273
  required: true
249
274
  }),
250
275
  label: "Time in Business",
251
276
  sizes: "medium",
252
277
  required: true,
253
- error: !!errors.time_in_business,
254
- helperText: errors.time_in_business?.message,
278
+ error: !!errors.Time_in_Business__c,
279
+ helperText: errors.Time_in_Business__c?.message,
255
280
  variant,
256
- options: [
257
- { value: 1, text: "< 2 Years in Business" },
258
- { value: 2, text: "2-5 Years in Business" },
259
- { value: 3, text: "5+ Years in Business" }
281
+ children: [
282
+ /* @__PURE__ */ jsx("option", { value: "< 2 Years in Business", children: "< 2 Years in Business" }),
283
+ /* @__PURE__ */ jsx("option", { value: "2-5 Years in Business", children: "2-5 Years in Business" }),
284
+ /* @__PURE__ */ jsx("option", { value: "5+ Years in Business", children: "5+ Years in Business" })
260
285
  ]
261
286
  }
262
287
  ) }),
263
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
288
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
264
289
  Dropdown,
265
290
  {
266
- id: "type",
267
- ...register("type", {
291
+ id: "Lead_Type__c",
292
+ ...register("Lead_Type__c", {
268
293
  required: true
269
294
  }),
270
295
  label: "Type",
271
296
  sizes: "medium",
272
297
  required: true,
273
- error: !!errors.type,
274
- helperText: errors.type?.message,
298
+ error: !!errors.Lead_Type__c,
299
+ helperText: errors.Lead_Type__c?.message,
275
300
  variant,
276
- options: [
277
- { value: 1, text: "Broker" },
278
- { value: 2, text: "Borrower" }
301
+ children: [
302
+ /* @__PURE__ */ jsx("option", { value: "Broker", children: "Broker" }),
303
+ /* @__PURE__ */ jsx("option", { value: "Borrower", children: "Borrower" })
279
304
  ]
280
305
  }
306
+ ) }),
307
+ equipmentPage && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
308
+ Dropdown,
309
+ {
310
+ id: "Type_of_Equipment_Finance__c",
311
+ ...register("Type_of_Equipment_Finance__c"),
312
+ label: "Type of Equipment",
313
+ sizes: "medium",
314
+ error: !!errors.Type_of_Equipment_Finance__c,
315
+ helperText: errors.Type_of_Equipment_Finance__c?.message,
316
+ variant,
317
+ defaultValue: "",
318
+ children: [
319
+ /* @__PURE__ */ jsx("option", { value: "", children: "Select Option" }),
320
+ /* @__PURE__ */ jsx("option", { value: "Agriculture", children: "Agriculture" }),
321
+ /* @__PURE__ */ jsx("option", { value: "Transportation and Material Handling", children: "Transportation and Material Handling" }),
322
+ /* @__PURE__ */ jsx("option", { value: "Construction", children: "Construction" }),
323
+ /* @__PURE__ */ jsx("option", { value: "Healthcare", children: "Healthcare" }),
324
+ /* @__PURE__ */ jsx("option", { value: "Manufacturing", children: "Manufacturing" }),
325
+ /* @__PURE__ */ jsx("option", { value: "Energy", children: "Energy" }),
326
+ /* @__PURE__ */ jsx("option", { value: "Technology and Service", children: "Technology and Service" }),
327
+ /* @__PURE__ */ jsx("option", { value: "Insurance", children: "Insurance" }),
328
+ /* @__PURE__ */ jsx("option", { value: "Pharmaceutical and Laboratory", children: "Pharmaceutical and Laboratory" })
329
+ ]
330
+ }
331
+ ) }),
332
+ (CRESLPage || warehousePage) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
333
+ Dropdown,
334
+ {
335
+ id: "Asset_Class__c",
336
+ ...register("Asset_Class__c"),
337
+ label: "Asset Class",
338
+ sizes: "medium",
339
+ error: !!errors.Asset_Class__c,
340
+ helperText: errors.Asset_Class__c?.message,
341
+ variant,
342
+ defaultValue: "",
343
+ children: [
344
+ /* @__PURE__ */ jsx("option", { value: "", children: "Select Option" }),
345
+ /* @__PURE__ */ jsx("option", { value: "Multifamily", children: "Multifamily" }),
346
+ CRESLPage && /* @__PURE__ */ jsx("option", { value: "Mixed-Use", children: "Mixed-Use" }),
347
+ /* @__PURE__ */ jsx("option", { value: "Office", children: "Office" }),
348
+ /* @__PURE__ */ jsx("option", { value: "Retail", children: "Retail" }),
349
+ /* @__PURE__ */ jsx("option", { value: "Hospitality", children: "Hospitality" }),
350
+ /* @__PURE__ */ jsx("option", { value: "Industrial/Warehouse", children: "Industrial/Warehouse" }),
351
+ /* @__PURE__ */ jsx("option", { value: "Other", children: "Other" })
352
+ ]
353
+ }
354
+ ) }),
355
+ CRESLPage && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
356
+ Dropdown,
357
+ {
358
+ id: "Loan__c",
359
+ ...register("Loan__c"),
360
+ label: "Purpose of Loan",
361
+ sizes: "medium",
362
+ error: !!errors.Loan__c,
363
+ helperText: errors.Loan__c?.message,
364
+ variant,
365
+ defaultValue: "",
366
+ children: [
367
+ /* @__PURE__ */ jsx("option", { value: "", children: "Select Option" }),
368
+ /* @__PURE__ */ jsx("option", { value: "Bridge", children: "Bridge" }),
369
+ /* @__PURE__ */ jsx("option", { value: "Construction", children: "Construction" })
370
+ ]
371
+ }
372
+ ) }),
373
+ (CRESLPage || warehousePage) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
374
+ Input,
375
+ {
376
+ id: "Requested_loan_amount_and_leverage__c",
377
+ ...register("Requested_loan_amount_and_leverage__c"),
378
+ label: "Requested loan amount and leverage",
379
+ sizes: "medium",
380
+ error: !!errors.Requested_loan_amount_and_leverage__c,
381
+ helperText: errors.Requested_loan_amount_and_leverage__c?.message,
382
+ variant
383
+ }
281
384
  ) })
282
385
  ] }),
283
386
  children,
284
387
  /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
285
- /* @__PURE__ */ jsx("div", { className: actions, children: /* @__PURE__ */ jsx(
388
+ /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
389
+ LoadingIndicator,
390
+ {
391
+ style: { marginInline: "auto" },
392
+ variant
393
+ }
394
+ ) : /* @__PURE__ */ jsx(
286
395
  Button,
287
396
  {
288
397
  color: getVariant(callToAction?.variant),
289
398
  as: "button",
290
399
  type: "submit",
291
- disabled: !isValid,
400
+ disabled: !isValid || isSubmitting,
292
401
  children: callToAction?.displayText
293
402
  }
294
403
  ) })
@@ -1,3 +1,9 @@
1
1
  export declare const Roles: string[];
2
2
  export type RoleTypes = (typeof Roles)[number];
3
3
  export declare const CurrentAssets: string[];
4
+ export declare const AnnualGrossRevenue: string[];
5
+ export declare const TimeInBusiness: string[];
6
+ export declare const LeadType: string[];
7
+ export declare const TypeOfEquipment: string[];
8
+ export declare const AssetClass: string[];
9
+ export declare const PurposeOfLoan: string[];
@@ -12,7 +12,46 @@ const CurrentAssets = [
12
12
  "$501M - $1B",
13
13
  "$1B+"
14
14
  ];
15
+ const AnnualGrossRevenue = [
16
+ "<$5MM",
17
+ "$5-10MM",
18
+ "$10MM-$20MM",
19
+ "$20MM+"
20
+ ];
21
+ const TimeInBusiness = [
22
+ "< 2 years in business",
23
+ "2-5 years in business",
24
+ "5+ years in business"
25
+ ];
26
+ const LeadType = ["Broker", "Borrower"];
27
+ const TypeOfEquipment = [
28
+ "Agriculture",
29
+ "Transportation and Material Handling",
30
+ "Construction",
31
+ "Healthcare",
32
+ "Manufacturing",
33
+ "Energy",
34
+ "Technology and Service",
35
+ "Insurance",
36
+ "Pharmaceutical and Laboratory"
37
+ ];
38
+ const AssetClass = [
39
+ "Multifamily",
40
+ "Mixed-use",
41
+ "Office",
42
+ "Retail",
43
+ "Hospitality",
44
+ "Industrial/warehouse",
45
+ "Other"
46
+ ];
47
+ const PurposeOfLoan = ["Bridge", "Construction"];
15
48
  export {
49
+ AnnualGrossRevenue,
50
+ AssetClass,
16
51
  CurrentAssets,
17
- Roles
52
+ LeadType,
53
+ PurposeOfLoan,
54
+ Roles,
55
+ TimeInBusiness,
56
+ TypeOfEquipment
18
57
  };
@@ -35,6 +35,7 @@ import "react-hook-form";
35
35
  import "../Forms/Forms.css.js";
36
36
  import "../Forms/SalesforceFieldsForm.js";
37
37
  import "../LoadingIndicator/LoadingIndicator.css.js";
38
+ import "react-use";
38
39
  import "../Input/RadioButton.js";
39
40
  import "iframe-resizer";
40
41
  import "../Calculators/calculator.css.js";
@@ -62,7 +63,6 @@ import "../LandingPageHeader/LandingPageHeader.css.js";
62
63
  import "../Chevron/Chevron.css.js";
63
64
  /* empty css */
64
65
  import "../Modal/contextApi/store.js";
65
- import "react-use";
66
66
  /* empty css */
67
67
  /* empty css */
68
68
  /* empty css */
@@ -19,7 +19,7 @@ const subNavItems = {
19
19
  },
20
20
  {
21
21
  name: "Managed Investment Solutions",
22
- url: "/serve-your-clients/managed-investment-solutions",
22
+ url: "/serve-your-clients/investment-solutions",
23
23
  id: "syc_3"
24
24
  }
25
25
  ],
@@ -284,6 +284,7 @@ function NavBar() {
284
284
  {
285
285
  className: clsx(styles.sub_menu, isOpenProducts2 && expand),
286
286
  children: [
287
+ /* @__PURE__ */ jsx("a", { href: "/serve-your-clients", role: "menuitem", children: "Serve Your Clients" }),
287
288
  /* @__PURE__ */ jsx("a", { href: "/cash-management-solutions", role: "menuitem", children: "Cash Management Solutions" }),
288
289
  /* @__PURE__ */ jsx(
289
290
  "a",
@@ -296,7 +297,7 @@ function NavBar() {
296
297
  /* @__PURE__ */ jsx(
297
298
  "a",
298
299
  {
299
- href: "/serve-your-clients/managed-investment-solutions",
300
+ href: "/serve-your-clients/investment-solutions",
300
301
  role: "menuitem",
301
302
  children: "Managed Investment Solutions"
302
303
  }
@@ -356,6 +357,7 @@ function NavBar() {
356
357
  {
357
358
  className: clsx(styles.sub_menu, isOpenProducts3 && expand),
358
359
  children: [
360
+ /* @__PURE__ */ jsx("a", { href: "/optimize-operations", role: "menuitem", children: "Optimize Operations" }),
359
361
  /* @__PURE__ */ jsx(
360
362
  "a",
361
363
  {
@@ -427,6 +429,7 @@ function NavBar() {
427
429
  {
428
430
  className: clsx(styles.sub_menu, isOpenProducts4 && expand),
429
431
  children: [
432
+ /* @__PURE__ */ jsx("a", { href: "/axos-advantage", role: "menuitem", children: "Axos Advantage" }),
430
433
  /* @__PURE__ */ jsx("a", { href: "/axos-advantage/about-axos", role: "menuitem", children: "About AXOS" }),
431
434
  /* @__PURE__ */ jsx(
432
435
  "a",
@@ -37,6 +37,7 @@ import "react-hook-form";
37
37
  import "../Forms/Forms.css.js";
38
38
  import "../Forms/SalesforceFieldsForm.js";
39
39
  import "../LoadingIndicator/LoadingIndicator.css.js";
40
+ import "react-use";
40
41
  import "../Input/RadioButton.js";
41
42
  import "iframe-resizer";
42
43
  import "../Calculators/calculator.css.js";
@@ -65,7 +66,6 @@ import "../LandingPageHeader/LandingPageHeader.css.js";
65
66
  import "../Chevron/Chevron.css.js";
66
67
  /* empty css */
67
68
  import "../Modal/contextApi/store.js";
68
- import "react-use";
69
69
  /* empty css */
70
70
  /* empty css */
71
71
  /* empty css */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@axos-web-dev/shared-components",
3
3
  "description": "Axos shared components library for web.",
4
- "version": "0.0.103",
4
+ "version": "0.0.105",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",