"use strict";
/**
 * 操作列插件注册
 *
 * priority 20：在行选择之后执行。
 */
Object.defineProperty(exports, "__esModule", { value: true });
const pipeline_1 = require("../../pipeline");
const index_1 = require("./index");
(0, pipeline_1.registerPlugin)('OperateColumn', (props, pipeline) => {
    const { operateColumn } = props;
    if (!operateColumn || !operateColumn.buttons || operateColumn.buttons.length === 0) {
        return;
    }
    const plugin = (0, index_1.operateColumnPlugin)(operateColumn);
    plugin(pipeline);
}, 20);
