Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
matchesColumn: (column: IColumn | undefined) =>
!style.if || (
!R.isNil(column) &&
ifColumnId(style.if, column && column.id) &&
ifColumnType(style.if, column && column.type) &&
ifEditable (style.if, column && column.editable)
),
matchesRow: (index: number | undefined) =>
([cd, i]) =>
ifColumnId(cd.if, column.id) &&
(
R.isNil(cd.if) ||
R.isNil(cd.if.filter_query) ||
this.evaluation.get(column.id, i)(
this.ast.get(column.id, i)(cd.if.filter_query),
datum
)
),
R.addIndex(R.map)(
const conditionalTooltips = R.filter(tt => {
return !tt.if ||
(
ifColumnId(tt.if, id) &&
ifRowIndex(tt.if, row) &&
ifFilter(tt.if, virtualized.data[row - virtualized.offset.rows])
);
}, tooltip_conditional);