pace-table-lib 1.0.32 → 1.0.33

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.
@@ -8344,9 +8344,14 @@ function getIndex(str) {
8344
8344
  return Number(str.split("~$~")[0]);
8345
8345
  }
8346
8346
  function getFontSize(value) {
8347
- if (typeof value === "number") return value;
8348
- if (typeof value === "string") return parseInt(value, 11);
8349
- return 0;
8347
+ if (typeof value === "number" && Number.isFinite(value)) {
8348
+ return value;
8349
+ }
8350
+ if (typeof value === "string") {
8351
+ const parsed = Number.parseFloat(value);
8352
+ return Number.isFinite(parsed) ? parsed : 10;
8353
+ }
8354
+ return 10;
8350
8355
  }
8351
8356
  var jquery$1 = { exports: {} };
8352
8357
  /*!
@@ -18285,7 +18290,7 @@ function StaticTable({
18285
18290
  return getSparkLine(dataArr, baseStyle);
18286
18291
  }
18287
18292
  if (rawValue === void 0) return null;
18288
- const mName = measuresBySlice[rowIdxHeat]?.measureNames[colIdxHeat] ?? void 0;
18293
+ const mName = measuresBySlice?.[rowIdxHeat]?.measureNames?.[colIdxHeat];
18289
18294
  const formattingObj = getMeasureFormattingObj(mName);
18290
18295
  const conditionalFormatObj = getConditionalFormat(rawValue, CONDITIONAL_FORMAT_FOR.VALUE);
18291
18296
  const numberFormat = conditionalFormatObj?.numberFormat ?? formattingObj.numberFormat;