DashboardSettingsService.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. 'use strict';
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  4. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  5. /**
  6. * Licensed Materials - Property of IBM
  7. * IBM Business Analytics (C) Copyright IBM Corp. 2020
  8. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. */
  10. define(['../../features/dashboard/dashboardSettings/DashboardSettingsAPI'], function (DashboardSettingsAPI) {
  11. /**
  12. * @class DashboardSettingsService
  13. * @implements {@link DashboardSettingsAPI}
  14. * @hideconstructor
  15. * @classdesc Glass service providing an implementation of {@link DashboardSettingsAPI}
  16. */
  17. var DashboardSettingsService = function (_DashboardSettingsAPI) {
  18. _inherits(DashboardSettingsService, _DashboardSettingsAPI);
  19. function DashboardSettingsService() {
  20. _classCallCheck(this, DashboardSettingsService);
  21. return _possibleConstructorReturn(this, _DashboardSettingsAPI.apply(this, arguments));
  22. }
  23. DashboardSettingsService.prototype.getAPI = function getAPI() {
  24. return this;
  25. };
  26. return DashboardSettingsService;
  27. }(DashboardSettingsAPI);
  28. return DashboardSettingsService;
  29. });
  30. //# sourceMappingURL=DashboardSettingsService.js.map