@axos-web-dev/shared-components 1.0.99-dev.1 → 1.0.99-dev.3

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.
Files changed (95) hide show
  1. package/dist/ATMLocator/ATMLocator.js +1 -0
  2. package/dist/Auth/ErrorAlert.js +1 -0
  3. package/dist/Button/Button.js +1 -0
  4. package/dist/Calculators/Calculator.js +1 -0
  5. package/dist/Carousel/index.js +1 -0
  6. package/dist/Chevron/index.js +1 -0
  7. package/dist/Comparison/Comparison.js +1 -0
  8. package/dist/ExecutiveBio/ExecutiveBio.js +1 -0
  9. package/dist/FaqAccordion/index.js +1 -0
  10. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -0
  11. package/dist/Forms/ApplicationStart.d.ts +1 -1
  12. package/dist/Forms/ApplicationStart.js +111 -89
  13. package/dist/Forms/ApplyNow.js +1 -0
  14. package/dist/Forms/ClearingForm.d.ts +1 -1
  15. package/dist/Forms/ClearingForm.js +184 -162
  16. package/dist/Forms/CommercialDeposits.d.ts +1 -1
  17. package/dist/Forms/CommercialDeposits.js +201 -179
  18. package/dist/Forms/CommercialLending.d.ts +1 -1
  19. package/dist/Forms/CommercialLending.js +278 -256
  20. package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
  21. package/dist/Forms/CommercialPremiumFinance.js +128 -106
  22. package/dist/Forms/ContactCompany.d.ts +1 -1
  23. package/dist/Forms/ContactCompany.js +113 -91
  24. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  25. package/dist/Forms/ContactCompanyTitle.js +127 -105
  26. package/dist/Forms/ContactUs.d.ts +1 -1
  27. package/dist/Forms/ContactUs.js +99 -78
  28. package/dist/Forms/ContactUsAAS.d.ts +1 -1
  29. package/dist/Forms/ContactUsAAS.js +180 -158
  30. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  31. package/dist/Forms/ContactUsBusiness.js +134 -112
  32. package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
  33. package/dist/Forms/ContactUsBusinessNameEmail.js +103 -81
  34. package/dist/Forms/ContactUsLVF.d.ts +1 -1
  35. package/dist/Forms/ContactUsLVF.js +120 -98
  36. package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
  37. package/dist/Forms/ContactUsNMLSId.js +117 -95
  38. package/dist/Forms/CpraRequest.d.ts +1 -1
  39. package/dist/Forms/CpraRequest.js +641 -619
  40. package/dist/Forms/CraPublicFile.d.ts +1 -1
  41. package/dist/Forms/CraPublicFile.js +109 -87
  42. package/dist/Forms/DealerServices.d.ts +1 -1
  43. package/dist/Forms/DealerServices.js +225 -204
  44. package/dist/Forms/EmailOnly.d.ts +1 -1
  45. package/dist/Forms/EmailOnly.js +56 -36
  46. package/dist/Forms/EmailUs.d.ts +1 -1
  47. package/dist/Forms/EmailUs.js +75 -53
  48. package/dist/Forms/FormProps.d.ts +3 -0
  49. package/dist/Forms/HoneyPot/HoneyPot.css.d.ts +1 -0
  50. package/dist/Forms/HoneyPot/HoneyPot.css.js +5 -0
  51. package/dist/Forms/HoneyPot/index.d.ts +24 -0
  52. package/dist/Forms/HoneyPot/index.js +71 -0
  53. package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
  54. package/dist/Forms/MortgageRate/MortgageRateForm.js +363 -342
  55. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -0
  56. package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
  57. package/dist/Forms/QuickPricer/QuickPricerForm.js +624 -609
  58. package/dist/Forms/ScheduleCall.d.ts +1 -1
  59. package/dist/Forms/ScheduleCall.js +156 -134
  60. package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
  61. package/dist/Forms/ScheduleCallPremier.js +178 -156
  62. package/dist/Forms/SuccesForm.js +1 -0
  63. package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
  64. package/dist/Forms/VendorQuestionnaire.js +817 -795
  65. package/dist/Forms/WcplSurvey.d.ts +1 -1
  66. package/dist/Forms/WcplSurvey.js +112 -90
  67. package/dist/Forms/index.d.ts +1 -0
  68. package/dist/Forms/index.js +4 -0
  69. package/dist/Hyperlink/index.js +1 -0
  70. package/dist/ImageLink/ImageLink.js +1 -0
  71. package/dist/ImageLink/ImageLinkSet.js +1 -0
  72. package/dist/ImageLink/index.js +1 -0
  73. package/dist/Input/Input.js +3 -1
  74. package/dist/Insight/Featured/CategorySelector.js +1 -0
  75. package/dist/Insight/Featured/Featured.js +1 -0
  76. package/dist/Insight/Featured/Header.js +1 -0
  77. package/dist/Modal/Modal.js +1 -0
  78. package/dist/NavigationMenu/AxosALTS/NavData.js +1 -0
  79. package/dist/NavigationMenu/AxosALTS/index.js +1 -0
  80. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -0
  81. package/dist/NavigationMenu/AxosBank/NavData.js +1 -0
  82. package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -0
  83. package/dist/NavigationMenu/AxosBank/index.js +1 -0
  84. package/dist/NavigationMenu/LaVictoire/NavData.js +1 -0
  85. package/dist/NavigationMenu/LaVictoire/index.js +1 -0
  86. package/dist/NavigationMenu/NavDataJson.js +1 -0
  87. package/dist/NavigationMenu/Navbar.js +1 -0
  88. package/dist/NavigationMenu/SignInNavButton.js +1 -0
  89. package/dist/SetContainer/SetContainer.js +1 -0
  90. package/dist/SocialMediaBar/iconsRepository.js +1 -0
  91. package/dist/VideoTile/VideoTile.js +1 -0
  92. package/dist/VideoWrapper/index.js +1 -0
  93. package/dist/assets/Forms/HoneyPot/HoneyPot.css +4 -0
  94. package/dist/main.js +4 -0
  95. package/package.json +1 -1
