12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- "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<boolean>} 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<boolean>} 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<Object>} 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
|