import { jsx as _jsx } from "react/jsx-runtime";
import { memo } from 'react';
import { useStepDataTable, useTableColumnNames } from '../hooks/index.js';
import { BooleanLogicBase } from './BooleanLogic.base.js';
/**
 * Inputs to combine column using boolean logic.
 */ export const BooleanLogic = /*#__PURE__*/ memo(function BooleanLogic({ step , graph , input , table , onChange  }) {
    const dataTable = useStepDataTable(step, graph, input, table);
    const columns = useTableColumnNames(dataTable);
    return /*#__PURE__*/ _jsx(BooleanLogicBase, {
        step: step,
        onChange: onChange,
        columns: columns
    });
});