@@ -5,4 +5,4 @@ export type WCPLSruveyInputs = {
5
5
  Description_of_Deal_Details: string;
6
6
  Telephone: string;
7
7
  };
8
- export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, onValidate, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
@@ -31,6 +31,7 @@ import clsx from "clsx";
31
31
  import { useForm, FormProvider } from "react-hook-form";
32
32
  import * as z from "zod";
33
33
  import { iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, disclosureForm, actions, formContainer } from "./Forms.css.js";
34
+ import { honeyPotSchema, isValidHoneyPot, HoneyPot } from "./HoneyPot/index.js";
34
35
  import { SalesforceSchema } from "./SalesforceFieldsForm.js";
35
36
  const WCPLSurvey = ({
36
37
  icon = false,
@@ -42,6 +43,7 @@ const WCPLSurvey = ({
42
43
  variant: fullVariant = "primary",
43
44
  headline,
44
45
  callToAction,
46
+ onValidate,
45
47
  id,
46
48
  description
47
49
  }) => {
@@ -68,8 +70,16 @@ const WCPLSurvey = ({
68
70
  return removeDashes;
69
71
  })
70
72
  });
73
+ const gen_schema = schema.merge(SalesforceSchema).merge(honeyPotSchema).superRefine((data, ctx) => {
74
+ if (!isValidHoneyPot(data)) {
75
+ ctx.addIssue({
76
+ code: z.ZodIssueCode.custom,
77
+ message: "fields are not valid."
78
+ });
79
+ }
80
+ });
71
81
  const methods = useForm({
72
- resolver: zodResolver(schema.merge(SalesforceSchema), {
82
+ resolver: zodResolver(gen_schema, {
73
83
  async: true
74
84
  }),
75
85
  mode: "all",
@@ -99,95 +109,107 @@ const WCPLSurvey = ({
99
109
  }
100
110
  )
101
111
  ] }),
102
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
103
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
104
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
105
- RadioButtonSet,
106
- {
107
- id: "Has_Deal",
108
- label: "Do You have a potential deal you would like to discuss with an Account Executive?",
109
- sizes: "medium",
110
- placeholder: "Details",
111
- required: true,
112
- error: !!errors.Has_Deal,
113
- helperText: errors.Has_Deal?.message,
114
- variant,
115
- children: [
116
- /* @__PURE__ */ jsx(
117
- RadioButton,
118
- {
119
- ...register("Has_Deal", {
120
- required: true
121
- }),
122
- value: "Yes",
123
- radioText: "Yes",
124
- groupName: "Has_Deal"
125
- }
126
- ),
127
- /* @__PURE__ */ jsx(
128
- RadioButton,
129
- {
130
- ...register("Has_Deal", {
131
- required: true
132
- }),
133
- value: "No",
134
- radioText: "No",
135
- groupName: "Has_Deal"
136
- }
137
- )
138
- ]
139
- }
140
- ) }),
141
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
142
- InputTextArea,
143
- {
144
- id: "Description_of_Deal_Details",
145
- ...register("Description_of_Deal_Details", {
146
- required: true
147
- }),
148
- label: "Write Your Message",
149
- sizes: "medium",
150
- placeholder: "Details",
151
- required: true,
152
- error: !!errors.Description_of_Deal_Details,
153
- helperText: errors.Description_of_Deal_Details?.message,
154
- variant
155
- }
156
- ) }),
157
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
158
- InputPhone,
159
- {
160
- id: "Telephone",
161
- ...register("Telephone", { required: true, maxLength: 12 }),
162
- label: "Telephone",
163
- sizes: "medium",
164
- placeholder: "Phone",
165
- required: true,
166
- error: !!errors.Telephone,
167
- helperText: errors.Telephone?.message,
168
- variant
169
- }
170
- ) })
171
- ] }),
172
- children,
173
- /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
174
- /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
175
- LoadingIndicator,
176
- {
177
- style: { marginInline: "auto" },
178
- variant
179
- }
180
- ) : /* @__PURE__ */ jsx(
181
- Button,
182
- {
183
- color: getVariant(callToAction?.variant),
184
- as: "button",
185
- type: "submit",
186
- disabled: !isValid || isSubmitting,
187
- children: callToAction?.displayText
188
- }
189
- ) })
190
- ] })
112
+ /* @__PURE__ */ jsxs(
113
+ "form",
114
+ {
115
+ className: form,
116
+ onSubmit: async (e) => {
117
+ onValidate && onValidate(e);
118
+ await handleSubmit(submitForm)(e);
119
+ e.preventDefault();
120
+ },
121
+ children: [
122
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
123
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
124
+ RadioButtonSet,
125
+ {
126
+ id: "Has_Deal",
127
+ label: "Do You have a potential deal you would like to discuss with an Account Executive?",
128
+ sizes: "medium",
129
+ placeholder: "Details",
130
+ required: true,
131
+ error: !!errors.Has_Deal,
132
+ helperText: errors.Has_Deal?.message,
133
+ variant,
134
+ children: [
135
+ /* @__PURE__ */ jsx(
136
+ RadioButton,
137
+ {
138
+ ...register("Has_Deal", {
139
+ required: true
140
+ }),
141
+ value: "Yes",
142
+ radioText: "Yes",
143
+ groupName: "Has_Deal"
144
+ }
145
+ ),
146
+ /* @__PURE__ */ jsx(
147
+ RadioButton,
148
+ {
149
+ ...register("Has_Deal", {
150
+ required: true
151
+ }),
152
+ value: "No",
153
+ radioText: "No",
154
+ groupName: "Has_Deal"
155
+ }
156
+ )
157
+ ]
158
+ }
159
+ ) }),
160
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
161
+ InputTextArea,
162
+ {
163
+ id: "Description_of_Deal_Details",
164
+ ...register("Description_of_Deal_Details", {
165
+ required: true
166
+ }),
167
+ label: "Write Your Message",
168
+ sizes: "medium",
169
+ placeholder: "Details",
170
+ required: true,
171
+ error: !!errors.Description_of_Deal_Details,
172
+ helperText: errors.Description_of_Deal_Details?.message,
173
+ variant
174
+ }
175
+ ) }),
176
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
177
+ InputPhone,
178
+ {
179
+ id: "Telephone",
180
+ ...register("Telephone", { required: true, maxLength: 12 }),
181
+ label: "Telephone",
182
+ sizes: "medium",
183
+ placeholder: "Phone",
184
+ required: true,
185
+ error: !!errors.Telephone,
186
+ helperText: errors.Telephone?.message,
187
+ variant
188
+ }
189
+ ) }),
190
+ /* @__PURE__ */ jsx(HoneyPot, { register, errors, variant })
191
+ ] }),
192
+ children,
193
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
194
+ /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
195
+ LoadingIndicator,
196
+ {
197
+ style: { marginInline: "auto" },
198
+ variant
199
+ }
200
+ ) : /* @__PURE__ */ jsx(
201
+ Button,
202
+ {
203
+ color: getVariant(callToAction?.variant),
204
+ as: "button",
205
+ type: "submit",
206
+ disabled: !isValid || isSubmitting,
207
+ children: callToAction?.displayText
208
+ }
209
+ ) })
210
+ ]
211
+ }
212
+ )
191
213
  ] }) }) }, id);
