// src/components/table/Filter.ts
var dateRange = (row, columnId, filterValue) => {
  const [min, max] = filterValue;
  const value = row.getValue(columnId);
  const date = value instanceof Date ? value : new Date(value);
  if (isNaN(date.getTime())) return false;
  if (min && date < min) return false;
  if (max && date > max) return false;
  return true;
};
var TableFilters = {
  dateRange
};
export {
  TableFilters
};
//# sourceMappingURL=Filter.mjs.map