@turquoisehealth/pit-viper 2.231.0 → 2.232.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 (76) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +29 -1
  2. package/_site/assets/css/pit-viper-consumer.css +29 -1
  3. package/_site/assets/css/pit-viper-v2-scoped.css +25 -1
  4. package/_site/assets/css/pit-viper-v2.css +29 -1
  5. package/_site/assets/css/pit-viper.css +29 -1
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  24. package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
  25. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +5 -0
  26. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +1 -0
  27. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +33 -1
  28. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/usePvFilterPanel.d.ts +3 -0
  29. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  30. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +4 -0
  31. package/pv-components/dist/vue/ai/components/base/PvRange/PvRange.vue.d.ts +3 -1
  32. package/pv-components/dist/vue/ai/components/base/PvRange/types.d.ts +9 -1
  33. package/pv-components/dist/vue/base/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
  34. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +5 -0
  35. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +1 -0
  36. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +33 -1
  37. package/pv-components/dist/vue/base/components/base/PvFilterPanel/usePvFilterPanel.d.ts +3 -0
  38. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  39. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +4 -0
  40. package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +3 -1
  41. package/pv-components/dist/vue/base/components/base/PvRange/types.d.ts +9 -1
  42. package/pv-components/dist/vue/base/pv-components-base.mjs +2390 -2283
  43. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  44. package/pv-components/dist/vue/visualizations/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
  45. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +5 -0
  46. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +1 -0
  47. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +33 -1
  48. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/usePvFilterPanel.d.ts +3 -0
  49. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  50. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +4 -0
  51. package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +3 -1
  52. package/pv-components/dist/vue/visualizations/components/base/PvRange/types.d.ts +9 -1
  53. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +18 -1
  54. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +14 -0
  55. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +8 -0
  56. package/pv-components/dist/vue/visualizations/components/tables/symbols.d.ts +4 -0
  57. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +991 -925
  58. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  59. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +395 -395
  60. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +2174 -2007
  61. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +2166 -1946
  62. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +633 -633
  63. package/pv-components/dist/web/components/pv-menu/pv-menu.js +19 -19
  64. package/pv-components/dist/web/components/pv-modal/pv-modal.js +2 -2
  65. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +27 -19
  66. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +19 -19
  67. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +573 -573
  68. package/pv-components/dist/web/components/pv-range/pv-range.js +720 -675
  69. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +208 -208
  70. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +19 -19
  71. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +267 -267
  72. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +19 -19
  73. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +307 -307
  74. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +19 -19
  75. package/pv-components/dist/web/pv-components.iife.js +14 -14
  76. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1474,7 +1474,7 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1474
1474
  }, ye = () => {
1475
1475
  let e = D.value;
1476
1476
  !e || !v.value || !h.value || (c.value ? e.showPopover() : e.hidePopover());
1477
- }, be = r(() => !t.showOnHover || re.value ? !1 : t.disableInteractive ? O.value || j.value : O.value || k.value || j.value || ne.value);
1477
+ }, be = r(() => !!c.value && (k.value || ne.value)), xe = r(() => !t.showOnHover || re.value ? !1 : t.disableInteractive ? O.value || j.value : O.value || j.value || be.value);
1478
1478
  M([
1479
1479
  O,
1480
1480
  j,
@@ -1482,13 +1482,13 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1482
1482
  ], ([e, t, n]) => {
1483
1483
  !e && !t && !n && (re.value = !1);
1484
1484
  });
1485
- let xe = ({ target: e }) => {
1485
+ let Se = ({ target: e }) => {
1486
1486
  j.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1487
- }, Se = ({ target: e }) => {
1487
+ }, Ce = ({ target: e }) => {
1488
1488
  ne.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1489
- }, Ce = () => {
1490
- ne.value = !1;
1491
1489
  }, we = () => {
1490
+ ne.value = !1;
1491
+ }, Te = () => {
1492
1492
  if (t.showOnHover) {
1493
1493
  if (t.disableClickOutsideToClose) return;
1494
1494
  if (!c.value && !N && t.enableClickToggle) {
@@ -1499,10 +1499,10 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1499
1499
  return;
1500
1500
  }
1501
1501
  P(N ? !1 : !c.value);
1502
- }, Te = (e) => {
1502
+ }, Ee = (e) => {
1503
1503
  let t = e.newState === "open";
1504
1504
  c.value !== t && (c.value = t);
1505
- }, Ee = (e) => {
1505
+ }, De = (e) => {
1506
1506
  _ && ce.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), P(!1));
1507
1507
  };
