'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 DashboardTemplates * @hideconstructor * @classdesc API class that is used to manage DashboardTemplates * (including the corrsponding view) across API calls */ define(['./api/impl/DashboardTemplatesImpl'], function (DashboardTemplatesImpl) { var DashboardTemplates = function () { function DashboardTemplates(_ref) { var features = _ref.features; _classCallCheck(this, DashboardTemplates); this._dashboardApi = features.API; this._api = new DashboardTemplatesImpl({ feature: this, logger: this._dashboardApi.getGlassSvc('.Logger'), getContentSvc: this._dashboardApi.getGlassSvc('.Content'), featureChecker: this._dashboardApi.getGlassCoreSvc('.FeatureChecker') }); } DashboardTemplates.prototype.getAPI = function getAPI() { return this._api.getAPI(); }; DashboardTemplates.prototype.destroy = function destroy() { this._api = null; }; return DashboardTemplates; }(); return DashboardTemplates; }); //# sourceMappingURL=DashboardTemplates.js.map