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.
|
@@ -17995,6 +17995,7 @@ function StaticTable({
|
|
|
17995
17995
|
const baseStyle = {
|
|
17996
17996
|
...style,
|
|
17997
17997
|
...dataCellFont,
|
|
17998
|
+
fontWeight: "bold",
|
|
17998
17999
|
background: outerDivBg
|
|
17999
18000
|
};
|
|
18000
18001
|
const isLastRow = rowIndex === rowCount - 1;
|
|
@@ -18003,7 +18004,6 @@ function StaticTable({
|
|
|
18003
18004
|
const isSparkLineCol = isSparkLineVisible && !isSlAtStart && columnIndex === columnCount - 1;
|
|
18004
18005
|
const isPercentageMode = DataField.hasOwnProperty("percentageBy") && DataField.percentageBy && DataField.percentageBy?.toLowerCase() !== "absolute";
|
|
18005
18006
|
let rawValue;
|
|
18006
|
-
let isBold = true;
|
|
18007
18007
|
const bgColorForTotals = getBgColorForCell(rowCount - fixedRowCount, dataColors);
|
|
18008
18008
|
if (isColTotalOn && isRowTotalOn && !headerAtStart && isLastRow && isLastCol) {
|
|
18009
18009
|
baseStyle.background = bgColorForTotals;
|
|
@@ -18031,10 +18031,10 @@ function StaticTable({
|
|
|
18031
18031
|
tableData.columnTotalRow[colIdxHeat].columnTotal
|
|
18032
18032
|
);
|
|
18033
18033
|
}
|
|
18034
|
-
|
|
18034
|
+
baseStyle.fontWeight = dataCellFont.fontWeight;
|
|
18035
18035
|
} else {
|
|
18036
18036
|
rawValue = measuresBySlice[rowIdxHeat]?.measures?.[colIdxHeat];
|
|
18037
|
-
|
|
18037
|
+
baseStyle.fontWeight = dataCellFont.fontWeight;
|
|
18038
18038
|
}
|
|
18039
18039
|
if (isSparkLineCol && isSparkLineVisible && !isSlAtStart) {
|
|
18040
18040
|
const dataArr = measuresBySlice[rowIdxHeat]?.measures;
|
|
@@ -18052,8 +18052,7 @@ function StaticTable({
|
|
|
18052
18052
|
formattedValue = formatValue(rawValue, VALUE_FORMAT_OBJ.PERCENT_SHORT);
|
|
18053
18053
|
}
|
|
18054
18054
|
let finalStyle = {
|
|
18055
|
-
...baseStyle
|
|
18056
|
-
fontWeight: isBold ? "bold" : "normal"
|
|
18055
|
+
...baseStyle
|
|
18057
18056
|
};
|
|
18058
18057
|
if (conditionalFormatObj) {
|
|
18059
18058
|
if (conditionalFormatObj.fontFamily) finalStyle.fontFamily = conditionalFormatObj.fontFamily;
|