@getcredify/credify-insurance-widget 1.44.1 → 1.45.0

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 (64) hide show
  1. package/README.md +1 -1
  2. package/dist/{address-BEVwov8q-DDhbGo15.js → address-BEVwov8q-BHA-1zzm.js} +1 -1
  3. package/dist/api-BLmgLEy-.js +51 -0
  4. package/dist/{car-B83tx4O2.js → car-B8Sfr377.js} +1 -1
  5. package/dist/{check-Bu17NqRV.js → check-B8qTJ1zD.js} +1 -1
  6. package/dist/{copy-applicant-offer-CqzfNhkJ-DLXjbOLT.js → copy-applicant-offer-BPo842pD-COcsLcbo.js} +3 -3
  7. package/dist/{copy-from-record-BNP6CFFR-6SC1msxp.js → copy-from-record-DL503itm-B05F775l.js} +10 -10
  8. package/dist/{coverageDerivation-CV2ORogj-De8x_Bpm.js → coverageDerivation-CV2ORogj-D4IAkVAP.js} +1 -1
  9. package/dist/{fixtures-ijbZ16Zg-9n-90hL2.js → fixtures-ijbZ16Zg-CB6WPBEx.js} +1 -1
  10. package/dist/{household-prefill-CmtB9R3R-Bw0M1Q50.js → household-prefill-DJ-Y0NcP-TwmnYrqf.js} +30 -30
  11. package/dist/{householdPrefill-DLm3pxFH-BQibTi9l.js → householdPrefill-DLm3pxFH-Gudko0w4.js} +1 -1
  12. package/dist/iframe/assets/{address-BEVwov8q-BiiIpq2c.js → address-BEVwov8q-RcBegFnh.js} +1 -1
  13. package/dist/iframe/assets/{car-cifgdWXX.js → car-DQIQf4LA.js} +1 -1
  14. package/dist/iframe/assets/{check-TbHiw7rw.js → check-BiNh2j82.js} +1 -1
  15. package/dist/iframe/assets/{copy-applicant-offer-CqzfNhkJ-CVahKn8I.js → copy-applicant-offer-BPo842pD-Cj352DzN.js} +1 -1
  16. package/dist/iframe/assets/{copy-from-record-BNP6CFFR-Cn7Nr7XT.js → copy-from-record-DL503itm-B7hBbUhh.js} +2 -2
  17. package/dist/iframe/assets/{coverageDerivation-CV2ORogj-B7aNPljp.js → coverageDerivation-CV2ORogj-D3oRqD1U.js} +1 -1
  18. package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-CdxMGaLz.js → dob-calendar-RIJ5S6YU-vOGgSHSK.js} +1 -1
  19. package/dist/iframe/assets/{fixtures-ijbZ16Zg-NuD06-4v.js → fixtures-ijbZ16Zg-BmEw6uDw.js} +1 -1
  20. package/dist/iframe/assets/household-prefill-DJ-Y0NcP-z6AnkJcR.js +1 -0
  21. package/dist/iframe/assets/{householdPrefill-DLm3pxFH-DzyOYQr_.js → householdPrefill-DLm3pxFH-BZXueCa7.js} +1 -1
  22. package/dist/iframe/assets/iframe-ku_diR98.js +107 -0
  23. package/dist/iframe/assets/{index-BknEWAR5.js → index-IiQzPjFm.js} +2 -2
  24. package/dist/iframe/assets/intake-review-panel-CWz2efw4-CP-sEc-j.js +1 -0
  25. package/dist/iframe/assets/{mockJump-hNzgzUmO-CQ7eZ354.js → mockJump-H1NFTDah-yzeq4yea.js} +1 -1
  26. package/dist/iframe/assets/payload-CQc06PZC-BxklUdmW.js +1 -0
  27. package/dist/iframe/assets/{question-list-DFjWa8ZA-DbabOwyP.js → question-list-CcoyuyQD-DCzTkzeE.js} +11 -11
  28. package/dist/iframe/assets/rates-panel-MXCbnqpL-TFkvW-DN.js +17 -0
  29. package/dist/iframe/assets/{review-panel-C_WxX33U-CxzpQutt.js → review-panel-CFVxGU7F-CqUUCDLK.js} +2 -2
  30. package/dist/iframe/assets/stage-BSRsu--X-BAWfI2cm.js +1 -0
  31. package/dist/iframe/assets/validation-ELW00AsL-ytOMlsxG.js +3 -0
  32. package/dist/iframe/assets/{vehicleCoverage-CBWORI1l-BqOK33e3.js → vehicleCoverage-DI2dKrnI-DVXwPfxd.js} +1 -1
  33. package/dist/iframe/assets/{visibility-CKRGC3Il-CLpoN3cd.js → visibility-CyRoLvg5-CxslMJYX.js} +1 -1
  34. package/dist/iframe/assets/waves-vdL6w3zC.js +16 -0
  35. package/dist/iframe/iframe.html +1 -1
  36. package/dist/{index-CY0roJE_.js → index-IZRzz1Mi.js} +1 -1
  37. package/dist/index.es.js +1 -1
  38. package/dist/index.umd.js +103 -103
  39. package/dist/{intake-review-panel-D27t8CZO-CxiXytFS.js → intake-review-panel-CWz2efw4-BQ-Nog4K.js} +27 -27
  40. package/dist/{mockJump-hNzgzUmO-CsTzthio.js → mockJump-H1NFTDah-CkqZVQxf.js} +1 -1
  41. package/dist/{payload-DrGFAxms-DmfWvvu_.js → payload-CQc06PZC-KA6cBCno.js} +26 -26
  42. package/dist/{question-list-DFjWa8ZA-B8f7Jf6J.js → question-list-CcoyuyQD-_c4J4n0G.js} +51 -51
  43. package/dist/rates-panel-MXCbnqpL-DGYBAFto.js +1323 -0
  44. package/dist/{review-panel-C_WxX33U-CZu6We48.js → review-panel-CFVxGU7F-CtO3WmnD.js} +51 -51
  45. package/dist/stage-BSRsu--X-DJs8ps3K.js +197 -0
  46. package/dist/utils/prefill.d.ts +2 -4
  47. package/dist/{validation-D42QXxck-BPUVtzkv.js → validation-ELW00AsL-C4xgPdbr.js} +341 -343
  48. package/dist/{vehicleCoverage-CBWORI1l-DZmjvVjU.js → vehicleCoverage-DI2dKrnI-Lq9BCjQm.js} +3 -3
  49. package/dist/{visibility-CKRGC3Il-_72Koc98.js → visibility-CyRoLvg5-DNRgF2sH.js} +6 -6
  50. package/dist/waves-DM8Lgssk.js +71 -0
  51. package/dist/{widget-CP6ApixH.js → widget-3S1xkGig.js} +2972 -2827
  52. package/package.json +2 -2
  53. package/dist/api-CWMwIjKu.js +0 -51
  54. package/dist/core-CrEw_I-E-CsRUhlZy.js +0 -417
  55. package/dist/iframe/assets/core-CrEw_I-E-DJNj5Zzo.js +0 -16
  56. package/dist/iframe/assets/household-prefill-CmtB9R3R-0b9HYzDA.js +0 -1
  57. package/dist/iframe/assets/iframe-Be9NY0jq.js +0 -107
  58. package/dist/iframe/assets/intake-review-panel-D27t8CZO-QuAzDm1O.js +0 -1
  59. package/dist/iframe/assets/payload-DrGFAxms-DIGXNw5l.js +0 -1
  60. package/dist/iframe/assets/rates-panel-BSFiWEZX-GsRBXu7R.js +0 -17
  61. package/dist/iframe/assets/stage-knShj71W-CEkRTdvw.js +0 -1
  62. package/dist/iframe/assets/validation-D42QXxck-DrIBn9be.js +0 -3
  63. package/dist/rates-panel-BSFiWEZX-DdETQZ83.js +0 -1001
  64. package/dist/stage-knShj71W-XIJ7bUoN.js +0 -197
