import { BaseEditingController } from './base-editing.controller';
export class NoopEditingController extends BaseEditingController {
    constructor(control, table) {
        super(control, table);
    }
    // @ts-ignore
    getEditType(data) {
        return undefined;
    }
    async onDelete({ target }) {
        const rows = await this.table.getRows();
        const index = this.indexByElement(target);
        return [rows[index], index];
    }
    async save() {
        return;
    }
    // @ts-ignore
    async validate(el) {
        return true;
    }
    // @ts-ignore
    async undo(change) { }
}
