@axos-web-dev/shared-components 0.0.134 → 0.0.136

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.
@@ -4,12 +4,14 @@ export interface SalesforceFields {
4
4
  branch: string;
5
5
  subBranch: string;
6
6
  leadSourceDetail: string;
7
+ otherLeadSource: string;
7
8
  }
8
9
  export interface SalesforceInputs {
9
10
  Brand_SFDC2__c: string;
10
11
  Branch_SFDC2__c: string;
11
12
  Sub_Branch_SFDC2__c: string;
12
13
  Lead_Source_Detail_SFDC2__c: string;
14
+ Other_Lead_Source__c: string;
13
15
  lead_source: string;
14
16
  Web_Source__c: string;
15
17
  Marketing_Source__c: string;
@@ -18,12 +20,15 @@ export interface SalesforceInputs {
18
20
  First_UTMMedium__c: string;
19
21
  First_UTMSource__c: string;
20
22
  First_UTMTerm__c: string;
23
+ cjdata: string;
24
+ cjevent: string;
21
25
  }
22
26
  export declare const SalesforceSchema: z.ZodObject<{
23
27
  Brand_SFDC2__c: z.ZodOptional<z.ZodString>;
24
28
  Branch_SFDC2__c: z.ZodOptional<z.ZodString>;
25
29
  Sub_Branch_SFDC2__c: z.ZodOptional<z.ZodString>;
26
30
  Lead_Source_Detail_SFDC2__c: z.ZodOptional<z.ZodString>;
31
+ Other_Lead_Source__c: z.ZodOptional<z.ZodString>;
27
32
  lead_source: z.ZodOptional<z.ZodString>;
28
33
  Web_Source__c: z.ZodOptional<z.ZodString>;
29
34
  Marketing_Source__c: z.ZodOptional<z.ZodString>;
@@ -32,11 +37,14 @@ export declare const SalesforceSchema: z.ZodObject<{
32
37
  First_UTMMedium__c: z.ZodOptional<z.ZodString>;
33
38
  First_UTMSource__c: z.ZodOptional<z.ZodString>;
34
39
  First_UTMTerm__c: z.ZodOptional<z.ZodString>;
40
+ utm_cjdata: z.ZodOptional<z.ZodString>;
41
+ utm_cjevent: z.ZodOptional<z.ZodString>;
35
42
  }, "strip", z.ZodTypeAny, {
36
43
  Brand_SFDC2__c?: string | undefined;
37
44
  Branch_SFDC2__c?: string | undefined;
38
45
  Sub_Branch_SFDC2__c?: string | undefined;
39
46
  Lead_Source_Detail_SFDC2__c?: string | undefined;
47
+ Other_Lead_Source__c?: string | undefined;
40
48
  lead_source?: string | undefined;
41
49
  Web_Source__c?: string | undefined;
42
50
  Marketing_Source__c?: string | undefined;
@@ -45,11 +53,14 @@ export declare const SalesforceSchema: z.ZodObject<{
45
53
  First_UTMMedium__c?: string | undefined;
46
54
  First_UTMSource__c?: string | undefined;
47
55
  First_UTMTerm__c?: string | undefined;
56
+ utm_cjdata?: string | undefined;
57
+ utm_cjevent?: string | undefined;
48
58
  }, {
49
59
  Brand_SFDC2__c?: string | undefined;
50
60
  Branch_SFDC2__c?: string | undefined;
51
61
  Sub_Branch_SFDC2__c?: string | undefined;
52
62
  Lead_Source_Detail_SFDC2__c?: string | undefined;
63
+ Other_Lead_Source__c?: string | undefined;
53
64
  lead_source?: string | undefined;
54
65
  Web_Source__c?: string | undefined;
55
66
  Marketing_Source__c?: string | undefined;
@@ -58,6 +69,8 @@ export declare const SalesforceSchema: z.ZodObject<{
58
69
  First_UTMMedium__c?: string | undefined;
59
70
  First_UTMSource__c?: string | undefined;
60
71
  First_UTMTerm__c?: string | undefined;
72
+ utm_cjdata?: string | undefined;
73
+ utm_cjevent?: string | undefined;
61
74
  }>;
62
75
  export interface QueryParams {
63
76
  [str: string]: string;
@@ -12,6 +12,7 @@ const SalesforceSchema = z.object({
12
12
  // this configurable
13
13
  Lead_Source_Detail_SFDC2__c: z.string().optional(),
14
14
  //this
15
+ Other_Lead_Source__c: z.string().optional(),
15
16
  lead_source: z.string().optional(),
16
17
  // web RMI
17
18
  Web_Source__c: z.string().optional(),
@@ -22,7 +23,9 @@ const SalesforceSchema = z.object({
22
23
  First_UTMContent__c: z.string().optional(),
23
24
  First_UTMMedium__c: z.string().optional(),
24
25
  First_UTMSource__c: z.string().optional(),
25
- First_UTMTerm__c: z.string().optional()
26
+ First_UTMTerm__c: z.string().optional(),
27
+ utm_cjdata: z.string().optional(),
28
+ utm_cjevent: z.string().optional()
26
29
  });
27
30
  const SalesforceFieldsForm = memo(function SaleforceFieldForm({
28
31
  salesforceFields,
@@ -67,6 +70,15 @@ const SalesforceFieldsForm = memo(function SaleforceFieldForm({
67
70
  })
68
71
  }
69
72
  ),
73
+ /* @__PURE__ */ jsx(
74
+ "input",
75
+ {
76
+ type: "hidden",
77
+ ...register("Other_Lead_Source__c", {
78
+ value: salesforceFields?.otherLeadSource
79
+ })
80
+ }
81
+ ),
70
82
  /* @__PURE__ */ jsx("input", { type: "hidden", ...register("lead_source", { value: "Web RMI" }) }),
71
83
  /* @__PURE__ */ jsx(
72
84
  "input",
@@ -128,6 +140,24 @@ const SalesforceFieldsForm = memo(function SaleforceFieldForm({
128
140
  value: queryParams?.utm_term
129
141
  })
130
142
  }
143
+ ),
144
+ /* @__PURE__ */ jsx(
145
+ "input",
146
+ {
147
+ type: "hidden",
148
+ ...register("Primary_Cjdata__c", {
149
+ value: `${queryParams?.utm_cjdata}`
150
+ })
151
+ }
152
+ ),
153
+ /* @__PURE__ */ jsx(
154
+ "input",
155
+ {
156
+ type: "hidden",
157
+ ...register("Primary_Cjevent__c", {
158
+ value: `${queryParams?.utm_cjevent}`
159
+ })
160
+ }
131
161
  )
132
162
  ] });
133
163
  });
@@ -67,7 +67,7 @@ const VideoTile = ({
67
67
  )
68
68
  }
69
69
  ),
70
- /* @__PURE__ */ jsxs("div", { className: `${transcript_container}`, children: [
70
+ transcript && /* @__PURE__ */ jsxs("div", { className: `${transcript_container}`, children: [
71
71
  /* @__PURE__ */ jsxs(
72
72
  "a",
73
73
  {
@@ -310,12 +310,14 @@ main > div:nth-last-child(2) > ._1nivbwe0 {
310
310
  tr:has(> :last-child:nth-child(-n + 3)) td {
311
311
  font-size: 14px;
312
312
  min-width: unset;
313
+ padding: 16px 12px;
313
314
  }
314
315
  ._1nivbwe13 tr:has(> :last-child:nth-child(-n + 3)) th {
315
316
  width: 30%;
316
317
  }
317
318
  tr:has(> :last-child:nth-child(-n + 3)) th {
318
319
  min-width: unset;
320
+ padding: 16px 8px;
319
321
  }
320
322
  tr:has(> :last-child:nth-child(-n + 3)) td:first-child {
321
323
  box-shadow: none;
@@ -19,7 +19,8 @@ const moreDomains = {
19
19
  "{UNVENROLLMENT}": process.env.UNVENROLLMENT_URL || "https://enroll.axosbank.com",
20
20
  "{AUTOAXB}": "https://auto.axosbank.com/partner/axos-purchase/AU",
21
21
  "{COMMERCIALPORTAL}": process.env.COMMERCIALPORTAL_URL || "https://portals.axosbank.com/",
22
- "{DEVAXC}": process.env.DEVELOPER_CLEARING || "https://developer.axosclearing.com"
22
+ "{DEVAXC}": process.env.DEVELOPER_CLEARING || "https://developer.axosclearing.com",
23
+ "{AFF}": process.env.FUNDFINDER_URL || "https://axosfundfinder.com/"
23
24
  };
24
25
  const isAllowedUrl = (url) => {
25
26
  const uri = new URL(url, location.href);
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.134",
4
+ "version": "0.0.136",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",