"use strict"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * Licensed Materials - Property of IBM * IBM Business Analytics (C) Copyright IBM Corp. 2019 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /** * @class UndoRedoAPI * @hideconstructor * @classdesc API class that handles undo and redo functionality */ define([], function () { return function () { function UndoRedoAPI() { _classCallCheck(this, UndoRedoAPI); } /** * @function UndoRedoAPI#canUndo * @description Determines whether undo can be applied. * @returns True if undo can be applied, otherwise false */ UndoRedoAPI.prototype.canUndo = function canUndo() {}; /** * @function UndoRedoAPI#canRedo * @description Determines whether redo can be applied. * @returns True if redo can be applied, otherwise false */ UndoRedoAPI.prototype.canRedo = function canRedo() {}; /** * @function UndoRedoAPI#undo * @description Undo the last operation. */ UndoRedoAPI.prototype.undo = function undo() {}; /** * @function UndoRedoAPI#redo * @description Redo will restore the last action that was undone. */ UndoRedoAPI.prototype.redo = function redo() {}; /** * @function UndoRedoAPI#clearStack * @description Clears the full undo/redo stack. */ UndoRedoAPI.prototype.clearStack = function clearStack() {}; return UndoRedoAPI; }(); }); //# sourceMappingURL=UndoRedoAPI.js.map