"use strict";

exports.__esModule = true;
exports.NestedTableDragOverlayUniDriver = NestedTableDragOverlayUniDriver;
var _unidriver = require("@wix/wix-ui-test-utils/unidriver");
var _unidriver2 = require("@wix/design-system/dist/testkit/unidriver");
function NestedTableDragOverlayUniDriver(base, body) {
  const getDepthLimitMessageDriver = () => (0, _unidriver2.TagUniDriver)(base.$('[data-hook="nested-table-dnd-depth-limit-message"]'), body);
  const getDisableMessageDriver = () => (0, _unidriver2.TagUniDriver)(base.$('[data-hook="nested-table-dnd-disabled-message"]'), body);
  return {
    ...(0, _unidriver.baseUniDriverFactory)(base),
    depthLimitMessageExists: () => getDepthLimitMessageDriver().exists(),
    getDepthLimitMessage: () => getDepthLimitMessageDriver().getLabel(),
    disableMessageExists: () => getDisableMessageDriver().exists(),
    getDisableMessage: () => getDisableMessageDriver().getLabel()
  };
}
//# sourceMappingURL=NestedTableDragOverlay.uni.driver.js.map