@turquoisehealth/pit-viper 2.252.0 → 2.252.1

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 (48) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  20. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +8 -0
  21. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
  22. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +8 -0
  23. package/pv-components/dist/vue/base/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
  24. package/pv-components/dist/vue/base/pv-components-base.mjs +73 -70
  25. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  26. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +8 -0
  27. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
  28. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
  29. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +415 -412
  30. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  31. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +226 -223
  32. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1735 -1732
  33. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +356 -353
  34. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +650 -647
  35. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1241 -1238
  36. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +421 -418
  37. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +108 -106
  38. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +70 -67
  39. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +343 -340
  40. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +146 -143
  41. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +805 -802
  42. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +362 -359
  43. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +694 -692
  44. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +736 -734
  45. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +177 -174
  46. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +227 -224
  47. package/pv-components/dist/web/pv-components.iife.js +2 -2
  48. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -14,72 +14,72 @@ var se = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, le = Objec
14
14
  enumerable: !(r = ce(t, s)) || r.enumerable
15
15
  });
16
16
  return e;
17
- }, pe = (e, t, n) => (fe(e, t, "default"), n && fe(n, t, "default")), me = Math.min, N = Math.max, P = Math.round, F = (e) => ({
17
+ }, pe = (e, t, n) => (fe(e, t, "default"), n && fe(n, t, "default")), me = Math.min, he = Math.max, N = Math.round, P = (e) => ({
18
18
  x: e,
19
19
  y: e
20
- }), he = {
20
+ }), ge = {
21
21
  left: "right",
22
22
  right: "left",
23
23
  bottom: "top",
24
24
  top: "bottom"
25
25
  };
