pace-table-lib 1.0.39 → 1.0.41

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.
@@ -17815,8 +17815,8 @@
17815
17815
  if (isFirstOccurrence(dimensionMarks, i, level)) {
17816
17816
  const span = getSpan(dimensionMarks, i, level);
17817
17817
  let colLabel = getCleanString(dimensionMarks[i][level]);
17818
- if (tableData.hasOwnProperty("columnDateFormatObj") && tableData?.columnDateFormatObj) {
17819
- const dFormat = tableData.columnDateFormatObj[level];
17818
+ if (tableStyleProps?.ColumnDateFormat) {
17819
+ const dFormat = tableStyleProps?.ColumnDateFormat[level];
17820
17820
  if (dFormat) {
17821
17821
  colLabel = formatValue(colLabel, dFormat);
17822
17822
  }
@@ -17832,8 +17832,8 @@
17832
17832
  top: level * colCellHeight,
17833
17833
  width: newNonFixedColCellWidth * span,
17834
17834
  height: colCellHeight,
17835
- childClassName: "col_header_data_cell",
17836
- oncontextmenu: level + 1 === totalLevels ? (e) => onContextMenuClick(e) : null
17835
+ childClassName: "col_header_data_cell"
17836
+ // oncontextmenu: level + 1 === totalLevels ? (e: MouseEvent) => onContextMenuClick(e) : null
17837
17837
  });
17838
17838
  }
17839
17839
  offsetLeft += newNonFixedColCellWidth;
@@ -17922,7 +17922,6 @@
17922
17922
  // data
17923
17923
  dimensionMarks,
17924
17924
  columnTotalRow,
17925
- tableData.columnDateFormatObj,
17926
17925
  // layout
17927
17926
  fixedRowCount,
17928
17927
  fixedColCount,
@@ -18026,8 +18025,8 @@
18026
18025
  if (isFirstOccurrence(marks, i, level)) {
18027
18026
  const span = getSpan(marks, i, level);
18028
18027
  let rowLabel = marks[i][level];
18029
- if (tableData.hasOwnProperty("rowDateFormatObj") && tableData?.rowDateFormatObj) {
18030
- const dFormat = tableData.rowDateFormatObj[level];
18028
+ if (tableStyleProps?.RowDateFormat) {
18029
+ const dFormat = tableStyleProps?.RowDateFormat[level];
18031
18030
  if (dFormat) {
18032
18031
  rowLabel = formatValue(rowLabel, dFormat);
18033
18032
  }