"use strict";

exports.__esModule = true;
exports.ReorderModeToolbarUniDriver = void 0;
var _unidriver = require("../../unidriver");
var _unidriver2 = require("@wix/design-system/dist/testkit/unidriver");
const ReorderModeToolbarUniDriver = (base, body) => {
  const toolbar = (0, _unidriver.baseUniDriverFactory)(base);
  return {
    ...toolbar,
    getTitle: () => base.$('[data-hook="reorder-mode-toolbar-title"]'),
    getLearnMoreBtn: () => (0, _unidriver2.TextButtonUniDriver)(base.$('[data-hook="reorder-mode-toolbar-learn-more-cta"]'), body),
    getCancelButton: () => (0, _unidriver2.ButtonUniDriver)(base.$('[data-hook="reorder-mode-toolbar-cancel-cta"]'), body),
    getSaveButton: () => (0, _unidriver2.ButtonUniDriver)(base.$('[data-hook="reorder-mode-toolbar-save-cta"]'), body),
    getCancelModal: () => (0, _unidriver2.MessageModalLayoutUniDriver)(body.$('[data-hook="reorder-mode-discard-changes-modal"]'), body)
  };
};
exports.ReorderModeToolbarUniDriver = ReorderModeToolbarUniDriver;
//# sourceMappingURL=ReorderModeToolbar.uni.driver.js.map