@turquoisehealth/pit-viper 2.267.0 → 2.268.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 (53) 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-header-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  23. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  24. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
  25. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  26. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  27. package/pv-components/dist/vue/base/pv-components-base.mjs +24 -5
  28. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  29. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  30. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  31. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +7 -0
  32. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +503 -453
  33. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  34. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +323 -307
  35. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +20 -3
  36. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +18 -2
  37. package/pv-components/dist/web/components/pv-header/pv-header.js +38 -32
  38. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +18 -2
  39. package/pv-components/dist/web/components/pv-menu/pv-menu.js +18 -2
  40. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +20 -3
  41. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +422 -406
  42. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +18 -2
  43. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +476 -460
  44. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +346 -330
  45. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +18 -2
  46. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +18 -2
  47. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +260 -244
  48. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +589 -573
  49. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +688 -672
  50. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +430 -414
  51. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +624 -608
  52. package/pv-components/dist/web/pv-components.iife.js +39 -39
  53. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1350,6 +1350,20 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1350
1350
  c.value !== t && (c.value = t);
1351
1351
  }, he = (e) => {
1352
1352
  h && L.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), ie(!1));
1353
+ }, ge = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], _e = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), ve = (e) => {
1354
+ if (!_e.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
1355
+ let [t] = ge(x.value);
1356
+ t && (e.preventDefault(), A.value = !0, t.focus());
1357
+ }, ye = (e) => {
1358
+ if (!_e.value) return;
1359
+ let [t] = ge(v.value);
1360
+ if (e.key === "Escape") {
1361
+ e.preventDefault(), e.stopPropagation(), M.value = !0, ae(), t?.focus();
1362
+ return;
1363
+ }
1364
+ if (e.key !== "Tab") return;
1365
+ let n = ge(x.value);
1366
+ e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, ae(), t?.focus());
1353
1367
  };
1354
1368
  return K(c, async (e) => {
1355
1369
  if (t.showOnHover && t.enableGroupSync && P(!!e), !h) {
@@ -1390,7 +1404,8 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1390
1404
  style: S(z.value),
1391
1405
  onClick: pe,
1392
1406
  onFocusin: Y,
1393
- onFocusout: l[0] ||= (e) => O.value = !1
1407
+ onFocusout: l[0] ||= (e) => O.value = !1,
1408
+ onKeydown: ve
1394
1409
  }, [N(r.$slots, "trigger")], 36), g.value && V(h) && m.value ? (k(), o("div", {
1395
1410
  key: 0,
1396
1411
  ref_key: "floating",
@@ -1411,7 +1426,8 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1411
1426
  class: "pv-floating",
1412
1427
  style: S(te.value),
1413
1428
  onFocusin: ue,
1414
- onFocusout: Z
1429
+ onFocusout: Z,
1430
+ onKeydown: ye
1415
1431
  }, [N(r.$slots, "content")], 36), [[oe, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
1416
1432
  }
1417
1433
  }), dr = ["data-variant"], fr = /* @__PURE__ */ d({
@@ -6267,7 +6283,8 @@ var Mo = ["title"], No = ["title"], Po = { style: {
6267
6283
  searchInput: z.value,
6268
6284
  slotContext: c.slotContext,
6269
6285
  isOpen: j.value,
6270
- isLoading: c.isLoading
6286
+ isLoading: c.isLoading,
6287
+ filteredOptionCount: se.value.length
6271
6288
  })), Z = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), pe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), me = G("popoverContentRef"), ge = r(() => {
6272
6289
  let e = me.value?.getRootNode();
6273
6290
  return e instanceof ShadowRoot ? e.host : null;
@@ -7051,7 +7068,8 @@ var Mo = ["title"], No = ["title"], Po = { style: {
7051
7068
  }
7052
7069
  }), nc = {
7053
7070
  key: 0,
7054
- class: "pv-heading-2"
7071
+ class: "pv-heading-2 pv-flex",
7072
+ style: { "min-height": "2rem" }
7055
7073
  }, rc = ["id"], ic = { class: "pv-flex" }, ac = ["id"], oc = /* @__PURE__ */ d({
7056
7074
  __name: "PvHeader",
7057
7075
  props: {
@@ -7095,7 +7113,8 @@ var Mo = ["title"], No = ["title"], Po = { style: {
7095
7113
  default: q(() => [e.title ? (k(), o("span", nc, R(e.title), 1)) : (k(), o("div", {
7096
7114
  key: 1,
7097
7115
  id: e.headerTitleId,
7098
- class: "pv-flex"
7116
+ class: "pv-flex",
7117
+ style: { "min-height": "2rem" }
7099
7118
  }, [N(t.$slots, "left")], 8, rc)), s("div", ic, [s("div", {
7100
7119
  id: e.headerActionsId,
7101
7120
  class: "pv-flex"