26
- function I(e, t) {
26
+ function _e(e, t) {
27
27
  return typeof e == "function" ? e(t) : e;
28
28
  }
29
- function L(e) {
29
+ function F(e) {
30
30
  return e.split("-")[0];
31
31
  }
32
- function ge(e) {
32
+ function ve(e) {
33
33
  return e.split("-")[1];
34
34
  }
35
- function _e(e) {
35
+ function ye(e) {
36
36
  return e === "x" ? "y" : "x";
37
37
  }
38
- function ve(e) {
38
+ function be(e) {
39
39
  return e === "y" ? "height" : "width";
40
40
  }
41
- function ye(e) {
41
+ function I(e) {
42
42
  let t = e[0];
43
43
  return t === "t" || t === "b" ? "y" : "x";
44
44
  }
45
- function be(e) {
46
- return _e(ye(e));
45
+ function xe(e) {
46
+ return ye(I(e));
47
47
  }
48
- function xe(e, t, n) {
48
+ function Se(e, t, n) {
49
49
  n === void 0 && (n = !1);
50
- let r = ge(e), i = be(e), a = ve(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
51
- return t.reference[a] > t.floating[a] && (o = Ae(o)), [o, Ae(o)];
50
+ let r = ve(e), i = xe(e), a = be(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
51
+ return t.reference[a] > t.floating[a] && (o = je(o)), [o, je(o)];
52
52
  }
53
- function Se(e) {
54
- let t = Ae(e);
53
+ function Ce(e) {
54
+ let t = je(e);
55
55
  return [
56
- Ce(e),
56
+ we(e),
57
57
  t,
58
- Ce(t)
58
+ we(t)
59
59
  ];
60
60
  }
61
- function Ce(e) {
61
+ function we(e) {
62
62
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
63
63
  }
64
- var we = ["left", "right"], Te = ["right", "left"], Ee = ["top", "bottom"], De = ["bottom", "top"];
65
- function Oe(e, t, n) {
64
+ var Te = ["left", "right"], Ee = ["right", "left"], De = ["top", "bottom"], Oe = ["bottom", "top"];
65
+ function ke(e, t, n) {
66
66
  switch (e) {
67
67
  case "top":
68
- case "bottom": return n ? t ? Te : we : t ? we : Te;
68
+ case "bottom": return n ? t ? Ee : Te : t ? Te : Ee;
69
69
  case "left":
70
- case "right": return t ? Ee : De;
70
+ case "right": return t ? De : Oe;
71
71
  default: return [];
72
72
  }
73
73
  }
74
- function ke(e, t, n, r) {
75
- let i = ge(e), a = Oe(L(e), n === "start", r);
76
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Ce)))), a;
77
- }
78
- function Ae(e) {
79
- let t = L(e);
80
- return he[t] + e.slice(t.length);
74
+ function Ae(e, t, n, r) {
75
+ let i = ve(e), a = ke(F(e), n === "start", r);
76
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(we)))), a;
81
77
  }
82
78
  function je(e) {
79
+ let t = F(e);
80
+ return ge[t] + e.slice(t.length);
81
+ }
82
+ function Me(e) {
83
83
  return {
84
84
  top: 0,
85
85
  right: 0,
@@ -88,15 +88,15 @@ function je(e) {
88
88
  ...e
89
89
  };
90
90
  }
91
- function Me(e) {
91
+ function Ne(e) {
92
92
  return typeof e == "number" ? {
93
93
  top: e,
94
94
  right: e,
95
95
  bottom: e,
96
96
  left: e
97
- } : je(e);
97
+ } : Me(e);
98
98
  }
99
- function Ne(e) {
99
+ function Pe(e) {
100
100
  let { x: t, y: n, width: r, height: i } = e;
101
101
  return {
102
102
  width: r,
@@ -111,8 +111,8 @@ function Ne(e) {
111
111
  }
112
112
  //#endregion
113
113
  //#region ../node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
114
- function Pe(e, t, n) {
115
- let { reference: r, floating: i } = e, a = ye(t), o = be(t), s = ve(o), c = L(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
114
+ function Fe(e, t, n) {
115
+ let { reference: r, floating: i } = e, a = I(t), o = xe(t), s = be(o), c = F(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
116
116
  switch (c) {
117
117
  case "top":
118
118
  p = {
@@ -143,7 +143,7 @@ function Pe(e, t, n) {
143
143
  y: r.y
144
144
  };
145
145
  }
146
- switch (ge(t)) {
146
+ switch (ve(t)) {
147
147
  case "start":
148
148
  p[o] -= f * (n && l ? -1 : 1);
149
149
  break;
@@ -153,9 +153,9 @@ function Pe(e, t, n) {
153
153
  }
154
154
  return p;
155
155
  }
156
- async function Fe(e, t) {
156
+ async function Ie(e, t) {
157
157
  t === void 0 && (t = {});
158
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = I(t, e), p = Me(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Ne(await i.getClippingRect({
158
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = _e(t, e), p = Ne(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Pe(await i.getClippingRect({
159
159
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
160
160
  boundary: c,
161
161
  rootBoundary: l,
@@ -168,7 +168,7 @@ async function Fe(e, t) {
168
168
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
169
169
  x: 1,
170
170
  y: 1
171
- }, y = Ne(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
171
+ }, y = Pe(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
172
172
  elements: o,
173
173
  rect: g,
174
174
  offsetParent: _,
@@ -181,15 +181,15 @@ async function Fe(e, t) {
181
181
  right: (y.right - h.right + p.right) / v.x
182
182
  };
183
183
  }
184
- var Ie = 50, Le = async (e, t, n) => {
184
+ var Le = 50, Re = async (e, t, n) => {
185
185
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
186
186
  ...o,
187
- detectOverflow: Fe
187
+ detectOverflow: Ie
188
188
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
189
189
  reference: e,
190
190
  floating: t,
191
191
  strategy: i
192
- }), { x: u, y: d } = Pe(l, r, c), f = r, p = 0, m = {};
192
+ }), { x: u, y: d } = Fe(l, r, c), f = r, p = 0, m = {};
193
193
  for (let n = 0; n < a.length; n++) {
194
194
  let h = a[n];
195
195
  if (!h) continue;
@@ -210,11 +210,11 @@ var Ie = 50, Le = async (e, t, n) => {
210
210
  u = v ?? u, d = y ?? d, m[g] = {
211
211
  ...m[g],
212
212
  ...b
213
- }, x && p < Ie && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
213
+ }, x && p < Le && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
214
214
  reference: e,
215
215
  floating: t,
216
216
  strategy: i
217
- }) : x.rects), {x: u, y: d} = Pe(l, f, c)), n = -1);
217
+ }) : x.rects), {x: u, y: d} = Fe(l, f, c)), n = -1);
218
218
  }
219
219
  return {
220
220
  x: u,
@@ -223,19 +223,19 @@ var Ie = 50, Le = async (e, t, n) => {
223
223
  strategy: i,
224
224
  middlewareData: m
225
225
  };
226
- }, Re = function(e) {
226
+ }, ze = function(e) {
227
227
  return e === void 0 && (e = {}), {
228
228
  name: "flip",
229
229
  options: e,
230
230
  async fn(t) {
231
231
  var n;
232
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = I(e, t);
232
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = _e(e, t);
233
233
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
234
- let g = L(r), _ = ye(o), v = L(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Ae(o)] : Se(o)), x = p !== "none";
235
- !d && x && b.push(...ke(o, m, p, y));
234
+ let g = F(r), _ = I(o), v = F(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [je(o)] : Ce(o)), x = p !== "none";
235
+ !d && x && b.push(...Ae(o, m, p, y));
236
236
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
237
237
  if (l && w.push(C[g]), u) {
238
- let e = xe(r, a, y);
238
+ let e = Se(r, a, y);
239
239
  w.push(C[e[0]], C[e[1]]);
240
240
  }
241
241
  if (T = [...T, {
@@ -243,7 +243,7 @@ var Ie = 50, Le = async (e, t, n) => {
243
243
  overflows: w
244
244
  }], !w.every((e) => e <= 0)) {
245
245
  let e = (i.flip?.index || 0) + 1, t = S[e];
246
- if (t && (!(u === "alignment" && _ !== ye(t)) || T.every((e) => ye(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
246
+ if (t && (!(u === "alignment" && _ !== I(t)) || T.every((e) => I(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
247
247
  data: {
248
248
  index: e,
249
249
  overflows: T
@@ -255,7 +255,7 @@ var Ie = 50, Le = async (e, t, n) => {
255
255
  case "bestFit": {
256
256
  let e = T.filter((e) => {
257
257
  if (x) {
258
- let t = ye(e.placement);
258
+ let t = I(e.placement);
259
259
  return t === _ || t === "y";
260
260
  }
261
261
  return !0;
@@ -272,9 +272,9 @@ var Ie = 50, Le = async (e, t, n) => {
272
272
  return {};
273
273
  }
274
274
  };
275
- }, ze = /* @__PURE__ */ new Set(["left", "top"]);
276
- async function Be(e, t) {
277
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = L(n), s = ge(n), c = ye(n) === "y", l = ze.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = I(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
275
+ }, Be = /* @__PURE__ */ new Set(["left", "top"]);
276
+ async function Ve(e, t) {
277
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = F(n), s = ve(n), c = I(n) === "y", l = Be.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = _e(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
278
278
  mainAxis: d,
279
279
  crossAxis: 0,
280
280
  alignmentAxis: null
@@ -291,13 +291,13 @@ async function Be(e, t) {
291
291
  y: p * u
292
292
  };
293
293
  }
294
- var Ve = function(e) {
294
+ var He = function(e) {
295
295
  return e === void 0 && (e = 0), {
296
296
  name: "offset",
297
297
  options: e,
298
298
  async fn(t) {
299
299
  var n;
300
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Be(t, e);
300
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Ve(t, e);
301
301
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
302
302
  x: r + s.x,
303
303
  y: i + s.y,
@@ -311,39 +311,39 @@ var Ve = function(e) {
311
311
  };
312
312
  //#endregion
313
313
  //#region ../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
314
- function He() {
314
+ function Ue() {
315
315
  return typeof window < "u";
316
316
  }
317
- function Ue(e) {
318
- return We(e) ? (e.nodeName || "").toLowerCase() : "#document";
317
+ function We(e) {
318
+ return Ge(e) ? (e.nodeName || "").toLowerCase() : "#document";
319
319
  }
320
- function R(e) {
320
+ function L(e) {
321
321
  var t;
322
322
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
323
323
  }
324
- function z(e) {
325
- return ((We(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
326
- }
327
- function We(e) {
328
- return He() ? e instanceof Node || e instanceof R(e).Node : !1;
324
+ function R(e) {
325
+ return ((Ge(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
329
326
  }
330
- function B(e) {
331
- return He() ? e instanceof Element || e instanceof R(e).Element : !1;
327
+ function Ge(e) {
328
+ return Ue() ? e instanceof Node || e instanceof L(e).Node : !1;
332
329
  }
333
- function V(e) {
334
- return He() ? e instanceof HTMLElement || e instanceof R(e).HTMLElement : !1;
330
+ function z(e) {
331
+ return Ue() ? e instanceof Element || e instanceof L(e).Element : !1;
335
332
  }
336
- function Ge(e) {
337
- return !He() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof R(e).ShadowRoot;
333
+ function B(e) {
334
+ return Ue() ? e instanceof HTMLElement || e instanceof L(e).HTMLElement : !1;
338
335
  }
339
336
  function Ke(e) {
340
- let { overflow: t, overflowX: n, overflowY: r, display: i } = H(e);
341
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
337
+ return !Ue() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof L(e).ShadowRoot;
342
338
  }
343
339
  function qe(e) {
344
- return /^(table|td|th)$/.test(Ue(e));
340
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = V(e);
341
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
345
342
  }
346
343
  function Je(e) {
344
+ return /^(table|td|th)$/.test(We(e));
345
+ }
346
+ function Ye(e) {
347
347
  try {
348
348
  if (e.matches(":popover-open")) return !0;
349
349
  } catch {}
@@ -353,31 +353,31 @@ function Je(e) {
353
353
  return !1;
354
354
  }
355
355
  }
356
- var Ye = /transform|translate|scale|rotate|perspective|filter/, Xe = /paint|layout|strict|content/, Ze = (e) => !!e && e !== "none", Qe;
357
- function $e(e) {
358
- let t = B(e) ? H(e) : e;
359
- return Ze(t.transform) || Ze(t.translate) || Ze(t.scale) || Ze(t.rotate) || Ze(t.perspective) || !tt() && (Ze(t.backdropFilter) || Ze(t.filter)) || Ye.test(t.willChange || "") || Xe.test(t.contain || "");
360
- }
356
+ var Xe = /transform|translate|scale|rotate|perspective|filter/, Ze = /paint|layout|strict|content/, Qe = (e) => !!e && e !== "none", $e;
361
357
  function et(e) {
362
- let t = it(e);
363
- for (; V(t) && !nt(t);) {
364
- if ($e(t)) return t;
365
- if (Je(t)) return null;
366
- t = it(t);
358
+ let t = z(e) ? V(e) : e;
359
+ return Qe(t.transform) || Qe(t.translate) || Qe(t.scale) || Qe(t.rotate) || Qe(t.perspective) || !nt() && (Qe(t.backdropFilter) || Qe(t.filter)) || Xe.test(t.willChange || "") || Ze.test(t.contain || "");
360
+ }
361
+ function tt(e) {
362
+ let t = H(e);
363
+ for (; B(t) && !rt(t);) {
364
+ if (et(t)) return t;
365
+ if (Ye(t)) return null;
366
+ t = H(t);
367
367
  }
368
368
  return null;
369
369
  }
370
- function tt() {
371
- return Qe ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Qe;
370
+ function nt() {
371
+ return $e ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), $e;
372
372
  }
373
- function nt(e) {
374
- return /^(html|body|#document)$/.test(Ue(e));
373
+ function rt(e) {
374
+ return /^(html|body|#document)$/.test(We(e));
375
375
  }
376
- function H(e) {
377
- return R(e).getComputedStyle(e);
376
+ function V(e) {
377
+ return L(e).getComputedStyle(e);
378
378
  }
379
- function rt(e) {
380
- return B(e) ? {
379
+ function it(e) {
380
+ return z(e) ? {
381
381
  scrollLeft: e.scrollLeft,
382
382
  scrollTop: e.scrollTop
383
383
  } : {
@@ -385,21 +385,21 @@ function rt(e) {
385
385
  scrollTop: e.scrollY
386
386
  };
387
387
  }
388
- function it(e) {
389
- if (Ue(e) === "html") return e;
390
- let t = e.assignedSlot || e.parentNode || Ge(e) && e.host || z(e);
391
- return Ge(t) ? t.host : t;
388
+ function H(e) {
389
+ if (We(e) === "html") return e;
390
+ let t = e.assignedSlot || e.parentNode || Ke(e) && e.host || R(e);
391
+ return Ke(t) ? t.host : t;
392
392
  }
393
393
  function at(e) {
394
- let t = it(e);
395
- return nt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : V(t) && Ke(t) ? t : at(t);
394
+ let t = H(e);
395
+ return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : B(t) && qe(t) ? t : at(t);
396
396
  }
397
397
  function ot(e, t, n) {
398
398
  t === void 0 && (t = []), n === void 0 && (n = !0);
399
- let r = at(e), i = r === e.ownerDocument?.body, a = R(r);
399
+ let r = at(e), i = r === e.ownerDocument?.body, a = L(r);
400
400
  if (i) {
401
401
  let e = st(a);
402
- return t.concat(a, a.visualViewport || [], Ke(r) ? r : [], e && n ? ot(e) : []);
402
+ return t.concat(a, a.visualViewport || [], qe(r) ? r : [], e && n ? ot(e) : []);
403
403
  } else return t.concat(r, ot(r, [], n));
404
404
  }
405
405
  function st(e) {
@@ -408,7 +408,7 @@ function st(e) {
408
408
  //#endregion
409
409
  //#region ../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
410
410
  function ct(e) {
411
- let t = H(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = V(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = P(n) !== a || P(r) !== o;
411
+ let t = V(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = B(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = N(n) !== a || N(r) !== o;
412
412
  return s && (n = a, r = o), {
413
413
  width: n,
414
414
  height: r,
@@ -416,41 +416,41 @@ function ct(e) {
416
416
  };
417
417
  }
418
418
  function lt(e) {
419
- return B(e) ? e : e.contextElement;
419
+ return z(e) ? e : e.contextElement;
420
420
  }
421
421
  function ut(e) {
422
422
  let t = lt(e);
423
- if (!V(t)) return F(1);
424
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = ct(t), o = (a ? P(n.width) : n.width) / r, s = (a ? P(n.height) : n.height) / i;
423
+ if (!B(t)) return P(1);
424
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = ct(t), o = (a ? N(n.width) : n.width) / r, s = (a ? N(n.height) : n.height) / i;
425
425
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
426
426
  x: o,
427
427
  y: s
428
428
  };
429
429
  }
430
- var dt = /* @__PURE__ */ F(0);
430
+ var dt = /* @__PURE__ */ P(0);
431
431
  function ft(e) {
432
- let t = R(e);
433
- return !tt() || !t.visualViewport ? dt : {
432
+ let t = L(e);
433
+ return !nt() || !t.visualViewport ? dt : {
434
434
  x: t.visualViewport.offsetLeft,
435
435
  y: t.visualViewport.offsetTop
436
436
  };
437
437
  }
438
438
  function pt(e, t, n) {
439
- return t === void 0 && (t = !1), !n || t && n !== R(e) ? !1 : t;
439
+ return t === void 0 && (t = !1), !n || t && n !== L(e) ? !1 : t;
440
440
  }
441
441
  function mt(e, t, n, r) {
442
442
  t === void 0 && (t = !1), n === void 0 && (n = !1);
443
- let i = e.getBoundingClientRect(), a = lt(e), o = F(1);
444
- t && (r ? B(r) && (o = ut(r)) : o = ut(e));
445
- let s = pt(a, n, r) ? ft(a) : F(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
443
+ let i = e.getBoundingClientRect(), a = lt(e), o = P(1);
444
+ t && (r ? z(r) && (o = ut(r)) : o = ut(e));
445
+ let s = pt(a, n, r) ? ft(a) : P(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
446
446
  if (a) {
447
- let e = R(a), t = r && B(r) ? R(r) : r, n = e, i = st(n);
447
+ let e = L(a), t = r && z(r) ? L(r) : r, n = e, i = st(n);
448
448
  for (; i && r && t !== n;) {
449
- let e = ut(i), t = i.getBoundingClientRect(), r = H(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
450
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = R(i), i = st(n);
449
+ let e = ut(i), t = i.getBoundingClientRect(), r = V(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
450
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = L(i), i = st(n);
451
451
  }
452
452
  }
453
- return Ne({
453
+ return Pe({
454
454
  width: u,
455
455
  height: d,
456
456
  x: c,
@@ -458,8 +458,8 @@ function mt(e, t, n, r) {
458
458
  });
459
459
  }
460
460
  function ht(e, t) {
461
- let n = rt(e).scrollLeft;
462
- return t ? t.left + n : mt(z(e)).left + n;
461
+ let n = it(e).scrollLeft;
462
+ return t ? t.left + n : mt(R(e)).left + n;
463
463
  }
464
464
  function gt(e, t) {
465
465
  let n = e.getBoundingClientRect();
@@ -469,17 +469,17 @@ function gt(e, t) {
469
469
  };
470
470
  }
471
471
  function _t(e) {
472
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = z(r), s = t ? Je(t.floating) : !1;
472
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = R(r), s = t ? Ye(t.floating) : !1;
473
473
  if (r === o || s && a) return n;
474
474
  let c = {
475
475
  scrollLeft: 0,
476
476
  scrollTop: 0
477
- }, l = F(1), u = F(0), d = V(r);
478
- if ((d || !d && !a) && ((Ue(r) !== "body" || Ke(o)) && (c = rt(r)), d)) {
477
+ }, l = P(1), u = P(0), d = B(r);
478
+ if ((d || !d && !a) && ((We(r) !== "body" || qe(o)) && (c = it(r)), d)) {
479
479
  let e = mt(r);
480
480
  l = ut(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
481
481
  }
482
- let f = o && !d && !a ? gt(o, c) : F(0);
482
+ let f = o && !d && !a ? gt(o, c) : P(0);
483
483
  return {
484
484
  width: n.width * l.x,
485
485
  height: n.height * l.y,
@@ -491,8 +491,8 @@ function vt(e) {
491
491
  return Array.from(e.getClientRects());
492
492
  }
493
493
  function yt(e) {
494
- let t = z(e), n = rt(e), r = e.ownerDocument.body, i = N(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = N(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + ht(e), s = -n.scrollTop;
495
- return H(r).direction === "rtl" && (o += N(t.clientWidth, r.clientWidth) - i), {
494
+ let t = R(e), n = it(e), r = e.ownerDocument.body, i = he(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = he(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + ht(e), s = -n.scrollTop;
495
+ return V(r).direction === "rtl" && (o += he(t.clientWidth, r.clientWidth) - i), {
496
496
  width: i,
497
497
  height: a,
498
498
  x: o,
@@ -501,10 +501,10 @@ function yt(e) {
501
501
  }
502
502
  var bt = 25;
503
503
  function xt(e, t) {
504
- let n = R(e), r = z(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
504
+ let n = L(e), r = R(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
505
505
  if (i) {
506
506
  a = i.width, o = i.height;
507
- let e = tt();
507
+ let e = nt();
508
508
  (!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
509
509
  }
510
510
  let l = ht(r);
@@ -520,7 +520,7 @@ function xt(e, t) {
520
520
  };
521
521
  }
522
522
  function St(e, t) {
523
- let n = mt(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = V(e) ? ut(e) : F(1);
523
+ let n = mt(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = B(e) ? ut(e) : P(1);
524
524
  return {
525
525
  width: e.clientWidth * a.x,
526
526
  height: e.clientHeight * a.y,
@@ -531,8 +531,8 @@ function St(e, t) {
531
531
  function Ct(e, t, n) {
532
532
  let r;
533
533
  if (t === "viewport") r = xt(e, n);
534
- else if (t === "document") r = yt(z(e));
535
- else if (B(t)) r = St(t, n);
534
+ else if (t === "document") r = yt(R(e));
535
+ else if (z(t)) r = St(t, n);
536
536
  else {
537
537
  let n = ft(e);
538
538
  r = {
@@ -542,27 +542,27 @@ function Ct(e, t, n) {
542
542
  height: t.height
543
543
  };
544
544
  }
545
- return Ne(r);
545
+ return Pe(r);
546
546
  }
547
547
  function wt(e, t) {
548
- let n = it(e);
549
- return n === t || !B(n) || nt(n) ? !1 : H(n).position === "fixed" || wt(n, t);
548
+ let n = H(e);
549
+ return n === t || !z(n) || rt(n) ? !1 : V(n).position === "fixed" || wt(n, t);
550
550
  }
551
551
  function Tt(e, t) {
552
552
  let n = t.get(e);
553
553
  if (n) return n;
554
- let r = ot(e, [], !1).filter((e) => B(e) && Ue(e) !== "body"), i = null, a = H(e).position === "fixed", o = a ? it(e) : e;
555
- for (; B(o) && !nt(o);) {
556
- let t = H(o), n = $e(o);
557
- !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Ke(o) && !n && wt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = it(o);
554
+ let r = ot(e, [], !1).filter((e) => z(e) && We(e) !== "body"), i = null, a = V(e).position === "fixed", o = a ? H(e) : e;
555
+ for (; z(o) && !rt(o);) {
556
+ let t = V(o), n = et(o);
557
+ !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || qe(o) && !n && wt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = H(o);
558
558
  }
559
559
  return t.set(e, r), r;
560
560
  }
561
561
  function Et(e) {
562
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Je(t) ? [] : Tt(t, this._c) : [].concat(n), r], o = Ct(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
562
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Ye(t) ? [] : Tt(t, this._c) : [].concat(n), r], o = Ct(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
563
563
  for (let e = 1; e < a.length; e++) {
564
564
  let n = Ct(t, a[e], i);
565
- s = N(n.top, s), c = me(n.right, c), l = me(n.bottom, l), u = N(n.left, u);
565
+ s = he(n.top, s), c = me(n.right, c), l = me(n.bottom, l), u = he(n.left, u);
566
566
  }
567
567
  return {
568
568
  width: c - u,
@@ -579,19 +579,19 @@ function Dt(e) {
579
579
  };
580
580
  }
581
581
  function Ot(e, t, n) {
582
- let r = V(t), i = z(t), a = n === "fixed", o = mt(e, !0, a, t), s = {
582
+ let r = B(t), i = R(t), a = n === "fixed", o = mt(e, !0, a, t), s = {
583
583
  scrollLeft: 0,
584
584
  scrollTop: 0
585
- }, c = F(0);
585
+ }, c = P(0);
586
586
  function l() {
587
587
  c.x = ht(i);
588
588
  }
589
- if (r || !r && !a) if ((Ue(t) !== "body" || Ke(i)) && (s = rt(t)), r) {
589
+ if (r || !r && !a) if ((We(t) !== "body" || qe(i)) && (s = it(t)), r) {
590
590
  let e = mt(t, !0, a, t);
591
591
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
592
592
  } else i && l();
593
593
  a && !r && i && l();
594
- let u = i && !r && !a ? gt(i, s) : F(0);
594
+ let u = i && !r && !a ? gt(i, s) : P(0);
595
595
  return {
596
596
  x: o.left + s.scrollLeft - c.x - u.x,
597
597
  y: o.top + s.scrollTop - c.y - u.y,
@@ -600,28 +600,28 @@ function Ot(e, t, n) {
600
600
  };
601
601
  }
602
602
  function kt(e) {
603
- return H(e).position === "static";
603
+ return V(e).position === "static";
604
604
  }
605
605
  function At(e, t) {
606
- if (!V(e) || H(e).position === "fixed") return null;
606
+ if (!B(e) || V(e).position === "fixed") return null;
607
607
  if (t) return t(e);
608
608
  let n = e.offsetParent;
609
- return z(e) === n && (n = n.ownerDocument.body), n;
609
+ return R(e) === n && (n = n.ownerDocument.body), n;
610
610
  }
611
611
  function jt(e, t) {
612
- let n = R(e);
613
- if (Je(e)) return n;
614
- if (!V(e)) {
615
- let t = it(e);
616
- for (; t && !nt(t);) {
617
- if (B(t) && !kt(t)) return t;
618
- t = it(t);
612
+ let n = L(e);
613
+ if (Ye(e)) return n;
614
+ if (!B(e)) {
615
+ let t = H(e);
616
+ for (; t && !rt(t);) {
617
+ if (z(t) && !kt(t)) return t;
618
+ t = H(t);
619
619
  }
620
620
  return n;
621
621
  }
622
622
  let r = At(e, t);
623
- for (; r && qe(r) && kt(r);) r = At(r, t);
624
- return r && nt(r) && kt(r) && !$e(r) ? n : r || et(e) || n;
623
+ for (; r && Je(r) && kt(r);) r = At(r, t);
624
+ return r && rt(r) && kt(r) && !et(r) ? n : r || tt(e) || n;
625
625
  }
626
626
  var Mt = async function(e) {
627
627
  let t = this.getOffsetParent || jt, n = this.getDimensions, r = await n(e.floating);
@@ -636,20 +636,20 @@ var Mt = async function(e) {
636
636
  };
637
637
  };
638
638
  function Nt(e) {
639
- return H(e).direction === "rtl";
639
+ return V(e).direction === "rtl";
640
640
  }
641
641
  var Pt = {
642
642
  convertOffsetParentRelativeRectToViewportRelativeRect: _t,
643
- getDocumentElement: z,
643
+ getDocumentElement: R,
644
644
  getClippingRect: Et,
645
645
  getOffsetParent: jt,
646
646
  getElementRects: Mt,
647
647
  getClientRects: vt,
648
648
  getDimensions: Dt,
649
649
  getScale: ut,
650
- isElement: B,
650
+ isElement: z,
651
651
  isRTL: Nt
652
- }, Ft = Ve, It = Re, Lt = (e, t, n) => {
652
+ }, Ft = He, It = ze, Lt = (e, t, n) => {
653
653
  let r = /* @__PURE__ */ new Map(), i = {
654
654
  platform: Pt,
655
655
  ...n
@@ -657,7 +657,7 @@ var Pt = {
657
657
  ...i.platform,
658
658
  _c: r
659
659
  };
660
- return Le(e, t, {
660
+ return Re(e, t, {
661
661
  ...i,
662
662
  platform: a
663
663
  });
@@ -691,7 +691,7 @@ function Ht(e) {
691
691
  function Ut(e) {
692
692
  if (Ht(e)) {
693
693
  let t = e.$el;
694
- return We(t) && Ue(t) === "#comment" ? null : t;
694
+ return Ge(t) && We(t) === "#comment" ? null : t;
695
695
  }
696
696
  return e;
697
697
  }
@@ -1120,7 +1120,7 @@ function Dn(e, t = {}) {
1120
1120
  //#region src/components/base/PvPopoverV2/useHoverPopoverGroup.ts
1121
1121
  var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1122
1122
  let n = t.root.value;
1123
- return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n)) : !1;
1123
+ return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n) || e.hoverArea?.value?.contains(n)) : !1;
1124
1124
  }, An = (e) => (C(() => On.delete(e)), (t) => {
1125
1125
  if (!t) {
1126
1126
  On.delete(e);
@@ -1147,6 +1147,7 @@ var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1147
1147
  type: Boolean,
1148
1148
  default: !1
1149
1149
  },
1150
+ hoverTarget: { type: String },
1150
1151
  disableInteractive: {
1151
1152
  type: Boolean,
1152
1153
  default: !1
@@ -1205,11 +1206,12 @@ var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1205
1206
  "position-try-fallbacks: flip-block",
1206
1207
  "position-visibility: anchors-visible",
1207
1208
  `anchor-scope: ${Mn}`
1208
- ].every((e) => CSS.supports(e)), _ = E(!1), y = E(null), b = E(null), S = E(null), T = E(null), ee = yn(b), O = yn(T), k = E(!1), A = E(!1), ne = E(!1), ie = An({
1209
+ ].every((e) => CSS.supports(e)), _ = E(!1), y = E(null), b = E(null), S = E(null), T = E(null), ee = n(() => s.hoverTarget && b.value?.closest(s.hoverTarget) || b.value), O = yn(ee), k = yn(T), A = E(!1), ne = E(!1), ie = E(!1), ae = An({
1209
1210
  root: y,
1210
1211
  floating: T,
1211
- close: () => s.disableClickOutsideToClose ? !1 : (L(), !0)
1212
- }), ae = {
1212
+ hoverArea: n(() => s.hoverTarget ? ee.value : null),
1213
+ close: () => s.disableClickOutsideToClose ? !1 : (ve(), !0)
1214
+ }), se = {
1213
1215
  "top-center": "top",
1214
1216
  "bottom-center": "bottom",
1215
1217
  "center-left": "left",
@@ -1220,7 +1222,7 @@ var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1220
1222
  "top-right": "top-end",
1221
1223
  "bottom-left": "bottom-start",
1222
1224
  "bottom-right": "bottom-end"
1223
- }, se = {
1225
+ }, ce = {
1224
1226
  "top-center": {
1225
1227
  area: "top",
1226
1228
  margin: "margin-block-end"
@@ -1261,30 +1263,30 @@ var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1261
1263
  area: "bottom span-left",
1262
1264
  margin: "margin-block-start"
1263
1265
  }
1264
- }, ce = n(() => s.showOnHover || s.disableClickOutsideToClose ? "manual" : "auto"), le = n(() => ({
1266
+ }, le = n(() => s.showOnHover || s.disableClickOutsideToClose ? "manual" : "auto"), ue = n(() => ({
1265
1267
  width: "fit-content",
1266
1268
  ...g ? { "anchor-scope": Mn } : void 0,
1267
1269
  ...s.cssCustomProperties
1268
- })), ue = n(() => g ? { "anchor-name": Mn } : void 0), de = n(() => {
1269
- let e = se[s.position];
1270
+ })), de = n(() => g ? { "anchor-name": Mn } : void 0), fe = n(() => {
1271
+ let e = ce[s.position];
1270
1272
  return {
1271
1273
  "position-anchor": Mn,
1272
1274
  "position-area": e.area,
1273
1275
  "position-try-fallbacks": s.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1274
1276
  [e.margin]: `${s.offset ?? 0}px`
1275
1277
  };
1276
- }), fe = () => {}, pe = () => ({});
1278
+ }), pe = () => {}, me = () => ({});
1277
1279
  if (!g) {
1278
1280
  let e = [];
1279
1281
  s.disableAutoPlacement || e.push(It({ fallbackStrategy: "initialPlacement" })), s.offset && e.push(Ft(s.offset));
1280
1282
  let t = qt(S, T, {
1281
- placement: ae[s.position],
1283
+ placement: se[s.position],
1282
1284
  strategy: s.positioningStrategy,
1283
1285
  middleware: e
1284
1286
  });
1285
- fe = t.update, pe = () => t.floatingStyles.value;
1287
+ pe = t.update, me = () => t.floatingStyles.value;
1286
1288
  let r = vn(S), i = /* @__PURE__ */ on(() => {
1287
- c.value && fe();
1289
+ c.value && pe();
1288
1290
  }, 5);
1289
1291
  M([
1290
1292
  r.top,
@@ -1292,110 +1294,110 @@ var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1292
1294
  r.width,
1293
1295
  r.height
1294
1296
  ], i), fn(y, () => {
1295
- s.disableClickOutsideToClose || I(!1);
1297
+ s.disableClickOutsideToClose || F(!1);
1296
1298
  }, { ignore: n(() => [
1297
1299
  T.value,
1298
1300
  ".p-datepicker-panel",
1299
1301
  ...s.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1300
1302
  ]) });
1301
1303
  }
1302
- let me = n(() => ({
1303
- ...pe(),
1304
+ let he = n(() => ({
1305
+ ...me(),
1304
1306
  zIndex: s.zIndex
1305
- })), N, P, F = () => {
1307
+ })), N, P, ge = () => {
1306
1308
  N && clearTimeout(N), N = void 0;
1307
- }, he = () => {
1309
+ }, _e = () => {
1308
1310
  P && clearTimeout(P), P = void 0;
1309
- }, I = (e) => {
1310
- F(), he(), !(e && (s.disabled || !m.value)) && (e && s.delay > 0 && (s.showOnHover || !g) ? N = setTimeout(() => {
1311
+ }, F = (e) => {
1312
+ ge(), _e(), !(e && (s.disabled || !m.value)) && (e && s.delay > 0 && (s.showOnHover || !g) ? N = setTimeout(() => {
1311
1313
  c.value = !0, N = void 0;
1312
1314
  }, s.delay) : c.value = e);
1313
- }, L = () => {
1314
- F(), he(), c.value = !1;
1315
- }, ge = () => {
1315
+ }, ve = () => {
1316
+ ge(), _e(), c.value = !1;
1317
+ }, ye = () => {
1316
1318
  let e = T.value;
1317
1319
  !e || !_.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1318
- }, _e = n(() => !!c.value && (O.value || A.value)), ve = n(() => !s.showOnHover || ne.value ? !1 : s.disableInteractive ? ee.value || k.value : ee.value || k.value || _e.value);
1320
+ }, be = n(() => !!c.value && (k.value || ne.value)), I = n(() => !s.showOnHover || ie.value ? !1 : s.disableInteractive ? O.value || A.value : O.value || A.value || be.value);
1319
1321
  M([
1320
- ee,
1321
- k,
1322
- A
1322
+ O,
1323
+ A,
1324
+ ne
1323
1325
  ], ([e, t, n]) => {
1324
- !e && !t && !n && (ne.value = !1);
1326
+ !e && !t && !n && (ie.value = !1);
1325
1327
  });
1326
- let ye = ({ target: e }) => {
1327
- k.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1328
- }, be = ({ target: e }) => {
1328
+ let xe = ({ target: e }) => {
1329
1329
  A.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1330
- }, xe = () => {
1331
- A.value = !1;
1332
- }, Se = () => {
1330
+ }, Se = ({ target: e }) => {
1331
+ ne.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1332
+ }, Ce = () => {
1333
+ ne.value = !1;
1334
+ }, we = () => {
1333
1335
  if (s.showOnHover) {
1334
1336
  if (s.disableClickOutsideToClose) return;
1335
1337
  if (!c.value && !N && s.enableClickToggle) {
1336
- ne.value = !1, I(!0);
1338
+ ie.value = !1, F(!0);
1337
1339
  return;
1338
1340
  }
1339
- ne.value = !0, L();
1341
+ ie.value = !0, ve();
1340
1342
  return;
1341
1343
  }
1342
- I(N ? !1 : !c.value);
1343
- }, Ce = (e) => {
1344
+ F(N ? !1 : !c.value);
1345
+ }, Te = (e) => {
1344
1346
  let t = e.newState === "open";
1345
1347
  c.value !== t && (c.value = t);
1346
- }, we = (e) => {
1347
- g && ce.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), I(!1));
1348
+ }, Ee = (e) => {
1349
+ g && le.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), F(!1));
1348
1350
  };
1349
1351
  return M(c, async (e) => {
1350
- if (s.showOnHover && s.enableGroupSync && ie(!!e), !g) {
1351
- e && fe();
1352
+ if (s.showOnHover && s.enableGroupSync && ae(!!e), !g) {
1353
+ e && pe();
1352
1354
  return;
1353
1355
  }
1354
- await h(), ge();
1355
- }), M(ve, (e) => {
1356
+ await h(), ye();
1357
+ }), M(I, (e) => {
1356
1358
  if (s.showOnHover) {
1357
1359
  if (e) {
1358
- I(!0);
1360
+ F(!0);
1359
1361
  return;
1360
1362
  }
1361
- F(), s.closeDelay > 0 ? (he(), P = setTimeout(() => {
1362
- P = void 0, ve.value || I(!1);
1363
- }, s.closeDelay)) : I(!1);
1363
+ ge(), s.closeDelay > 0 ? (_e(), P = setTimeout(() => {
1364
+ P = void 0, I.value || F(!1);
1365
+ }, s.closeDelay)) : F(!1);
1364
1366
  }
1365
1367
  }), M(m, (e) => {
1366
- e ? g && c.value && h(ge) : L();
1368
+ e ? g && c.value && h(ye) : ve();
1367
1369
  }), x(() => {
1368
- S.value = b.value, _.value = !0, c.value && h(() => g ? ge() : fe());
1370
+ S.value = b.value, _.value = !0, c.value && h(() => g ? ye() : pe());
1369
1371
  }), C(() => {
1370
- F(), he();
1372
+ ge(), _e();
1371
1373
  }), M(() => s.disabled, (e) => {
1372
1374
  if (!e) {
1373
- ve.value && I(!0);
1375
+ I.value && F(!0);
1374
1376
  return;
1375
1377
  }
1376
- k.value &&= !1, A.value &&= !1, I(!1);
1378
+ A.value &&= !1, ne.value &&= !1, F(!1);
1377
1379
  }), (n, l) => (w(), a("div", {
1378
1380
  ref_key: "root",
1379
1381
  ref: y,
1380
- style: v(le.value),
1381
- onKeydown: we
1382
+ style: v(ue.value),
1383
+ onKeydown: Ee
1382
1384
  }, [o("div", {
1383
1385
  ref_key: "triggerWrapper",
1384
1386
  ref: b,
1385
- style: v(ue.value),
1386
- onClick: Se,
1387
- onFocusin: ye,
1388
- onFocusout: l[0] ||= (e) => k.value = !1
1387
+ style: v(de.value),
1388
+ onClick: we,
1389
+ onFocusin: xe,
1390
+ onFocusout: l[0] ||= (e) => A.value = !1
1389
1391
  }, [D(n.$slots, "trigger")], 36), _.value && j(g) && m.value ? (w(), a("div", {
1390
1392
  key: 0,
1391
1393
  ref_key: "floating",
1392
1394
  ref: T,
1393
1395
  class: "pv-floating pv-floating-native",
1394
- popover: ce.value,
1395
- style: v(de.value),
1396
- onToggle: Ce,
1397
- onFocusin: be,
1398
- onFocusout: xe
1396
+ popover: le.value,
1397
+ style: v(fe.value),
1398
+ onToggle: Te,
1399
+ onFocusin: Se,
1400
+ onFocusout: Ce
1399
1401
  }, [e.disabled ? i("v-if", !0) : D(n.$slots, "content", { key: 0 })], 44, jn)) : m.value ? (w(), r(t, {
1400
1402
  key: 1,
1401
1403
  to: e.teleportLocation,
@@ -1404,9 +1406,9 @@ var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1404
1406
  ref_key: "floating",
1405
1407
  ref: T,
1406
1408
  class: "pv-floating",
1407
- style: v(me.value),
1408
- onFocusin: be,
1409
- onFocusout: xe
1409
+ style: v(he.value),
1410
+ onFocusin: Se,
1411
+ onFocusout: Ce
1410
1412
  }, [D(n.$slots, "content")], 36), [[re, c.value]])], 8, ["to", "disabled"])) : i("v-if", !0)], 36));
1411
1413
  }
1412
1414
  }), Pn = ["data-variant"], Fn = /* @__PURE__ */ l({
@@ -1432,6 +1434,7 @@ var On = /* @__PURE__ */ new Set(), kn = (e, t) => {
1432
1434
  type: Boolean,
1433
1435
  default: !0
1434
1436
  },
1437
+ hoverTarget: { type: String },
1435
1438
  disableInteractive: {
1436
1439
  type: Boolean,
1437
1440
  default: !1