@turquoisehealth/pit-viper 2.55.0 → 2.55.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 t=document.createElement("style");t.appendChild(document.createTextNode(".pv-chart-loading[data-v-2f5dcc04]{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:10}.pv-chart-loading-icon[data-v-2f5dcc04]{color:#16696d;animation:pulse-2f5dcc04 1.5s infinite ease-in-out}@keyframes pulse-2f5dcc04{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-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-93f7c960]:hover{color:#16696d}.ag-custom-header-cell[data-v-054d9038]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{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-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".pv-chart-loading[data-v-2f5dcc04]{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:10}.pv-chart-loading-icon[data-v-2f5dcc04]{color:#16696d;animation:pulse-2f5dcc04 1.5s infinite ease-in-out}@keyframes pulse-2f5dcc04{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-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-58806f9e]:hover{color:#16696d}.ag-custom-header-cell[data-v-054d9038]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{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-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
2
  import { defineComponent as Xe, h as rj, ref as Se, computed as ce, onBeforeMount as lS, createElementBlock as re, openBlock as q, normalizeClass as Rt, createElementVNode as ve, createVNode as Qe, createCommentVNode as Ie, unref as Ne, normalizeStyle as Ol, mergeModels as qn, useTemplateRef as Dl, toRefs as aj, watch as Gt, useModel as zr, getCurrentInstance as Su, onMounted as Fa, markRaw as lj, onUnmounted as cj, mergeDefaults as dj, toRaw as kE, isRef as vp, isReactive as uj, isProxy as hj, render as RE, shallowRef as cS, toRef as pj, readonly as sB, customRef as gj, toValue as ki, nextTick as Ju, getCurrentScope as fj, onScopeDispose as mj, renderSlot as Cs, withDirectives as Gp, createBlock as Ze, createTextVNode as Qn, Teleport as nB, withCtx as $i, Fragment as kt, toDisplayString as Ye, withModifiers as Cy, renderList as Pr, vModelText as yj, resolveDynamicComponent as zp, normalizeProps as _p, mergeProps as Vp, vShow as vj, vModelDynamic as bj, inject as Qt, onBeforeUnmount as Cj, createSlots as TE, guardReactiveProps as LE, provide as si } from "vue";
3
3
  var rB = Object.defineProperty, Sj = Object.getOwnPropertyDescriptor, tr = (e, t) => {
4
4
  for (var i in t)
@@ -101956,8 +101956,7 @@ const NNe = ["data-position", "aria-labelledby", "data-style", "data-static"], O
101956
101956
  }
101957
101957
  }), BNe = {
101958
101958
  "data-testid": "pv-select-menu-control-panel",
101959
- class: "pv-flex pv-space-between",
101960
- style: { "padding-top": "12px" }
101959
+ class: "pv-flex pv-space-between"
101961
101960
  }, GNe = /* @__PURE__ */ Xe({
101962
101961
  __name: "PvMenuControlPanel",
101963
101962
  props: {
@@ -102327,12 +102326,10 @@ const ZW = /* @__PURE__ */ tl(HNe, [["render", jNe]]), $Ne = ["src"], UNe = /* @
102327
102326
  top: `${l.value}px`,
102328
102327
  zIndex: 10
102329
102328
  };
102330
- console.log("Popover position styles:", u), console.log("Popover CSS properties:", i);
102331
- const h = {
102329
+ return {
102332
102330
  ...i,
102333
102331
  ...u
102334
102332
  };
102335
- return console.log("Combined styles:", h), h;
102336
102333
  });
102337
102334
  return {
102338
102335
  triggerRef: n,
@@ -102389,7 +102386,7 @@ const ZW = /* @__PURE__ */ tl(HNe, [["render", jNe]]), $Ne = ["src"], UNe = /* @
102389
102386
  overlayTrigger: { type: Boolean },
102390
102387
  optionsVariant: { default: "checkbox" },
102391
102388
  options: { default: () => [] },
102392
- useTeleport: { type: Boolean, default: !0 }
102389
+ useTeleport: { type: Boolean, default: !1 }
102393
102390
  }, {
102394
102391
  modelValue: {
102395
102392
  required: !1,
@@ -103158,7 +103155,10 @@ const a9e = (e) => {
103158
103155
  stagedFilterModel: JW,
103159
103156
  setFilterSelectedValues: C9e,
103160
103157
  setFilterValueSearchText: x9e
103161
- }), w9e = { class: "pv-flex pv-full-width pv-space-between" }, M9e = { key: 0 }, D9e = { key: 1 }, I9e = /* @__PURE__ */ Xe({
103158
+ }), w9e = {
103159
+ class: "pv-flex pv-full-width pv-space-between",
103160
+ style: { "max-height": "16px" }
103161
+ }, M9e = { key: 0 }, D9e = { key: 1 }, I9e = /* @__PURE__ */ Xe({
103162
103162
  __name: "FocusItemRenderer",
103163
103163
  props: {
103164
103164
  id: {},
@@ -103224,7 +103224,7 @@ const a9e = (e) => {
103224
103224
  filterStyle: { default: "horizontal" },
103225
103225
  displayPreferencesIcon: { type: Boolean, default: !1 }
103226
103226
  },
103227
- emits: ["filter-selection-changed", "filter-closed", "handle-settings-icon"],
103227
+ emits: ["filter-selection-changed", "filter-closed", "handle-settings-icon", "focus-update"],
103228
103228
  setup(e, { emit: t }) {
103229
103229
  const i = e, o = t, s = Qt("gridApi"), n = Qt(
103230
103230
  "rowGroupColumnFields"
@@ -103387,7 +103387,10 @@ const a9e = (e) => {
103387
103387
  s.value.onFilterChanged();
103388
103388
  });
103389
103389
  }, Re = (K) => {
103390
- console.log("onFocusUpdate", K), m(D.value, K), K && !M.value.includes(K) && pe(K);
103390
+ m(D.value, K), K && !M.value.includes(K) && pe(K), o("focus-update", {
103391
+ focuses: y.value,
103392
+ filterField: D.value || null
103393
+ });
103391
103394
  }, fe = () => {
103392
103395
  o("filter-closed");
103393
103396
  };
@@ -103428,8 +103431,6 @@ const a9e = (e) => {
103428
103431
  },
103429
103432
  groupings: ["preferences", "suggestions"],
103430
103433
  isLoading: w.value,
103431
- "use-teleport": !1,
103432
- "teleport-location": k.value ? "#filter-vertical-drawer" : "body",
103433
103434
  onDropdownOpen: j[3] || (j[3] = (Q) => G(!0)),
103434
103435
  onDropdownClosed: fe
103435
103436
  }, TE({
@@ -103498,7 +103499,7 @@ const a9e = (e) => {
103498
103499
  ]),
103499
103500
  key: "1"
103500
103501
  } : void 0
103501
- ]), 1032, ["modelValue", "searchInput", "label", "icon", "variant", "counterPosition", "showClear", "showSearchInput", "showDropdown", "overlayTrigger", "options", "popoverCssProperties", "isLoading", "teleport-location"])
103502
+ ]), 1032, ["modelValue", "searchInput", "label", "icon", "variant", "counterPosition", "showClear", "showSearchInput", "showDropdown", "overlayTrigger", "options", "popoverCssProperties", "isLoading"])
103502
103503
  ]),
