/**
 * 操作列插件注册
 *
 * priority 20：在行选择之后执行。
 */
import { registerPlugin } from '../../pipeline';
import { operateColumnPlugin } from './index';
registerPlugin('OperateColumn', (props, pipeline) => {
    const { operateColumn } = props;
    if (!operateColumn || !operateColumn.buttons || operateColumn.buttons.length === 0) {
        return;
    }
    const plugin = operateColumnPlugin(operateColumn);
    plugin(pipeline);
}, 20);
