@axos-web-dev/shared-components 1.0.77-patch.16 → 1.0.77-patch.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Calculators/MaxLoanCalculator/index.js +22 -5
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +15 -5
- package/dist/Forms/QuickPricer/QuickPricerForm.js +1 -1
- package/dist/Forms/SalesforceFieldsForm.d.ts +5 -0
- package/dist/Forms/SalesforceFieldsForm.js +11 -1
- package/dist/Table/Table.d.ts +1 -1
- package/package.json +1 -1
|
@@ -204,11 +204,28 @@ const MaxLoanCalculator = ({
|
|
|
204
204
|
}
|
|
205
205
|
) }),
|
|
206
206
|
/* @__PURE__ */ jsxs("div", { className: "text_center flex flex_col center middle push_up_32", children: [
|
|
207
|
-
/* @__PURE__ */ jsx(
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
207
|
+
/* @__PURE__ */ jsx(
|
|
208
|
+
"label",
|
|
209
|
+
{
|
|
210
|
+
htmlFor: "estimatedLoanAmount",
|
|
211
|
+
className: calculation_header,
|
|
212
|
+
children: "Maximum Loan Amount You Can Borrow:"
|
|
213
|
+
}
|
|
214
|
+
),
|
|
215
|
+
/* @__PURE__ */ jsxs(
|
|
216
|
+
"output",
|
|
217
|
+
{
|
|
218
|
+
id: "estimatedLoanAmount",
|
|
219
|
+
className: payment_results,
|
|
220
|
+
name: "estimated-loan-amount",
|
|
221
|
+
htmlFor: "monthlyPayment loanDuration interestRate",
|
|
222
|
+
role: "status",
|
|
223
|
+
children: [
|
|
224
|
+
"$",
|
|
225
|
+
loanAmount.toFixed(2)
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
)
|
|
212
229
|
] })
|
|
213
230
|
] })
|
|
214
231
|
]
|
|
@@ -212,11 +212,21 @@ const MonthlyPaymentCalculator = ({
|
|
|
212
212
|
}
|
|
213
213
|
) }),
|
|
214
214
|
/* @__PURE__ */ jsxs("div", { className: "text_center flex flex_col center middle push_up_32", children: [
|
|
215
|
-
/* @__PURE__ */ jsx("
|
|
216
|
-
/* @__PURE__ */ jsxs(
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
215
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "estimatedPayment", className: calculation_header, children: "Estimated Monthly Payment:" }),
|
|
216
|
+
/* @__PURE__ */ jsxs(
|
|
217
|
+
"output",
|
|
218
|
+
{
|
|
219
|
+
id: "estimatedPayment",
|
|
220
|
+
className: payment_results,
|
|
221
|
+
name: "estimated-payment",
|
|
222
|
+
htmlFor: "loanAmount loanDuration interestRate",
|
|
223
|
+
role: "status",
|
|
224
|
+
children: [
|
|
225
|
+
"$",
|
|
226
|
+
estimatedPayment.toFixed(2)
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
)
|
|
220
230
|
] })
|
|
221
231
|
] }),
|
|
222
232
|
disclosure && /* @__PURE__ */ jsx("div", { className: calc_disclosure({ variant: fullVariant }), children: disclosure })
|
|
@@ -13,6 +13,7 @@ export interface SalesforceFields {
|
|
|
13
13
|
experience_id: string;
|
|
14
14
|
hem: string;
|
|
15
15
|
identity: string;
|
|
16
|
+
leadPriority: string;
|
|
16
17
|
}
|
|
17
18
|
export interface SalesforceInputs {
|
|
18
19
|
Brand_SFDC2__c: string;
|
|
@@ -46,6 +47,7 @@ export interface SalesforceInputs {
|
|
|
46
47
|
experience_id: string;
|
|
47
48
|
hem: string;
|
|
48
49
|
identity: string;
|
|
50
|
+
LeadPriority__c: string;
|
|
49
51
|
}
|
|
50
52
|
export declare const SalesforceSchema: z.ZodObject<{
|
|
51
53
|
Brand_SFDC2__c: z.ZodOptional<z.ZodString>;
|
|
@@ -71,6 +73,7 @@ export declare const SalesforceSchema: z.ZodObject<{
|
|
|
71
73
|
First_UTMIdentity__c: z.ZodOptional<z.ZodString>;
|
|
72
74
|
First_UTMExperience_Id__c: z.ZodOptional<z.ZodString>;
|
|
73
75
|
Full_Web_Source__c: z.ZodOptional<z.ZodString>;
|
|
76
|
+
LeadPriority__c: z.ZodOptional<z.ZodString>;
|
|
74
77
|
}, "strip", z.ZodTypeAny, {
|
|
75
78
|
Brand_SFDC2__c?: string | undefined;
|
|
76
79
|
Branch_SFDC2__c?: string | undefined;
|
|
@@ -95,6 +98,7 @@ export declare const SalesforceSchema: z.ZodObject<{
|
|
|
95
98
|
First_UTMIdentity__c?: string | undefined;
|
|
96
99
|
First_UTMExperience_Id__c?: string | undefined;
|
|
97
100
|
Full_Web_Source__c?: string | undefined;
|
|
101
|
+
LeadPriority__c?: string | undefined;
|
|
98
102
|
}, {
|
|
99
103
|
Brand_SFDC2__c?: string | undefined;
|
|
100
104
|
Branch_SFDC2__c?: string | undefined;
|
|
@@ -119,6 +123,7 @@ export declare const SalesforceSchema: z.ZodObject<{
|
|
|
119
123
|
First_UTMIdentity__c?: string | undefined;
|
|
120
124
|
First_UTMExperience_Id__c?: string | undefined;
|
|
121
125
|
Full_Web_Source__c?: string | undefined;
|
|
126
|
+
LeadPriority__c?: string | undefined;
|
|
122
127
|
}>;
|
|
123
128
|
export interface QueryParams {
|
|
124
129
|
[str: string]: string;
|
|
@@ -33,7 +33,8 @@ const SalesforceSchema = z.object({
|
|
|
33
33
|
First_UTMHem__c: z.string().optional(),
|
|
34
34
|
First_UTMIdentity__c: z.string().optional(),
|
|
35
35
|
First_UTMExperience_Id__c: z.string().optional(),
|
|
36
|
-
Full_Web_Source__c: z.string().optional()
|
|
36
|
+
Full_Web_Source__c: z.string().optional(),
|
|
37
|
+
LeadPriority__c: z.string().optional()
|
|
37
38
|
});
|
|
38
39
|
const SalesforceFieldsForm = memo(function SaleforceFieldForm({
|
|
39
40
|
salesforceFields,
|
|
@@ -87,6 +88,15 @@ const SalesforceFieldsForm = memo(function SaleforceFieldForm({
|
|
|
87
88
|
})
|
|
88
89
|
}
|
|
89
90
|
),
|
|
91
|
+
/* @__PURE__ */ jsx(
|
|
92
|
+
"input",
|
|
93
|
+
{
|
|
94
|
+
type: "hidden",
|
|
95
|
+
...register("LeadPriority__c", {
|
|
96
|
+
value: salesforceFields?.leadPriority
|
|
97
|
+
})
|
|
98
|
+
}
|
|
99
|
+
),
|
|
90
100
|
/* @__PURE__ */ jsx("input", { type: "hidden", ...register("lead_source", { value: "Web RMI" }) }),
|
|
91
101
|
/* @__PURE__ */ jsx(
|
|
92
102
|
"input",
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, colSpan,
|
|
|
61
61
|
is?: string | undefined;
|
|
62
62
|
exportparts?: string | undefined;
|
|
63
63
|
part?: string | undefined;
|
|
64
|
-
popover?: "" | "auto" | "manual" | undefined;
|
|
64
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
65
65
|
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
66
66
|
popoverTarget?: string | undefined;
|
|
67
67
|
onToggle?: import('react').ToggleEventHandler<HTMLTableCellElement> | undefined;
|
package/package.json
CHANGED