@turquoisehealth/pit-viper 2.202.2-dev.0 → 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.
@@ -12429,20 +12429,23 @@ var Af = { style: {
12429
12429
  description: n.context?.chartSeriesDescription
12430
12430
  };
12431
12431
  });
12432
- }), R = r(() => (m.value?.availableAggFuncColumns || []).filter((e) => {
12433
- let t = $(e);
12434
- return t.chartOnSecondaryAxes === !0 && !t.hideFromCharting;
12435
- }).map((e) => {
12436
- let t = e.field, n = e;
12437
- return {
12438
- label: I(n),
12439
- value: t || "",
12440
- formatter: n.valueFormatter,
12441
- dataType: n.context?.dataType,
12442
- tooltipRenderer: n.context?.customTooltipRenderer,
12443
- secondaryAxisMax: n.context?.secondaryAxisMax
12444
- };
12445
- })), 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) => {
12446
12449
  let t = $(e);
12447
12450
  return t.chartOnSecondaryAxes === !0 && t.hideFromCharting === !0;
12448
12451
  }).map((e) => {