med-viewer-sdk 0.1.26 → 0.1.27

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.
@@ -14176,20 +14176,20 @@ function getWithUnit(value, unitSuffix) {
14176
14176
  const baseSuffix = unitSuffix.replace("²", "");
14177
14177
  if (isArea) {
14178
14178
  if (value >= 1e12) {
14179
- return (value / 1e12).toFixed(2) + " " + baseSuffix + "²";
14179
+ return (value / 1e12).toFixed(2) + " " + baseSuffix + "²";
14180
14180
  }
14181
14181
  if (value >= 1e6) {
14182
- return (value / 1e6).toFixed(2) + " m" + baseSuffix + "²";
14182
+ return (value / 1e6).toFixed(2) + " m" + baseSuffix + "²";
14183
14183
  }
14184
- return value.toFixed(2) + " μ" + baseSuffix + "²";
14184
+ return value.toFixed(2) + " μ" + baseSuffix + "²";
14185
14185
  } else {
14186
14186
  if (value >= 1e6) {
14187
- return (value / 1e6).toFixed(2) + " " + baseSuffix;
14187
+ return (value / 1e6).toFixed(2) + " " + baseSuffix;
14188
14188
  }
14189
14189
  if (value >= 1e3) {
14190
- return (value / 1e3).toFixed(2) + " m" + baseSuffix;
14190
+ return (value / 1e3).toFixed(2) + " m" + baseSuffix;
14191
14191
  }
14192
- return value.toFixed(2) + " μ" + baseSuffix;
14192
+ return value.toFixed(2) + " μ" + baseSuffix;
14193
14193
  }
14194
14194
  }
14195
14195
  function pixelsToMicrons(value, pixelsPerMeter) {