@getcredify/credify-insurance-widget 1.45.0 → 1.47.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.
- package/dist/{address-BEVwov8q-BHA-1zzm.js → address-BEVwov8q-CFogwodr.js} +1 -1
- package/dist/api-EzrQ6TjH.js +53 -0
- package/dist/{car-B8Sfr377.js → car-CxlVKO91.js} +1 -1
- package/dist/{check-B8qTJ1zD.js → check-BAikbl_K.js} +1 -1
- package/dist/{copy-applicant-offer-BPo842pD-COcsLcbo.js → copy-applicant-offer-UApiJBeU-BesLtSKE.js} +3 -3
- package/dist/{copy-from-record-DL503itm-B05F775l.js → copy-from-record-DL503itm-Cr4NH27U.js} +8 -8
- package/dist/{coverageDerivation-CV2ORogj-D4IAkVAP.js → coverageDerivation-CV2ORogj-C2Nwlsa1.js} +1 -1
- package/dist/{fixtures-ijbZ16Zg-CB6WPBEx.js → fixtures-ijbZ16Zg-B9zEGweJ.js} +1 -1
- package/dist/{household-prefill-DJ-Y0NcP-TwmnYrqf.js → household-prefill-BwSS00qI-Cngp1yri.js} +22 -22
- package/dist/{householdPrefill-DLm3pxFH-Gudko0w4.js → householdPrefill-DLm3pxFH-CSdgf8cD.js} +1 -1
- package/dist/iframe/assets/{address-BEVwov8q-RcBegFnh.js → address-BEVwov8q-CQFQYwN_.js} +1 -1
- package/dist/iframe/assets/{car-DQIQf4LA.js → car-dMyHgJCm.js} +1 -1
- package/dist/iframe/assets/{check-BiNh2j82.js → check-vA4Wm8iT.js} +1 -1
- package/dist/iframe/assets/{copy-applicant-offer-BPo842pD-Cj352DzN.js → copy-applicant-offer-UApiJBeU-DoOvd5Iq.js} +1 -1
- package/dist/iframe/assets/{copy-from-record-DL503itm-B7hBbUhh.js → copy-from-record-DL503itm-Db_VVvOI.js} +1 -1
- package/dist/iframe/assets/{coverageDerivation-CV2ORogj-D3oRqD1U.js → coverageDerivation-CV2ORogj-gpaPp3-I.js} +1 -1
- package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-vOGgSHSK.js → dob-calendar-RIJ5S6YU-Tg0d9tov.js} +1 -1
- package/dist/iframe/assets/{fixtures-ijbZ16Zg-BmEw6uDw.js → fixtures-ijbZ16Zg-Cbt1vB2m.js} +1 -1
- package/dist/iframe/assets/household-prefill-BwSS00qI-C8MTGR1p.js +1 -0
- package/dist/iframe/assets/{householdPrefill-DLm3pxFH-BZXueCa7.js → householdPrefill-DLm3pxFH-BMN6WUsw.js} +1 -1
- package/dist/iframe/assets/{iframe-ku_diR98.js → iframe-BqFwviRo.js} +29 -29
- package/dist/iframe/assets/{index-IiQzPjFm.js → index-CeDETFEQ.js} +2 -2
- package/dist/iframe/assets/{intake-review-panel-CWz2efw4-CP-sEc-j.js → intake-review-panel-CjiYTJXh-CxJXC0fl.js} +1 -1
- package/dist/iframe/assets/{mockJump-H1NFTDah-yzeq4yea.js → mockJump-DCZoGtRl-DqT1rb7l.js} +1 -1
- package/dist/iframe/assets/{payload-CQc06PZC-BxklUdmW.js → payload-DurIYSZk-Bq3ZDZQk.js} +1 -1
- package/dist/iframe/assets/{question-list-CcoyuyQD-DCzTkzeE.js → question-list-CjN64tfw-D8aGV13x.js} +3 -3
- package/dist/iframe/assets/rates-panel-B1xVYtTQ-CInEw7cd.js +17 -0
- package/dist/iframe/assets/{review-panel-CFVxGU7F-CqUUCDLK.js → review-panel-DuzWoTKP-Rwdzp6eC.js} +2 -2
- package/dist/iframe/assets/{stage-BSRsu--X-BAWfI2cm.js → stage-CnucLiNn-DuURgPad.js} +1 -1
- package/dist/iframe/assets/{validation-ELW00AsL-ytOMlsxG.js → validation-Db4WCn17-_NNdawKQ.js} +1 -1
- package/dist/iframe/assets/{vehicleCoverage-DI2dKrnI-DVXwPfxd.js → vehicleCoverage-CDBtkdww-Bo-t8CRG.js} +1 -1
- package/dist/iframe/assets/{visibility-CyRoLvg5-CxslMJYX.js → visibility-iwttXt0y-DNGCSVig.js} +1 -1
- package/dist/iframe/assets/{waves-vdL6w3zC.js → waves-DRA5QD6r.js} +1 -1
- package/dist/iframe/iframe.html +1 -1
- package/dist/{index-IZRzz1Mi.js → index-DBc8hvqD.js} +21 -21
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +95 -95
- package/dist/{intake-review-panel-CWz2efw4-BQ-Nog4K.js → intake-review-panel-CjiYTJXh-Cy_2auOe.js} +17 -17
- package/dist/{mockJump-H1NFTDah-CkqZVQxf.js → mockJump-DCZoGtRl-DBhd5ad0.js} +1 -1
- package/dist/{payload-CQc06PZC-KA6cBCno.js → payload-DurIYSZk-CKtSbWzb.js} +22 -22
- package/dist/{question-list-CcoyuyQD-_c4J4n0G.js → question-list-CjN64tfw-BpPrkylH.js} +13 -13
- package/dist/{rates-panel-MXCbnqpL-DGYBAFto.js → rates-panel-B1xVYtTQ-BUF3Ofoi.js} +237 -222
- package/dist/{review-panel-CFVxGU7F-CtO3WmnD.js → review-panel-DuzWoTKP-BfwFC6Jz.js} +57 -57
- package/dist/{stage-BSRsu--X-DJs8ps3K.js → stage-CnucLiNn-CjHsEHOW.js} +4 -4
- package/dist/{validation-ELW00AsL-C4xgPdbr.js → validation-Db4WCn17-DiPhPmjM.js} +2 -2
- package/dist/{vehicleCoverage-DI2dKrnI-Lq9BCjQm.js → vehicleCoverage-CDBtkdww-Bm9pGAq7.js} +3 -3
- package/dist/{visibility-CyRoLvg5-DNRgF2sH.js → visibility-iwttXt0y-DtOOYFcv.js} +1 -1
- package/dist/{waves-DM8Lgssk.js → waves-oZRnENZl.js} +1 -1
- package/dist/{widget-3S1xkGig.js → widget-CpC6N1oq.js} +1320 -1286
- package/package.json +2 -2
- package/dist/api-BLmgLEy-.js +0 -51
- package/dist/iframe/assets/household-prefill-DJ-Y0NcP-z6AnkJcR.js +0 -1
- package/dist/iframe/assets/rates-panel-MXCbnqpL-TFkvW-DN.js +0 -17
|
@@ -3,11 +3,11 @@ var Ce = (n) => {
|
|
|
3
3
|
};
|
|
4
4
|
var be = (n, o, e) => o.has(n) || Ce("Cannot " + e);
|
|
5
5
|
var w = (n, o, e) => (be(n, o, "read from private field"), e ? e.call(n) : o.get(n)), xe = (n, o, e) => o.has(n) ? Ce("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(n) : o.set(n, e), Q = (n, o, e, t) => (be(n, o, "write to private field"), t ? t.call(n, e) : o.set(n, e), e);
|
|
6
|
-
import {
|
|
7
|
-
import { o as Ue, n as We, r as Ye } from "./stage-
|
|
6
|
+
import { a6 as He, ai as $, aj as V, t as Be, U as ye, K as Re, $ as Fe, ak as Ge, W as te } from "./widget-CpC6N1oq.js";
|
|
7
|
+
import { o as Ue, n as We, r as Ye } from "./stage-CnucLiNn-CjHsEHOW.js";
|
|
8
8
|
import * as l from "react";
|
|
9
9
|
import { jsx as i, jsxs as M, Fragment as Je } from "react/jsx-runtime";
|
|
10
|
-
import { c as q, u as oe, a as we, P as z, b as Ne, d as Qe, e as Xe, C as Ze } from "./index-
|
|
10
|
+
import { c as q, u as oe, a as we, P as z, b as Ne, d as Qe, e as Xe, C as Ze } from "./index-DBc8hvqD.js";
|
|
11
11
|
(function() {
|
|
12
12
|
if (typeof n > "u")
|
|
13
13
|
var n = { env: {} };
|
|
@@ -30,7 +30,7 @@ const et = [
|
|
|
30
30
|
], tt = He("pencil", et);
|
|
31
31
|
var ot = Object.defineProperty, y = (n, o) => ot(n, "name", { value: o, configurable: !0 });
|
|
32
32
|
// @__NO_SIDE_EFFECTS__
|
|
33
|
-
function
|
|
33
|
+
function Pe(n) {
|
|
34
34
|
const o = n + "CollectionProvider", [e, t] = q(o), [s, r] = e(
|
|
35
35
|
o,
|
|
36
36
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
@@ -39,17 +39,17 @@ function _e(n) {
|
|
|
39
39
|
return /* @__PURE__ */ i(s, { scope: v, itemMap: u, collectionRef: A, children: I });
|
|
40
40
|
}, "CollectionProvider");
|
|
41
41
|
c.displayName = o;
|
|
42
|
-
const d = n + "CollectionSlot", f =
|
|
42
|
+
const d = n + "CollectionSlot", f = V(d), p = l.forwardRef(
|
|
43
43
|
(b, v) => {
|
|
44
|
-
const { scope: I, children: A } = b, u = r(d, I), m =
|
|
44
|
+
const { scope: I, children: A } = b, u = r(d, I), m = $(v, u.collectionRef);
|
|
45
45
|
return /* @__PURE__ */ i(f, { ref: m, children: A });
|
|
46
46
|
}
|
|
47
47
|
);
|
|
48
48
|
p.displayName = d;
|
|
49
|
-
const a = n + "CollectionItemSlot", h = "data-radix-collection-item", g =
|
|
49
|
+
const a = n + "CollectionItemSlot", h = "data-radix-collection-item", g = V(a), N = l.forwardRef(
|
|
50
50
|
(b, v) => {
|
|
51
|
-
const { scope: I, children: A, ...u } = b, m = l.useRef(null), E =
|
|
52
|
-
return l.useEffect(() => (
|
|
51
|
+
const { scope: I, children: A, ...u } = b, m = l.useRef(null), E = $(v, m), P = r(a, I);
|
|
52
|
+
return l.useEffect(() => (P.itemMap.set(m, { ref: m, ...u }), () => void P.itemMap.delete(m))), /* @__PURE__ */ i(g, { [h]: "", ref: E, children: A });
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
N.displayName = a;
|
|
@@ -60,7 +60,7 @@ function _e(n) {
|
|
|
60
60
|
if (!A) return [];
|
|
61
61
|
const u = Array.from(A.querySelectorAll(`[${h}]`));
|
|
62
62
|
return Array.from(v.itemMap.values()).sort(
|
|
63
|
-
(
|
|
63
|
+
(P, _) => u.indexOf(P.ref.current) - u.indexOf(_.ref.current)
|
|
64
64
|
);
|
|
65
65
|
}, [v.collectionRef, v.itemMap]);
|
|
66
66
|
}
|
|
@@ -70,7 +70,7 @@ function _e(n) {
|
|
|
70
70
|
t
|
|
71
71
|
];
|
|
72
72
|
}
|
|
73
|
-
y(
|
|
73
|
+
y(Pe, "createCollection");
|
|
74
74
|
var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
|
|
75
75
|
constructor(e) {
|
|
76
76
|
super(e);
|
|
@@ -147,12 +147,12 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
|
|
|
147
147
|
return t !== void 0 ? this.delete(t) : !1;
|
|
148
148
|
}
|
|
149
149
|
at(e) {
|
|
150
|
-
const t =
|
|
150
|
+
const t = K(w(this, x), e);
|
|
151
151
|
if (t !== void 0)
|
|
152
152
|
return this.get(t);
|
|
153
153
|
}
|
|
154
154
|
entryAt(e) {
|
|
155
|
-
const t =
|
|
155
|
+
const t = K(w(this, x), e);
|
|
156
156
|
if (t !== void 0)
|
|
157
157
|
return [t, this.get(t)];
|
|
158
158
|
}
|
|
@@ -160,7 +160,7 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
|
|
|
160
160
|
return w(this, x).indexOf(e);
|
|
161
161
|
}
|
|
162
162
|
keyAt(e) {
|
|
163
|
-
return
|
|
163
|
+
return K(w(this, x), e);
|
|
164
164
|
}
|
|
165
165
|
from(e, t) {
|
|
166
166
|
const s = this.indexOf(e);
|
|
@@ -270,18 +270,18 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
|
|
|
270
270
|
return !1;
|
|
271
271
|
}
|
|
272
272
|
}, x = new WeakMap(), y(S, "OrderedDict"), S);
|
|
273
|
-
function
|
|
273
|
+
function K(n, o) {
|
|
274
274
|
if ("at" in Array.prototype)
|
|
275
275
|
return Array.prototype.at.call(n, o);
|
|
276
|
-
const e =
|
|
276
|
+
const e = _e(n, o);
|
|
277
277
|
return e === -1 ? void 0 : n[e];
|
|
278
278
|
}
|
|
279
|
-
y(
|
|
280
|
-
function
|
|
279
|
+
y(K, "at");
|
|
280
|
+
function _e(n, o) {
|
|
281
281
|
const e = n.length, t = ne(o), s = t >= 0 ? t : e + t;
|
|
282
282
|
return s < 0 || s >= e ? -1 : s;
|
|
283
283
|
}
|
|
284
|
-
y(
|
|
284
|
+
y(_e, "toSafeIndex");
|
|
285
285
|
function ne(n) {
|
|
286
286
|
return n !== n || n === 0 ? 0 : Math.trunc(n);
|
|
287
287
|
}
|
|
@@ -306,18 +306,18 @@ function nt(n) {
|
|
|
306
306
|
}, "CollectionInit");
|
|
307
307
|
d.displayName = o + "Init";
|
|
308
308
|
const f = /* @__PURE__ */ y((u) => {
|
|
309
|
-
const { scope: m, children: E, state:
|
|
309
|
+
const { scope: m, children: E, state: P } = u, _ = l.useRef(null), [k, R] = l.useState(
|
|
310
310
|
null
|
|
311
|
-
), U =
|
|
311
|
+
), U = $(_, R), [W, Y] = P;
|
|
312
312
|
return l.useEffect(() => {
|
|
313
313
|
if (!k) return;
|
|
314
|
-
const
|
|
314
|
+
const L = Ee(() => {
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return L.observe(k, {
|
|
317
317
|
childList: !0,
|
|
318
318
|
subtree: !0
|
|
319
319
|
}), () => {
|
|
320
|
-
|
|
320
|
+
L.disconnect();
|
|
321
321
|
};
|
|
322
322
|
}, [k]), /* @__PURE__ */ i(
|
|
323
323
|
s,
|
|
@@ -326,31 +326,31 @@ function nt(n) {
|
|
|
326
326
|
itemMap: W,
|
|
327
327
|
setItemMap: Y,
|
|
328
328
|
collectionRef: U,
|
|
329
|
-
collectionRefObject:
|
|
329
|
+
collectionRefObject: _,
|
|
330
330
|
collectionElement: k,
|
|
331
331
|
children: E
|
|
332
332
|
}
|
|
333
333
|
);
|
|
334
334
|
}, "CollectionProviderImpl");
|
|
335
335
|
f.displayName = o + "Impl";
|
|
336
|
-
const p = n + "CollectionSlot", a =
|
|
336
|
+
const p = n + "CollectionSlot", a = V(p), h = l.forwardRef(
|
|
337
337
|
(u, m) => {
|
|
338
|
-
const { scope: E, children:
|
|
339
|
-
return /* @__PURE__ */ i(a, { ref: k, children:
|
|
338
|
+
const { scope: E, children: P } = u, _ = r(p, E), k = $(m, _.collectionRef);
|
|
339
|
+
return /* @__PURE__ */ i(a, { ref: k, children: P });
|
|
340
340
|
}
|
|
341
341
|
);
|
|
342
342
|
h.displayName = p;
|
|
343
|
-
const g = n + "CollectionItemSlot", N = "data-radix-collection-item", C =
|
|
343
|
+
const g = n + "CollectionItemSlot", N = "data-radix-collection-item", C = V(g), b = l.forwardRef(
|
|
344
344
|
(u, m) => {
|
|
345
|
-
const { scope: E, children:
|
|
346
|
-
Se(J.current,
|
|
345
|
+
const { scope: E, children: P, ..._ } = u, k = l.useRef(null), [R, U] = l.useState(null), W = $(m, k, U), Y = r(g, E), { setItemMap: L } = Y, J = l.useRef(_);
|
|
346
|
+
Se(J.current, _) || (J.current = _);
|
|
347
347
|
const ge = J.current;
|
|
348
348
|
return l.useEffect(() => {
|
|
349
349
|
const ve = ge;
|
|
350
|
-
return
|
|
351
|
-
|
|
350
|
+
return L((T) => R ? T.has(R) ? T.set(R, { ...ve, element: R }).toSorted(Z) : (T.set(R, { ...ve, element: R }), T.toSorted(Z)) : T), () => {
|
|
351
|
+
L((T) => !R || !T.has(R) ? T : (T.delete(R), new X(T)));
|
|
352
352
|
};
|
|
353
|
-
}, [R, ge,
|
|
353
|
+
}, [R, ge, L]), /* @__PURE__ */ i(C, { [N]: "", ref: W, children: P });
|
|
354
354
|
}
|
|
355
355
|
);
|
|
356
356
|
b.displayName = g;
|
|
@@ -467,7 +467,7 @@ var it = Object.defineProperty, j = (n, o) => it(n, "name", { value: o, configur
|
|
|
467
467
|
return /* @__PURE__ */ i(Qe, { present: t || r.open, children: ({ present: c }) => /* @__PURE__ */ i(ht, { ...s, ref: e, present: c }) });
|
|
468
468
|
}, "CollapsibleContent")
|
|
469
469
|
), ht = /* @__PURE__ */ l.forwardRef(/* @__PURE__ */ j(function(o, e) {
|
|
470
|
-
const { __scopeCollapsible: t, present: s, children: r, ...c } = o, d = se(Te, t), [f, p] = l.useState(s), a = l.useRef(null), h =
|
|
470
|
+
const { __scopeCollapsible: t, present: s, children: r, ...c } = o, d = se(Te, t), [f, p] = l.useState(s), a = l.useRef(null), h = $(e, a), g = l.useRef(0), N = g.current, C = l.useRef(0), b = C.current, v = d.open || f, I = l.useRef(v), A = l.useRef(void 0);
|
|
471
471
|
return l.useEffect(() => {
|
|
472
472
|
const u = requestAnimationFrame(() => I.current = !1);
|
|
473
473
|
return () => cancelAnimationFrame(u);
|
|
@@ -503,7 +503,7 @@ function H(n) {
|
|
|
503
503
|
return n ? "open" : "closed";
|
|
504
504
|
}
|
|
505
505
|
j(H, "getState");
|
|
506
|
-
var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "name", { value: o, configurable: !0 }), D = "Accordion", bt = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [ce, xt, yt] = /* @__PURE__ */
|
|
506
|
+
var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "name", { value: o, configurable: !0 }), D = "Accordion", bt = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [ce, xt, yt] = /* @__PURE__ */ Pe(D), [B, Ft] = q(D, [
|
|
507
507
|
yt,
|
|
508
508
|
ke
|
|
509
509
|
]), ie = ke(), It = /* @__PURE__ */ l.forwardRef(
|
|
@@ -512,7 +512,7 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
|
|
|
512
512
|
const { type: t, ...s } = o, r = s, c = s;
|
|
513
513
|
return /* @__PURE__ */ i(ce.Provider, { scope: o.__scopeAccordion, children: t === "multiple" ? /* @__PURE__ */ i(Nt, { ...c, ref: e }) : /* @__PURE__ */ i(wt, { ...r, ref: e }) });
|
|
514
514
|
}, "Accordion")
|
|
515
|
-
), [De, At] = B(D), [
|
|
515
|
+
), [De, At] = B(D), [$e, Rt] = B(
|
|
516
516
|
D,
|
|
517
517
|
{ collapsible: !1 }
|
|
518
518
|
), wt = /* @__PURE__ */ l.forwardRef(
|
|
@@ -538,7 +538,7 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
|
|
|
538
538
|
value: l.useMemo(() => f ? [f] : [], [f]),
|
|
539
539
|
onItemOpen: p,
|
|
540
540
|
onItemClose: l.useCallback(() => c && p(""), [c, p]),
|
|
541
|
-
children: /* @__PURE__ */ i(
|
|
541
|
+
children: /* @__PURE__ */ i($e, { scope: o.__scopeAccordion, collapsible: c, children: /* @__PURE__ */ i(Le, { ...d, ref: e }) })
|
|
542
542
|
}
|
|
543
543
|
);
|
|
544
544
|
}, "AccordionImplSingle")
|
|
@@ -568,20 +568,20 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
|
|
|
568
568
|
value: d,
|
|
569
569
|
onItemOpen: p,
|
|
570
570
|
onItemClose: a,
|
|
571
|
-
children: /* @__PURE__ */ i(
|
|
571
|
+
children: /* @__PURE__ */ i($e, { scope: o.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ i(Le, { ...c, ref: e }) })
|
|
572
572
|
}
|
|
573
573
|
);
|
|
574
|
-
}, "AccordionImplMultiple")), [
|
|
574
|
+
}, "AccordionImplMultiple")), [Pt, F] = B(D), Le = /* @__PURE__ */ l.forwardRef(
|
|
575
575
|
/* @__PURE__ */ O(function(o, e) {
|
|
576
|
-
const { __scopeAccordion: t, disabled: s, dir: r, orientation: c = "vertical", ...d } = o, f = l.useRef(null), p =
|
|
576
|
+
const { __scopeAccordion: t, disabled: s, dir: r, orientation: c = "vertical", ...d } = o, f = l.useRef(null), p = $(f, e), a = xt(t), g = Me(r) === "ltr", N = Ne(o.onKeyDown, (C) => {
|
|
577
577
|
if (!bt.includes(C.key)) return;
|
|
578
578
|
const b = C.target, v = a().filter((R) => !R.ref.current?.disabled), I = v.findIndex((R) => R.ref.current === b), A = v.length;
|
|
579
579
|
if (I === -1) return;
|
|
580
580
|
C.preventDefault();
|
|
581
581
|
let u = I;
|
|
582
|
-
const m = 0, E = A - 1,
|
|
582
|
+
const m = 0, E = A - 1, P = /* @__PURE__ */ O(() => {
|
|
583
583
|
u = I + 1, u > E && (u = m);
|
|
584
|
-
}, "moveNext"),
|
|
584
|
+
}, "moveNext"), _ = /* @__PURE__ */ O(() => {
|
|
585
585
|
u = I - 1, u < m && (u = E);
|
|
586
586
|
}, "movePrev");
|
|
587
587
|
switch (C.key) {
|
|
@@ -592,23 +592,23 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
|
|
|
592
592
|
u = E;
|
|
593
593
|
break;
|
|
594
594
|
case "ArrowRight":
|
|
595
|
-
c === "horizontal" && (g ?
|
|
595
|
+
c === "horizontal" && (g ? P() : _());
|
|
596
596
|
break;
|
|
597
597
|
case "ArrowDown":
|
|
598
|
-
c === "vertical" &&
|
|
598
|
+
c === "vertical" && P();
|
|
599
599
|
break;
|
|
600
600
|
case "ArrowLeft":
|
|
601
|
-
c === "horizontal" && (g ?
|
|
601
|
+
c === "horizontal" && (g ? _() : P());
|
|
602
602
|
break;
|
|
603
603
|
case "ArrowUp":
|
|
604
|
-
c === "vertical" &&
|
|
604
|
+
c === "vertical" && _();
|
|
605
605
|
break;
|
|
606
606
|
}
|
|
607
607
|
const k = u % A;
|
|
608
608
|
v[k].ref.current?.focus();
|
|
609
609
|
});
|
|
610
610
|
return /* @__PURE__ */ i(
|
|
611
|
-
|
|
611
|
+
Pt,
|
|
612
612
|
{
|
|
613
613
|
scope: t,
|
|
614
614
|
disabled: s,
|
|
@@ -626,11 +626,11 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
|
|
|
626
626
|
}
|
|
627
627
|
);
|
|
628
628
|
}, "AccordionImpl")
|
|
629
|
-
), ee = "AccordionItem", [
|
|
629
|
+
), ee = "AccordionItem", [_t, le] = B(ee), St = /* @__PURE__ */ l.forwardRef(
|
|
630
630
|
/* @__PURE__ */ O(function(o, e) {
|
|
631
631
|
const { __scopeAccordion: t, value: s, ...r } = o, c = F(ee, t), d = At(ee, t), f = ie(t), p = we(), a = s && d.value.includes(s) || !1, h = c.disabled || o.disabled;
|
|
632
632
|
return /* @__PURE__ */ i(
|
|
633
|
-
|
|
633
|
+
_t,
|
|
634
634
|
{
|
|
635
635
|
scope: t,
|
|
636
636
|
open: a,
|
|
@@ -711,13 +711,13 @@ function ae(n) {
|
|
|
711
711
|
return n ? "open" : "closed";
|
|
712
712
|
}
|
|
713
713
|
O(ae, "getState");
|
|
714
|
-
var Dt = It,
|
|
714
|
+
var Dt = It, $t = St, Lt = Et, ze = Mt, je = Tt, Ke = Dt, de = l.forwardRef(({ className: n, ...o }, e) => /* @__PURE__ */ i($t, {
|
|
715
715
|
ref: e,
|
|
716
716
|
className: te("cds-border-b cds-border-border", n),
|
|
717
717
|
...o
|
|
718
718
|
}));
|
|
719
719
|
de.displayName = "AccordionItem";
|
|
720
|
-
var ue = l.forwardRef(({ className: n, children: o, ...e }, t) => /* @__PURE__ */ i(
|
|
720
|
+
var ue = l.forwardRef(({ className: n, children: o, ...e }, t) => /* @__PURE__ */ i(Lt, {
|
|
721
721
|
className: "cds-flex",
|
|
722
722
|
children: /* @__PURE__ */ M(ze, {
|
|
723
723
|
ref: t,
|
|
@@ -739,7 +739,7 @@ var fe = l.forwardRef(({ className: n, children: o, ...e }, t) => /* @__PURE__ *
|
|
|
739
739
|
fe.displayName = je.displayName;
|
|
740
740
|
var zt = /* @__PURE__ */ Be({
|
|
741
741
|
GroupEntries: () => me,
|
|
742
|
-
ReviewEditButton: () =>
|
|
742
|
+
ReviewEditButton: () => Ve,
|
|
743
743
|
ReviewPanel: () => qe,
|
|
744
744
|
RowList: () => G,
|
|
745
745
|
sectionClass: () => pe,
|
|
@@ -760,7 +760,7 @@ var zt = /* @__PURE__ */ Be({
|
|
|
760
760
|
children: o.value
|
|
761
761
|
})]
|
|
762
762
|
}, o.key))
|
|
763
|
-
}),
|
|
763
|
+
}), Ve = ({ label: n, onClick: o }) => /* @__PURE__ */ M("button", {
|
|
764
764
|
type: "button",
|
|
765
765
|
onClick: o,
|
|
766
766
|
"aria-label": `Edit ${n}`,
|
|
@@ -834,7 +834,7 @@ var zt = /* @__PURE__ */ Be({
|
|
|
834
834
|
children: [/* @__PURE__ */ i("h3", {
|
|
835
835
|
className: he,
|
|
836
836
|
children: h
|
|
837
|
-
}), /* @__PURE__ */ i(
|
|
837
|
+
}), /* @__PURE__ */ i(Ve, {
|
|
838
838
|
label: h,
|
|
839
839
|
onClick: () => c(a.stage)
|
|
840
840
|
})]
|
|
@@ -859,7 +859,7 @@ var zt = /* @__PURE__ */ Be({
|
|
|
859
859
|
}, me = ({ group: n }) => n.entries.length ? /* @__PURE__ */ M(Je, { children: [/* @__PURE__ */ i("p", {
|
|
860
860
|
className: "cds-mb-1 cds-text-sm cds-text-fg-muted",
|
|
861
861
|
children: jt(n)
|
|
862
|
-
}), /* @__PURE__ */ i(
|
|
862
|
+
}), /* @__PURE__ */ i(Ke, {
|
|
863
863
|
type: "multiple",
|
|
864
864
|
children: n.entries.map((o, e) => /* @__PURE__ */ M(de, {
|
|
865
865
|
value: `${n.groupKey}-${e}`,
|
|
@@ -889,7 +889,7 @@ const Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
889
889
|
n: qe,
|
|
890
890
|
o: he,
|
|
891
891
|
r: G,
|
|
892
|
-
s:
|
|
892
|
+
s: Ke,
|
|
893
893
|
t: me,
|
|
894
894
|
u: ue
|
|
895
895
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as O,
|
|
1
|
+
import { t as O, a1 as P, a2 as V, a3 as x, a4 as D } from "./widget-CpC6N1oq.js";
|
|
2
2
|
import { t as q, n as k } from "./types-LUGvo5ic-CiVRcsV9.js";
|
|
3
|
-
import { k as d, j as f, n as F, u as L, c as U, d as R, A as j } from "./visibility-
|
|
4
|
-
import { A as b } from "./validation-
|
|
5
|
-
import { t as $, l as Y, a as Q, o as M, i as K, f as I, n as W, r as B } from "./vehicleCoverage-
|
|
3
|
+
import { k as d, j as f, n as F, u as L, c as U, d as R, A as j } from "./visibility-iwttXt0y-DtOOYFcv.js";
|
|
4
|
+
import { A as b } from "./validation-Db4WCn17-DiPhPmjM.js";
|
|
5
|
+
import { t as $, l as Y, a as Q, o as M, i as K, f as I, n as W, r as B } from "./vehicleCoverage-CDBtkdww-Bm9pGAq7.js";
|
|
6
6
|
(function() {
|
|
7
7
|
if (typeof s > "u")
|
|
8
8
|
var s = { env: {} };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as gt } from "./visibility-
|
|
1
|
+
import { al as _t } from "./widget-CpC6N1oq.js";
|
|
2
|
+
import { _ as gt } from "./visibility-iwttXt0y-DtOOYFcv.js";
|
|
3
3
|
(function() {
|
|
4
4
|
if (typeof e > "u")
|
|
5
5
|
var e = { env: {} };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as h } from "./widget-
|
|
2
|
-
import { _ as f } from "./visibility-
|
|
3
|
-
import { k as p } from "./validation-
|
|
1
|
+
import { t as h } from "./widget-CpC6N1oq.js";
|
|
2
|
+
import { _ as f } from "./visibility-iwttXt0y-DtOOYFcv.js";
|
|
3
|
+
import { k as p } from "./validation-Db4WCn17-DiPhPmjM.js";
|
|
4
4
|
(function() {
|
|
5
5
|
if (typeof o > "u")
|
|
6
6
|
var o = { env: {} };
|