"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HideKeyboardStep = void 0;
const MablStepV2_1 = require("../../MablStepV2");
const STEP_NAME = 'HideKeyboard';
class HideKeyboardStep extends MablStepV2_1.MablStepV2 {
    static stepName = STEP_NAME;
    static yamlMablScriptNames = [HideKeyboardStep.stepName];
    static stepVersion = 2;
    constructor(descriptor) {
        super(HideKeyboardStep.stepName, descriptor, 'hide_keyboard');
    }
    stepDescription() {
        return `Hide keyboard if present`;
    }
    static fromYaml(_stepName, stepDescriptor) {
        return new HideKeyboardStep(stepDescriptor);
    }
    static create(descriptor) {
        descriptor.id = descriptor.id ?? MablStepV2_1.MablStepV2.generateStepId();
        return new HideKeyboardStep(descriptor);
    }
}
exports.HideKeyboardStep = HideKeyboardStep;
