@turquoisehealth/pit-viper 2.71.1-dev.2 → 2.71.1-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pv-components/dist/vue/base/pv-components-base.d.ts +1 -1
- package/pv-components/dist/vue/base/pv-components-base.js +2 -2
- package/pv-components/dist/vue/base/pv-components-base.mjs +38 -8
- package/pv-components/dist/vue/base/pv-components-base.umd.js +2 -2
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +8 -2
- package/pv-components/dist/vue/charts/pv-components-charts.js +50 -50
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +11006 -10960
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +50 -50
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +1 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +34 -34
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +3393 -3362
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +36 -36
- package/pv-components/dist/web/pv-components.iife.js +2 -2
|
@@ -10648,18 +10648,46 @@ const ei = /* @__PURE__ */ Ue(Cc, [["render", xc]]), Bc = ["src"], Pc = /* @__PU
|
|
|
10648
10648
|
useTeleport: e = !0,
|
|
10649
10649
|
popoverCssProperties: o
|
|
10650
10650
|
} = {}) => {
|
|
10651
|
-
const r = be(null), n = be(null), a = be(null), i = be(null), s =
|
|
10651
|
+
const r = be(null), n = be(null), a = be(null), i = be(null), s = (f) => {
|
|
10652
|
+
let p = f.parentElement;
|
|
10653
|
+
for (; p && p !== document.body; ) {
|
|
10654
|
+
if (window.getComputedStyle(p).position !== "static")
|
|
10655
|
+
return p;
|
|
10656
|
+
p = p.parentElement;
|
|
10657
|
+
}
|
|
10658
|
+
return null;
|
|
10659
|
+
}, l = U(() => {
|
|
10660
|
+
if (!r.value || !n.value || !i.value?.popoverRoot) return 0;
|
|
10661
|
+
let f = r.value.left;
|
|
10662
|
+
(t === "right" || t === "top right") && (f = r.value.left + r.value.width);
|
|
10663
|
+
const p = s(i.value.popoverRoot);
|
|
10664
|
+
if (p) {
|
|
10665
|
+
const m = p.getBoundingClientRect();
|
|
10666
|
+
f -= m.left;
|
|
10667
|
+
}
|
|
10668
|
+
return f;
|
|
10669
|
+
}), u = U(() => {
|
|
10670
|
+
if (!r.value || !n.value || !i.value?.popoverRoot) return 0;
|
|
10671
|
+
let f = r.value.top + window.scrollY;
|
|
10672
|
+
t === "top" || t === "top right" || (f += r.value.height);
|
|
10673
|
+
const p = s(i.value.popoverRoot);
|
|
10674
|
+
if (p) {
|
|
10675
|
+
const m = p.getBoundingClientRect();
|
|
10676
|
+
f -= m.top + window.scrollY;
|
|
10677
|
+
}
|
|
10678
|
+
return f;
|
|
10679
|
+
}), d = U(() => {
|
|
10652
10680
|
if (!e)
|
|
10653
10681
|
return o;
|
|
10654
|
-
const
|
|
10682
|
+
const f = {
|
|
10655
10683
|
position: "absolute",
|
|
10656
|
-
left: `${
|
|
10657
|
-
top: `${
|
|
10684
|
+
left: `${l.value}px`,
|
|
10685
|
+
top: `${u.value}px`,
|
|
10658
10686
|
zIndex: 10
|
|
10659
10687
|
};
|
|
10660
10688
|
return {
|
|
10661
10689
|
...o,
|
|
10662
|
-
...
|
|
10690
|
+
...f
|
|
10663
10691
|
};
|
|
10664
10692
|
});
|
|
10665
10693
|
return {
|
|
@@ -10667,7 +10695,7 @@ const ei = /* @__PURE__ */ Ue(Cc, [["render", xc]]), Bc = ["src"], Pc = /* @__PU
|
|
|
10667
10695
|
popoverRef: i,
|
|
10668
10696
|
triggerRect: r,
|
|
10669
10697
|
popoverRect: n,
|
|
10670
|
-
popoverPositionStyle:
|
|
10698
|
+
popoverPositionStyle: d,
|
|
10671
10699
|
updateRects: () => {
|
|
10672
10700
|
a.value && (r.value = a.value.getBoundingClientRect()), i.value?.popoverRoot && (n.value = i.value.popoverRoot.getBoundingClientRect());
|
|
10673
10701
|
}
|
|
@@ -12209,11 +12237,13 @@ const ow = /* @__PURE__ */ H({
|
|
|
12209
12237
|
const e = {
|
|
12210
12238
|
info: "pv-toast-info",
|
|
12211
12239
|
success: "pv-toast-success",
|
|
12212
|
-
error: "pv-toast-error"
|
|
12240
|
+
error: "pv-toast-error",
|
|
12241
|
+
dark: "pv-toast-dark"
|
|
12213
12242
|
}, o = {
|
|
12214
12243
|
info: "check-circle",
|
|
12215
12244
|
success: "check-circle",
|
|
12216
|
-
error: "alert-circle"
|
|
12245
|
+
error: "alert-circle",
|
|
12246
|
+
dark: "ai"
|
|
12217
12247
|
};
|
|
12218
12248
|
return (r, n) => (h(), v("div", {
|
|
12219
12249
|
class: X(e[r.variant])
|