@turquoisehealth/pit-viper 2.210.0 → 2.210.2-dev.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 (37) 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-split-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  17. package/pv-components/dist/vue/base/pv-components-base.mjs +19 -18
  18. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  19. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +2 -0
  20. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
  21. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1504 -1486
  22. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  23. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +434 -433
  24. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +131 -130
  25. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +214 -213
  26. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +115 -114
  27. package/pv-components/dist/web/components/pv-menu/pv-menu.js +662 -661
  28. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +607 -606
  29. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +18 -17
  30. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +19 -18
  31. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +627 -626
  32. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +34 -33
  33. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +81 -80
  34. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +465 -464
  35. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +224 -223
  36. package/pv-components/dist/web/pv-components.iife.js +1 -1
  37. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,20 +1,20 @@
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, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onBeforeUpdate as S, onMounted as C, onScopeDispose as w, onUnmounted as T, openBlock as E, reactive as ee, readonly as te, ref as D, renderList as O, renderSlot as k, shallowRef as A, toDisplayString as j, toValue as M, unref as ne, useModel as re, useSlots as ie, vShow as ae, watch as N, watchEffect as oe, withCtx as P, withDirectives as se, withModifiers as ce } 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, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onBeforeUpdate as S, onMounted as C, onScopeDispose as w, onUnmounted as T, openBlock as E, reactive as ee, readonly as te, ref as D, renderList as ne, renderSlot as O, shallowRef as k, toDisplayString as A, toValue as j, unref as re, useModel as ie, useSlots as ae, vShow as oe, watch as M, watchEffect as se, withCtx as N, withDirectives as ce, withModifiers as le } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
- var le = Object.defineProperty, F = Object.getOwnPropertyDescriptor, ue = Object.getOwnPropertyNames, de = Object.prototype.hasOwnProperty, fe = (e, t) => {
4
+ var ue = Object.defineProperty, P = Object.getOwnPropertyDescriptor, de = Object.getOwnPropertyNames, fe = Object.prototype.hasOwnProperty, pe = (e, t) => {
5
5
  let n = {};
6
- for (var r in e) le(n, r, {
6
+ for (var r in e) ue(n, r, {
7
7
  get: e[r],
8
8
  enumerable: !0
9
9
  });
10
- return t || le(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 && le(e, s, {
10
+ return t || ue(n, Symbol.toStringTag, { value: "Module" }), n;
11
+ }, F = (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 && ue(e, s, {
13
13
  get: ((e) => t[e]).bind(null, s),
14
- enumerable: !(r = F(t, s)) || r.enumerable
14
+ enumerable: !(r = P(t, s)) || r.enumerable
15
15
  });
16
16
  return e;
17
- }, me = (e, t, n) => (pe(e, t, "default"), n && pe(n, t, "default")), he = ["data-style"], ge = /* @__PURE__ */ d({
17
+ }, me = (e, t, n) => (F(e, t, "default"), n && F(n, t, "default")), he = ["data-style"], ge = /* @__PURE__ */ d({
18
18
  __name: "PvActionBar",
19
19
  props: { variant: {
20
20
  default: "white",
@@ -24,7 +24,7 @@ var le = Object.defineProperty, F = Object.getOwnPropertyDescriptor, ue = Object
24
24
  return (t, n) => (E(), o("div", {
25
25
  class: "pv-action-bar-container",
26
26
  "data-style": e.variant === "white" ? "white" : void 0
27
- }, [k(t.$slots, "default")], 8, he));
27
+ }, [O(t.$slots, "default")], 8, he));
28
28
  }
29
29
  }), _e = /* @__PURE__ */ d({
30
30
  __name: "PvSpinner",
@@ -129,7 +129,7 @@ var Se = [
129
129
  return (e, t) => (E(), o("div", {
130
130
  class: v(i.value),
131
131
  "data-testid": "pv-counter-badge"
132
- }, j(n.value), 3));
132
+ }, A(n.value), 3));
133
133
  }
134
134
  }), Ee = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", De = (e, t) => {
135
135
  let n = e.__vccOpts || e;
@@ -195,7 +195,7 @@ var Se = [
195
195
  name: e.leftIcon,
196
196
  "data-testid": "pv-button-left-icon"
197
197
  }, null, 8, ["name"])) : a("v-if", !0),
