@vuu-ui/vuu-table 0.6.23-debug → 0.6.24-debug

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.
package/cjs/index.js CHANGED
@@ -150,8 +150,9 @@ var getGroupValueAndOffset = (columns, row) => {
150
150
  } else if (depth === 0) {
151
151
  return ["$root", 0];
152
152
  } else {
153
- const column = columns[depth - 1];
154
- return [row[column.key], depth - 1];
153
+ const { key, valueFormatter } = columns[depth - 1];
154
+ const value = valueFormatter(row[key]);
155
+ return [value, depth - 1];
155
156
  }
156
157
  };
157
158
  var TableGroupCell = ({ column, onClick, row }) => {
@@ -1700,9 +1701,9 @@ var DEFAULT_COLUMN_WIDTH = 100;
1700
1701
  var KEY_OFFSET = import_vuu_utils11.metadataKeys.count;
1701
1702
  var columnWithoutDataType = ({ serverDataType }) => serverDataType === void 0;
1702
1703
  var getCellRendererForColumn = (column) => {
1703
- var _a, _b;
1704
+ var _a;
1704
1705
  if ((0, import_vuu_utils11.isTypeDescriptor)(column.type)) {
1705
- return (0, import_vuu_utils11.getCellRenderer)((_b = (_a = column.type) == null ? void 0 : _a.renderer) == null ? void 0 : _b.name);
1706
+ return (0, import_vuu_utils11.getCellRenderer)((_a = column.type) == null ? void 0 : _a.renderer);
1706
1707
  }
1707
1708
  };
1708
1709
  var getDataType = (column, columnNames, dataTypes) => {