1508
1508
  return M(c, async (e) => {
@@ -1511,14 +1511,14 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1511
1511
  return;
1512
1512
  }
1513
1513
  await m(), ye();
1514
- }), M(be, (e) => {
1514
+ }), M(xe, (e) => {
1515
1515
  if (t.showOnHover) {
1516
1516
  if (e) {
1517
1517
  P(!0);
1518
1518
  return;
1519
1519
  }
1520
1520
  ge(), t.closeDelay > 0 ? (_e(), he = setTimeout(() => {
1521
- he = void 0, be.value || P(!1);
1521
+ he = void 0, xe.value || P(!1);
1522
1522
  }, t.closeDelay)) : P(!1);
1523
1523
  }
1524
1524
  }), M(h, (e) => {
@@ -1529,7 +1529,7 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1529
1529
  ge(), _e();
1530
1530
  }), M(() => t.disabled, (e) => {
1531
1531
  if (!e) {
1532
- be.value && P(!0);
1532
+ xe.value && P(!0);
1533
1533
  return;
1534
1534
  }
1535
1535
  j.value &&= !1, ne.value &&= !1, P(!1);
@@ -1537,13 +1537,13 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1537
1537
  ref_key: "root",
1538
1538
  ref: b,
1539
1539
  style: g(le.value),
1540
- onKeydown: Ee
1540
+ onKeydown: De
1541
1541
  }, [s("div", {
1542
1542
  ref_key: "triggerWrapper",
1543
1543
  ref: C,
1544
1544
  style: g(ue.value),
1545
- onClick: we,
1546
- onFocusin: xe,
1545
+ onClick: Te,
1546
+ onFocusin: Se,
1547
1547
  onFocusout: l[0] ||= (e) => j.value = !1
1548
1548
  }, [E(r.$slots, "trigger")], 36), v.value && A(_) && h.value ? (S(), o("div", {
1549
1549
  key: 0,
@@ -1552,9 +1552,9 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1552
1552
  class: "pv-floating pv-floating-native",
1553
1553
  popover: ce.value,
1554
1554
  style: g(de.value),
1555
- onToggle: Te,
1556
- onFocusin: Se,
1557
- onFocusout: Ce
1555
+ onToggle: Ee,
1556
+ onFocusin: Ce,
1557
+ onFocusout: we
1558
1558
  }, [e.disabled ? a("v-if", !0) : E(r.$slots, "content", { key: 0 })], 44, Vn)) : h.value ? (S(), i(n, {
1559
1559
  key: 1,
1560
1560
  to: e.teleportLocation,
@@ -1564,11 +1564,11 @@ var Rn = /* @__PURE__ */ new Set(), zn = (e, t) => !!t.root.value && !!e.root.va
1564
1564
  ref: D,
1565
1565
  class: "pv-floating",
1566
1566
  style: g(me.value),
1567
- onFocusin: Se,
1568
- onFocusout: Ce
1567
+ onFocusin: Ce,
1568
+ onFocusout: we
1569
1569
  }, [E(r.$slots, "content")], 36), [[te, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1570
1570
  }
1571
- }), [["styles", [".pv-floating-native[data-v-0469d441]{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-0469d441]>.pv-popover,.pv-floating-native>slot[name=content][data-v-0469d441]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-0469d441"]]), Wn = { class: "pv-split-button pv-flex" }, Gn = {
1571
+ }), [["styles", [".pv-floating-native[data-v-2b80f35f]{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-2b80f35f]>.pv-popover,.pv-floating-native>slot[name=content][data-v-2b80f35f]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-2b80f35f"]]), Wn = { class: "pv-split-button pv-flex" }, Gn = {
1572
1572
  class: "pv-split-button__menu-content pv-surface pv-bordered pv-radius pv-inset-square-8 pv-flex-vertical",
1573
1573
  style: {
1574
1574
  "--flex-gap": "4px",