192
214
  };
193
215
  export {
@@ -19,6 +19,7 @@ export * from './EmailOnly';
19
19
  export * from './EmailUs';
20
20
  export * from './FormProps';
21
21
  export * from './Forms.css';
22
+ export * from './HoneyPot';
22
23
  export * from './MortgageRate/MortgageRateForm';
23
24
  export * from './MortgageRate/MortgageRateModal';
24
25
  export * from './MortgageRate/MortgageRateQuoteFilters';
@@ -19,6 +19,7 @@ import { DealerServices } from "./DealerServices.js";
19
19
  import { EmailOnly } from "./EmailOnly.js";
20
20
  import { EmailUs } from "./EmailUs.js";
21
21
  import { actions, back_btn_apply_now, centerSelect, checkbox_group, descriptionField, disclosureForm, dropdown, dynPH, form, formBtns, formContainer, formWrapper, form_nav_apply_now, form_row, fullRowForm, fullRowSelect, headerContainer, headerForm, hide_options, iconForm, iconbillboards_option_apply_now, modalCheckboxContainer, modalMobile, mt1Rem, mt2rem, mw24, na_cursor, one_row, pl_label, resposiveLabel, ro_input, section_title, show_options, step_title_apply_now, succes_check_mark, success_circle, success_icon, success_wrap, threeColRow, x_input, xc_input } from "./Forms.css.js";
22
+ import { HoneyPot, honeyPotSchema, isValidHoneyPot } from "./HoneyPot/index.js";
22
23
  import { MortgageRate } from "./MortgageRate/MortgageRateForm.js";
23
24
  import "react/jsx-runtime";
24
25
  import { RateWatchForm } from "./MortgageRate/MortgageRateWatch.js";
@@ -56,6 +57,7 @@ export {
56
57
  DealerServices,
57
58
  EmailOnly,
58
59
  EmailUs,
60
+ HoneyPot,
59
61
  MortgageRate,
60
62
  MortgageRateFilters,
61
63
  QuickPricer,
@@ -88,8 +90,10 @@ export {
88
90
  headerContainer,
89
91
  headerForm,
90
92
  hide_options,
93
+ honeyPotSchema,
91
94
  iconForm,
92
95
  iconbillboards_option_apply_now,
96
+ isValidHoneyPot,
93
97
  mb_form,
94
98
  modalCheckboxContainer,
95
99
  modalMobile,
@@ -43,6 +43,7 @@ import "../Input/DownPaymentInput.js";
43
43
  import "../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../Forms/Forms.css.js";
46
+ import "../Forms/HoneyPot/index.js";
46
47
  import "../Forms/SalesforceFieldsForm.js";
47
48
  import "../Input/RadioButton.css.js";
48
49
  import "../Input/Checkbox.css.js";
@@ -39,6 +39,7 @@ import "../Input/DownPaymentInput.js";
39
39
  import "../Input/RadioButton.js";
40
40
  import "react-hook-form";
41
41
  import "../Forms/Forms.css.js";
42
+ import "../Forms/HoneyPot/index.js";
42
43
  import "../Forms/SalesforceFieldsForm.js";
43
44
  import "../Input/RadioButton.css.js";
44
45
  import "../Input/Checkbox.css.js";
@@ -44,6 +44,7 @@ import "../Input/DownPaymentInput.js";
44
44
  import "../Input/RadioButton.js";
45
45
  import "react-hook-form";
46
46
  import "../Forms/Forms.css.js";
47
+ import "../Forms/HoneyPot/index.js";
47
48
  import "../Forms/SalesforceFieldsForm.js";
48
49
  import "../Input/RadioButton.css.js";
49
50
  import "../Input/Checkbox.css.js";
@@ -41,6 +41,7 @@ import "../Input/DownPaymentInput.js";
41
41
  import "../Input/RadioButton.js";
42
42
  import "react-hook-form";
43
43
  import "../Forms/Forms.css.js";
44
+ import "../Forms/HoneyPot/index.js";
44
45
  import "../Forms/SalesforceFieldsForm.js";
45
46
  import "../Input/RadioButton.css.js";
46
47
  import "../Input/Checkbox.css.js";
@@ -16,6 +16,7 @@ const Input = forwardRef((props, ref) => {
16
16
  variant,
17
17
  type = "text",
18
18
  placeholder,
19
+ defaultValue,
19
20
  ...rest
20
21
  } = props;
21
22
  return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
@@ -37,7 +38,8 @@ const Input = forwardRef((props, ref) => {
37
38
  className: clsx(props.className, input({ size: sizes })),
38
39
  type,
39
40
  placeholder,
40
- disabled: disabled ?? false
41
+ disabled: disabled ?? false,
42
+ defaultValue
41
43
  }
42
44
  ),
43
45
  iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconRight }) })
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
43
43
  import "../../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../../Forms/Forms.css.js";
