"use strict";

exports.__esModule = true;
exports.ObjectEditUniDriver = ObjectEditUniDriver;
var _unidriver = require("@wix/design-system/dist/testkit/unidriver");
var _unidriver2 = require("../../../../unidriver");
function ObjectEditUniDriver(base, body) {
  const inputArea = (0, _unidriver.InputAreaUniDriver)(base, body);
  return {
    ...(0, _unidriver2.baseUniDriverFactory)(base),
    getValue: () => inputArea.getValue(),
    typeValue: value => inputArea.enterText(value),
    keyDown: (key, opts) => inputArea.trigger('keyDown', {
      key,
      ...opts
    }),
    blur: () => inputArea.trigger('blur', {})
  };
}
//# sourceMappingURL=Edit.uni.driver.js.map