@@ -1,6 +1,6 @@
1
- import { t as h } from "./widget-CP6ApixH.js";
2
- import { _ as f } from "./visibility-CKRGC3Il-_72Koc98.js";
3
- import { O as p } from "./validation-D42QXxck-BPUVtzkv.js";
1
+ import { t as h } from "./widget-3S1xkGig.js";
2
+ import { _ as f } from "./visibility-CyRoLvg5-DNRgF2sH.js";
3
+ import { k as p } from "./validation-ELW00AsL-C4xgPdbr.js";
4
4
  (function() {
5
5
  if (typeof o > "u")
6
6
  var o = { env: {} };
@@ -1,5 +1,5 @@
1
+ import { a3 as w } from "./widget-3S1xkGig.js";
1
2
  import { n as C } from "./types-LUGvo5ic-CiVRcsV9.js";
2
- import { a3 as w } from "./widget-CP6ApixH.js";
3
3
  (function() {
4
4
  if (typeof e > "u")
5
5
  var e = { env: {} };
@@ -118,7 +118,7 @@ var N = (e) => {
118
118
  if (!r.effectiveDateKey || !r.expirationDateKey) return !1;
119
119
  let n = v(e[r.expirationDateKey]), i = v(e[r.effectiveDateKey]);
120
120
  return n == null || i == null ? !1 : n < i;
121
- }, $ = (e) => {
121
+ }, H = (e) => {
122
122
  let r = null, n = null, i = null, o = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), u = (s) => {
123
123
  let t = s.key ?? "", a = String(s.question ?? "").trim().toLowerCase();
124
124
  !r && (t === "auto_prior_carrier_name" || t === "home_prior_carrier_name" || a.includes("current auto insurance company")) && (r = t), !n && (t === "effective_date" || a.includes("when do you need your insurance to begin")) && (n = t), !i && (t === "auto_prior_expiration_date" || t === "home_prior_expiration_date" || a.includes("when does the current policy expire")) && (i = t), (t === "auto_reason_for_no_insurance" || a.includes("reason you are not currently insured") || a.includes("reason for lapse in coverage")) && o.add(t), (t === "auto_prior_years" || t === "auto_prior_months" || t === "auto_continuous_coverage_years" || t === "auto_prior_expiration_date" || t === "auto_current_annual_premium_cents" || t === "auto_prior_liability_limit") && l.add(t);
@@ -139,20 +139,20 @@ var N = (e) => {
139
139
  noInsuranceReasonKeys: o,
140
140
  hideWhenNoPriorInsuranceKeys: l
141
141
  };
142
- }, H = (e, r) => r.currentCarrierKey === "home_prior_carrier_name" && e.home_prior_carrier_name === "NoPriorInsurance" && e.auto_prior_carrier_name !== "NoPriorInsurance" ? !1 : (r.currentCarrierKey ? e[r.currentCarrierKey] : void 0) === "NoPriorInsurance" ? !0 : !r.effectiveDateKey || !r.expirationDateKey || r.expirationDateKey === "home_prior_expiration_date" && p(e, r) ? !1 : p(e, r), W = (e, r, n) => {
142
+ }, W = (e, r) => r.currentCarrierKey === "home_prior_carrier_name" && e.home_prior_carrier_name === "NoPriorInsurance" && e.auto_prior_carrier_name !== "NoPriorInsurance" ? !1 : (r.currentCarrierKey ? e[r.currentCarrierKey] : void 0) === "NoPriorInsurance" ? !0 : !r.effectiveDateKey || !r.expirationDateKey || r.expirationDateKey === "home_prior_expiration_date" && p(e, r) ? !1 : p(e, r), $ = (e, r, n) => {
143
143
  let i = e.key ?? "";
144
144
  if (n.noInsuranceReasonKeys.has(i) && n.currentCarrierKey === "home_prior_carrier_name" && r.home_prior_carrier_name === "NoPriorInsurance" && r.auto_prior_carrier_name !== "NoPriorInsurance") return !1;
145
145
  let o = (n.currentCarrierKey ? r[n.currentCarrierKey] : void 0) === "NoPriorInsurance";
146
- return o && n.hideWhenNoPriorInsuranceKeys.has(i) ? !1 : !n.noInsuranceReasonKeys.has(i) || o ? !0 : H(r, n);
146
+ return o && n.hideWhenNoPriorInsuranceKeys.has(i) ? !1 : !n.noInsuranceReasonKeys.has(i) || o ? !0 : W(r, n);
147
147
  }, j = /* @__PURE__ */ new Set(["HomePolicy", "BundlePolicy"]), q = (e, r, n) => (e.key ?? "") !== "lapse_in_coverage" || !n || !j.has(n) || r.home_prior_carrier_name !== "NoPriorInsurance", M = (e, r) => {
148
148
  let n = e.key ?? "";
149
149
  if (n === "co_applicant_occupation" || n !== "occupation") return !0;
150
150
  let i = String(r.industry ?? r.employment_industry ?? "").trim();
151
151
  return !w.has(i);
152
152
  }, F = (e, r, n) => {
153
- let i = N(e), o = $(i), l = [], u = (c) => {
153
+ let i = N(e), o = H(i), l = [], u = (c) => {
154
154
  c.forEach((s) => {
155
- if (!W(s, r, o) || !M(s, r) || !q(s, r, n)) return;
155
+ if (!$(s, r, o) || !M(s, r) || !q(s, r, n)) return;
156
156
  let t = s.key ?? "";
157
157
  if (S(t, n, r)) {
158
158
  let a = o.currentCarrierKey ? r[o.currentCarrierKey] : void 0;
@@ -0,0 +1,71 @@
1
+ import { a4 as e } from "./widget-3S1xkGig.js";
2
+ (function() {
3
+ if (typeof a > "u")
4
+ var a = { env: {} };
5
+ })();
6
+ /**
7
+ * @license lucide-react v0.562.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */
12
+ const c = [
13
+ ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
14
+ [
15
+ "path",
16
+ {
17
+ d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
18
+ key: "r6nss1"
19
+ }
20
+ ]
21
+ ], n = e("house", c);
22
+ /**
23
+ * @license lucide-react v0.562.0 - ISC
24
+ *
25
+ * This source code is licensed under the ISC license.
26
+ * See the LICENSE file in the root directory of this source tree.
27
+ */
28
+ const o = [
29
+ [
30
+ "path",
31
+ {
32
+ d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
33
+ key: "oel41y"
34
+ }
35
+ ],
36
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
37
+ ], s = e("shield-check", o);
38
+ /**
39
+ * @license lucide-react v0.562.0 - ISC
40
+ *
41
+ * This source code is licensed under the ISC license.
42
+ * See the LICENSE file in the root directory of this source tree.
43
+ */
44
+ const d = [
45
+ [
46
+ "path",
47
+ {
48
+ d: "M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",
49
+ key: "knzxuh"
50
+ }
51
+ ],
52
+ [
53
+ "path",
54
+ {
55
+ d: "M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",
56
+ key: "2jd2cc"
57
+ }
58
+ ],
59
+ [
60
+ "path",
61
+ {
62
+ d: "M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",
63
+ key: "rd2r6e"
64
+ }
65
+ ]
66
+ ], h = e("waves", d);
67
+ export {
68
+ n as H,
69
+ s as S,
70
+ h as W
71
+ };