@turquoisehealth/pit-viper 2.224.1-dev.0 → 2.224.1-dev.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.
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvButton/types.d.ts +1 -1
- package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
- package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs +28 -7
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/crosslineHelpers.d.ts +2 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +3 -2
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +93 -67
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +28 -7
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +28 -7
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +28 -7
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +425 -404
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -796,23 +796,44 @@ var Ft = [
|
|
|
796
796
|
}
|
|
797
797
|
},
|
|
798
798
|
setup(e) {
|
|
799
|
-
let { present:
|
|
800
|
-
|
|
799
|
+
let t = e, n = oe("rootRef"), { present: i } = Pt("tooltip-content", { host: r(() => {
|
|
800
|
+
let e = n.value?.getRootNode();
|
|
801
|
+
return e instanceof ShadowRoot ? e.host : null;
|
|
802
|
+
}) }), s = r(() => t.delay > 0), c = N(!1), l = N(!1), u, d = () => {
|
|
803
|
+
u && clearTimeout(u), u = void 0;
|
|
804
|
+
}, f = r(() => !s.value || c.value || l.value), p = () => {
|
|
805
|
+
s.value && (d(), u = setTimeout(() => {
|
|
806
|
+
u = void 0, l.value = !0;
|
|
807
|
+
}, t.delay));
|
|
808
|
+
}, m = () => {
|
|
809
|
+
s.value && (d(), l.value = !1);
|
|
810
|
+
}, h = () => {
|
|
811
|
+
s.value && (c.value = !0);
|
|
812
|
+
}, g = () => {
|
|
813
|
+
s.value && (c.value = !1);
|
|
814
|
+
};
|
|
815
|
+
return w(d), (t, r) => (k(), o("div", {
|
|
816
|
+
ref_key: "rootRef",
|
|
817
|
+
ref: n,
|
|
801
818
|
"data-testid": "pv-tooltip",
|
|
802
819
|
class: x([{
|
|
803
|
-
"pv-tooltip": R(
|
|
804
|
-
"pv-tooltip-small": R(
|
|
820
|
+
"pv-tooltip": R(i),
|
|
821
|
+
"pv-tooltip-small": R(i) && e.size === "sm"
|
|
805
822
|
}]),
|
|
806
823
|
"data-position": e.tooltipPosition,
|
|
807
824
|
"data-style": e.variant === "white" ? "white" : "dark",
|
|
808
825
|
"data-static": e.disableInteractive ? !0 : void 0,
|
|
809
|
-
"aria-labelledby": R(
|
|
810
|
-
|
|
826
|
+
"aria-labelledby": R(i) ? e.ariaLabelledBy : void 0,
|
|
827
|
+
onMouseenter: p,
|
|
828
|
+
onMouseleave: m,
|
|
829
|
+
onFocusin: h,
|
|
830
|
+
onFocusout: g
|
|
831
|
+
}, [P(t.$slots, "label"), R(i) ? fe((k(), o("div", {
|
|
811
832
|
key: 0,
|
|
812
833
|
role: "tooltip",
|
|
813
834
|
id: e.ariaLabelledBy,
|
|
814
835
|
"data-testid": "pv-tooltip-content"
|
|
815
|
-
}, [P(
|
|
836
|
+
}, [P(t.$slots, "tooltip-content")], 8, It)), [[le, f.value]]) : a("v-if", !0)], 42, Ft));
|
|
816
837
|
}
|
|
817
838
|
}), Rt = ["disabled"], zt = { class: "pv-flex pv-select-button-trigger-content" }, Bt = {
|
|
818
839
|
key: 0,
|
|
@@ -768,23 +768,44 @@ var jt = [
|
|
|
768
768
|
}
|
|
769
769
|
},
|
|
770
770
|
setup(e) {
|
|
771
|
-
let { present:
|
|
772
|
-
|
|
771
|
+
let t = e, n = oe("rootRef"), { present: i } = At("tooltip-content", { host: r(() => {
|
|
772
|
+
let e = n.value?.getRootNode();
|
|
773
|
+
return e instanceof ShadowRoot ? e.host : null;
|
|
774
|
+
}) }), s = r(() => t.delay > 0), c = N(!1), l = N(!1), u, d = () => {
|
|
775
|
+
u && clearTimeout(u), u = void 0;
|
|
776
|
+
}, f = r(() => !s.value || c.value || l.value), p = () => {
|
|
777
|
+
s.value && (d(), u = setTimeout(() => {
|
|
778
|
+
u = void 0, l.value = !0;
|
|
779
|
+
}, t.delay));
|
|
780
|
+
}, m = () => {
|
|
781
|
+
s.value && (d(), l.value = !1);
|
|
782
|
+
}, h = () => {
|
|
783
|
+
s.value && (c.value = !0);
|
|
784
|
+
}, g = () => {
|
|
785
|
+
s.value && (c.value = !1);
|
|
786
|
+
};
|
|
787
|
+
return w(d), (t, r) => (k(), o("div", {
|
|
788
|
+
ref_key: "rootRef",
|
|
789
|
+
ref: n,
|
|
773
790
|
"data-testid": "pv-tooltip",
|
|
774
791
|
class: x([{
|
|
775
|
-
"pv-tooltip": R(
|
|
776
|
-
"pv-tooltip-small": R(
|
|
792
|
+
"pv-tooltip": R(i),
|
|
793
|
+
"pv-tooltip-small": R(i) && e.size === "sm"
|
|
777
794
|
}]),
|
|
778
795
|
"data-position": e.tooltipPosition,
|
|
779
796
|
"data-style": e.variant === "white" ? "white" : "dark",
|
|
780
797
|
"data-static": e.disableInteractive ? !0 : void 0,
|
|
781
|
-
"aria-labelledby": R(
|
|
782
|
-
|
|
798
|
+
"aria-labelledby": R(i) ? e.ariaLabelledBy : void 0,
|
|
799
|
+
onMouseenter: p,
|
|
800
|
+
onMouseleave: m,
|
|
801
|
+
onFocusin: h,
|
|
802
|
+
onFocusout: g
|
|
803
|
+
}, [P(t.$slots, "label"), R(i) ? fe((k(), o("div", {
|
|
783
804
|
key: 0,
|
|
784
805
|
role: "tooltip",
|
|
785
806
|
id: e.ariaLabelledBy,
|
|
786
807
|
"data-testid": "pv-tooltip-content"
|
|
787
|
-
}, [P(
|
|
808
|
+
}, [P(t.$slots, "tooltip-content")], 8, Mt)), [[le, f.value]]) : a("v-if", !0)], 42, jt));
|
|
788
809
|
}
|
|
789
810
|
}), Pt = ["disabled"], Ft = { class: "pv-flex pv-select-button-trigger-content" }, It = {
|
|
790
811
|
key: 0,
|
|
@@ -616,23 +616,44 @@ var Et = [
|
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
setup(e) {
|
|
619
|
-
let { present:
|
|
620
|
-
|
|
619
|
+
let t = e, n = ue("rootRef"), { present: i } = Tt("tooltip-content", { host: r(() => {
|
|
620
|
+
let e = n.value?.getRootNode();
|
|
621
|
+
return e instanceof ShadowRoot ? e.host : null;
|
|
622
|
+
}) }), s = r(() => t.delay > 0), c = M(!1), l = M(!1), u, d = () => {
|
|
623
|
+
u && clearTimeout(u), u = void 0;
|
|
624
|
+
}, f = r(() => !s.value || c.value || l.value), p = () => {
|
|
625
|
+
s.value && (d(), u = setTimeout(() => {
|
|
626
|
+
u = void 0, l.value = !0;
|
|
627
|
+
}, t.delay));
|
|
628
|
+
}, m = () => {
|
|
629
|
+
s.value && (d(), l.value = !1);
|
|
630
|
+
}, h = () => {
|
|
631
|
+
s.value && (c.value = !0);
|
|
632
|
+
}, g = () => {
|
|
633
|
+
s.value && (c.value = !1);
|
|
634
|
+
};
|
|
635
|
+
return w(d), (t, r) => (k(), o("div", {
|
|
636
|
+
ref_key: "rootRef",
|
|
637
|
+
ref: n,
|
|
621
638
|
"data-testid": "pv-tooltip",
|
|
622
639
|
class: x([{
|
|
623
|
-
"pv-tooltip": F(
|
|
624
|
-
"pv-tooltip-small": F(
|
|
640
|
+
"pv-tooltip": F(i),
|
|
641
|
+
"pv-tooltip-small": F(i) && e.size === "sm"
|
|
625
642
|
}]),
|
|
626
643
|
"data-position": e.tooltipPosition,
|
|
627
644
|
"data-style": e.variant === "white" ? "white" : "dark",
|
|
628
645
|
"data-static": e.disableInteractive ? !0 : void 0,
|
|
629
|
-
"aria-labelledby": F(
|
|
630
|
-
|
|
646
|
+
"aria-labelledby": F(i) ? e.ariaLabelledBy : void 0,
|
|
647
|
+
onMouseenter: p,
|
|
648
|
+
onMouseleave: m,
|
|
649
|
+
onFocusin: h,
|
|
650
|
+
onFocusout: g
|
|
651
|
+
}, [ne(t.$slots, "label"), F(i) ? ge((k(), o("div", {
|
|
631
652
|
key: 0,
|
|
632
653
|
role: "tooltip",
|
|
633
654
|
id: e.ariaLabelledBy,
|
|
634
655
|
"data-testid": "pv-tooltip-content"
|
|
635
|
-
}, [ne(
|
|
656
|
+
}, [ne(t.$slots, "tooltip-content")], 8, Dt)), [[pe, f.value]]) : a("v-if", !0)], 42, Et));
|
|
636
657
|
}
|
|
637
658
|
}), kt = ["ghost"], At = {
|
|
638
659
|
md: "pv-button-small",
|