46
+ import "../../Forms/HoneyPot/index.js";
46
47
  import "../../Forms/SalesforceFieldsForm.js";
47
48
  import "../../Input/RadioButton.css.js";
48
49
  import "../../Input/Checkbox.css.js";
@@ -40,6 +40,7 @@ import "../../Input/DownPaymentInput.js";
40
40
  import "../../Input/RadioButton.js";
41
41
  import "react-hook-form";
42
42
  import "../../Forms/Forms.css.js";
43
+ import "../../Forms/HoneyPot/index.js";
43
44
  import "../../Forms/SalesforceFieldsForm.js";
44
45
  import "../../Input/RadioButton.css.js";
45
46
  import "../../Input/Checkbox.css.js";
@@ -38,6 +38,7 @@ import "../../Input/DownPaymentInput.js";
38
38
  import "../../Input/RadioButton.js";
39
39
  import "react-hook-form";
40
40
  import "../../Forms/Forms.css.js";
41
+ import "../../Forms/HoneyPot/index.js";
41
42
  import "../../Forms/SalesforceFieldsForm.js";
42
43
  import "../../Input/RadioButton.css.js";
43
44
  import "../../Input/Checkbox.css.js";
@@ -39,6 +39,7 @@ import "../Input/DownPaymentInput.js";
39
39
  import "../Input/RadioButton.js";
