'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 Cognos Products: BI Cloud (C) Copyright IBM Corp. 2019 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ define(['./crosstab/SwapRowColumnAction', './crosstab/HideShowSummariesAction'], function (SwapRowColumnAction, HideShowSummariesAction) { var CrosstabActions = function () { function CrosstabActions(_ref) { var features = _ref.features; _classCallCheck(this, CrosstabActions); this._dashboard = features.API; this._dashboardState = features.DashboardState; this._contentActions = features.ContentActions; this._icons = features.Icons; } CrosstabActions.prototype.initialize = function initialize() { var swapAction = new SwapRowColumnAction(this._dashboard, this._dashboardState, this._icons); this._contentActions.registerProvider('crosstabSwap', swapAction.getAPI()); var hideShowSummariesAction = new HideShowSummariesAction(this._dashboard, this._dashboardState, this._icons); this._contentActions.registerProvider('crosstabHideShowSummaries', hideShowSummariesAction.getAPI()); }; return CrosstabActions; }(); return CrosstabActions; }); //# sourceMappingURL=CrosstabActions.js.map