103503
103504
  k.value ? (q(), re("div", L9e, [
103504
103505
  se.value.length > 0 ? (q(), re("div", E9e, [
@@ -103519,7 +103520,7 @@ const a9e = (e) => {
103519
103520
  ])) : Ie("", !0)
103520
103521
  ], 64));
103521
103522
  }
103522
- }), q3 = /* @__PURE__ */ tl(O9e, [["__scopeId", "data-v-93f7c960"]]), F9e = { class: "pv-flex" }, B9e = { class: "pv-flex" }, G9e = {
103523
+ }), q3 = /* @__PURE__ */ tl(O9e, [["__scopeId", "data-v-58806f9e"]]), F9e = { class: "pv-flex" }, B9e = { class: "pv-flex" }, G9e = {
103523
103524
  id: "filter-vertical-drawer",
103524
103525
  class: "pv-flex-vertical pv-space-between pv-full-width",
103525
103526
  style: { height: "100%", "overflow-x": "hidden" }
@@ -103569,7 +103570,7 @@ const a9e = (e) => {
103569
103570
  }, y = () => {
103570
103571
  n.value = null, a.value?.close();
103571
103572
  }, m = () => {
103572
- t.value.setFilterModel(n.value), t.value.onFilterChanged(), a.value?.close(), s.value += 1;
103573
+ u.value && (t.value.setFilterModel(n.value), t.value.onFilterChanged(), a.value?.close(), s.value += 1);
103573
103574
  };
103574
103575
  return (b, C) => (q(), re(kt, null, [
103575
103576
  ve("div", F9e, [
@@ -103612,7 +103613,7 @@ const a9e = (e) => {
103612
103613
  ref_key: "filterDrawer",
103613
103614
  ref: a,
103614
103615
  class: "pv-drawer pv-surface",
103615
- onClick: C[9] || (C[9] = Cy((S) => y(), ["self"])),
103616
+ onClick: C[9] || (C[9] = Cy((S) => m(), ["self"])),
103616
103617
  style: { "max-width": "450px" }
103617
103618
  }, [
103618
103619
  ve("div", G9e, [
@@ -103687,7 +103688,7 @@ const a9e = (e) => {
103687
103688
  style: { top: "50%" }
103688
103689
  }, {
103689
103690
  body: $i(() => C[13] || (C[13] = [
103690
- ve("p", { class: "pv-text-body-lg" }, "This action will remove all currently applied filters. Would you like to continue?", -1)
103691
+ ve("p", { class: "pv-text-body-lg" }, " This action will remove all currently applied filters. Would you like to continue? ", -1)
103691
103692
  ])),
103692
103693
  footer: $i(() => [
103693
103694
  ve("div", X9e, [