@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.
Files changed (51) hide show
  1. package/_site/manifest.json +2 -2
  2. package/package.json +1 -1
  3. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  4. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  22. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  23. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
  24. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  25. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  26. package/pv-components/dist/vue/base/pv-components-base.mjs +20 -3
  27. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  28. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  29. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  30. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +7 -0
  31. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +503 -453
  32. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  33. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +323 -307
  34. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +20 -3
  35. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +18 -2
  36. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +18 -2
  37. package/pv-components/dist/web/components/pv-menu/pv-menu.js +18 -2
  38. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +20 -3
  39. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +422 -406
  40. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +18 -2
  41. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +476 -460
  42. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +346 -330
  43. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +18 -2
  44. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +18 -2
  45. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +260 -244
  46. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +589 -573
  47. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +688 -672
  48. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +430 -414
  49. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +624 -608
  50. package/pv-components/dist/web/pv-components.iife.js +39 -39
  51. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1610,6 +1610,20 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1610
1610
  c.value !== t && (c.value = t);
1611
1611
  }, be = (e) => {
1612
1612
  h && ne.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), z(!1));
1613
+ }, 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) => {
1614
+ if (!Se.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
1615
+ let [t] = xe(S.value);
1616
+ t && (e.preventDefault(), A.value = !0, t.focus());
1617
+ }, Te = (e) => {
1618
+ if (!Se.value) return;
1619
+ let [t] = xe(y.value);
1620
+ if (e.key === "Escape") {
1621
+ e.preventDefault(), e.stopPropagation(), M.value = !0, me(), t?.focus();
1622
+ return;
1623
+ }
1624
+ if (e.key !== "Tab") return;
1625
+ let n = xe(S.value);
1626
+ e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, me(), t?.focus());
1613
1627
  };
1614
1628
  return L(c, async (e) => {
1615
1629
  if (t.showOnHover && t.enableGroupSync && te(!!e), !h) {
@@ -1650,7 +1664,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1650
1664
  style: x(ie.value),
1651
1665
  onClick: ve,
1652
1666
  onFocusin: ge,
1653
- onFocusout: l[0] ||= (e) => O.value = !1
1667
+ onFocusout: l[0] ||= (e) => O.value = !1,
1668
+ onKeydown: Ce
1654
1669
  }, [j(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (E(), o("div", {
1655
1670
  key: 0,
1656
1671
  ref_key: "floating",
@@ -1671,7 +1686,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1671
1686
  class: "pv-floating",
1672
1687
  style: x(le.value),
1673
1688
  onFocusin: _e,
1674
- onFocusout: H
1689
+ onFocusout: H,
1690
+ onKeydown: Te
1675
1691
  }, [j(r.$slots, "content")], 36), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1676
1692
  }
1677
1693
  }), tr = ["data-variant"], nr = /* @__PURE__ */ d({
@@ -1610,6 +1610,20 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1610
1610
  c.value !== t && (c.value = t);
1611
1611
  }, be = (e) => {
1612
1612
  h && ne.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), z(!1));
1613
+ }, 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) => {
1614
+ if (!Se.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
1615
+ let [t] = xe(S.value);
1616
+ t && (e.preventDefault(), A.value = !0, t.focus());
1617
+ }, Te = (e) => {
1618
+ if (!Se.value) return;
1619
+ let [t] = xe(y.value);
1620
+ if (e.key === "Escape") {
1621
+ e.preventDefault(), e.stopPropagation(), M.value = !0, me(), t?.focus();
1622
+ return;
1623
+ }
1624
+ if (e.key !== "Tab") return;
1625
+ let n = xe(S.value);
1626
+ e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, me(), t?.focus());
1613
1627
  };
1614
1628
  return L(c, async (e) => {
1615
1629
  if (t.showOnHover && t.enableGroupSync && te(!!e), !h) {
@@ -1650,7 +1664,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1650
1664
  style: x(ie.value),
1651
1665
  onClick: ve,
1652
1666
  onFocusin: ge,
1653
- onFocusout: l[0] ||= (e) => O.value = !1
1667
+ onFocusout: l[0] ||= (e) => O.value = !1,
1668
+ onKeydown: Ce
1654
1669
  }, [j(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (E(), o("div", {
1655
1670
  key: 0,
1656
1671
  ref_key: "floating",
@@ -1671,7 +1686,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1671
1686
  class: "pv-floating",
1672
1687
  style: x(le.value),
1673
1688
  onFocusin: _e,
1674
- onFocusout: H
1689
+ onFocusout: H,
1690
+ onKeydown: Te
1675
1691
  }, [j(r.$slots, "content")], 36), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1676
1692
  }
1677
1693
  }), tr = ["data-variant"], nr = /* @__PURE__ */ d({