@turquoisehealth/pit-viper 2.202.1 → 2.202.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.
@@ -8300,7 +8300,10 @@ var Dl = /* @__PURE__ */ function(e) {
8300
8300
  return n && Il(n) ? {
8301
8301
  ...e,
8302
8302
  aggFunc: fo
8303
- } : e;
8303
+ } : {
8304
+ ...e,
8305
+ aggFunc: void 0
8306
+ };
8304
8307
  }), Hl = (e) => e.map((e) => ({
8305
8308
  id: e.getColId(),
8306
8309
  displayName: e.getColDef().headerName || "",
@@ -12426,20 +12429,23 @@ var Af = { style: {
12426
12429
  description: n.context?.chartSeriesDescription
12427
12430
  };
12428
12431
  });
12429
- }), R = r(() => (m.value?.availableAggFuncColumns || []).filter((e) => {
12430
- let t = $(e);
12431
- return t.chartOnSecondaryAxes === !0 && !t.hideFromCharting;
12432
- }).map((e) => {
12433
- let t = e.field, n = e;
12434
- return {
12435
- label: I(n),
12436
- value: t || "",
12437
- formatter: n.valueFormatter,
12438
- dataType: n.context?.dataType,
12439
- tooltipRenderer: n.context?.customTooltipRenderer,
12440
- secondaryAxisMax: n.context?.secondaryAxisMax
12441
- };
12442
- })), ee = r(() => (m.value?.availableAggFuncColumns || []).filter((e) => {
12432
+ }), R = r(() => {
12433
+ let e = m.value?.availableAggFuncColumns || [], t = new Set(j.value);
12434
+ return e.filter((e) => {
12435
+ let n = $(e);
12436
+ return n.chartOnSecondaryAxes === !0 && !n.hideFromCharting && !t.has(e.field || "");
12437
+ }).map((e) => {
12438
+ let t = e.field, n = e;
12439
+ return {
12440
+ label: I(n),
12441
+ value: t || "",
12442
+ formatter: n.valueFormatter,
12443
+ dataType: n.context?.dataType,
12444
+ tooltipRenderer: n.context?.customTooltipRenderer,
12445
+ secondaryAxisMax: n.context?.secondaryAxisMax
12446
+ };
12447
+ });
12448
+ }), ee = r(() => (m.value?.availableAggFuncColumns || []).filter((e) => {
12443
12449
  let t = $(e);
12444
12450
  return t.chartOnSecondaryAxes === !0 && t.hideFromCharting === !0;
12445
12451
  }).map((e) => {