@turquoisehealth/pit-viper 2.266.0 → 2.266.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/_site/manifest.json +2 -2
- 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-action-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-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-popover-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +20 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +503 -453
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +323 -307
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +20 -3
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +18 -2
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +18 -2
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +18 -2
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +20 -3
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +422 -406
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +18 -2
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +476 -460
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +346 -330
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +18 -2
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +18 -2
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +260 -244
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +589 -573
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +688 -672
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +430 -414
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +624 -608
- package/pv-components/dist/web/pv-components.iife.js +39 -39
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -2145,6 +2145,20 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
|
|
|
2145
2145
|
c.value !== t && (c.value = t);
|
|
2146
2146
|
}, H = (e) => {
|
|
2147
2147
|
h && P.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), le(!1));
|
|
2148
|
+
}, xe = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Se = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Ce = (e) => {
|
|
2149
|
+
if (!Se.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
2150
|
+
let [t] = xe(x.value);
|
|
2151
|
+
t && (e.preventDefault(), A.value = !0, t.focus());
|
|
2152
|
+
}, we = (e) => {
|
|
2153
|
+
if (!Se.value) return;
|
|
2154
|
+
let [t] = xe(v.value);
|
|
2155
|
+
if (e.key === "Escape") {
|
|
2156
|
+
e.preventDefault(), e.stopPropagation(), j.value = !0, de(), t?.focus();
|
|
2157
|
+
return;
|
|
2158
|
+
}
|
|
2159
|
+
if (e.key !== "Tab") return;
|
|
2160
|
+
let n = xe(x.value);
|
|
2161
|
+
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, de(), t?.focus());
|
|
2148
2162
|
};
|
|
2149
2163
|
return V(c, async (e) => {
|
|
2150
2164
|
if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
|
|
@@ -2185,7 +2199,8 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
|
|
|
2185
2199
|
style: C(F.value),
|
|
2186
2200
|
onClick: ye,
|
|
2187
2201
|
onFocusin: ge,
|
|
2188
|
-
onFocusout: l[0] ||= (e) => D.value = !1
|
|
2202
|
+
onFocusout: l[0] ||= (e) => D.value = !1,
|
|
2203
|
+
onKeydown: Ce
|
|
2189
2204
|
}, [N(r.$slots, "trigger")], 36), g.value && R(h) && m.value ? (k(), o("div", {
|
|
2190
2205
|
key: 0,
|
|
2191
2206
|
ref_key: "floating",
|
|
@@ -2206,7 +2221,8 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
|
|
|
2206
2221
|
class: "pv-floating",
|
|
2207
2222
|
style: C(ae.value),
|
|
2208
2223
|
onFocusin: _e,
|
|
2209
|
-
onFocusout: ve
|
|
2224
|
+
onFocusout: ve,
|
|
2225
|
+
onKeydown: we
|
|
2210
2226
|
}, [N(r.$slots, "content")], 36), [[ue, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
2211
2227
|
}
|
|
2212
2228
|
}), ci = ["data-variant"], li = /* @__PURE__ */ d({
|
|
@@ -4820,7 +4836,8 @@ var as = ["data-align"], os = ["id", "role"], ss = /* @__PURE__ */ ht(/* @__PURE
|
|
|
4820
4836
|
searchInput: P.value,
|
|
4821
4837
|
slotContext: c.slotContext,
|
|
4822
4838
|
isOpen: j.value,
|
|
4823
|
-
isLoading: c.isLoading
|
|
4839
|
+
isLoading: c.isLoading,
|
|
4840
|
+
filteredOptionCount: pe.value.length
|
|
4824
4841
|
})), H = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), xe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), Se = B("popoverContentRef"), Ce = r(() => {
|
|
4825
4842
|
let e = Se.value?.getRootNode();
|
|
4826
4843
|
return e instanceof ShadowRoot ? e.host : null;
|
|
@@ -1657,6 +1657,20 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
|
|
|
1657
1657
|
c.value !== t && (c.value = t);
|
|
1658
1658
|
}, q = (e) => {
|
|
1659
1659
|
h && I.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), W(!1));
|
|
1660
|
+
}, J = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], ge = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), _e = (e) => {
|
|
1661
|
+
if (!ge.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
1662
|
+
let [t] = J(x.value);
|
|
1663
|
+
t && (e.preventDefault(), k.value = !0, t.focus());
|
|
1664
|
+
}, ve = (e) => {
|
|
1665
|
+
if (!ge.value) return;
|
|
1666
|
+
let [t] = J(v.value);
|
|
1667
|
+
if (e.key === "Escape") {
|
|
1668
|
+
e.preventDefault(), e.stopPropagation(), A.value = !0, le(), t?.focus();
|
|
1669
|
+
return;
|
|
1670
|
+
}
|
|
1671
|
+
if (e.key !== "Tab") return;
|
|
1672
|
+
let n = J(x.value);
|
|
1673
|
+
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (A.value = !0, le(), t?.focus());
|
|
1660
1674
|
};
|
|
1661
1675
|
return H(c, async (e) => {
|
|
1662
1676
|
if (t.showOnHover && t.enableGroupSync && M(!!e), !h) {
|
|
@@ -1697,7 +1711,8 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
|
|
|
1697
1711
|
style: S(R.value),
|
|
1698
1712
|
onClick: me,
|
|
1699
1713
|
onFocusin: K,
|
|
1700
|
-
onFocusout: l[0] ||= (e) => D.value = !1
|
|
1714
|
+
onFocusout: l[0] ||= (e) => D.value = !1,
|
|
1715
|
+
onKeydown: _e
|
|
1701
1716
|
}, [N(r.$slots, "trigger")], 36), g.value && z(h) && m.value ? (O(), o("div", {
|
|
1702
1717
|
key: 0,
|
|
1703
1718
|
ref_key: "floating",
|
|
@@ -1718,7 +1733,8 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
|
|
|
1718
1733
|
class: "pv-floating",
|
|
1719
1734
|
style: S(re.value),
|
|
1720
1735
|
onFocusin: fe,
|
|
1721
|
-
onFocusout: pe
|
|
1736
|
+
onFocusout: pe,
|
|
1737
|
+
onKeydown: ve
|
|
1722
1738
|
}, [N(r.$slots, "content")], 36), [[oe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1723
1739
|
}
|
|
1724
1740
|
}), vr = ["data-variant"], yr = /* @__PURE__ */ d({
|
|
@@ -1538,6 +1538,20 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
|
|
|
1538
1538
|
c.value !== t && (c.value = t);
|
|
1539
1539
|
}, Ee = (e) => {
|
|
1540
1540
|
h && oe.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), I(!1));
|
|
1541
|
+
}, De = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Oe = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), ke = (e) => {
|
|
1542
|
+
if (!Oe.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
1543
|
+
let [t] = De(S.value);
|
|
1544
|
+
t && (e.preventDefault(), j.value = !0, t.focus());
|
|
1545
|
+
}, Ae = (e) => {
|
|
1546
|
+
if (!Oe.value) return;
|
|
1547
|
+
let [t] = De(y.value);
|
|
1548
|
+
if (e.key === "Escape") {
|
|
1549
|
+
e.preventDefault(), e.stopPropagation(), M.value = !0, _e(), t?.focus();
|
|
1550
|
+
return;
|
|
1551
|
+
}
|
|
1552
|
+
if (e.key !== "Tab") return;
|
|
1553
|
+
let n = De(S.value);
|
|
1554
|
+
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, _e(), t?.focus());
|
|
1541
1555
|
};
|
|
1542
1556
|
return P(c, async (e) => {
|
|
1543
1557
|
if (t.showOnHover && t.enableGroupSync && N(!!e), !h) {
|
|
@@ -1578,7 +1592,8 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
|
|
|
1578
1592
|
style: b(le.value),
|
|
1579
1593
|
onClick: we,
|
|
1580
1594
|
onFocusin: xe,
|
|
1581
|
-
onFocusout: l[0] ||= (e) => k.value = !1
|
|
1595
|
+
onFocusout: l[0] ||= (e) => k.value = !1,
|
|
1596
|
+
onKeydown: ke
|
|
1582
1597
|
}, [A(r.$slots, "trigger")], 36), g.value && te(h) && m.value ? (E(), o("div", {
|
|
1583
1598
|
key: 0,
|
|
1584
1599
|
ref_key: "floating",
|
|
@@ -1599,7 +1614,8 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
|
|
|
1599
1614
|
class: "pv-floating",
|
|
1600
1615
|
style: b(pe.value),
|
|
1601
1616
|
onFocusin: Se,
|
|
1602
|
-
onFocusout: Ce
|
|
1617
|
+
onFocusout: Ce,
|
|
1618
|
+
onKeydown: Ae
|
|
1603
1619
|
}, [A(r.$slots, "content")], 36), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1604
1620
|
}
|
|
1605
1621
|
}), $n = ["data-variant"], er = /* @__PURE__ */ d({
|
|
@@ -1665,6 +1665,20 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
|
|
|
1665
1665
|
c.value !== t && (c.value = t);
|
|
1666
1666
|
}, Te = (e) => {
|
|
1667
1667
|
h && ie.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), L(!1));
|
|
1668
|
+
}, Ee = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], De = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Oe = (e) => {
|
|
1669
|
+
if (!De.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
1670
|
+
let [t] = Ee(x.value);
|
|
1671
|
+
t && (e.preventDefault(), A.value = !0, t.focus());
|
|
1672
|
+
}, ke = (e) => {
|
|
1673
|
+
if (!De.value) return;
|
|
1674
|
+
let [t] = Ee(v.value);
|
|
1675
|
+
if (e.key === "Escape") {
|
|
1676
|
+
e.preventDefault(), e.stopPropagation(), j.value = !0, ge(), t?.focus();
|
|
1677
|
+
return;
|
|
1678
|
+
}
|
|
1679
|
+
if (e.key !== "Tab") return;
|
|
1680
|
+
let n = Ee(x.value);
|
|
1681
|
+
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, ge(), t?.focus());
|
|
1668
1682
|
};
|
|
1669
1683
|
return I(c, async (e) => {
|
|
1670
1684
|
if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
|
|
@@ -1705,7 +1719,8 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
|
|
|
1705
1719
|
style: C(N.value),
|
|
1706
1720
|
onClick: Ce,
|
|
1707
1721
|
onFocusin: be,
|
|
1708
|
-
onFocusout: l[0] ||= (e) => D.value = !1
|
|
1722
|
+
onFocusout: l[0] ||= (e) => D.value = !1,
|
|
1723
|
+
onKeydown: Oe
|
|
1709
1724
|
}, [ne(r.$slots, "trigger")], 36), g.value && F(h) && m.value ? (k(), o("div", {
|
|
1710
1725
|
key: 0,
|
|
1711
1726
|
ref_key: "floating",
|
|
@@ -1726,7 +1741,8 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
|
|
|
1726
1741
|
class: "pv-floating",
|
|
1727
1742
|
style: C(le.value),
|
|
1728
1743
|
onFocusin: xe,
|
|
1729
|
-
onFocusout: Se
|
|
1744
|
+
onFocusout: Se,
|
|
1745
|
+
onKeydown: ke
|
|
1730
1746
|
}, [ne(r.$slots, "content")], 36), [[fe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1731
1747
|
}
|
|
1732
1748
|
}), Dr = ["data-variant"], Or = /* @__PURE__ */ d({
|
|
@@ -2117,6 +2117,20 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
|
|
|
2117
2117
|
c.value !== t && (c.value = t);
|
|
2118
2118
|
}, Se = (e) => {
|
|
2119
2119
|
h && P.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), B(!1));
|
|
2120
|
+
}, Ce = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], we = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Te = (e) => {
|
|
2121
|
+
if (!we.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
2122
|
+
let [t] = Ce(x.value);
|
|
2123
|
+
t && (e.preventDefault(), A.value = !0, t.focus());
|
|
2124
|
+
}, Ee = (e) => {
|
|
2125
|
+
if (!we.value) return;
|
|
2126
|
+
let [t] = Ce(v.value);
|
|
2127
|
+
if (e.key === "Escape") {
|
|
2128
|
+
e.preventDefault(), e.stopPropagation(), j.value = !0, pe(), t?.focus();
|
|
2129
|
+
return;
|
|
2130
|
+
}
|
|
2131
|
+
if (e.key !== "Tab") return;
|
|
2132
|
+
let n = Ce(x.value);
|
|
2133
|
+
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, pe(), t?.focus());
|
|
2120
2134
|
};
|
|
2121
2135
|
return z(c, async (e) => {
|
|
2122
2136
|
if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
|
|
@@ -2157,7 +2171,8 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
|
|
|
2157
2171
|
style: C(F.value),
|
|
2158
2172
|
onClick: be,
|
|
2159
2173
|
onFocusin: _e,
|
|
2160
|
-
onFocusout: l[0] ||= (e) => D.value = !1
|
|
2174
|
+
onFocusout: l[0] ||= (e) => D.value = !1,
|
|
2175
|
+
onKeydown: Te
|
|
2161
2176
|
}, [N(r.$slots, "trigger")], 36), g.value && L(h) && m.value ? (k(), o("div", {
|
|
2162
2177
|
key: 0,
|
|
2163
2178
|
ref_key: "floating",
|
|
@@ -2178,7 +2193,8 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
|
|
|
2178
2193
|
class: "pv-floating",
|
|
2179
2194
|
style: C(se.value),
|
|
2180
2195
|
onFocusin: ve,
|
|
2181
|
-
onFocusout: ye
|
|
2196
|
+
onFocusout: ye,
|
|
2197
|
+
onKeydown: Ee
|
|
2182
2198
|
}, [N(r.$slots, "content")], 36), [[ue, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
2183
2199
|
}
|
|
2184
2200
|
}), ni = ["data-variant"], ri = /* @__PURE__ */ d({
|
|
@@ -4792,7 +4808,8 @@ var Zo = ["data-align"], Qo = ["id", "role"], $o = /* @__PURE__ */ lt(/* @__PURE
|
|
|
4792
4808
|
searchInput: P.value,
|
|
4793
4809
|
slotContext: c.slotContext,
|
|
4794
4810
|
isOpen: j.value,
|
|
4795
|
-
isLoading: c.isLoading
|
|
4811
|
+
isLoading: c.isLoading,
|
|
4812
|
+
filteredOptionCount: me.value.length
|
|
4796
4813
|
})), Se = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), Ce = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), we = ce("popoverContentRef"), Te = r(() => {
|
|
4797
4814
|
let e = we.value?.getRootNode();
|
|
4798
4815
|
return e instanceof ShadowRoot ? e.host : null;
|