"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 DashboardServiceabilityAPI * @hideconstructor * @classdesc Internal API class that is used to manage the serviceability view. */ define([], function () { var DashboardServiceabilityAPI = function () { function DashboardServiceabilityAPI() { _classCallCheck(this, DashboardServiceabilityAPI); } /** * @function DashboardServiceabilityAPI#openPanel * @description Open the s12y view * @param {object} contentInfo All information needed to display * @return {Promise} promise resolved with a boolean that indicates that the state of pane (open or not) */ DashboardServiceabilityAPI.prototype.openPanel = function openPanel() {}; /** * @function DashboardServiceabilityAPI#closePanel * @description hide the s12y view * @return {Promise} promise resolved whe the panel is completely hidden */ DashboardServiceabilityAPI.prototype.closePanel = function closePanel() {}; /** * @function DashboardServiceabilityAPI#getPanelState * @description return a promise that will be resolved with panel state * @return {Promise} panelState - {isOpen:true|false} * */ DashboardServiceabilityAPI.prototype.getPanelState = function getPanelState() {}; /** * @function DashboardServiceabilityAPI#showInfo * @description show info on all contents */ DashboardServiceabilityAPI.prototype.showInfo = function showInfo() {}; /** * @function DashboardServiceabilityAPI#hideInfo * @description hide info on all contents */ DashboardServiceabilityAPI.prototype.hideInfo = function hideInfo() {}; /** * @function DashboardServiceabilityAPI#isInfoVisible * @description return true if info is visiable on all contents, false otherwise * @returns {Boolean} */ DashboardServiceabilityAPI.prototype.isInfoVisible = function isInfoVisible() {}; return DashboardServiceabilityAPI; }(); return DashboardServiceabilityAPI; }); //# sourceMappingURL=DashboardServiceabilityAPI.js.map