import { jsx as _jsx } from "react/jsx-runtime";
import { memo } from 'react';
import { useStepDataTable, useTableColumnNames } from '../hooks/index.js';
import { ColumnListOperationBase } from './ColumnListOperation.base.js';
/**
 * Provides inputs for a ColumnListOperation step.
 */ export const ColumnListOperation = /*#__PURE__*/ memo(function ColumnListOperation({ step , graph , input , table , onChange  }) {
    const dataTable = useStepDataTable(step, graph, input, table);
    const columns = useTableColumnNames(dataTable);
    return /*#__PURE__*/ _jsx(ColumnListOperationBase, {
        step: step,
        onChange: onChange,
        columns: columns
    });
});
