"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RowActionsOrchestrator = void 0;
/**
 * L3-адаптер над RowActionsHelper: единая точка для Grid/Card-сервисов
 */
class RowActionsOrchestrator {
    constructor(helper) {
        this.helper = helper;
    }
    openRowActionsMenu(menuButtonLocator) {
        return this.helper.openRowActionsMenuBase(menuButtonLocator);
    }
    closeRowActionsMenu() {
        return this.helper.closeRowActionsMenuBase();
    }
    clickRowAction(actionKey, rowActionsConfig, rowActionButtons, rowActionMenuItems) {
        return this.helper.clickRowActionBase(actionKey, rowActionsConfig, rowActionButtons, rowActionMenuItems);
    }
    checkRowActions(rowActionsConfig, rowActionButtons, rowActionMenuItems) {
        return this.helper.checkRowActionsBase(rowActionsConfig, rowActionButtons, rowActionMenuItems);
    }
    editRow(rowActionsConfig, rowActionButtons, rowActionMenuItems) {
        return this.helper.editRowBase(rowActionsConfig, rowActionButtons, rowActionMenuItems);
    }
    viewRow(rowActionsConfig, rowActionButtons, rowActionMenuItems) {
        return this.helper.viewRowBase(rowActionsConfig, rowActionButtons, rowActionMenuItems);
    }
    deleteRow(rowActionsConfig, rowActionButtons, rowActionMenuItems, confirmDelete) {
        return this.helper.deleteRowBase(rowActionsConfig, rowActionButtons, rowActionMenuItems, confirmDelete);
    }
    editRowAndVerifyBase(editRowFn, modalWindowKey, formFields, getModalFormLocators, getModalWindowButtons, saveButtonKey, performModalTerminalAction, verifyFn) {
        return this.helper.editRowAndVerifyBase(editRowFn, modalWindowKey, formFields, getModalFormLocators, getModalWindowButtons, saveButtonKey, performModalTerminalAction, verifyFn);
    }
    viewRowAndVerifyBase(modalWindowKey, viewRowFn, expectedValues, getModalFormLocators, getModalWindowButtons, closeButtonKey, performModalTerminalAction) {
        return this.helper.viewRowAndVerifyBase(modalWindowKey, viewRowFn, expectedValues, getModalFormLocators, getModalWindowButtons, closeButtonKey, performModalTerminalAction);
    }
    deleteRowAndVerifyBase(findRowFn, deleteRowFn, findRowSilentFn, rowData) {
        return this.helper.deleteRowAndVerifyBase(findRowFn, deleteRowFn, findRowSilentFn, rowData);
    }
}
exports.RowActionsOrchestrator = RowActionsOrchestrator;
