@turquoisehealth/pit-viper 2.252.0 → 2.253.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 (67) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +27 -7
  2. package/_site/assets/css/pit-viper-consumer.css +27 -7
  3. package/_site/assets/css/pit-viper-v2-scoped.css +25 -7
  4. package/_site/assets/css/pit-viper-v2.css +27 -7
  5. package/_site/assets/css/pit-viper.css +27 -7
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  26. package/pv-components/dist/vue/ai/components/base/PvDrawer/PvDrawer.vue.d.ts +2 -0
  27. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +8 -0
  28. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
  29. package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +5 -1
  30. package/pv-components/dist/vue/ai/components/base/PvTabs/types.d.ts +4 -0
  31. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +2 -0
  32. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +8 -0
  33. package/pv-components/dist/vue/base/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
  34. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +5 -1
  35. package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +4 -0
  36. package/pv-components/dist/vue/base/pv-components-base.mjs +1023 -929
  37. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  38. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +2 -0
  39. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +8 -0
  40. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
  41. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +5 -1
  42. package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +4 -0
  43. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
  44. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +5 -1
  45. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/horizontalFilterFit.d.ts +17 -0
  46. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +9 -2
  47. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2398 -2357
  48. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  49. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +226 -223
  50. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +5 -3
  51. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1735 -1732
  52. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +356 -353
  53. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +650 -647
  54. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1241 -1238
  55. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +421 -418
  56. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +108 -106
  57. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +70 -67
  58. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +343 -340
  59. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +146 -143
  60. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +805 -802
  61. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +362 -359
  62. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +694 -692
  63. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1312 -1185
  64. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +177 -174
  65. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +227 -224
  66. package/pv-components/dist/web/pv-components.iife.js +14 -14
  67. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -17,13 +17,13 @@ var ce = Object.defineProperty, le = Object.getOwnPropertyDescriptor, ue = Objec
17
17
  }, me = (e, t, n) => (pe(e, t, "default"), n && pe(n, t, "default"));
18
18
  //#endregion
19
19
  //#region src/web-components/utils.ts
