pace-table-lib 1.0.21 → 1.0.22
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.
|
@@ -18014,6 +18014,7 @@
|
|
|
18014
18014
|
const baseStyle = {
|
|
18015
18015
|
...style,
|
|
18016
18016
|
...dataCellFont,
|
|
18017
|
+
fontWeight: "bold",
|
|
18017
18018
|
background: outerDivBg
|
|
18018
18019
|
};
|
|
18019
18020
|
const isLastRow = rowIndex === rowCount - 1;
|
|
@@ -18022,7 +18023,6 @@
|
|
|
18022
18023
|
const isSparkLineCol = isSparkLineVisible && !isSlAtStart && columnIndex === columnCount - 1;
|
|
18023
18024
|
const isPercentageMode = DataField.hasOwnProperty("percentageBy") && DataField.percentageBy && DataField.percentageBy?.toLowerCase() !== "absolute";
|
|
18024
18025
|
let rawValue;
|
|
18025
|
-
let isBold = true;
|
|
18026
18026
|
const bgColorForTotals = getBgColorForCell(rowCount - fixedRowCount, dataColors);
|
|
18027
18027
|
if (isColTotalOn && isRowTotalOn && !headerAtStart && isLastRow && isLastCol) {
|
|
18028
18028
|
baseStyle.background = bgColorForTotals;
|
|
@@ -18050,10 +18050,10 @@
|
|
|
18050
18050
|
tableData.columnTotalRow[colIdxHeat].columnTotal
|
|
18051
18051
|
);
|
|
18052
18052
|
}
|
|
18053
|
-
|
|
18053
|
+
baseStyle.fontWeight = dataCellFont.fontWeight;
|
|
18054
18054
|
} else {
|
|
18055
18055
|
rawValue = measuresBySlice[rowIdxHeat]?.measures?.[colIdxHeat];
|
|
18056
|
-
|
|
18056
|
+
baseStyle.fontWeight = dataCellFont.fontWeight;
|
|
18057
18057
|
}
|
|
18058
18058
|
if (isSparkLineCol && isSparkLineVisible && !isSlAtStart) {
|
|
18059
18059
|
const dataArr = measuresBySlice[rowIdxHeat]?.measures;
|
|
@@ -18071,8 +18071,7 @@
|
|
|
18071
18071
|
formattedValue = formatValue(rawValue, VALUE_FORMAT_OBJ.PERCENT_SHORT);
|
|
18072
18072
|
}
|
|
18073
18073
|
let finalStyle = {
|
|
18074
|
-
...baseStyle
|
|
18075
|
-
fontWeight: isBold ? "bold" : "normal"
|
|
18074
|
+
...baseStyle
|
|
18076
18075
|
};
|
|
18077
18076
|
if (conditionalFormatObj) {
|
|
18078
18077
|
if (conditionalFormatObj.fontFamily) finalStyle.fontFamily = conditionalFormatObj.fontFamily;
|