40
40
  import "react-hook-form";
41
41
  import "../Forms/Forms.css.js";
42
+ import "../Forms/HoneyPot/index.js";
42
43
  import "../Forms/SalesforceFieldsForm.js";
43
44
  /* empty css */
44
45
  /* empty css */
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
43
43
  import "../../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../../Forms/Forms.css.js";
46
+ import "../../Forms/HoneyPot/index.js";
46
47
  import "../../Forms/SalesforceFieldsForm.js";
47
48
  import "../../Input/RadioButton.css.js";
48
49
  import "../../Input/Checkbox.css.js";
@@ -44,6 +44,7 @@ import "../../Input/DownPaymentInput.js";
44
44
  import "../../Input/RadioButton.js";
45
45
  import "react-hook-form";
46
46
  import "../../Forms/Forms.css.js";
47
+ import "../../Forms/HoneyPot/index.js";
47
48
  import "../../Forms/SalesforceFieldsForm.js";
48
49
  import "../../Input/RadioButton.css.js";
49
50
  import "../../Input/Checkbox.css.js";
@@ -43,6 +43,7 @@ import "../../../Input/DownPaymentInput.js";
43
43
  import "../../../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../../../Forms/Forms.css.js";
46
+ import "../../../Forms/HoneyPot/index.js";
46
47
  import "../../../Forms/SalesforceFieldsForm.js";
