"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, 2020 * 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 InAppSlideoutDOMAPI = function () { function InAppSlideoutDOMAPI() { _classCallCheck(this, InAppSlideoutDOMAPI); } /** * @function InAppSlideoutDOMAPI#render * @description render the InAppSlideout view * @return {Promise} Promise resolved when the view is rendered */ InAppSlideoutDOMAPI.prototype.render = function render() {}; /** * @function InAppSlideoutDOMAPI#registerView * @description Register slideout contribution * @param {string} id - contribution id * @param {object} instance - contribution instance */ InAppSlideoutDOMAPI.prototype.registerView = function registerView() {}; /** * @function InAppSlideoutDOMAPI#removeView * @description remove a slideout contribution * @param {string} id - id of contribution to remove */ InAppSlideoutDOMAPI.prototype.removeView = function removeView() {}; /** * @function InAppSlideoutDOMAPI#getViews * @description get the list of contributions * @return {Object[]} list of contributions */ InAppSlideoutDOMAPI.prototype.getViews = function getViews() {}; /** * @function InAppSlideoutDOMAPI#getView * @description get a single contribution by id * @param {string} id - id of the contribution * @return {Object} contribution object */ InAppSlideoutDOMAPI.prototype.getView = function getView() {}; /** * @function InAppSlideoutDOMAPI#onDomStateChange * @description register a on state change callback, to be called when the DOM state is changed such as mounted or unmounted * @param {Function} fn - function to be called when the DOM state changes such as mounted or unmounted * @return {Function} function returned to destroy remove the listener */ InAppSlideoutDOMAPI.prototype.onDomStateChange = function onDomStateChange() {}; return InAppSlideoutDOMAPI; }(); return InAppSlideoutDOMAPI; }); //# sourceMappingURL=InAppSlideoutDOMAPI.js.map