var ButtonsColDefAction = (function () {
    function ButtonsColDefAction(init) {
        this.size = 'nm';
        this.type = 'tool';
        Object.assign(this, init);
    }
    Object.defineProperty(ButtonsColDefAction, "uiBtnProps", {
        get: function () {
            return ['title', 'uiTheme', 'size', 'type', 'active', 'disabled'];
        },
        enumerable: false,
        configurable: true
    });
    return ButtonsColDefAction;
}());
export { ButtonsColDefAction };
export function getButtonsColDef(buttons) {
    if (buttons === void 0) { buttons = []; }
    return {
        headerName: "",
        field: "buttons",
        maxWidth: 5 + 40 * buttons.length,
        minWidth: 5 + 40 * buttons.length,
        cellRenderer: "buttonRenderer",
        cellRendererParams: {
            buttons: buttons,
        },
        suppressColumnsToolPanel: true,
        suppressMenu: true,
        sortable: false,
        resizable: false,
        filter: false,
        lockPosition: "right",
        pinned: "right"
    };
}

//# sourceMappingURL=list-view-buttons-coldef.js.map