47
48
  import "../../../Input/RadioButton.css.js";
48
49
  import "../../../Input/Checkbox.css.js";
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
43
43
  import "../../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../../Forms/Forms.css.js";
46
+ import "../../Forms/HoneyPot/index.js";
46
47
  import "../../Forms/SalesforceFieldsForm.js";
47
48
  import "../../Input/RadioButton.css.js";
48
49
  import "../../Input/Checkbox.css.js";
@@ -45,6 +45,7 @@ import "../../Input/DownPaymentInput.js";
45
45
  import "../../Input/RadioButton.js";
46
46
  import "react-hook-form";
47
47
  import "../../Forms/Forms.css.js";
48
+ import "../../Forms/HoneyPot/index.js";
48
49
  import "../../Forms/SalesforceFieldsForm.js";
49
50
  import "../../Input/RadioButton.css.js";
50
51
  import "../../Input/Checkbox.css.js";
@@ -41,6 +41,7 @@ import "../../Input/DownPaymentInput.js";
41
41
  import "../../Input/RadioButton.js";
42
42
  import "react-hook-form";
43
43
  import "../../Forms/Forms.css.js";
44
+ import "../../Forms/HoneyPot/index.js";
44
45
  import "../../Forms/SalesforceFieldsForm.js";
45
46
  /* empty css */
46
47
  /* empty css */
@@ -43,6 +43,7 @@ import "../../Input/DownPaymentInput.js";
43
43
  import "../../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../../Forms/Forms.css.js";
46
+ import "../../Forms/HoneyPot/index.js";
46
47
  import "../../Forms/SalesforceFieldsForm.js";
47
48
  import "../../Input/RadioButton.css.js";
48
49
  import "../../Input/Checkbox.css.js";
@@ -41,6 +41,7 @@ import "../../Input/DownPaymentInput.js";
41
41
  import "../../Input/RadioButton.js";
42
42
  import "react-hook-form";
43
43
  import "../../Forms/Forms.css.js";
44
+ import "../../Forms/HoneyPot/index.js";
44
45
  import "../../Forms/SalesforceFieldsForm.js";
45
46
  /* empty css */
46
47
  /* empty css */
@@ -43,6 +43,7 @@ import "../Input/DownPaymentInput.js";
43
43
  import "../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../Forms/Forms.css.js";
46
+ import "../Forms/HoneyPot/index.js";
46
47
  import "../Forms/SalesforceFieldsForm.js";
47
48
  import "../Input/RadioButton.css.js";
48
49
  import "../Input/Checkbox.css.js";
@@ -45,6 +45,7 @@ import "../Input/DownPaymentInput.js";
45
45
  import "../Input/RadioButton.js";
46
46
  import "react-hook-form";
47
47
  import "../Forms/Forms.css.js";
48
+ import "../Forms/HoneyPot/index.js";
48
49
  import "../Forms/SalesforceFieldsForm.js";
49
50
  import "../Input/RadioButton.css.js";
50
51
  import "../Input/Checkbox.css.js";
@@ -41,6 +41,7 @@ import "../Input/DownPaymentInput.js";
41
41
  import "../Input/RadioButton.js";
42
42
  import "react-hook-form";
43
43
  import "../Forms/Forms.css.js";
44
+ import "../Forms/HoneyPot/index.js";
44
45
  import "../Forms/SalesforceFieldsForm.js";
45
46
  /* empty css */
46
47
  /* empty css */
@@ -42,6 +42,7 @@ import "../Input/DownPaymentInput.js";
42
42
  import "../Input/RadioButton.js";
43
43
  import "react-hook-form";