198
- e.label ? (E(), o("span", Ae, j(e.label), 1)) : a("v-if", !0),
198
+ e.label ? (E(), o("span", Ae, A(e.label), 1)) : a("v-if", !0),
199
199
  e.rightCounterBadge ? (E(), i(Oe, {
200
200
  key: 3,
201
201
  value: e.rightCounterBadge,
@@ -855,7 +855,7 @@ var tn = {
855
855
  ...i,
856
856
  platform: a
857
857
  });
858
- }, U = /* @__PURE__ */ fe({
858
+ }, U = /* @__PURE__ */ pe({
859
859
  Vue: () => e,
860
860
  Vue2: () => void 0,
861
861
  del: () => ln,
@@ -990,7 +990,7 @@ function wn(e, t = {}) {
990
990
  clearTimeout(e), i(), i = W;
991
991
  }, o;
992
992
  return (s) => {
993
- let c = M(e), l = M(t.maxWait);
993
+ let c = j(e), l = j(t.maxWait);
994
994
  return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, u) => {
995
995
  i = t.rejectOnCancel ? u : e, o = s, l && !r && (r = setTimeout(() => {
996
996
  n && a(n), r = void 0, e(o());
@@ -1014,7 +1014,7 @@ function On(e, t = !0, n) {
1014
1014
  En(n) ? C(e, n) : t ? e() : _(e);
1015
1015
  }
1016
1016
  function kn(e, t, n) {
1017
- return N(e, t, {
1017
+ return M(e, t, {
1018
1018
  ...n,
1019
1019
  immediate: !0
1020
1020
  });
@@ -1024,20 +1024,20 @@ function kn(e, t, n) {
1024
1024
  var An = _n ? window : void 0;
1025
1025
  _n && window.document, _n && window.navigator, _n && window.location;
1026
1026
  function G(e) {
1027
- let t = M(e);
1027
+ let t = j(e);
1028
1028
  return t?.$el ?? t;
1029
1029
  }
1030
1030
  function jn(...e) {
1031
1031
  let t = [], n = () => {
1032
1032
  t.forEach((e) => e()), t.length = 0;
1033
1033
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = r(() => {
1034
- let t = Tn(M(e[0])).filter((e) => e != null);
1034
+ let t = Tn(j(e[0])).filter((e) => e != null);
1035
1035
  return t.every((e) => typeof e != "string") ? t : void 0;
1036
1036
  }), o = kn(() => [
1037
1037
  a.value?.map((e) => G(e)) ?? [An].filter((e) => e != null),
1038
- Tn(M(a.value ? e[1] : e[0])),
1039
- Tn(ne(a.value ? e[2] : e[1])),
1040
- M(a.value ? e[3] : e[2])
1038
+ Tn(j(a.value ? e[1] : e[0])),
1039
+ Tn(re(a.value ? e[2] : e[1])),
1040
+ j(a.value ? e[3] : e[2])
1041
1041
  ], ([e, r, a, o]) => {
1042
1042
  if (n(), !e?.length || !r?.length || !a?.length) return;
1043
1043
  let s = bn(o) ? { ...o } : o;
@@ -1060,7 +1060,7 @@ function Nn(e, t, n = {}) {
1060
1060
  let e = { passive: !0 };
1061
1061
  Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", W, e)), r.document.documentElement.addEventListener("click", W, e);
1062
1062
  }
1063
- let c = !0, l = (e) => M(i).some((t) => {
1063
+ let c = !0, l = (e) => j(i).some((t) => {
1064
1064
  if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
1065
1065
  {
1066
1066
  let n = G(t);
@@ -1068,11 +1068,11 @@ function Nn(e, t, n = {}) {
1068
1068
  }
1069
1069
  });
1070
1070
  function u(e) {
1071
- let t = M(e);
1071
+ let t = j(e);
1072
1072
  return t && t.$.subTree.shapeFlag === 16;
1073
1073
  }
1074
1074
  function d(e, t) {
1075
- let n = M(e), r = n.$.subTree && n.$.subTree.children;
1075
+ let n = j(e), r = n.$.subTree && n.$.subTree.children;
1076
1076
  return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
1077
1077
  }
1078
1078
  let f = (n) => {
@@ -1116,7 +1116,7 @@ function Nn(e, t, n = {}) {
1116
1116
  }
1117
1117
  /* @__NO_SIDE_EFFECTS__ */
1118
1118
  function Pn() {
1119
- let e = A(!1), t = p();
1119
+ let e = k(!1), t = p();
1120
1120
  return t && C(() => {
1121
1121
  e.value = !0;
1122
1122
  }, t), e;
@@ -1129,8 +1129,8 @@ function Fn(e) {
1129
1129
  function In(e, t, n = {}) {
1130
1130
  let { window: i = An, ...a } = n, o, s = /* @__PURE__ */ Fn(() => i && "MutationObserver" in i), c = () => {
1131
1131
  o &&= (o.disconnect(), void 0);
1132
- }, l = N(r(() => {
1133
- let t = Tn(M(e)).map(G).filter(vn);
1132
+ }, l = M(r(() => {
1133
+ let t = Tn(j(e)).map(G).filter(vn);
1134
1134
  return new Set(t);
1135
1135
  }), (e) => {
1136
1136
  c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
@@ -1151,7 +1151,7 @@ function Ln(e, t, n = {}) {
1151
1151
  if (!r || !i) return W;
1152
1152
  let o, s = (e) => {
1153
1153
  o?.(), o = e;
1154
- }, c = oe(() => {
1154
+ }, c = se(() => {
1155
1155
  let n = G(e);
1156
1156
  if (n) {
1157
1157
  let { stop: e } = In(i, (e) => {
@@ -1171,8 +1171,8 @@ function Ln(e, t, n = {}) {
1171
1171
  function Rn(e, t, n = {}) {
1172
1172
  let { window: i = An, ...a } = n, o, s = /* @__PURE__ */ Fn(() => i && "ResizeObserver" in i), c = () => {
1173
1173
  o &&= (o.disconnect(), void 0);
1174
- }, l = N(r(() => {
1175
- let t = M(e);
1174
+ }, l = M(r(() => {
1175
+ let t = j(e);
1176
1176
  return Array.isArray(t) ? t.map((e) => G(e)) : [G(t)];
1177
1177
  }), (e) => {
1178
1178
  if (c(), s.value && i) {
@@ -1191,7 +1191,7 @@ function Rn(e, t, n = {}) {
1191
1191
  };
1192
1192
  }
1193
1193
  function zn(e, t = {}) {
1194
- 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);
1194
+ 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);
1195
1195
  function h() {
1196
1196
  let t = G(e);
1197
1197
  if (!t) {
@@ -1204,7 +1204,7 @@ function zn(e, t = {}) {
1204
1204
  function g() {
1205
1205
  o === "sync" ? h() : o === "next-frame" && requestAnimationFrame(() => h());
1206
1206
  }
1207
- return Rn(e, g), N(() => G(e), (e) => !e && g()), In(e, g, { attributeFilter: ["style", "class"] }), i && jn("scroll", g, {
1207
+ return Rn(e, g), M(() => G(e), (e) => !e && g()), In(e, g, { attributeFilter: ["style", "class"] }), i && jn("scroll", g, {
1208
1208
  capture: !0,
1209
1209
  passive: !0
1210
1210
  }), r && jn("resize", g, { passive: !0 }), On(() => {
@@ -1222,7 +1222,7 @@ function zn(e, t = {}) {
1222
1222
  };
1223
1223
  }
1224
1224
  function Bn(e, t = {}) {
1225
- let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = An } = t, s = A(!1), c, l = (e) => {
1225
+ let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = An } = t, s = k(!1), c, l = (e) => {
1226
1226
  let t = e ? n : i;
1227
1227
  c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => s.value = e, t) : s.value = e;
1228
1228
  };
@@ -1244,7 +1244,7 @@ function Un(e, t) {
1244
1244
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
1245
1245
  }
1246
1246
  function Wn(e, t = {}) {
1247
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = xe(), l = i ?? ie(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = D(d());
1247
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = xe(), l = i ?? ae(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = D(d());
1248
1248
  S(() => {
1249
1249
  f.value = d();
1250
1250
  });
@@ -1255,7 +1255,7 @@ function Wn(e, t = {}) {
1255
1255
  p.value = !1;
1256
1256
  return;
1257
1257
  }
1258
- let t = ne(n);
1258
+ let t = re(n);
1259
1259
  if (!t) {
1260
1260
  p.value = !1;
1261
1261
  return;
@@ -1269,7 +1269,7 @@ function Wn(e, t = {}) {
1269
1269
  }, v = () => {
1270
1270
  if (!c.value) return;
1271
1271
  g();
1272
- let t = ne(n);
1272
+ let t = re(n);
1273
1273
  if (!t) {
1274
1274
  p.value = !1;
1275
1275
  return;
@@ -1282,7 +1282,7 @@ function Wn(e, t = {}) {
1282
1282
  characterData: !0
1283
1283
  }));
1284
1284
  };
1285
- return C(v), x(g), N(() => ne(n), () => {
1285
+ return C(v), x(g), M(() => re(n), () => {
1286
1286
  c.value && v();
1287
1287
  }), {
1288
1288
  present: r(() => c.value ? p.value : f.value),
@@ -1293,7 +1293,7 @@ function Wn(e, t = {}) {
1293
1293
  }
1294
1294
  //#endregion
1295
1295
  //#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
1296
- var Gn = ["popover"], Kn = 0, qn = /* @__PURE__ */ De(/* @__PURE__ */ d({
1296
+ var Gn = ["popover"], Kn = "--pv-popover-v2-anchor", qn = /* @__PURE__ */ De(/* @__PURE__ */ d({
1297
1297
  __name: "PvPopoverV2",
1298
1298
  props: /* @__PURE__ */ g({
1299
1299
  disableAutoPlacement: {
@@ -1348,12 +1348,13 @@ var Gn = ["popover"], Kn = 0, qn = /* @__PURE__ */ De(/* @__PURE__ */ d({
1348
1348
  }),
1349
1349
  emits: ["update:modelValue"],
1350
1350
  setup(e) {
1351
- let t = e, c = re(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Wn("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1351
+ let t = e, c = ie(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Wn("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1352
1352
  "anchor-name: --pv-anchor",
1353
1353
  "position-area: bottom",
1354
1354
  "position-try-fallbacks: flip-block",
1355
- "position-visibility: anchors-visible"
1356
- ].every((e) => CSS.supports(e)), g = D(!1), v = D(null), y = D(null), x = D(null), S = D(null), w = D(""), ee = Bn(y), te = Bn(S), O = D(!1), A = {
1355
+ "position-visibility: anchors-visible",
1356
+ `anchor-scope: ${Kn}`
1357
+ ].every((e) => CSS.supports(e)), g = D(!1), v = D(null), y = D(null), x = D(null), S = D(null), w = Bn(y), ee = Bn(S), te = D(!1), ne = {
1357
1358
  "top-center": "top",
1358
1359
  "bottom-center": "bottom",
1359
1360
  "center-left": "left",
@@ -1362,7 +1363,7 @@ var Gn = ["popover"], Kn = 0, qn = /* @__PURE__ */ De(/* @__PURE__ */ d({
1362
1363
  "top-right": "top-end",
1363
1364
  "bottom-left": "bottom-start",
1364
1365
  "bottom-right": "bottom-end"
1365
- }, j = {
1366
+ }, k = {
1366
1367
  "top-center": {
1367
1368
  area: "top",
1368
1369
  margin: "margin-block-end"
@@ -1395,116 +1396,116 @@ var Gn = ["popover"], Kn = 0, qn = /* @__PURE__ */ De(/* @__PURE__ */ d({
1395
1396
  area: "bottom span-left",
1396
1397
  margin: "margin-block-start"
1397
1398
  }
1398
- }, M = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ie = r(() => h ? { "anchor-name": w.value } : void 0), oe = r(() => {
1399
- let e = j[t.position];
1399
+ }, A = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), j = r(() => h ? { "anchor-scope": Kn } : void 0), ae = r(() => h ? { "anchor-name": Kn } : void 0), se = r(() => {
1400
+ let e = k[t.position];
1400
1401
  return {
1401
- "position-anchor": w.value,
1402
+ "position-anchor": Kn,
1402
1403
  "position-area": e.area,
1403
1404
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1404
1405
  [e.margin]: `${t.offset ?? 0}px`
1405
1406
  };
1406
- }), P = () => {}, ce = () => ({});
1407
+ }), N = () => {}, le = () => ({});
1407
1408
  if (!h) {
1408
1409
  let e = [];
1409
1410
  t.disableAutoPlacement || e.push(rn({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(nn(t.offset));
1410
1411
  let n = hn(x, S, {
1411
- placement: A[t.position],
1412
+ placement: ne[t.position],
1412
1413
  strategy: t.positioningStrategy,
1413
1414
  middleware: e
1414
1415
  });
1415
- P = n.update, ce = () => n.floatingStyles.value;
1416
+ N = n.update, le = () => n.floatingStyles.value;
1416
1417
  let i = zn(x), a = /* @__PURE__ */ Dn(() => {
1417
- c.value && P();
1418
+ c.value && N();
1418
1419
  }, 5);
1419
- N([
1420
+ M([
1420
1421
  i.top,
1421
1422
  i.left,
1422
1423
  i.width,
1423
1424
  i.height
1424
1425
  ], a), Nn(v, () => {
1425
- t.disableClickOutsideToClose || pe(!1);
1426
+ t.disableClickOutsideToClose || F(!1);
1426
1427
  }, { ignore: r(() => [
1427
1428
  S.value,
1428
1429
  ".p-datepicker-panel",
1429
1430
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1430
1431
  ]) });
1431
1432
  }
1432
- let le = r(() => ({
1433
- ...ce(),
1433
+ let ue = r(() => ({
1434
+ ...le(),
1434
1435
  zIndex: t.zIndex
1435
- })), F, ue, de = () => {
1436
- F && clearTimeout(F), F = void 0;
1437
- }, fe = () => {
1438
- ue && clearTimeout(ue), ue = void 0;
1439
- }, pe = (e) => {
1440
- de(), fe(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? F = setTimeout(() => {
1441
- c.value = !0, F = void 0;
1436
+ })), P, de, fe = () => {
1437
+ P && clearTimeout(P), P = void 0;
1438
+ }, pe = () => {
1439
+ de && clearTimeout(de), de = void 0;
1440
+ }, F = (e) => {
1441
+ fe(), pe(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? P = setTimeout(() => {
1442
+ c.value = !0, P = void 0;
1442
1443
  }, t.delay) : c.value = e);
1443
1444
  }, me = () => {
1444
1445
  let e = S.value;
1445
1446
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1446
- }, he = r(() => t.showOnHover ? t.disableInteractive ? ee.value || O.value : ee.value || te.value || O.value : !1), ge = () => {
1447
- t.showOnHover || pe(F ? !1 : !c.value);
1447
+ }, he = r(() => t.showOnHover ? t.disableInteractive ? w.value || te.value : w.value || ee.value || te.value : !1), ge = () => {
1448
+ t.showOnHover || F(P ? !1 : !c.value);
1448
1449
  }, _e = (e) => {
1449
1450
  let t = e.newState === "open";
1450
1451
  c.value !== t && (c.value = t);
1451
1452
  }, ve = (e) => {
1452
- h && M.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), pe(!1));
1453
+ h && A.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), F(!1));
1453
1454
  };
1454
- return N(c, async (e) => {
1455
+ return M(c, async (e) => {
1455
1456
  if (!h) {
1456
- e && P();
1457
+ e && N();
1457
1458
  return;
1458
1459
  }
1459
1460
  await _(), me();
1460
- }), N(he, (e) => {
1461
+ }), M(he, (e) => {
1461
1462
  if (t.showOnHover) {
1462
1463
  if (e) {
1463
- pe(!0);
1464
+ F(!0);
1464
1465
  return;
1465
1466
  }
1466
- de(), t.closeDelay > 0 ? (fe(), ue = setTimeout(() => {
1467
- ue = void 0, he.value || pe(!1);
1468
- }, t.closeDelay)) : pe(!1);
1467
+ fe(), t.closeDelay > 0 ? (pe(), de = setTimeout(() => {
1468
+ de = void 0, he.value || F(!1);
1469
+ }, t.closeDelay)) : F(!1);
1469
1470
  }
1470
- }), N(m, (e) => {
1471
- e ? h && c.value && _(me) : (de(), fe(), c.value = !1);
1471
+ }), M(m, (e) => {
1472
+ e ? h && c.value && _(me) : (fe(), pe(), c.value = !1);
1472
1473
  }), C(() => {
1473
- x.value = y.value, h && (w.value = `--pv-popover-v2-${++Kn}`), g.value = !0, c.value && _(() => h ? me() : P());
1474
+ x.value = y.value, g.value = !0, c.value && _(() => h ? me() : N());
1474
1475
  }), T(() => {
1475
- de(), fe();
1476
+ fe(), pe();
1476
1477
  }), (r, l) => (E(), o("div", {
1477
1478
  ref_key: "root",
1478
1479
  ref: v,
1479
- style: { width: "fit-content" },
1480
+ style: b([{ width: "fit-content" }, j.value]),
1480
1481
  onKeydown: ve
1481
1482
  }, [s("div", {
1482
1483
  ref_key: "triggerWrapper",
1483
1484
  ref: y,
1484
- style: b(ie.value),
1485
+ style: b(ae.value),
1485
1486
  onClick: ge,
1486
- onFocusin: l[0] ||= (e) => O.value = !0,
1487
- onFocusout: l[1] ||= (e) => O.value = !1
1488
- }, [k(r.$slots, "trigger")], 36), g.value && ne(h) && m.value ? (E(), o("div", {
1487
+ onFocusin: l[0] ||= (e) => te.value = !0,
1488
+ onFocusout: l[1] ||= (e) => te.value = !1
1489
+ }, [O(r.$slots, "trigger")], 36), g.value && re(h) && m.value ? (E(), o("div", {
1489
1490
  key: 0,
1490
1491
  ref_key: "floating",
1491
1492
  ref: S,
1492
1493
  class: "pv-floating pv-floating-native",
1493
- popover: M.value,
1494
- style: b(oe.value),
1494
+ popover: A.value,
1495
+ style: b(se.value),
1495
1496
  onToggle: _e
1496
- }, [k(r.$slots, "content")], 44, Gn)) : m.value ? (E(), i(n, {
1497
+ }, [O(r.$slots, "content")], 44, Gn)) : m.value ? (E(), i(n, {
1497
1498
  key: 1,
1498
1499
  to: e.teleportLocation,
1499
1500
  disabled: !t.useTeleport
1500
- }, [se(s("div", {
1501
+ }, [ce(s("div", {
1501
1502
  ref_key: "floating",
1502
1503
  ref: S,
1503
1504
  class: "pv-floating",
1504
- style: b(le.value)
1505
- }, [k(r.$slots, "content")], 4), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 544));
1505
+ style: b(ue.value)
1506
+ }, [O(r.$slots, "content")], 4), [[oe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1506
1507
  }
1507
- }), [["styles", [".pv-floating-native[data-v-97886581]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-97886581]>.pv-popover,.pv-floating-native>slot[name=content][data-v-97886581]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-97886581"]]), Jn = ["data-variant"], Yn = /* @__PURE__ */ d({
1508
+ }), [["styles", [".pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]), Jn = ["data-variant"], Yn = /* @__PURE__ */ d({
1508
1509
  __name: "PvTooltipV2",
1509
1510
  props: {
1510
1511
  variant: {
@@ -1546,15 +1547,15 @@ var Gn = ["popover"], Kn = 0, qn = /* @__PURE__ */ De(/* @__PURE__ */ d({
1546
1547
  setup(e) {
1547
1548
  let t = e, n = p(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = Wn("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
1548
1549
  return (t, n) => (E(), i(qn, y(h(t.$props)), c({
1549
- trigger: P(() => [k(t.$slots, "trigger", {}, () => [s("p", null, j(e.label), 1)])]),
1550
+ trigger: N(() => [O(t.$slots, "trigger", {}, () => [s("p", null, A(e.label), 1)])]),
1550
1551
  _: 2
1551
1552
  }, [f.value ? {
1552
1553
  name: "content",
1553
- fn: P(() => [s("div", {
1554
+ fn: N(() => [s("div", {
1554
1555
  class: v(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1555
1556
  role: "tooltip",
1556
1557
  "data-variant": e.variant
1557
- }, [k(t.$slots, "content", {}, () => [l(j(e.description), 1)])], 10, Jn)]),
1558
+ }, [O(t.$slots, "content", {}, () => [l(A(e.description), 1)])], 10, Jn)]),
1558
1559
  key: "0"
1559
1560
  } : void 0]), 1040));
1560
1561
  }
@@ -1593,18 +1594,18 @@ var Gn = ["popover"], Kn = 0, qn = /* @__PURE__ */ De(/* @__PURE__ */ d({
1593
1594
  class: v(["pv-hover-action-menu", d.value]),
1594
1595
  tabindex: e.options.length ? 0 : void 0,
1595
1596
  "data-testid": "pv-hover-action-menu"
1596
- }, [k(n.$slots, "default", {}, void 0, !0), e.options.length ? (E(), o("div", Zn, [u(ge, {
1597
+ }, [O(n.$slots, "default", {}, void 0, !0), e.options.length ? (E(), o("div", Zn, [u(ge, {
1597
1598
  variant: e.variant,
1598
1599
  "data-testid": "pv-hover-action-menu-actions",
1599
- onClick: r[0] ||= ce(() => {}, ["stop"])
1600
+ onClick: r[0] ||= le(() => {}, ["stop"])
1600
1601
  }, {
1601
- default: P(() => [s("div", Qn, [(E(!0), o(t, null, O(e.options, (t) => (E(), i(Yn, {
1602
+ default: N(() => [s("div", Qn, [(E(!0), o(t, null, ne(e.options, (t) => (E(), i(Yn, {
1602
1603
  key: t.id,
1603
1604
  variant: "dark",
1604
1605
  position: "top-center",
1605
1606
  description: t.icon ? t.text : void 0
1606
1607
  }, {
1607
- trigger: P(() => [u(je, {
1608
+ trigger: N(() => [u(je, {
1608
1609
  variant: "ghost",
1609
1610
  size: "md",
1610
1611
  leftIcon: t.icon,
@@ -1961,15 +1962,15 @@ var Q = {
1961
1962
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
1962
1963
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
1963
1964
  if (K(a) && o.transform !== "strict") {
1964
- 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 = K(t) ? this._toVariables({ primitive: t }, o) : {}, te = K(_) ? this._toVariables({ semantic: _ }, o) : {}, D = K(C) ? this._toVariables({ light: C }, o) : {}, O = K(S) ? this._toVariables({ dark: S }, o) : {}, k = K(b) ? this._toVariables({ semantic: b }, o) : {}, A = K(E) ? this._toVariables({ light: E }, o) : {}, j = K(T) ? this._toVariables({ dark: T }, o) : {}, [M, ne] = [ee.declarations ?? "", ee.tokens], [re, ie] = [te.declarations ?? "", te.tokens || []], [ae, N] = [D.declarations ?? "", D.tokens || []], [oe, P] = [O.declarations ?? "", O.tokens || []], [se, ce] = [k.declarations ?? "", k.tokens || []], [le, F] = [A.declarations ?? "", A.tokens || []], [ue, de] = [j.declarations ?? "", j.tokens || []];
1965
- s = this.transformCSS(e, M, "light", "variable", o, r, i), c = ne, l = `${this.transformCSS(e, `${re}${ae}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${oe}`, "dark", "variable", o, r, i)}`, u = [...new Set([
1966
- ...ie,
1967
- ...N,
1968
- ...P
1969
- ])], d = `${this.transformCSS(e, `${se}${le}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${ue}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
1970
- ...ce,
1971
- ...F,
1972
- ...de
1965
+ 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 = K(t) ? this._toVariables({ primitive: t }, o) : {}, te = K(_) ? this._toVariables({ semantic: _ }, o) : {}, D = K(C) ? this._toVariables({ light: C }, o) : {}, ne = K(S) ? this._toVariables({ dark: S }, o) : {}, O = K(b) ? this._toVariables({ semantic: b }, o) : {}, k = K(E) ? this._toVariables({ light: E }, o) : {}, A = K(T) ? this._toVariables({ dark: T }, o) : {}, [j, re] = [ee.declarations ?? "", ee.tokens], [ie, ae] = [te.declarations ?? "", te.tokens || []], [oe, M] = [D.declarations ?? "", D.tokens || []], [se, N] = [ne.declarations ?? "", ne.tokens || []], [ce, le] = [O.declarations ?? "", O.tokens || []], [ue, P] = [k.declarations ?? "", k.tokens || []], [de, fe] = [A.declarations ?? "", A.tokens || []];
1966
+ s = this.transformCSS(e, j, "light", "variable", o, r, i), c = re, l = `${this.transformCSS(e, `${ie}${oe}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${se}`, "dark", "variable", o, r, i)}`, u = [...new Set([
1967
+ ...ae,
1968
+ ...M,
1969
+ ...N
1970
+ ])], d = `${this.transformCSS(e, `${ce}${ue}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${de}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
1971
+ ...le,
1972
+ ...P,
1973
+ ...fe
1973
1974
  ])], p = q(a.css, { dt: Gr });
1974
1975
  }
1975
1976
  return {
@@ -1995,11 +1996,11 @@ var Q = {
1995
1996
  "colorScheme",
1996
1997
  "extend",
1997
1998
  "css"
1998
- ]), 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 = K(m) ? this._toVariables({ [r]: Y(Y({}, m), _) }, n) : {}, T = K(b) ? this._toVariables({ [r]: Y(Y({}, b), C) }, n) : {}, E = K(y) ? this._toVariables({ [r]: Y(Y({}, y), S) }, n) : {}, [ee, te] = [w.declarations ?? "", w.tokens || []], [D, O] = [T.declarations ?? "", T.tokens || []], [k, A] = [E.declarations ?? "", E.tokens || []];
1999
- s = `${this.transformCSS(r, `${ee}${D}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, k, "dark", "variable", n, i, a, o)}`, c = [...new Set([
1999
+ ]), 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 = K(m) ? this._toVariables({ [r]: Y(Y({}, m), _) }, n) : {}, T = K(b) ? this._toVariables({ [r]: Y(Y({}, b), C) }, n) : {}, E = K(y) ? this._toVariables({ [r]: Y(Y({}, y), S) }, n) : {}, [ee, te] = [w.declarations ?? "", w.tokens || []], [D, ne] = [T.declarations ?? "", T.tokens || []], [O, k] = [E.declarations ?? "", E.tokens || []];
2000
+ s = `${this.transformCSS(r, `${ee}${D}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, O, "dark", "variable", n, i, a, o)}`, c = [...new Set([
2000
2001
  ...te,
2001
- ...O,
2002
- ...A
2002
+ ...ne,
2003
+ ...k
2003
2004
  ])], l = q(p, { dt: Gr });
2004
2005
  }
2005
2006
  return {
@@ -2358,10 +2359,10 @@ function ni(e) {
2358
2359
  }
2359
2360
  var ri = 0;
2360
2361
  function ii(e) {
2361
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = D(!1), r = D(e), i = D(null), a = Sr() ? 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_${++ri}` : 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, ee = E === void 0 ? void 0 : E, O = t.props, k = O === void 0 ? {} : O, A = function() {}, j = function(t) {
2362
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = D(!1), r = D(e), i = D(null), a = Sr() ? 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_${++ri}` : 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, ee = E === void 0 ? void 0 : E, ne = t.props, O = ne === void 0 ? {} : ne, k = function() {}, A = function(t) {
2362
2363
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2363
2364
  if (s) {
2364
- var o = Qr(Qr({}, k), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2365
+ var o = Qr(Qr({}, O), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2365
2366
  i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, xr(i.value, {
2366
2367
  type: "text/css",
2367
2368
  id: l,
@@ -2369,20 +2370,20 @@ function ii(e) {
2369
2370
  nonce: u
2370
2371
  }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), Cr(i.value, "data-primevue-style-id", c), xr(i.value, o), i.value.onload = function(e) {
2371
2372
  return ee?.(e, { name: c });
2372
- }, C?.(c)), !n.value && (A = N(r, function(e) {
2373
+ }, C?.(c)), !n.value && (k = M(r, function(e) {
2373
2374
  i.value.textContent = e, T?.(c);
2374
2375
  }, { immediate: !0 }), n.value = !0);
2375
2376
  }
2376
2377
  };
2377
- return l && !d && ni(j), {
2378
+ return l && !d && ni(A), {
2378
2379
  id: h,
2379
2380
  name: p,
2380
2381
  el: i,
2381
2382
  css: r,
2382
2383
  unload: function() {
2383
- !s || !n.value || (A(), yr(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2384
+ !s || !n.value || (k(), yr(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2384
2385
  },
2385
- load: j,
2386
+ load: A,
2386
2387
  isLoaded: te(n)
2387
2388
  };
2388
2389
  }
@@ -2880,7 +2881,7 @@ function Fi(e, t) {
2880
2881
  Z.on("theme:change", function(t) {
2881
2882
  n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
2882
2883
  });
2883
- var i = N(t.config, function(e, t) {
2884
+ var i = M(t.config, function(e, t) {
2884
2885
  Ci.emit("config:change", {
2885
2886
  newValue: e,
2886
2887
  oldValue: t
@@ -2888,7 +2889,7 @@ function Fi(e, t) {
2888
2889
  }, {
2889
2890
  immediate: !0,
2890
2891
  deep: !0
2891
- }), a = N(function() {
2892
+ }), a = M(function() {
2892
2893
  return t.config.ripple;
2893
2894
  }, function(e, t) {
2894
2895
  Ci.emit("config:ripple:change", {
@@ -2898,7 +2899,7 @@ function Fi(e, t) {
2898
2899
  }, {
2899
2900
  immediate: !0,
2900
2901
  deep: !0
2901
- }), o = N(function() {
2902
+ }), o = M(function() {
2902
2903
  return t.config.theme;
2903
2904
  }, function(e, i) {
2904
2905
  n.value || $.setTheme(e), t.config.unstyled || r(), n.value = !1, Ci.emit("config:theme:change", {
@@ -2908,7 +2909,7 @@ function Fi(e, t) {
2908
2909
  }, {
2909
2910
  immediate: !0,
2910
2911
  deep: !1
2911
- }), s = N(function() {
2912
+ }), s = M(function() {
2912
2913
  return t.config.unstyled;
2913
2914
  }, function(e, n) {
2914
2915
  !e && t.config.theme && r(), Ci.emit("config:unstyled:change", {