@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
@@ -1,23 +1,23 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, defineComponent as u, defineCustomElement as d, getCurrentInstance as f, getCurrentScope as p, guardReactiveProps as m, mergeModels as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as b, onBeforeUpdate as x, onMounted as S, onScopeDispose as C, onUnmounted as w, openBlock as T, reactive as E, readonly as ee, ref as D, renderList as O, renderSlot as k, shallowRef as A, toDisplayString as j, toValue as M, unref as te, useModel as ne, useSlots as re, vShow as ie, watch as N, watchEffect as ae, withCtx as oe, withDirectives as se } from "vue";
2
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, defineComponent as u, defineCustomElement as d, getCurrentInstance as f, getCurrentScope as p, guardReactiveProps as m, mergeModels as h, nextTick as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as b, onBeforeUpdate as x, onMounted as S, onScopeDispose as C, onUnmounted as w, openBlock as T, reactive as E, readonly as ee, ref as D, renderList as te, renderSlot as O, shallowRef as k, toDisplayString as A, toValue as j, unref as ne, useModel as re, useSlots as ie, vShow as ae, watch as M, watchEffect as oe, withCtx as se, withDirectives as ce } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
- var ce = Object.defineProperty, le = Object.getOwnPropertyDescriptor, ue = Object.getOwnPropertyNames, de = Object.prototype.hasOwnProperty, fe = (e, t) => {
4
+ var le = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, de = Object.getOwnPropertyNames, fe = Object.prototype.hasOwnProperty, pe = (e, t) => {
5
5
  let n = {};
6
- for (var r in e) ce(n, r, {
6
+ for (var r in e) le(n, r, {
7
7
  get: e[r],
8
8
  enumerable: !0
9
9
  });
10
- return t || ce(n, Symbol.toStringTag, { value: "Module" }), n;
11
- }, pe = (e, t, n, r) => {
12
- if (t && typeof t == "object" || typeof t == "function") for (var i = ue(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !de.call(e, s) && s !== n && ce(e, s, {
10
+ return t || le(n, Symbol.toStringTag, { value: "Module" }), n;
11
+ }, me = (e, t, n, r) => {
12
+ if (t && typeof t == "object" || typeof t == "function") for (var i = de(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !fe.call(e, s) && s !== n && le(e, s, {
13
13
  get: ((e) => t[e]).bind(null, s),
14
- enumerable: !(r = le(t, s)) || r.enumerable
14
+ enumerable: !(r = ue(t, s)) || r.enumerable
15
15
  });
16
16
  return e;
17
- }, me = (e, t, n) => (pe(e, t, "default"), n && pe(n, t, "default"));
17
+ }, he = (e, t, n) => (me(e, t, "default"), n && me(n, t, "default"));
18
18
  //#endregion
19
19
  //#region src/web-components/utils.ts
20
- function he() {
20
+ function N() {
21
21
  let e = D(!1), t = f()?.root || {};
22
22
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
23
23
  }
@@ -31,14 +31,14 @@ var ge = [
31
31
  24,
32
32
  32,
33
33
  64
34
- ], _e = ["xlink:href"], P = /* @__PURE__ */ u({
34
+ ], _e = ["xlink:href"], ve = /* @__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, n = he(), i = D(null), a = r(() => ({
41
+ let t = e, n = N(), i = D(null), a = r(() => ({
42
42
  "pv-icon": !0,
43
43
  [`pv-icon-${t.size}`]: t.size != null && ge.includes(t.size)
44
44
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
@@ -48,40 +48,40 @@ var ge = [
48
48
  class: _(a.value)
49
49
  }, [s("use", { "xlink:href": c.value }, null, 8, _e)], 2));
50
50
  }
51
- }), ve = Math.min, F = Math.max, ye = Math.round, I = (e) => ({
51
+ }), P = Math.min, ye = Math.max, be = Math.round, F = (e) => ({
52
52
  x: e,
53
53
  y: e
54
- }), be = {
54
+ }), xe = {
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 Se(e, t) {
61
61
  return typeof e == "function" ? e(t) : e;
62
62
  }
63
- function L(e) {
63
+ function I(e) {
64
64
  return e.split("-")[0];
65
65
  }
66
- function Se(e) {
66
+ function Ce(e) {
67
67
  return e.split("-")[1];
68
68
  }
69
- function Ce(e) {
69
+ function we(e) {
70
70
  return e === "x" ? "y" : "x";
71
71
  }
72
- function we(e) {
72
+ function Te(e) {
73
73
  return e === "y" ? "height" : "width";
74
74
  }
75
- function Te(e) {
75
+ function L(e) {
76
76
  let t = e[0];
77
77
  return t === "t" || t === "b" ? "y" : "x";
78
78
  }
79
79
  function Ee(e) {
80
- return Ce(Te(e));
80
+ return we(L(e));
81
81
  }
82
82
  function De(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";
84
+ let r = Ce(e), i = Ee(e), a = Te(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
85
85
  return t.reference[a] > t.floating[a] && (o = Ie(o)), [o, Ie(o)];
86
86
  }
87
87
  function Oe(e) {
@@ -106,12 +106,12 @@ function Pe(e, t, n) {
106
106
  }
107
107
  }
108
108
  function Fe(e, t, n, r) {
109
- let i = Se(e), a = Pe(L(e), n === "start", r);
109
+ let i = Ce(e), a = Pe(I(e), n === "start", r);
110
110
  return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(ke)))), a;
111
111
  }
112
112
  function Ie(e) {
113
- let t = L(e);
114
- return be[t] + e.slice(t.length);
113
+ let t = I(e);
114
+ return xe[t] + e.slice(t.length);
115
115
  }
116
116
  function Le(e) {
117
117
  return {
@@ -146,7 +146,7 @@ function ze(e) {
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
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;
149
+ let { reference: r, floating: i } = e, a = L(t), o = Ee(t), s = Te(o), c = I(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 (Ce(t)) {
181
181
  case "start":
182
182
  p[o] -= f * (n && l ? -1 : 1);
183
183
  break;
@@ -189,7 +189,7 @@ function Be(e, t, n) {
189
189
  }
190
190
  async function Ve(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 } = Se(t, e), p = Re(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = ze(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,
@@ -263,9 +263,9 @@ var He = 50, Ue = async (e, t, n) => {
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 } = Se(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";
268
+ let g = I(r), _ = L(o), v = I(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
269
  !d && x && b.push(...Fe(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) {
@@ -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" && _ !== L(t)) || T.every((e) => L(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 = L(e.placement);
293
293
  return t === _ || t === "y";
294
294
  }
295
295
  return !0;
@@ -308,7 +308,7 @@ var He = 50, Ue = async (e, t, n) => {
308
308
  };
309
309
  }, Ge = /* @__PURE__ */ new Set(["left", "top"]);
310
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" ? {
311
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = I(n), s = Ce(n), c = L(n) === "y", l = Ge.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Se(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
312
312
  mainAxis: d,
313
313
  crossAxis: 0,
314
314
  alignmentAxis: null
@@ -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 = 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 = be(n) !== a || be(r) !== o;
446
446
  return s && (n = a, r = o), {
447
447
  width: n,
448
448
  height: r,
@@ -454,14 +454,14 @@ function mt(e) {
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 (!V(t)) return F(1);
458
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = pt(t), o = (a ? be(n.width) : n.width) / r, s = (a ? be(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__ */ F(0);
465
465
  function _t(e) {
466
466
  let t = R(e);
467
467
  return !st() || !t.visualViewport ? gt : {
@@ -474,9 +474,9 @@ function vt(e, t, n) {
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);
477
+ let i = e.getBoundingClientRect(), a = mt(e), o = F(1);
478
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;
479
+ let s = vt(a, n, r) ? _t(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;
480
480
  if (a) {
481
481
  let e = R(a), t = r && B(r) ? R(r) : r, n = e, i = ft(n);
482
482
  for (; i && r && t !== n;) {
@@ -508,12 +508,12 @@ function St(e) {
508
508
  let c = {
509
509
  scrollLeft: 0,
510
510
  scrollTop: 0
511
- }, l = I(1), u = I(0), d = V(r);
511
+ }, l = F(1), u = F(0), d = V(r);
512
512
  if ((d || !d && !a) && ((Ye(r) !== "body" || Qe(o)) && (c = lt(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) : F(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 = z(e), n = lt(e), r = e.ownerDocument.body, i = ye(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = ye(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + bt(e), s = -n.scrollTop;
529
+ return H(r).direction === "rtl" && (o += ye(t.clientWidth, r.clientWidth) - i), {
530
530
  width: i,
531
531
  height: a,
532
532
  x: o,
@@ -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 = V(e) ? ht(e) : F(1);
558
558
  return {
559
559
  width: e.clientWidth * a.x,
560
560
  height: e.clientHeight * a.y,
@@ -596,7 +596,7 @@ function jt(e) {
596
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;
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 = ye(n.top, s), c = P(n.right, c), l = P(n.bottom, l), u = ye(n.left, u);
600
600
  }
601
601
  return {
602
602
  width: c - u,
@@ -616,7 +616,7 @@ function Nt(e, t, n) {
616
616
  let r = V(t), i = z(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 = F(0);
620
620
  function l() {
621
621
  c.x = bt(i);
622
622
  }
@@ -625,7 +625,7 @@ function Nt(e, t, n) {
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) : F(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,
@@ -695,7 +695,7 @@ var zt = {
695
695
  ...i,
696
696
  platform: a
697
697
  });
698
- }, W = /* @__PURE__ */ fe({
698
+ }, W = /* @__PURE__ */ pe({
699
699
  Vue: () => e,
700
700
  Vue2: () => void 0,
701
701
  del: () => Kt,
@@ -705,7 +705,7 @@ var zt = {
705
705
  set: () => Gt
706
706
  });
707
707
  import * as Ut from "vue";
708
- me(W, Ut);
708
+ he(W, Ut);
709
709
  function Wt() {}
710
710
  function Gt(e, t, n) {
711
711
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
@@ -830,7 +830,7 @@ function cn(e, t = {}) {
830
830
  clearTimeout(e), i(), i = G;
831
831
  }, o;
832
832
  return (s) => {
833
- let c = M(e), l = M(t.maxWait);
833
+ let c = j(e), l = j(t.maxWait);
834
834
  return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, u) => {
835
835
  i = t.rejectOnCancel ? u : e, o = s, l && !r && (r = setTimeout(() => {
836
836
  n && a(n), r = void 0, e(o());
@@ -854,7 +854,7 @@ function fn(e, t = !0, n) {
854
854
  un(n) ? S(e, n) : t ? e() : g(e);
855
855
  }
856
856
  function pn(e, t, n) {
857
- return N(e, t, {
857
+ return M(e, t, {
858
858
  ...n,
859
859
  immediate: !0
860
860
  });
@@ -864,20 +864,20 @@ function pn(e, t, n) {
864
864
  var mn = en ? window : void 0;
865
865
  en && window.document, en && window.navigator, en && window.location;
866
866
  function K(e) {
867
- let t = M(e);
867
+ let t = j(e);
868
868
  return t?.$el ?? t;
869
869
  }
870
870
  function hn(...e) {
871
871
  let t = [], n = () => {
872
872
  t.forEach((e) => e()), t.length = 0;
873
873
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = r(() => {
874
- let t = ln(M(e[0])).filter((e) => e != null);
874
+ let t = ln(j(e[0])).filter((e) => e != null);
875
875
  return t.every((e) => typeof e != "string") ? t : void 0;
876
876
  }), o = pn(() => [
877
877
  a.value?.map((e) => K(e)) ?? [mn].filter((e) => e != null),
878
- ln(M(a.value ? e[1] : e[0])),
879
- ln(te(a.value ? e[2] : e[1])),
880
- M(a.value ? e[3] : e[2])
878
+ ln(j(a.value ? e[1] : e[0])),
879
+ ln(ne(a.value ? e[2] : e[1])),
880
+ j(a.value ? e[3] : e[2])
881
881
  ], ([e, r, a, o]) => {
882
882
  if (n(), !e?.length || !r?.length || !a?.length) return;
883
883
  let s = rn(o) ? { ...o } : o;
@@ -900,7 +900,7 @@ function _n(e, t, n = {}) {
900
900
  let e = { passive: !0 };
901
901
  Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", G, e)), r.document.documentElement.addEventListener("click", G, e);
902
902
  }
903
- let c = !0, l = (e) => M(i).some((t) => {
903
+ let c = !0, l = (e) => j(i).some((t) => {
904
904
  if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
905
905
  {
906
906
  let n = K(t);
@@ -908,11 +908,11 @@ function _n(e, t, n = {}) {
908
908
  }
909
909
  });
910
910
  function u(e) {
911
- let t = M(e);
911
+ let t = j(e);
912
912
  return t && t.$.subTree.shapeFlag === 16;
913
913
  }
914
914
  function d(e, t) {
915
- let n = M(e), r = n.$.subTree && n.$.subTree.children;
915
+ let n = j(e), r = n.$.subTree && n.$.subTree.children;
916
916
  return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
917
917
  }
918
918
  let f = (n) => {
@@ -956,7 +956,7 @@ function _n(e, t, n = {}) {
956
956
  }
957
957
  /* @__NO_SIDE_EFFECTS__ */
958
958
  function vn() {
959
- let e = A(!1), t = f();
959
+ let e = k(!1), t = f();
960
960
  return t && S(() => {
961
961
  e.value = !0;
962
962
  }, t), e;
@@ -969,8 +969,8 @@ function yn(e) {
969
969
  function bn(e, t, n = {}) {
970
970
  let { window: i = mn, ...a } = n, o, s = /* @__PURE__ */ yn(() => i && "MutationObserver" in i), c = () => {
971
971
  o &&= (o.disconnect(), void 0);
972
- }, l = N(r(() => {
973
- let t = ln(M(e)).map(K).filter(tn);
972
+ }, l = M(r(() => {
973
+ let t = ln(j(e)).map(K).filter(tn);
974
974
  return new Set(t);
975
975
  }), (e) => {
976
976
  c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
@@ -991,7 +991,7 @@ function xn(e, t, n = {}) {
991
991
  if (!r || !i) return G;
992
992
  let o, s = (e) => {
993
993
  o?.(), o = e;
994
- }, c = ae(() => {
994
+ }, c = oe(() => {
995
995
  let n = K(e);
996
996
  if (n) {
997
997
  let { stop: e } = bn(i, (e) => {
@@ -1011,8 +1011,8 @@ function xn(e, t, n = {}) {
1011
1011
  function Sn(e, t, n = {}) {
1012
1012
  let { window: i = mn, ...a } = n, o, s = /* @__PURE__ */ yn(() => i && "ResizeObserver" in i), c = () => {
1013
1013
  o &&= (o.disconnect(), void 0);
1014
- }, l = N(r(() => {
1015
- let t = M(e);
1014
+ }, l = M(r(() => {
1015
+ let t = j(e);
1016
1016
  return Array.isArray(t) ? t.map((e) => K(e)) : [K(t)];
1017
1017
  }), (e) => {
1018
1018
  if (c(), s.value && i) {
@@ -1031,7 +1031,7 @@ function Sn(e, t, n = {}) {
1031
1031
  };
1032
1032
  }
1033
1033
  function Cn(e, t = {}) {
1034
- let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = A(0), c = A(0), l = A(0), u = A(0), d = A(0), f = A(0), p = A(0), m = A(0);
1034
+ let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = k(0), c = k(0), l = k(0), u = k(0), d = k(0), f = k(0), p = k(0), m = k(0);
1035
1035
  function h() {
1036
1036
  let t = K(e);
1037
1037
  if (!t) {
@@ -1044,7 +1044,7 @@ function Cn(e, t = {}) {
1044
1044
  function g() {
1045
1045
  o === "sync" ? h() : o === "next-frame" && requestAnimationFrame(() => h());
1046
1046
  }
1047
- return Sn(e, g), N(() => K(e), (e) => !e && g()), bn(e, g, { attributeFilter: ["style", "class"] }), i && hn("scroll", g, {
1047
+ return Sn(e, g), M(() => K(e), (e) => !e && g()), bn(e, g, { attributeFilter: ["style", "class"] }), i && hn("scroll", g, {
1048
1048
  capture: !0,
1049
1049
  passive: !0
1050
1050
  }), r && hn("resize", g, { passive: !0 }), fn(() => {
@@ -1062,7 +1062,7 @@ function Cn(e, t = {}) {
1062
1062
  };
1063
1063
  }
1064
1064
  function wn(e, t = {}) {
1065
- let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = mn } = t, s = A(!1), c, l = (e) => {
1065
+ let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = mn } = t, s = k(!1), c, l = (e) => {
1066
1066
  let t = e ? n : i;
1067
1067
  c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => s.value = e, t) : s.value = e;
1068
1068
  };
@@ -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: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = he(), l = i ?? re(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = D(d());
1102
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = N(), l = i ?? ie(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = D(d());
1103
1103
  x(() => {
1104
1104
  f.value = d();
1105
1105
  });
@@ -1110,7 +1110,7 @@ function jn(e, t = {}) {
1110
1110
  p.value = !1;
1111
1111
  return;
1112
1112
  }
1113
- let t = te(n);
1113
+ let t = ne(n);
1114
1114
  if (!t) {
1115
1115
  p.value = !1;
1116
1116
  return;
@@ -1122,7 +1122,7 @@ function jn(e, t = {}) {
1122
1122
  }, v = () => {
1123
1123
  if (!c.value) return;
1124
1124
  g();
1125
- let t = te(n);
1125
+ let t = ne(n);
1126
1126
  if (!t) {
1127
1127
  p.value = !1;
1128
1128
  return;
@@ -1135,7 +1135,7 @@ function jn(e, t = {}) {
1135
1135
  characterData: !0
1136
1136
  }));
1137
1137
  };
1138
- return S(v), b(g), N(() => te(n), () => {
1138
+ return S(v), b(g), M(() => ne(n), () => {
1139
1139
  c.value && v();
1140
1140
  }), {
1141
1141
  present: r(() => c.value ? p.value : f.value),
@@ -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
@@ -1227,17 +1228,18 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1227
1228
  }),
1228
1229
  emits: ["update:modelValue"],
1229
1230
  setup(e) {
1230
- let t = e, c = ne(e, "modelValue"), l = f(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: p } = jn("content", { host: u }), m = r(() => u ? p.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1231
+ let t = e, c = re(e, "modelValue"), l = f(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: p } = jn("content", { host: u }), m = r(() => u ? p.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1231
1232
  "anchor-name: --pv-anchor",
1232
1233
  "position-area: bottom",
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), O = D(!1), A = D(!1), j = D(!1), M = Pn({
1237
+ ].every((e) => CSS.supports(e)), _ = D(!1), v = D(null), b = D(null), x = D(null), C = D(null), E = r(() => t.hoverTarget && b.value?.closest(t.hoverTarget) || b.value), ee = wn(E), te = wn(C), k = D(!1), A = D(!1), j = D(!1), ie = Pn({
1237
1238
  root: v,
1238
1239
  floating: C,
1239
- close: () => t.disableClickOutsideToClose ? !1 : (ve(), !0)
1240
- }), re = {
1240
+ hoverArea: r(() => t.hoverTarget ? E.value : null),
1241
+ close: () => t.disableClickOutsideToClose ? !1 : (ye(), !0)
1242
+ }), oe = {
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,32 +1291,32 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1289
1291
  area: "bottom span-left",
1290
1292
  margin: "margin-block-start"
1291
1293
  }
1292
- }, oe = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ce = r(() => ({
1294
+ }, le = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ue = r(() => ({
1293
1295
  width: "fit-content",
1294
1296
  ...h ? { "anchor-scope": In } : void 0,
1295
1297
  ...t.cssCustomProperties
1296
- })), le = r(() => h ? { "anchor-name": In } : void 0), ue = r(() => {
1297
- let e = ae[t.position];
1298
+ })), de = r(() => h ? { "anchor-name": In } : void 0), fe = r(() => {
1299
+ let e = se[t.position];
1298
1300
  return {
1299
1301
  "position-anchor": In,
1300
1302
  "position-area": e.area,
1301
1303
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1302
1304
  [e.margin]: `${t.offset ?? 0}px`
1303
1305
  };
1304
- }), de = () => {}, fe = () => ({});
1306
+ }), pe = () => {}, me = () => ({});
1305
1307
  if (!h) {
1306
1308
  let e = [];
1307
1309
  t.disableAutoPlacement || e.push(Vt({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(Bt(t.offset));
1308
1310
  let n = Qt(x, C, {
1309
- placement: re[t.position],
1311
+ placement: oe[t.position],
1310
1312
  strategy: t.positioningStrategy,
1311
1313
  middleware: e
1312
1314
  });
1313
- de = n.update, fe = () => n.floatingStyles.value;
1315
+ pe = n.update, me = () => n.floatingStyles.value;
1314
1316
  let i = Cn(x), a = /* @__PURE__ */ dn(() => {
1315
- c.value && de();
1317
+ c.value && pe();
1316
1318
  }, 5);
1317
- N([
1319
+ M([
1318
1320
  i.top,
1319
1321
  i.left,
1320
1322
  i.width,
@@ -1327,115 +1329,115 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1327
1329
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1328
1330
  ]) });
1329
1331
  }
1330
- let pe = r(() => ({
1331
- ...fe(),
1332
+ let he = r(() => ({
1333
+ ...me(),
1332
1334
  zIndex: t.zIndex
1333
- })), me, he, ge = () => {
1334
- me && clearTimeout(me), me = void 0;
1335
- }, _e = () => {
1336
- he && clearTimeout(he), he = void 0;
1335
+ })), N, ge, _e = () => {
1336
+ N && clearTimeout(N), N = void 0;
1337
+ }, ve = () => {
1338
+ ge && clearTimeout(ge), ge = void 0;
1337
1339
  }, P = (e) => {
1338
- ge(), _e(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? me = setTimeout(() => {
1339
- c.value = !0, me = void 0;
1340
+ _e(), ve(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? N = setTimeout(() => {
1341
+ c.value = !0, N = void 0;
1340
1342
  }, t.delay) : c.value = e);
1341
- }, ve = () => {
1342
- ge(), _e(), c.value = !1;
1343
- }, F = () => {
1343
+ }, ye = () => {
1344
+ _e(), ve(), c.value = !1;
1345
+ }, be = () => {
1344
1346
  let e = C.value;
1345
1347
  !e || !_.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1346
- }, ye = r(() => !!c.value && (ee.value || A.value)), I = r(() => !t.showOnHover || j.value ? !1 : t.disableInteractive ? E.value || O.value : E.value || O.value || ye.value);
1347
- N([
1348
- E,
1349
- O,
1348
+ }, F = r(() => !!c.value && (te.value || A.value)), xe = r(() => !t.showOnHover || j.value ? !1 : t.disableInteractive ? ee.value || k.value : ee.value || k.value || F.value);
1349
+ M([
1350
+ ee,
1351
+ k,
1350
1352
  A
1351
1353
  ], ([e, t, n]) => {
1352
1354
  !e && !t && !n && (j.value = !1);
1353
1355
  });
1354
- let be = ({ target: e }) => {
1355
- O.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1356
- }, xe = ({ target: e }) => {
1356
+ let Se = ({ target: e }) => {
1357
+ k.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1358
+ }, I = ({ target: e }) => {
1357
1359
  A.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1358
- }, L = () => {
1360
+ }, Ce = () => {
1359
1361
  A.value = !1;
1360
- }, Se = () => {
1362
+ }, we = () => {
1361
1363
  if (t.showOnHover) {
1362
1364
  if (t.disableClickOutsideToClose) return;
1363
- if (!c.value && !me && t.enableClickToggle) {
1365
+ if (!c.value && !N && t.enableClickToggle) {
1364
1366
  j.value = !1, P(!0);
1365
1367
  return;
1366
1368
  }
1367
- j.value = !0, ve();
1369
+ j.value = !0, ye();
1368
1370
  return;
1369
1371
  }
1370
- P(me ? !1 : !c.value);
1371
- }, Ce = (e) => {
1372
+ P(N ? !1 : !c.value);
1373
+ }, Te = (e) => {
1372
1374
  let t = e.newState === "open";
1373
1375
  c.value !== t && (c.value = t);
1374
- }, we = (e) => {
1375
- h && oe.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), P(!1));
1376
+ }, L = (e) => {
1377
+ h && le.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), P(!1));
1376
1378
  };
1377
- return N(c, async (e) => {
1378
- if (t.showOnHover && t.enableGroupSync && M(!!e), !h) {
1379
- e && de();
1379
+ return M(c, async (e) => {
1380
+ if (t.showOnHover && t.enableGroupSync && ie(!!e), !h) {
1381
+ e && pe();
1380
1382
  return;
1381
1383
  }
1382
- await g(), F();
1383
- }), N(I, (e) => {
1384
+ await g(), be();
1385
+ }), M(xe, (e) => {
1384
1386
  if (t.showOnHover) {
1385
1387
  if (e) {
1386
1388
  P(!0);
1387
1389
  return;
1388
1390
  }
1389
- ge(), t.closeDelay > 0 ? (_e(), he = setTimeout(() => {
1390
- he = void 0, I.value || P(!1);
1391
+ _e(), t.closeDelay > 0 ? (ve(), ge = setTimeout(() => {
1392
+ ge = void 0, xe.value || P(!1);
1391
1393
  }, t.closeDelay)) : P(!1);
1392
1394
  }
1393
- }), N(m, (e) => {
1394
- e ? h && c.value && g(F) : ve();
1395
+ }), M(m, (e) => {
1396
+ e ? h && c.value && g(be) : ye();
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 ? be() : pe());
1397
1399
  }), w(() => {
1398
- ge(), _e();
1399
- }), N(() => t.disabled, (e) => {
1400
+ _e(), ve();
1401
+ }), M(() => t.disabled, (e) => {
1400
1402
  if (!e) {
1401
- I.value && P(!0);
1403
+ xe.value && P(!0);
1402
1404
  return;
1403
1405
  }
1404
- O.value &&= !1, A.value &&= !1, P(!1);
1406
+ k.value &&= !1, A.value &&= !1, P(!1);
1405
1407
  }), (r, l) => (T(), o("div", {
1406
1408
  ref_key: "root",
1407
1409
  ref: v,
1408
- style: y(ce.value),
1409
- onKeydown: we
1410
+ style: y(ue.value),
1411
+ onKeydown: L
1410
1412
  }, [s("div", {
1411
1413
  ref_key: "triggerWrapper",
1412
1414
  ref: b,
1413
- style: y(le.value),
1414
- onClick: Se,
1415
- onFocusin: be,
1416
- onFocusout: l[0] ||= (e) => O.value = !1
1417
- }, [k(r.$slots, "trigger")], 36), _.value && te(h) && m.value ? (T(), o("div", {
1415
+ style: y(de.value),
1416
+ onClick: we,
1417
+ onFocusin: Se,
1418
+ onFocusout: l[0] ||= (e) => k.value = !1
1419
+ }, [O(r.$slots, "trigger")], 36), _.value && ne(h) && m.value ? (T(), o("div", {
1418
1420
  key: 0,
1419
1421
  ref_key: "floating",
1420
1422
  ref: C,
1421
1423
  class: "pv-floating pv-floating-native",
1422
- popover: oe.value,
1423
- style: y(ue.value),
1424
- onToggle: Ce,
1425
- onFocusin: xe,
1426
- onFocusout: L
1427
- }, [e.disabled ? a("v-if", !0) : k(r.$slots, "content", { key: 0 })], 44, Fn)) : m.value ? (T(), i(n, {
1424
+ popover: le.value,
1425
+ style: y(fe.value),
1426
+ onToggle: Te,
1427
+ onFocusin: I,
1428
+ onFocusout: Ce
1429
+ }, [e.disabled ? a("v-if", !0) : O(r.$slots, "content", { key: 0 })], 44, Fn)) : m.value ? (T(), i(n, {
1428
1430
  key: 1,
1429
1431
  to: e.teleportLocation,
1430
1432
  disabled: !t.useTeleport || e.disabled
1431
- }, [se(s("div", {
1433
+ }, [ce(s("div", {
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
1438
- }, [k(r.$slots, "content")], 36), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1437
+ style: y(he.value),
1438
+ onFocusin: I,
1439
+ onFocusout: Ce
1440
+ }, [O(r.$slots, "content")], 36), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1439
1441
  }
1440
1442
  }), Rn = ["data-variant"], zn = /* @__PURE__ */ u({
1441
1443
  __name: "PvTooltipV2",
@@ -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
@@ -1483,15 +1486,15 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1483
1486
  setup(e) {
1484
1487
  let t = e, n = f(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = jn("content", { host: a }), d = r(() => a ? u.value : o.value), p = r(() => !!t.description || d.value);
1485
1488
  return (t, n) => (T(), i(Ln, v(m(t.$props)), c({
1486
- trigger: oe(() => [k(t.$slots, "trigger", {}, () => [s("p", null, j(e.label), 1)])]),
1489
+ trigger: se(() => [O(t.$slots, "trigger", {}, () => [s("p", null, A(e.label), 1)])]),
1487
1490
  _: 2
1488
1491
  }, [p.value ? {
1489
1492
  name: "content",
1490
- fn: oe(() => [s("div", {
1493
+ fn: se(() => [s("div", {
1491
1494
  class: _(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1492
1495
  role: "tooltip",
1493
1496
  "data-variant": e.variant
1494
- }, [k(t.$slots, "content", {}, () => [l(j(e.description), 1)])], 10, Rn)]),
1497
+ }, [O(t.$slots, "content", {}, () => [l(A(e.description), 1)])], 10, Rn)]),
1495
1498
  key: "0"
1496
1499
  } : void 0]), 1040));
1497
1500
  }
@@ -1514,7 +1517,7 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1514
1517
  }),
1515
1518
  emits: ["update:modelValue"],
1516
1519
  setup(e) {
1517
- let n = e, r = ne(e, "modelValue"), c = D(`toggle-group-${Math.random().toString(36).substr(2, 9)}`), l = (e) => {
1520
+ let n = e, r = re(e, "modelValue"), c = D(`toggle-group-${Math.random().toString(36).substr(2, 9)}`), l = (e) => {
1518
1521
  if (!e.disabled) {
1519
1522
  if (r.value?.value === e.value) {
1520
1523
  n.allowDeselect && (r.value = null);
@@ -1523,11 +1526,11 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1523
1526
  r.value = e;
1524
1527
  }
1525
1528
  };
1526
- return (n, u) => (T(), o("div", Bn, [(T(!0), o(t, null, O(e.options, (t) => (T(), i(zn, {
1529
+ return (n, u) => (T(), o("div", Bn, [(T(!0), o(t, null, te(e.options, (t) => (T(), i(zn, {
1527
1530
  key: t.value,
1528
1531
  description: e.hideLabels ? t.label : ""
1529
1532
  }, {
1530
- trigger: oe(() => [s("label", { class: _(["pv-label pv-label-hover pv-flex pv-toggle-small", { "pv-disabled": e.disabled || t.disabled }]) }, [
1533
+ trigger: se(() => [s("label", { class: _(["pv-label pv-label-hover pv-flex pv-toggle-small", { "pv-disabled": e.disabled || t.disabled }]) }, [
1531
1534
  s("input", {
1532
1535
  type: "radio",
1533
1536
  name: c.value,
@@ -1537,11 +1540,11 @@ var Mn = /* @__PURE__ */ new Set(), Nn = (e, t) => {
1537
1540
  disabled: e.disabled || t.disabled,
1538
1541
  onChange: (e) => l(t)
1539
1542
  }, null, 40, Vn),
1540
- t.icon ? (T(), i(P, {
1543
+ t.icon ? (T(), i(ve, {
1541
1544
  key: 0,
1542
1545
  name: t.icon
1543
1546
  }, null, 8, ["name"])) : a("v-if", !0),
1544
- e.hideLabels ? a("v-if", !0) : (T(), o("span", Hn, j(t.label), 1))
1547
+ e.hideLabels ? a("v-if", !0) : (T(), o("span", Hn, A(t.label), 1))
1545
1548
  ], 2)]),
1546
1549
  _: 2
1547
1550
  }, 1032, ["description"]))), 128))]));
@@ -1879,15 +1882,15 @@ var Q = {
1879
1882
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
1880
1883
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
1881
1884
  if (q(a) && o.transform !== "strict") {
1882
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = X(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = y || {}, { dark: T } = w, E = X(w, ["dark"]), ee = q(t) ? this._toVariables({ primitive: t }, o) : {}, D = q(_) ? this._toVariables({ semantic: _ }, o) : {}, O = q(C) ? this._toVariables({ light: C }, o) : {}, k = q(S) ? this._toVariables({ dark: S }, o) : {}, A = q(b) ? this._toVariables({ semantic: b }, o) : {}, j = q(E) ? this._toVariables({ light: E }, o) : {}, M = q(T) ? this._toVariables({ dark: T }, o) : {}, [te, ne] = [ee.declarations ?? "", ee.tokens], [re, ie] = [D.declarations ?? "", D.tokens || []], [N, ae] = [O.declarations ?? "", O.tokens || []], [oe, se] = [k.declarations ?? "", k.tokens || []], [ce, le] = [A.declarations ?? "", A.tokens || []], [ue, de] = [j.declarations ?? "", j.tokens || []], [fe, pe] = [M.declarations ?? "", M.tokens || []];
1883
- s = this.transformCSS(e, te, "light", "variable", o, r, i), c = ne, l = `${this.transformCSS(e, `${re}${N}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${oe}`, "dark", "variable", o, r, i)}`, u = [...new Set([
1884
- ...ie,
1885
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = X(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = y || {}, { dark: T } = w, E = X(w, ["dark"]), ee = q(t) ? this._toVariables({ primitive: t }, o) : {}, D = q(_) ? this._toVariables({ semantic: _ }, o) : {}, te = q(C) ? this._toVariables({ light: C }, o) : {}, O = q(S) ? this._toVariables({ dark: S }, o) : {}, k = q(b) ? this._toVariables({ semantic: b }, o) : {}, A = q(E) ? this._toVariables({ light: E }, o) : {}, j = q(T) ? this._toVariables({ dark: T }, o) : {}, [ne, re] = [ee.declarations ?? "", ee.tokens], [ie, ae] = [D.declarations ?? "", D.tokens || []], [M, oe] = [te.declarations ?? "", te.tokens || []], [se, ce] = [O.declarations ?? "", O.tokens || []], [le, ue] = [k.declarations ?? "", k.tokens || []], [de, fe] = [A.declarations ?? "", A.tokens || []], [pe, me] = [j.declarations ?? "", j.tokens || []];
1886
+ s = this.transformCSS(e, ne, "light", "variable", o, r, i), c = re, l = `${this.transformCSS(e, `${ie}${M}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${se}`, "dark", "variable", o, r, i)}`, u = [...new Set([
1885
1887
  ...ae,
1886
- ...se
1887
- ])], d = `${this.transformCSS(e, `${ce}${ue}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${fe}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
1888
- ...le,
1889
- ...de,
1890
- ...pe
1888
+ ...oe,
1889
+ ...ce
1890
+ ])], d = `${this.transformCSS(e, `${le}${de}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${pe}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
1891
+ ...ue,
1892
+ ...fe,
1893
+ ...me
1891
1894
  ])], p = tr(a.css, { dt: Ir });
1892
1895
  }
1893
1896
  return {
@@ -1913,11 +1916,11 @@ var Q = {
1913
1916
  "colorScheme",
1914
1917
  "extend",
1915
1918
  "css"
1916
- ]), h = f || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = X(v, ["dark"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = q(m) ? this._toVariables({ [r]: Y(Y({}, m), _) }, n) : {}, T = q(b) ? this._toVariables({ [r]: Y(Y({}, b), C) }, n) : {}, E = q(y) ? this._toVariables({ [r]: Y(Y({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, j] = [E.declarations ?? "", E.tokens || []];
1917
- s = `${this.transformCSS(r, `${ee}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
1919
+ ]), h = f || {}, { colorScheme: g } = h, _ = X(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = X(v, ["dark"]), x = g || {}, { dark: S } = x, C = X(x, ["dark"]), w = q(m) ? this._toVariables({ [r]: Y(Y({}, m), _) }, n) : {}, T = q(b) ? this._toVariables({ [r]: Y(Y({}, b), C) }, n) : {}, E = q(y) ? this._toVariables({ [r]: Y(Y({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [te, O] = [T.declarations ?? "", T.tokens || []], [k, A] = [E.declarations ?? "", E.tokens || []];
1920
+ s = `${this.transformCSS(r, `${ee}${te}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, k, "dark", "variable", n, i, a, o)}`, c = [...new Set([
1918
1921
  ...D,
1919
- ...k,
1920
- ...j
1922
+ ...O,
1923
+ ...A
1921
1924
  ])], l = tr(p, { dt: Ir });
1922
1925
  }
1923
1926
  return {
@@ -2276,31 +2279,31 @@ function qr(e) {
2276
2279
  }
2277
2280
  var Jr = 0;
2278
2281
  function Yr(e) {
2279
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = D(!1), r = D(e), i = D(null), a = pr() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Jr}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, O = E === void 0 ? void 0 : E, k = t.props, A = k === void 0 ? {} : k, j = function() {}, M = function(t) {
2282
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = D(!1), r = D(e), i = D(null), a = pr() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Jr}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, te = E === void 0 ? void 0 : E, O = t.props, k = O === void 0 ? {} : O, A = function() {}, j = function(t) {
2280
2283
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2281
2284
  if (s) {
2282
- var o = Ur(Ur({}, A), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2285
+ var o = Ur(Ur({}, k), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2283
2286
  i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, fr(i.value, {
2284
2287
  type: "text/css",
2285
2288
  id: l,
2286
2289
  media: _,
2287
2290
  nonce: u
2288
2291
  }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), mr(i.value, "data-primevue-style-id", c), fr(i.value, o), i.value.onload = function(e) {
2289
- return O?.(e, { name: c });
2290
- }, C?.(c)), !n.value && (j = N(r, function(e) {
2292
+ return te?.(e, { name: c });
2293
+ }, C?.(c)), !n.value && (A = M(r, function(e) {
2291
2294
  i.value.textContent = e, T?.(c);
2292
2295
  }, { immediate: !0 }), n.value = !0);
2293
2296
  }
2294
2297
  };
2295
- return l && !d && qr(M), {
2298
+ return l && !d && qr(j), {
2296
2299
  id: h,
2297
2300
  name: p,
2298
2301
  el: i,
2299
2302
  css: r,
2300
2303
  unload: function() {
2301
- !s || !n.value || (j(), ur(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2304
+ !s || !n.value || (A(), ur(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2302
2305
  },
2303
- load: M,
2306
+ load: j,
2304
2307
  isLoaded: ee(n)
2305
2308
  };
2306
2309
  }
@@ -2798,7 +2801,7 @@ function Ei(e, t) {
2798
2801
  Z.on("theme:change", function(t) {
2799
2802
  n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
2800
2803
  });
2801
- var i = N(t.config, function(e, t) {
2804
+ var i = M(t.config, function(e, t) {
2802
2805
  mi.emit("config:change", {
2803
2806
  newValue: e,
2804
2807
  oldValue: t
@@ -2806,7 +2809,7 @@ function Ei(e, t) {
2806
2809
  }, {
2807
2810
  immediate: !0,
2808
2811
  deep: !0
2809
- }), a = N(function() {
2812
+ }), a = M(function() {
2810
2813
  return t.config.ripple;
2811
2814
  }, function(e, t) {
2812
2815
  mi.emit("config:ripple:change", {
@@ -2816,7 +2819,7 @@ function Ei(e, t) {
2816
2819
  }, {
2817
2820
  immediate: !0,
2818
2821
  deep: !0
2819
- }), o = N(function() {
2822
+ }), o = M(function() {
2820
2823
  return t.config.theme;
2821
2824
  }, function(e, i) {
2822
2825
  n.value || $.setTheme(e), t.config.unstyled || r(), n.value = !1, mi.emit("config:theme:change", {
@@ -2826,7 +2829,7 @@ function Ei(e, t) {
2826
2829
  }, {
2827
2830
  immediate: !0,
2828
2831
  deep: !1
2829
- }), s = N(function() {
2832
+ }), s = M(function() {
2830
2833
  return t.config.unstyled;
2831
2834
  }, function(e, n) {
2832
2835
  !e && t.config.theme && r(), mi.emit("config:unstyled:change", {