44
44
  import "../Forms/Forms.css.js";
45
+ import "../Forms/HoneyPot/index.js";
45
46
  import "../Forms/SalesforceFieldsForm.js";
46
47
  import "../Input/RadioButton.css.js";
47
48
  import "../Input/Checkbox.css.js";
@@ -43,6 +43,7 @@ import "../Input/DownPaymentInput.js";
43
43
  import "../Input/RadioButton.js";
44
44
  import "react-hook-form";
45
45
  import "../Forms/Forms.css.js";
46
+ import "../Forms/HoneyPot/index.js";
46
47
  import "../Forms/SalesforceFieldsForm.js";
47
48
  import "../Input/RadioButton.css.js";
48
49
  import "../Input/Checkbox.css.js";
@@ -51,6 +51,7 @@ import "../Input/DownPaymentInput.js";
51
51
  import "../Input/RadioButton.js";
52
52
  import "react-hook-form";
53
53
  import "../Forms/Forms.css.js";
54
+ import "../Forms/HoneyPot/index.js";
54
55
  import "../Forms/SalesforceFieldsForm.js";
55
56
  import "../Input/RadioButton.css.js";
56
57
  import "../Input/Checkbox.css.js";
@@ -44,6 +44,7 @@ import "../Input/DownPaymentInput.js";
44
44
  import "../Input/RadioButton.js";
45
45
  import "react-hook-form";
46
46
  import "../Forms/Forms.css.js";
47
+ import "../Forms/HoneyPot/index.js";
47
48
  import "../Forms/SalesforceFieldsForm.js";
48
49
  import "../Input/RadioButton.css.js";
49
50
  import "../Input/Checkbox.css.js";
@@ -0,0 +1,4 @@
1
+ ._1f7d89m0 {
2
+ position: absolute;
3
+ left: -9999px;
4
+ }
package/dist/main.js CHANGED
@@ -73,6 +73,7 @@ import { DealerServices } from "./Forms/DealerServices.js";
73
73
  import { EmailOnly } from "./Forms/EmailOnly.js";
74
74
  import { EmailUs } from "./Forms/EmailUs.js";
75
75
  import { actions, back_btn_apply_now, centerSelect, checkbox_group, descriptionField, disclosureForm, dropdown, dynPH, form, formBtns, formContainer, formWrapper, form_nav_apply_now, form_row, fullRowForm, fullRowSelect, headerContainer, headerForm, hide_options, iconForm, iconbillboards_option_apply_now, modalCheckboxContainer, modalMobile, mt1Rem, mt2rem, mw24, na_cursor, one_row, pl_label, resposiveLabel, ro_input, section_title, show_options, step_title_apply_now, succes_check_mark, success_circle, success_icon, success_wrap, threeColRow, x_input, xc_input } from "./Forms/Forms.css.js";
76
+ import { HoneyPot, honeyPotSchema, isValidHoneyPot } from "./Forms/HoneyPot/index.js";
76
77
  import { MortgageRate } from "./Forms/MortgageRate/MortgageRateForm.js";
77
78
  import "react/jsx-runtime";
78
79
  import { RateWatchForm } from "./Forms/MortgageRate/MortgageRateWatch.js";
@@ -291,6 +292,7 @@ export {
291
292
  GlobalContextProvider,
292
293
  GoBackButton,
293
294
  HeroBanner,
295
+ HoneyPot,
294
296
  Hyperlink,
295
297
  IconBillboard,
296
298
  IconBillboardSet,
@@ -544,6 +546,7 @@ export {
544
546
  highlight_first_row,
545
547
  highlight_last_row,
546
548
  highlight_th,
549
+ honeyPotSchema,
547
550
  icon,
548
551
  iconContainer,
549
552
  iconContainerBase,
@@ -572,6 +575,7 @@ export {
572
575
  isAllowedUrl,
573
576
  isEmailLink,
574
577
  isPhoneLink,
578
+ isValidHoneyPot,
575
579
  is_bg_img,
576
580
  isolate_container,
577
581
  item,
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": "1.0.99-dev.1",
4
+ "version": "1.0.99-dev.3",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",