20
- function he() {
20
+ function P() {
21
21
  let e = D(!1), t = f()?.root || {};
22
22
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
23
23
  }
24
24
  //#endregion
25
25
  //#region src/components/base/baseProps.ts
26
- var ge = [
26
+ var he = [
27
27
  void 0,
28
28
  10,
29
29
  12,
@@ -31,89 +31,89 @@ var ge = [
31
31
  24,
32
32
  32,
33
33
  64
34
- ], _e = ["xlink:href"], P = /* @__PURE__ */ u({
34
+ ], ge = ["xlink:href"], _e = /* @__PURE__ */ u({
35
35
  __name: "PvIcon",
36
36
  props: {
37
37
  name: { type: String },
38
38
  size: { type: null }
39
39
  },
40
40
  setup(e) {
41
- let t = e, r = he(), i = D(null), s = n(() => ({
41
+ let t = e, r = P(), i = D(null), s = n(() => ({
42
42
  "pv-icon": !0,
43
- [`pv-icon-${t.size}`]: t.size != null && ge.includes(t.size)
43
+ [`pv-icon-${t.size}`]: t.size != null && he.includes(t.size)
44
44
  })), c = n(() => r.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
45
45
  return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (T(), a("svg", {
46
46
  "data-testid": "pv-icon",
47
47
  "aria-hidden": "true",
48
48
  class: _(s.value)
49
- }, [o("use", { "xlink:href": c.value }, null, 8, _e)], 2));
49
+ }, [o("use", { "xlink:href": c.value }, null, 8, ge)], 2));
50
50
  }
51
- }), ve = Math.min, F = Math.max, ye = Math.round, I = (e) => ({
51
+ }), F = Math.min, I = Math.max, ve = Math.round, L = (e) => ({
52
52
  x: e,
53
53
  y: e
54
- }), be = {
54
+ }), ye = {
55
55
  left: "right",
56
56
  right: "left",
57
57
  bottom: "top",
58
58
  top: "bottom"
59
59
  };
60
- function xe(e, t) {
60
+ function be(e, t) {
61
61
  return typeof e == "function" ? e(t) : e;
62
62
  }
63
- function L(e) {
63
+ function R(e) {
64
64
  return e.split("-")[0];
65
65
  }
66
- function Se(e) {
66
+ function xe(e) {
67
67
  return e.split("-")[1];
68
68
  }
69
- function Ce(e) {
69
+ function Se(e) {
70
70
  return e === "x" ? "y" : "x";
71
71
  }
72
- function we(e) {
72
+ function Ce(e) {
73
73
  return e === "y" ? "height" : "width";
74
74
  }
75
- function Te(e) {
75
+ function we(e) {
76
76
  let t = e[0];
77
77
  return t === "t" || t === "b" ? "y" : "x";
78
78
  }
79
- function Ee(e) {
80
- return Ce(Te(e));
79
+ function Te(e) {
80
+ return Se(we(e));
81
81
  }
82
- function De(e, t, n) {
82
+ function Ee(e, t, n) {
83
83
  n === void 0 && (n = !1);
84
- let r = Se(e), i = Ee(e), a = we(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
85
- return t.reference[a] > t.floating[a] && (o = Ie(o)), [o, Ie(o)];
84
+ let r = xe(e), i = Te(e), a = Ce(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
85
+ return t.reference[a] > t.floating[a] && (o = Fe(o)), [o, Fe(o)];
86
86
  }
87
- function Oe(e) {
88
- let t = Ie(e);
87
+ function De(e) {
88
+ let t = Fe(e);
89
89
  return [
90
- ke(e),
90
+ Oe(e),
91
91
  t,
92
- ke(t)
92
+ Oe(t)
93
93
  ];
94
94
  }
95
- function ke(e) {
95
+ function Oe(e) {
96
96
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
97
97
  }
98
- var Ae = ["left", "right"], je = ["right", "left"], Me = ["top", "bottom"], Ne = ["bottom", "top"];
99
- function Pe(e, t, n) {
98
+ var ke = ["left", "right"], Ae = ["right", "left"], je = ["top", "bottom"], Me = ["bottom", "top"];
99
+ function Ne(e, t, n) {
100
100
  switch (e) {
101
101
  case "top":
102
- case "bottom": return n ? t ? je : Ae : t ? Ae : je;
102
+ case "bottom": return n ? t ? Ae : ke : t ? ke : Ae;
103
103
  case "left":
104
- case "right": return t ? Me : Ne;
104
+ case "right": return t ? je : Me;
105
105
  default: return [];
106
106
  }
107
107
  }
108
- function Fe(e, t, n, r) {
109
- let i = Se(e), a = Pe(L(e), n === "start", r);
110
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(ke)))), a;
108
+ function Pe(e, t, n, r) {
109
+ let i = xe(e), a = Ne(R(e), n === "start", r);
110
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Oe)))), a;
111
111
  }
112
- function Ie(e) {
113
- let t = L(e);
114
- return be[t] + e.slice(t.length);
112
+ function Fe(e) {
113
+ let t = R(e);
114
+ return ye[t] + e.slice(t.length);
115
115
  }
116
- function Le(e) {
116
+ function Ie(e) {
117
117
  return {
118
118
  top: 0,
119
119
  right: 0,
@@ -122,15 +122,15 @@ function Le(e) {
122
122
  ...e
123
123
  };
124
124
  }
125
- function Re(e) {
125
+ function Le(e) {
126
126
  return typeof e == "number" ? {
127
127
  top: e,
128
128
  right: e,
129
129
  bottom: e,
130
130
  left: e
131
- } : Le(e);
131
+ } : Ie(e);
132
132
  }
133
- function ze(e) {
133
+ function Re(e) {
134
134
  let { x: t, y: n, width: r, height: i } = e;
135
135
  return {
136
136
  width: r,
@@ -145,8 +145,8 @@ function ze(e) {
145
145
  }
146
146
  //#endregion
147
147
  //#region ../node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
148
- function Be(e, t, n) {
149
- let { reference: r, floating: i } = e, a = Te(t), o = Ee(t), s = we(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;
148
+ function ze(e, t, n) {
149
+ let { reference: r, floating: i } = e, a = we(t), o = Te(t), s = Ce(o), c = R(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;
150
150
  switch (c) {
151
151
  case "top":
152
152
  p = {
@@ -177,7 +177,7 @@ function Be(e, t, n) {
177
177
  y: r.y
178
178
  };
179
179
  }
180
- switch (Se(t)) {
180
+ switch (xe(t)) {
181
181
  case "start":
182
182
  p[o] -= f * (n && l ? -1 : 1);
183
183
  break;
@@ -187,9 +187,9 @@ function Be(e, t, n) {
187
187
  }
188
188
  return p;
189
189
  }
190
- async function Ve(e, t) {
190
+ async function Be(e, t) {
191
191
  t === void 0 && (t = {});
192
- 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 } = xe(t, e), p = Re(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = ze(await i.getClippingRect({
192
+ 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 } = be(t, e), p = Le(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Re(await i.getClippingRect({
193
193
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
194
194
  boundary: c,
195
195
  rootBoundary: l,
@@ -202,7 +202,7 @@ async function Ve(e, t) {
202
202
  } : 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(_)) || {
203
203
  x: 1,
204
204
  y: 1
205
- }, y = ze(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
205
+ }, y = Re(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
206
206
  elements: o,
207
207
  rect: g,
208
208
  offsetParent: _,
@@ -215,15 +215,15 @@ async function Ve(e, t) {
215
215
  right: (y.right - h.right + p.right) / v.x
216
216
  };
217
217
  }
218
- var He = 50, Ue = async (e, t, n) => {
218
+ var Ve = 50, He = async (e, t, n) => {
219
219
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
220
220
  ...o,
221
- detectOverflow: Ve
221
+ detectOverflow: Be
222
222
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
223
223
  reference: e,
224
224
  floating: t,
225
225
  strategy: i
226
- }), { x: u, y: d } = Be(l, r, c), f = r, p = 0, m = {};
226
+ }), { x: u, y: d } = ze(l, r, c), f = r, p = 0, m = {};
227
227
  for (let n = 0; n < a.length; n++) {
228
228
  let h = a[n];
229
229
  if (!h) continue;
@@ -244,11 +244,11 @@ var He = 50, Ue = async (e, t, n) => {
244
244
  u = v ?? u, d = y ?? d, m[g] = {
245
245
  ...m[g],
246
246
  ...b
247
- }, x && p < He && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
247
+ }, x && p < Ve && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
248
248
  reference: e,
249
249
  floating: t,
250
250
  strategy: i
251
- }) : x.rects), {x: u, y: d} = Be(l, f, c)), n = -1);
251
+ }) : x.rects), {x: u, y: d} = ze(l, f, c)), n = -1);
252
252
  }
253
253
  return {
254
254
  x: u,
@@ -257,19 +257,19 @@ var He = 50, Ue = async (e, t, n) => {
257
257
  strategy: i,
258
258
  middlewareData: m
259
259
  };
260
- }, We = function(e) {
260
+ }, Ue = function(e) {
261
261
  return e === void 0 && (e = {}), {
262
262
  name: "flip",
263
263
  options: e,
264
264
  async fn(t) {
265
265
  var n;
266
- 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 } = xe(e, t);
266
+ 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 } = be(e, t);
267
267
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
268
- let g = L(r), _ = Te(o), v = L(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Ie(o)] : Oe(o)), x = p !== "none";
269
- !d && x && b.push(...Fe(o, m, p, y));
268
+ let g = R(r), _ = we(o), v = R(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Fe(o)] : De(o)), x = p !== "none";
269
+ !d && x && b.push(...Pe(o, m, p, y));
270
270
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
271
271
  if (l && w.push(C[g]), u) {
272
- let e = De(r, a, y);
272
+ let e = Ee(r, a, y);
273
273
  w.push(C[e[0]], C[e[1]]);
274
274
  }
275
275
  if (T = [...T, {
@@ -277,7 +277,7 @@ var He = 50, Ue = async (e, t, n) => {
277
277
  overflows: w
278
278
  }], !w.every((e) => e <= 0)) {
279
279
  let e = (i.flip?.index || 0) + 1, t = S[e];
280
- if (t && (!(u === "alignment" && _ !== Te(t)) || T.every((e) => Te(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
280
+ if (t && (!(u === "alignment" && _ !== we(t)) || T.every((e) => we(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
281
281
  data: {
282
282
  index: e,
283
283
  overflows: T
@@ -289,7 +289,7 @@ var He = 50, Ue = async (e, t, n) => {
289
289
  case "bestFit": {
290
290
  let e = T.filter((e) => {
291
291
  if (x) {
292
- let t = Te(e.placement);
292
+ let t = we(e.placement);
293
293
  return t === _ || t === "y";
294
294
  }
295
295
  return !0;
@@ -306,9 +306,9 @@ var He = 50, Ue = async (e, t, n) => {
306
306
  return {};
307
307
  }
308
308
  };
309
- }, Ge = /* @__PURE__ */ new Set(["left", "top"]);
310
- async function Ke(e, t) {
311
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = L(n), s = Se(n), c = Te(n) === "y", l = Ge.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = xe(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
309
+ }, We = /* @__PURE__ */ new Set(["left", "top"]);
310
+ async function Ge(e, t) {
311
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = R(n), s = xe(n), c = we(n) === "y", l = We.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = be(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
312
312
  mainAxis: d,
313
313
  crossAxis: 0,
314
314
  alignmentAxis: null
@@ -325,13 +325,13 @@ async function Ke(e, t) {
325
325
  y: p * u
326
326
  };
327
327
  }
328
- var qe = function(e) {
328
+ var Ke = function(e) {
329
329
  return e === void 0 && (e = 0), {
330
330
  name: "offset",
331
331
  options: e,
332
332
  async fn(t) {
333
333
  var n;
334
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Ke(t, e);
334
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Ge(t, e);
335
335
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
336
336
  x: r + s.x,
337
337
  y: i + s.y,
@@ -345,39 +345,39 @@ var qe = function(e) {
345
345
  };
346
346
  //#endregion
347
347
  //#region ../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
348
- function Je() {
348
+ function qe() {
349
349
  return typeof window < "u";
350
350
  }
351
- function Ye(e) {
352
- return Xe(e) ? (e.nodeName || "").toLowerCase() : "#document";
351
+ function Je(e) {
352
+ return Ye(e) ? (e.nodeName || "").toLowerCase() : "#document";
353
353
  }
354
- function R(e) {
354
+ function z(e) {
355
355
  var t;
356
356
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
357
357
  }
358
- function z(e) {
359
- return ((Xe(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
360
- }
361
- function Xe(e) {
362
- return Je() ? e instanceof Node || e instanceof R(e).Node : !1;
363
- }
364
358
  function B(e) {
365
- return Je() ? e instanceof Element || e instanceof R(e).Element : !1;
359
+ return ((Ye(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
360
+ }
361
+ function Ye(e) {
362
+ return qe() ? e instanceof Node || e instanceof z(e).Node : !1;
366
363
  }
367
364
  function V(e) {
368
- return Je() ? e instanceof HTMLElement || e instanceof R(e).HTMLElement : !1;
365
+ return qe() ? e instanceof Element || e instanceof z(e).Element : !1;
366
+ }
367
+ function H(e) {
368
+ return qe() ? e instanceof HTMLElement || e instanceof z(e).HTMLElement : !1;
369
+ }
370
+ function Xe(e) {
371
+ return !qe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof z(e).ShadowRoot;
369
372
  }
370
373
  function Ze(e) {
371
- return !Je() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof R(e).ShadowRoot;
374
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = U(e);
375
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
372
376
  }
373
377
  function Qe(e) {
374
- let { overflow: t, overflowX: n, overflowY: r, display: i } = H(e);
375
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
378
+ return /^(table|td|th)$/.test(Je(e));
376
379
  }
377
380
  function $e(e) {
378
- return /^(table|td|th)$/.test(Ye(e));
379
- }
380
- function et(e) {
381
381
  try {
382
382
  if (e.matches(":popover-open")) return !0;
383
383
  } catch {}
@@ -387,31 +387,31 @@ function et(e) {
387
387
  return !1;
388
388
  }
389
389
  }
390
- var tt = /transform|translate|scale|rotate|perspective|filter/, nt = /paint|layout|strict|content/, rt = (e) => !!e && e !== "none", it;
390
+ var et = /transform|translate|scale|rotate|perspective|filter/, tt = /paint|layout|strict|content/, nt = (e) => !!e && e !== "none", rt;
391
+ function it(e) {
392
+ let t = V(e) ? U(e) : e;
393
+ return nt(t.transform) || nt(t.translate) || nt(t.scale) || nt(t.rotate) || nt(t.perspective) || !ot() && (nt(t.backdropFilter) || nt(t.filter)) || et.test(t.willChange || "") || tt.test(t.contain || "");
394
+ }
391
395
  function at(e) {
392
- let t = B(e) ? H(e) : e;
393
- return rt(t.transform) || rt(t.translate) || rt(t.scale) || rt(t.rotate) || rt(t.perspective) || !st() && (rt(t.backdropFilter) || rt(t.filter)) || tt.test(t.willChange || "") || nt.test(t.contain || "");
394
- }
395
- function ot(e) {
396
- let t = U(e);
397
- for (; V(t) && !ct(t);) {
398
- if (at(t)) return t;
399
- if (et(t)) return null;
400
- t = U(t);
396
+ let t = lt(e);
397
+ for (; H(t) && !st(t);) {
398
+ if (it(t)) return t;
399
+ if ($e(t)) return null;
400
+ t = lt(t);
401
401
  }
402
402
  return null;
403
403
  }
404
- function st() {
405
- return it ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), it;
404
+ function ot() {
405
+ return rt ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), rt;
406
406
  }
407
- function ct(e) {
408
- return /^(html|body|#document)$/.test(Ye(e));
407
+ function st(e) {
408
+ return /^(html|body|#document)$/.test(Je(e));
409
409
  }
410
- function H(e) {
411
- return R(e).getComputedStyle(e);
410
+ function U(e) {
411
+ return z(e).getComputedStyle(e);
412
412
  }
413
- function lt(e) {
414
- return B(e) ? {
413
+ function ct(e) {
414
+ return V(e) ? {
415
415
  scrollLeft: e.scrollLeft,
416
416
  scrollTop: e.scrollTop
417
417
  } : {
@@ -419,21 +419,21 @@ function lt(e) {
419
419
  scrollTop: e.scrollY
420
420
  };
421
421
  }
422
- function U(e) {
423
- if (Ye(e) === "html") return e;
424
- let t = e.assignedSlot || e.parentNode || Ze(e) && e.host || z(e);
425
- return Ze(t) ? t.host : t;
422
+ function lt(e) {
423
+ if (Je(e) === "html") return e;
424
+ let t = e.assignedSlot || e.parentNode || Xe(e) && e.host || B(e);
425
+ return Xe(t) ? t.host : t;
426
426
  }
427
427
  function ut(e) {
428
- let t = U(e);
429
- return ct(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : V(t) && Qe(t) ? t : ut(t);
428
+ let t = lt(e);
429
+ return st(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : H(t) && Ze(t) ? t : ut(t);
430
430
  }
431
431
  function dt(e, t, n) {
432
432
  t === void 0 && (t = []), n === void 0 && (n = !0);
433
- let r = ut(e), i = r === e.ownerDocument?.body, a = R(r);
433
+ let r = ut(e), i = r === e.ownerDocument?.body, a = z(r);
434
434
  if (i) {
435
435
  let e = ft(a);
436
- return t.concat(a, a.visualViewport || [], Qe(r) ? r : [], e && n ? dt(e) : []);
436
+ return t.concat(a, a.visualViewport || [], Ze(r) ? r : [], e && n ? dt(e) : []);
437
437
  } else return t.concat(r, dt(r, [], n));
438
438
  }
439
439
  function ft(e) {
@@ -442,7 +442,7 @@ function ft(e) {
442
442
  //#endregion
443
443
  //#region ../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
444
444
  function pt(e) {
445
- 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 = ye(n) !== a || ye(r) !== o;
445
+ let t = U(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = H(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = ve(n) !== a || ve(r) !== o;
446
446
  return s && (n = a, r = o), {
447
447
  width: n,
448
448
  height: r,
@@ -450,41 +450,41 @@ function pt(e) {
450
450
  };
451
451
  }
452
452
  function mt(e) {
453
- return B(e) ? e : e.contextElement;
453
+ return V(e) ? e : e.contextElement;
454
454
  }
455
455
  function ht(e) {
456
456
  let t = mt(e);
457
- if (!V(t)) return I(1);
458
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = pt(t), o = (a ? ye(n.width) : n.width) / r, s = (a ? ye(n.height) : n.height) / i;
457
+ if (!H(t)) return L(1);
458
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = pt(t), o = (a ? ve(n.width) : n.width) / r, s = (a ? ve(n.height) : n.height) / i;
459
459
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
460
460
  x: o,
461
461
  y: s
462
462
  };
463
463
  }
464
- var gt = /* @__PURE__ */ I(0);
464
+ var gt = /* @__PURE__ */ L(0);
465
465
  function _t(e) {
466
- let t = R(e);
467
- return !st() || !t.visualViewport ? gt : {
466
+ let t = z(e);
467
+ return !ot() || !t.visualViewport ? gt : {
468
468
  x: t.visualViewport.offsetLeft,
469
469
  y: t.visualViewport.offsetTop
470
470
  };
471
471
  }
472
472
  function vt(e, t, n) {
473
- return t === void 0 && (t = !1), !n || t && n !== R(e) ? !1 : t;
473
+ return t === void 0 && (t = !1), !n || t && n !== z(e) ? !1 : t;
474
474
  }
475
475
  function yt(e, t, n, r) {
476
476
  t === void 0 && (t = !1), n === void 0 && (n = !1);
477
- let i = e.getBoundingClientRect(), a = mt(e), o = I(1);
478
- t && (r ? B(r) && (o = ht(r)) : o = ht(e));
479
- let s = vt(a, n, r) ? _t(a) : I(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;
477
+ let i = e.getBoundingClientRect(), a = mt(e), o = L(1);
478
+ t && (r ? V(r) && (o = ht(r)) : o = ht(e));
479
+ let s = vt(a, n, r) ? _t(a) : L(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;
480
480
  if (a) {
481
- let e = R(a), t = r && B(r) ? R(r) : r, n = e, i = ft(n);
481
+ let e = z(a), t = r && V(r) ? z(r) : r, n = e, i = ft(n);
482
482
  for (; i && r && t !== n;) {
483
- let e = ht(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;
484
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = R(i), i = ft(n);
483
+ let e = ht(i), t = i.getBoundingClientRect(), r = U(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
484
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = z(i), i = ft(n);
485
485
  }
486
486
  }
487
- return ze({
487
+ return Re({
488
488
  width: u,
489
489
  height: d,
490
490
  x: c,
@@ -492,8 +492,8 @@ function yt(e, t, n, r) {
492
492
  });
493
493
  }
494
494
  function bt(e, t) {
495
- let n = lt(e).scrollLeft;
496
- return t ? t.left + n : yt(z(e)).left + n;
495
+ let n = ct(e).scrollLeft;
496
+ return t ? t.left + n : yt(B(e)).left + n;
497
497
  }
498
498
  function xt(e, t) {
499
499
  let n = e.getBoundingClientRect();
@@ -503,17 +503,17 @@ function xt(e, t) {
503
503
  };
504
504
  }
505
505
  function St(e) {
506
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = z(r), s = t ? et(t.floating) : !1;
506
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = B(r), s = t ? $e(t.floating) : !1;
507
507
  if (r === o || s && a) return n;
508
508
  let c = {
509
509
  scrollLeft: 0,
510
510
  scrollTop: 0
511
- }, l = I(1), u = I(0), d = V(r);
512
- if ((d || !d && !a) && ((Ye(r) !== "body" || Qe(o)) && (c = lt(r)), d)) {
511
+ }, l = L(1), u = L(0), d = H(r);
512
+ if ((d || !d && !a) && ((Je(r) !== "body" || Ze(o)) && (c = ct(r)), d)) {
513
513
  let e = yt(r);
514
514
  l = ht(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
515
515
  }
516
- let f = o && !d && !a ? xt(o, c) : I(0);
516
+ let f = o && !d && !a ? xt(o, c) : L(0);
517
517
  return {
518
518
  width: n.width * l.x,
519
519
  height: n.height * l.y,
@@ -525,8 +525,8 @@ function Ct(e) {
525
525
  return Array.from(e.getClientRects());
526
526
  }
527
527
  function wt(e) {
528
- let t = z(e), n = lt(e), r = e.ownerDocument.body, i = F(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = F(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + bt(e), s = -n.scrollTop;
529
- return H(r).direction === "rtl" && (o += F(t.clientWidth, r.clientWidth) - i), {
528
+ let t = B(e), n = ct(e), r = e.ownerDocument.body, i = I(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = I(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + bt(e), s = -n.scrollTop;
529
+ return U(r).direction === "rtl" && (o += I(t.clientWidth, r.clientWidth) - i), {
530
530
  width: i,
531
531
  height: a,
532
532
  x: o,
@@ -535,10 +535,10 @@ function wt(e) {
535
535
  }
536
536
  var Tt = 25;
537
537
  function Et(e, t) {
538
- let n = R(e), r = z(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
538
+ let n = z(e), r = B(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
539
539
  if (i) {
540
540
  a = i.width, o = i.height;
541
- let e = st();
541
+ let e = ot();
542
542
  (!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
543
543
  }
544
544
  let l = bt(r);
@@ -554,7 +554,7 @@ function Et(e, t) {
554
554
  };
555
555
  }
556
556
  function Dt(e, t) {
557
- let n = yt(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = V(e) ? ht(e) : I(1);
557
+ let n = yt(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = H(e) ? ht(e) : L(1);
558
558
  return {
559
559
  width: e.clientWidth * a.x,
560
560
  height: e.clientHeight * a.y,
@@ -565,8 +565,8 @@ function Dt(e, t) {
565
565
  function Ot(e, t, n) {
566
566
  let r;
567
567
  if (t === "viewport") r = Et(e, n);
568
- else if (t === "document") r = wt(z(e));
569
- else if (B(t)) r = Dt(t, n);
568
+ else if (t === "document") r = wt(B(e));
569
+ else if (V(t)) r = Dt(t, n);
570
570
  else {
571
571
  let n = _t(e);
572
572
  r = {
@@ -576,27 +576,27 @@ function Ot(e, t, n) {
576
576
  height: t.height
577
577
  };
578
578
  }
579
- return ze(r);
579
+ return Re(r);
580
580
  }
581
581
  function kt(e, t) {
582
- let n = U(e);
583
- return n === t || !B(n) || ct(n) ? !1 : H(n).position === "fixed" || kt(n, t);
582
+ let n = lt(e);
583
+ return n === t || !V(n) || st(n) ? !1 : U(n).position === "fixed" || kt(n, t);
584
584
  }
585
585
  function At(e, t) {
586
586
  let n = t.get(e);
587
587
  if (n) return n;
588
- let r = dt(e, [], !1).filter((e) => B(e) && Ye(e) !== "body"), i = null, a = H(e).position === "fixed", o = a ? U(e) : e;
589
- for (; B(o) && !ct(o);) {
590
- let t = H(o), n = at(o);
591
- !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Qe(o) && !n && kt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = U(o);
588
+ let r = dt(e, [], !1).filter((e) => V(e) && Je(e) !== "body"), i = null, a = U(e).position === "fixed", o = a ? lt(e) : e;
589
+ for (; V(o) && !st(o);) {
590
+ let t = U(o), n = it(o);
591
+ !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Ze(o) && !n && kt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = lt(o);
592
592
  }
593
593
  return t.set(e, r), r;
594
594
  }
595
595
  function jt(e) {
596
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? et(t) ? [] : At(t, this._c) : [].concat(n), r], o = Ot(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
596
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? $e(t) ? [] : At(t, this._c) : [].concat(n), r], o = Ot(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
597
597
  for (let e = 1; e < a.length; e++) {
598
598
  let n = Ot(t, a[e], i);
599
- s = F(n.top, s), c = ve(n.right, c), l = ve(n.bottom, l), u = F(n.left, u);
599
+ s = I(n.top, s), c = F(n.right, c), l = F(n.bottom, l), u = I(n.left, u);
600
600
  }
601
601
  return {
602
602
  width: c - u,
@@ -613,19 +613,19 @@ function Mt(e) {
613
613
  };
614
614
  }
615
615
  function Nt(e, t, n) {
616
- let r = V(t), i = z(t), a = n === "fixed", o = yt(e, !0, a, t), s = {
616
+ let r = H(t), i = B(t), a = n === "fixed", o = yt(e, !0, a, t), s = {
617
617
  scrollLeft: 0,
618
618
  scrollTop: 0
619
- }, c = I(0);
619
+ }, c = L(0);
620
620
  function l() {
621
621
  c.x = bt(i);
622
622
  }
623
- if (r || !r && !a) if ((Ye(t) !== "body" || Qe(i)) && (s = lt(t)), r) {
623
+ if (r || !r && !a) if ((Je(t) !== "body" || Ze(i)) && (s = ct(t)), r) {
624
624
  let e = yt(t, !0, a, t);
625
625
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
626
626
  } else i && l();
627
627
  a && !r && i && l();
628
- let u = i && !r && !a ? xt(i, s) : I(0);
628
+ let u = i && !r && !a ? xt(i, s) : L(0);
629
629
  return {
630
630
  x: o.left + s.scrollLeft - c.x - u.x,
631
631
  y: o.top + s.scrollTop - c.y - u.y,
@@ -634,28 +634,28 @@ function Nt(e, t, n) {
634
634
  };
635
635
  }
636
636
  function Pt(e) {
637
- return H(e).position === "static";
637
+ return U(e).position === "static";
638
638
  }
639
639
  function Ft(e, t) {
640
- if (!V(e) || H(e).position === "fixed") return null;
640
+ if (!H(e) || U(e).position === "fixed") return null;
641
641
  if (t) return t(e);
642
642
  let n = e.offsetParent;
643
- return z(e) === n && (n = n.ownerDocument.body), n;
643
+ return B(e) === n && (n = n.ownerDocument.body), n;
644
644
  }
645
645
  function It(e, t) {
646
- let n = R(e);
647
- if (et(e)) return n;
648
- if (!V(e)) {
649
- let t = U(e);
650
- for (; t && !ct(t);) {
651
- if (B(t) && !Pt(t)) return t;
652
- t = U(t);
646
+ let n = z(e);
647
+ if ($e(e)) return n;
648
+ if (!H(e)) {
649
+ let t = lt(e);
650
+ for (; t && !st(t);) {
651
+ if (V(t) && !Pt(t)) return t;
652
+ t = lt(t);
653
653
  }
654
654
  return n;
655
655
  }
656
656
  let r = Ft(e, t);
657
- for (; r && $e(r) && Pt(r);) r = Ft(r, t);
658
- return r && ct(r) && Pt(r) && !at(r) ? n : r || ot(e) || n;
657
+ for (; r && Qe(r) && Pt(r);) r = Ft(r, t);
658
+ return r && st(r) && Pt(r) && !it(r) ? n : r || at(e) || n;
659
659
  }
660
660
  var Lt = async function(e) {
661
661
  let t = this.getOffsetParent || It, n = this.getDimensions, r = await n(e.floating);
@@ -670,20 +670,20 @@ var Lt = async function(e) {
670
670
  };
671
671
  };
672
672
  function Rt(e) {
673
- return H(e).direction === "rtl";
673
+ return U(e).direction === "rtl";
674
674
  }
675
675
  var zt = {
676
676
  convertOffsetParentRelativeRectToViewportRelativeRect: St,
677
- getDocumentElement: z,
677
+ getDocumentElement: B,
678
678
  getClippingRect: jt,
679
679
  getOffsetParent: It,
680
680
  getElementRects: Lt,
681
681
  getClientRects: Ct,
682
682
  getDimensions: Mt,
683
683
  getScale: ht,
684
- isElement: B,
684
+ isElement: V,
685
685
  isRTL: Rt
686
- }, Bt = qe, Vt = We, Ht = (e, t, n) => {
686
+ }, Bt = Ke, Vt = Ue, Ht = (e, t, n) => {
687
687
  let r = /* @__PURE__ */ new Map(), i = {
688
688
  platform: zt,
689
689
  ...n
@@ -691,7 +691,7 @@ var zt = {
691
691
  ...i.platform,
692
692
  _c: r
693
693
  };
694
- return Ue(e, t, {
694
+ return He(e, t, {
695
695
  ...i,
696
696
  platform: a
697
697
  });
@@ -725,7 +725,7 @@ function qt(e) {
725
725
  function Jt(e) {
726
726
  if (qt(e)) {
727
727
  let t = e.$el;
728
- return Xe(t) && Ye(t) === "#comment" ? null : t;
728
+ return Ye(t) && Je(t) === "#comment" ? null : t;
729
729
  }
730
730
  return e;
731
731
  }
@@ -1099,7 +1099,7 @@ function An(e, t, { useShadowSlot: n = !0, countWhitespaceTextInDefaultSlot: r =
1099
1099
  return a ? On(a, t, r) : En(e, t, r);
1100
1100
  }
1101
1101
  function jn(e, t = {}) {
1102
- let { host: r, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = he(), l = i ?? ne(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = D(d());
1102
+ let { host: r, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = P(), l = i ?? ne(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = D(d());
1103
1103
  x(() => {
1104
1104
  f.value = d();
1105
1105
  });
@@ -1148,7 +1148,7 @@ function jn(e, t = {}) {
1148
1148
  //#region src/components/base/PvPopoverV2/useHoverPopoverGroup.ts
1149
1149
  var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1150
1150
  let n = t.root.value;
1151
- return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n)) : !1;
1151
+ return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n) || e.hoverArea?.value?.contains(n)) : !1;
1152
1152
  }, Pn = (e) => (w(() => Mn.delete(e)), (t) => {
1153
1153
  if (!t) {
1154
1154
  Mn.delete(e);
@@ -1175,6 +1175,7 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1175
1175
  type: Boolean,
1176
1176
  default: !1
1177
1177
  },
1178
+ hoverTarget: { type: String },
1178
1179
  disableInteractive: {
1179
1180
  type: Boolean,
1180
1181
  default: !1
@@ -1233,11 +1234,12 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1233
1234
  "position-try-fallbacks: flip-block",
1234
1235
  "position-visibility: anchors-visible",
1235
1236
  `anchor-scope: ${In}`
1236
- ].every((e) => CSS.supports(e)), _ = D(!1), v = D(null), b = D(null), x = D(null), C = D(null), E = wn(b), ee = wn(C), k = D(!1), A = D(!1), j = D(!1), ne = Pn({
1237
+ ].every((e) => CSS.supports(e)), _ = D(!1), v = D(null), b = D(null), x = D(null), C = D(null), E = n(() => s.hoverTarget && b.value?.closest(s.hoverTarget) || b.value), ee = wn(E), k = wn(C), A = D(!1), j = D(!1), ne = D(!1), ie = Pn({
1237
1238
  root: v,
1238
1239
  floating: C,
1239
- close: () => s.disableClickOutsideToClose ? !1 : (ve(), !0)
1240
- }), ie = {
1240
+ hoverArea: n(() => s.hoverTarget ? E.value : null),
1241
+ close: () => s.disableClickOutsideToClose ? !1 : (I(), !0)
1242
+ }), ae = {
1241
1243
  "top-center": "top",
1242
1244
  "bottom-center": "bottom",
1243
1245
  "center-left": "left",
@@ -1248,7 +1250,7 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1248
1250
  "top-right": "top-end",
1249
1251
  "bottom-left": "bottom-start",
1250
1252
  "bottom-right": "bottom-end"
1251
- }, ae = {
1253
+ }, se = {
1252
1254
  "top-center": {
1253
1255
  area: "top",
1254
1256
  margin: "margin-block-end"
@@ -1289,30 +1291,30 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1289
1291
  area: "bottom span-left",
1290
1292
  margin: "margin-block-start"
1291
1293
  }
1292
- }, se = n(() => s.showOnHover || s.disableClickOutsideToClose ? "manual" : "auto"), ce = n(() => ({
1294
+ }, ce = n(() => s.showOnHover || s.disableClickOutsideToClose ? "manual" : "auto"), le = n(() => ({
1293
1295
  width: "fit-content",
1294
1296
  ...h ? { "anchor-scope": In } : void 0,
1295
1297
  ...s.cssCustomProperties
1296
- })), le = n(() => h ? { "anchor-name": In } : void 0), ue = n(() => {
1297
- let e = ae[s.position];
1298
+ })), ue = n(() => h ? { "anchor-name": In } : void 0), de = n(() => {
1299
+ let e = se[s.position];
1298
1300
  return {
1299
1301
  "position-anchor": In,
1300
1302
  "position-area": e.area,
1301
1303
  "position-try-fallbacks": s.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1302
1304
  [e.margin]: `${s.offset ?? 0}px`
1303
1305
  };
1304
- }), de = () => {}, fe = () => ({});
1306
+ }), fe = () => {}, pe = () => ({});
1305
1307
  if (!h) {
1306
1308
  let e = [];
1307
1309
  s.disableAutoPlacement || e.push(Vt({ fallbackStrategy: "initialPlacement" })), s.offset && e.push(Bt(s.offset));
1308
1310
  let t = Qt(x, C, {
1309
- placement: ie[s.position],
1311
+ placement: ae[s.position],
1310
1312
  strategy: s.positioningStrategy,
1311
1313
  middleware: e
1312
1314
  });
1313
- de = t.update, fe = () => t.floatingStyles.value;
1315
+ fe = t.update, pe = () => t.floatingStyles.value;
1314
1316
  let r = Cn(x), i = /* @__PURE__ */ dn(() => {
1315
- c.value && de();
1317
+ c.value && fe();
1316
1318
  }, 5);
1317
1319
  N([
1318
1320
  r.top,
@@ -1320,110 +1322,110 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1320
1322
  r.width,
1321
1323
  r.height
1322
1324
  ], i), _n(v, () => {
1323
- s.disableClickOutsideToClose || P(!1);
1325
+ s.disableClickOutsideToClose || F(!1);
1324
1326
  }, { ignore: n(() => [
1325
1327
  C.value,
1326
1328
  ".p-datepicker-panel",
1327
1329
  ...s.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1328
1330
  ]) });
1329
1331
  }
1330
- let pe = n(() => ({
1331
- ...fe(),
1332
+ let me = n(() => ({
1333
+ ...pe(),
1332
1334
  zIndex: s.zIndex
1333
- })), me, he, ge = () => {
1334
- me && clearTimeout(me), me = void 0;
1335
+ })), P, he, ge = () => {
1336
+ P && clearTimeout(P), P = void 0;
1335
1337
  }, _e = () => {
1336
1338
  he && clearTimeout(he), he = void 0;
1337
- }, P = (e) => {
1338
- ge(), _e(), !(e && (s.disabled || !m.value)) && (e && s.delay > 0 && (s.showOnHover || !h) ? me = setTimeout(() => {
1339
- c.value = !0, me = void 0;
1339
+ }, F = (e) => {
1340
+ ge(), _e(), !(e && (s.disabled || !m.value)) && (e && s.delay > 0 && (s.showOnHover || !h) ? P = setTimeout(() => {
1341
+ c.value = !0, P = void 0;
1340
1342
  }, s.delay) : c.value = e);
1341
- }, ve = () => {
1343
+ }, I = () => {
1342
1344
  ge(), _e(), c.value = !1;
1343
- }, F = () => {
1345
+ }, ve = () => {
1344
1346
  let e = C.value;
1345
1347
  !e || !_.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1346
- }, ye = n(() => !!c.value && (ee.value || A.value)), I = n(() => !s.showOnHover || j.value ? !1 : s.disableInteractive ? E.value || k.value : E.value || k.value || ye.value);
1348
+ }, L = n(() => !!c.value && (k.value || j.value)), ye = n(() => !s.showOnHover || ne.value ? !1 : s.disableInteractive ? ee.value || A.value : ee.value || A.value || L.value);
1347
1349
  N([
1348
- E,
1349
- k,
1350
- A
1350
+ ee,
1351
+ A,
1352
+ j
1351
1353
  ], ([e, t, n]) => {
1352
- !e && !t && !n && (j.value = !1);
1354
+ !e && !t && !n && (ne.value = !1);
1353
1355
  });
1354
1356
  let be = ({ target: e }) => {
1355
- k.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1356
- }, xe = ({ target: e }) => {
1357
1357
  A.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1358
- }, L = () => {
1359
- A.value = !1;
1358
+ }, R = ({ target: e }) => {
1359
+ j.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1360
+ }, xe = () => {
1361
+ j.value = !1;
1360
1362
  }, Se = () => {
1361
1363
  if (s.showOnHover) {
1362
1364
  if (s.disableClickOutsideToClose) return;
1363
- if (!c.value && !me && s.enableClickToggle) {
1364
- j.value = !1, P(!0);
1365
+ if (!c.value && !P && s.enableClickToggle) {
1366
+ ne.value = !1, F(!0);
1365
1367
  return;
1366
1368
  }
1367
- j.value = !0, ve();
1369
+ ne.value = !0, I();
1368
1370
  return;
1369
1371
  }
1370
- P(me ? !1 : !c.value);
1372
+ F(P ? !1 : !c.value);
1371
1373
  }, Ce = (e) => {
1372
1374
  let t = e.newState === "open";
1373
1375
  c.value !== t && (c.value = t);
1374
1376
  }, we = (e) => {
1375
- h && se.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), P(!1));
1377
+ h && ce.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), F(!1));
1376
1378
  };
1377
1379
  return N(c, async (e) => {
1378
- if (s.showOnHover && s.enableGroupSync && ne(!!e), !h) {
1379
- e && de();
1380
+ if (s.showOnHover && s.enableGroupSync && ie(!!e), !h) {
1381
+ e && fe();
1380
1382
  return;
1381
1383
  }
1382
- await g(), F();
1383
- }), N(I, (e) => {
1384
+ await g(), ve();
1385
+ }), N(ye, (e) => {
1384
1386
  if (s.showOnHover) {
1385
1387
  if (e) {
1386
- P(!0);
1388
+ F(!0);
1387
1389
  return;
1388
1390
  }
1389
1391
  ge(), s.closeDelay > 0 ? (_e(), he = setTimeout(() => {
1390
- he = void 0, I.value || P(!1);
1391
- }, s.closeDelay)) : P(!1);
1392
+ he = void 0, ye.value || F(!1);
1393
+ }, s.closeDelay)) : F(!1);
1392
1394
  }
1393
1395
  }), N(m, (e) => {
1394
- e ? h && c.value && g(F) : ve();
1396
+ e ? h && c.value && g(ve) : I();
1395
1397
  }), S(() => {
1396
- x.value = b.value, _.value = !0, c.value && g(() => h ? F() : de());
1398
+ x.value = b.value, _.value = !0, c.value && g(() => h ? ve() : fe());
1397
1399
  }), w(() => {
1398
1400
  ge(), _e();
1399
1401
  }), N(() => s.disabled, (e) => {
1400
1402
  if (!e) {
1401
- I.value && P(!0);
1403
+ ye.value && F(!0);
1402
1404
  return;
1403
1405
  }
1404
- k.value &&= !1, A.value &&= !1, P(!1);
1406
+ A.value &&= !1, j.value &&= !1, F(!1);
1405
1407
  }), (n, l) => (T(), a("div", {
1406
1408
  ref_key: "root",
1407
1409
  ref: v,
1408
- style: y(ce.value),
1410
+ style: y(le.value),
1409
1411
  onKeydown: we
1410
1412
  }, [o("div", {
1411
1413
  ref_key: "triggerWrapper",
1412
1414
  ref: b,
1413
- style: y(le.value),
1415
+ style: y(ue.value),
1414
1416
  onClick: Se,
1415
1417
  onFocusin: be,
1416
- onFocusout: l[0] ||= (e) => k.value = !1
1418
+ onFocusout: l[0] ||= (e) => A.value = !1
1417
1419
  }, [O(n.$slots, "trigger")], 36), _.value && M(h) && m.value ? (T(), a("div", {
1418
1420
  key: 0,
1419
1421
  ref_key: "floating",
1420
1422
  ref: C,
1421
1423
  class: "pv-floating pv-floating-native",
1422
- popover: se.value,
1423
- style: y(ue.value),
1424
+ popover: ce.value,
1425
+ style: y(de.value),
1424
1426
  onToggle: Ce,
1425
- onFocusin: xe,
1426
- onFocusout: L
1427
+ onFocusin: R,
1428
+ onFocusout: xe
1427
1429
  }, [e.disabled ? i("v-if", !0) : O(n.$slots, "content", { key: 0 })], 44, Fn)) : m.value ? (T(), r(t, {
1428
1430
  key: 1,
1429
1431
  to: e.teleportLocation,
@@ -1432,9 +1434,9 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1432
1434
  ref_key: "floating",
1433
1435
  ref: C,
1434
1436
  class: "pv-floating",
1435
- style: y(pe.value),
1436
- onFocusin: xe,
1437
- onFocusout: L
1437
+ style: y(me.value),
1438
+ onFocusin: R,
1439
+ onFocusout: xe
1438
1440
  }, [O(n.$slots, "content")], 36), [[re, c.value]])], 8, ["to", "disabled"])) : i("v-if", !0)], 36));
1439
1441
  }
1440
1442
  }), Rn = ["data-variant"], zn = /* @__PURE__ */ u({
@@ -1460,6 +1462,7 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1460
1462
  type: Boolean,
1461
1463
  default: !0
1462
1464
  },
1465
+ hoverTarget: { type: String },
1463
1466
  disableInteractive: {
1464
1467
  type: Boolean,
1465
1468
  default: !1
@@ -1539,7 +1542,7 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1539
1542
  "aria-label": e.tooltipText,
1540
1543
  disabled: e.disabled,
1541
1544
  onClick: se(u, ["stop"])
1542
- }, [l(P, {
1545
+ }, [l(_e, {
1543
1546
  name: e.icon,
1544
1547
  size: a[e.size]
1545
1548
  }, null, 8, ["name", "size"])], 10, Bn)]),