@turquoisehealth/pit-viper 2.64.2-dev.0 → 2.64.2-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.
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-chart-loading[data-v-01eeb6ec]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:4}.pv-chart-loading-icon[data-v-01eeb6ec]{color:#16696d;animation:pulse-01eeb6ec 1.5s infinite ease-in-out}@keyframes pulse-01eeb6ec{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-item-disabled[data-v-8ae6f9c7]{color:#7d898d;pointer-events:none;background:#ececec}.pv-menu-item[data-v-8ae6f9c7]{cursor:pointer}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-15b1e2de]:hover{color:#16696d}.ag-custom-header-cell[data-v-08855a14]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.pv-table-row-number[data-v-ae67b797]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;margin-top:20px;z-index:2;background:#fff;width:100%;top:50%;left:50%;height:95%;transform:translate(-50%,-50%);pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.pv-text-tertiary[data-v-6f40e859]{color:#89989b}.pv-last-active-option[data-v-6f40e859]{border-bottom:1px dashed #e3e7ea;padding-bottom:10px;margin-bottom:10px}.pv-menu-nested[data-v-a62fa7ea]:after{content:"›"}.pv-tooltip a[data-v-a62fa7ea]{color:inherit}.pv-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-chart-loading[data-v-01eeb6ec]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:4}.pv-chart-loading-icon[data-v-01eeb6ec]{color:#16696d;animation:pulse-01eeb6ec 1.5s infinite ease-in-out}@keyframes pulse-01eeb6ec{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-item-disabled[data-v-8ae6f9c7]{color:#7d898d;pointer-events:none;background:#ececec}.pv-menu-item[data-v-8ae6f9c7]{cursor:pointer}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-0316bc36]:hover{color:#16696d}.ag-custom-header-cell[data-v-08855a14]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-08855a14]{opacity:1}.pv-table-row-number[data-v-ae67b797]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;margin-top:20px;z-index:2;background:#fff;width:100%;top:50%;left:50%;height:95%;transform:translate(-50%,-50%);pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.pv-text-tertiary[data-v-6f40e859]{color:#89989b}.pv-last-active-option[data-v-6f40e859]{border-bottom:1px dashed #e3e7ea;padding-bottom:10px;margin-bottom:10px}.pv-menu-nested[data-v-a62fa7ea]:after{content:"›"}.pv-tooltip a[data-v-a62fa7ea]{color:inherit}.pv-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import { defineComponent as lt, h as kK, ref as me, computed as he, onBeforeMount as yw, createElementBlock as le, openBlock as Z, normalizeClass as Et, createElementVNode as De, watch as Qt, createVNode as qe, createCommentVNode as Oe, unref as je, normalizeStyle as $c, mergeModels as zn, useTemplateRef as El, toRefs as IK, useModel as pr, getCurrentInstance as Pc, onMounted as Za, markRaw as TK, onUnmounted as RK, mergeDefaults as LK, toRaw as _E, isRef as vw, isReactive as PK, isProxy as EK, render as VE, shallowRef as bw, toRef as FK, readonly as lz, customRef as NK, nextTick as Iu, getCurrentScope as OK, onScopeDispose as BK, toValue as Co, renderSlot as cn, withDirectives as vu, createBlock as at, createTextVNode as hn, Teleport as ZT, withCtx as ci, Fragment as Tt, toDisplayString as it, withModifiers as sb, renderList as dn, vModelText as GK, resolveDynamicComponent as pf, normalizeProps as gf, mergeProps as ff, vShow as zK, vModelDynamic as _K, vModelCheckbox as VK, inject as oi, onBeforeUnmount as HK, createSlots as US, guardReactiveProps as HE, provide as xi } from "vue";
3
3
  var $K = Object.defineProperty, cz = (e, t) => {
4
4
  for (var i in t)
@@ -113467,7 +113467,7 @@ const gw = Symbol("FilterStoreKey"), rK = Symbol("FocusDataKey"), aK = Symbol("S
113467
113467
  const { focuses: e, focusType: t } = oi(rK, {
113468
113468
  focuses: me([]),
113469
113469
  focusType: me(null)
113470
- }), i = (r) => r ? e.value.includes(r) : !1, o = (r) => {
113470
+ }), i = (r, a) => !r || !a ? !1 : e.value.includes(r) && t.value === a, o = (r) => {
113471
113471
  e.value = e.value.filter((a) => a !== r), e.value.length === 0 && (t.value = null);
113472
113472
  };
113473
113473
  return {
@@ -113637,7 +113637,7 @@ const s$e = /* @__PURE__ */ Ar(t$e, [["render", o$e]]), n$e = { class: "pv-table
113637
113637
  const b = v.node.expanded, S = v.node.rowIndex;
113638
113638
  S != null && (s.value[S] = b);
113639
113639
  }, { isFocused: p, focuses: g } = zm(), f = he(
113640
- () => p(n.value.key) ? "pv-flex" : ""
113640
+ () => p(n.value.key, n.value.field) ? "pv-flex" : ""
113641
113641
  ), m = he(() => {
113642
113642
  const v = g.value;
113643
113643
  return n.value.key && v.includes(n.value.key);
@@ -113940,14 +113940,17 @@ const xK = (e) => {
113940
113940
  }, {
113941
113941
  label: ci(() => [
113942
113942
  qe(Zo, {
113943
- class: Et(["pv-space-between", je(i)(s.id) ? "" : "focus-button"]),
113943
+ class: Et([
113944
+ "pv-space-between",
113945
+ je(i)(s.id, t.rendererProps?.filterField) ? "" : "focus-button"
113946
+ ]),
113944
113947
  variant: "ghost",
113945
113948
  "left-icon": "focus",
113946
113949
  onClick: n[0] || (n[0] = (r) => o(s.id))
113947
113950
  }, null, 8, ["class"])
113948
113951
  ]),
113949
113952
  "tooltip-content": ci(() => [
113950
- je(i)(s.id) ? (Z(), le("span", S$e, " Remove Focus ")) : (Z(), le("span", x$e, " Select as Focus "))
113953
+ je(i)(s.id, t.rendererProps?.filterField) ? (Z(), le("span", S$e, " Remove Focus ")) : (Z(), le("span", x$e, " Select as Focus "))
113951
113954
  ]),
113952
113955
  _: 1
113953
113956
  })
@@ -114068,6 +114071,7 @@ const xK = (e) => {
114068
114071
  disabled: ce(de),
114069
114072
  renderer: ie(b.value) ? w$e : _.value,
114070
114073
  rendererProps: {
114074
+ filterField: b.value,
114071
114075
  onFocusUpdate: Ke
114072
114076
  },
114073
114077
  classList: ["option-label"]
@@ -114079,7 +114083,7 @@ const xK = (e) => {
114079
114083
  })),
114080
114084
  set: (Y) => {
114081
114085
  y.value = Y.map((de) => de.id), fe(), ee.value.forEach((de) => {
114082
- !y.value.includes(de) && re.value === b.value && te(de);
114086
+ !y.value.includes(de) && re.value === b.value && (o("focus-update", {}), te(de));
114083
114087
  }), o("filter-selection-changed");
114084
114088
  }
114085
114089
  });
@@ -114125,7 +114129,7 @@ const xK = (e) => {
114125
114129
  const Ae = (Y) => {
114126
114130
  Y && N.value ? y.value = [Y] : Y && !y.value.includes(Y) && (y.value = [...y.value, Y]), fe(), o("filter-selection-changed");
114127
114131
  }, xe = (Y) => {
114128
- y.value = y.value.filter((de) => de !== Y), fe(), o("filter-selection-changed"), oe(Y) && (o("focus-update", {}), te(Y));
114132
+ y.value = y.value.filter((de) => de !== Y), fe(), o("filter-selection-changed"), oe(Y, b.value) && (o("focus-update", {}), te(Y));
114129
114133
  }, fe = () => {
114130
114134
  const Y = y.value.length > 0 ? y.value : null;
114131
114135
  if (M.value) {
@@ -114276,7 +114280,7 @@ const xK = (e) => {
114276
114280
  ])) : Oe("", !0)
114277
114281
  ], 64));
114278
114282
  }
114279
- }), tz = /* @__PURE__ */ Ar(P$e, [["__scopeId", "data-v-15b1e2de"]]), E$e = { class: "pv-flex" }, F$e = { class: "pv-flex" }, N$e = {
114283
+ }), tz = /* @__PURE__ */ Ar(P$e, [["__scopeId", "data-v-0316bc36"]]), E$e = { class: "pv-flex" }, F$e = { class: "pv-flex" }, N$e = {
114280
114284
  id: "filter-vertical-drawer",
114281
114285
  class: "pv-flex-vertical pv-space-between pv-full-width",
114282
114286
  style: { height: "100%", "overflow-x": "hidden" }