@turquoisehealth/pit-viper 2.62.1-dev.0 → 2.62.1-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.
|
@@ -105526,9 +105526,17 @@ const tVe = {
|
|
|
105526
105526
|
const xe = 0.25 * Math.exp(-0.12 * Se.value);
|
|
105527
105527
|
return Math.min(Math.max(xe, 0.05), 0.75);
|
|
105528
105528
|
}), Ze = re(() => be.value > 5 ? 0.5 : 1), yt = re(() => be.value > 5 ? 0.25 : 0.1), tt = re(() => {
|
|
105529
|
-
console.log("mvytesting yKey", o.yKey);
|
|
105530
105529
|
const ce = o.enableFocusView && O.focuses.value.length === 0 && o.percentOfFocusViewYKey && o.yKey && o.yKey === o.percentOfFocusViewYKey;
|
|
105531
|
-
|
|
105530
|
+
if (p.value.length === 0)
|
|
105531
|
+
return "No groups selected. Select at least one group to display data.";
|
|
105532
|
+
if (ce) {
|
|
105533
|
+
const ye = u.value.find(
|
|
105534
|
+
(j) => j.field === R.value
|
|
105535
|
+
)?.headerName;
|
|
105536
|
+
return o.focusableColumns && o.focusableColumns.length > 0 && o.focusableColumns.includes(R.value) ? `Focus ${ye} to view Visualization` : `Cannot focus on ${ye}`;
|
|
105537
|
+
} else if (ae.value && ae.value?.length === 0)
|
|
105538
|
+
return "No data available to chart.";
|
|
105539
|
+
return "";
|
|
105532
105540
|
}), St = (ce) => {
|
|
105533
105541
|
if (ce.annotations = {}, ce.initialState = {}, U.value && U.value.length > 0 && le.value && le.value.length > 0) {
|
|
105534
105542
|
ce.annotations = {
|