PanAndZoomLayout5.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. 'use strict';
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2016, 2018
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. define(['./TitleSceneLayout', './SceneLayout1', 'underscore'], function (TitleSceneLayout, SceneLayout1, _) {
  8. var scene1 = TitleSceneLayout.get();
  9. var scene2 = SceneLayout1.get();
  10. var scene3 = SceneLayout1.get();
  11. return {
  12. layout: {
  13. type: 'panAndZoom5',
  14. items: [_.extend(scene1.layout, {
  15. 'data': {
  16. 'positionIndex': 0
  17. }
  18. }), _.extend(scene2.layout, {
  19. 'data': {
  20. 'positionIndex': 1
  21. }
  22. }), _.extend(scene3.layout, {
  23. 'data': {
  24. 'positionIndex': 2
  25. }
  26. })],
  27. hasOverview: true,
  28. showOverviews: {
  29. showStart: true,
  30. showEnd: true
  31. },
  32. disableScrollDrop: true,
  33. pageSize: {
  34. width: 1280,
  35. height: 704
  36. },
  37. 'layoutPositioning': 'relative'
  38. },
  39. widgets: _.extend(scene1.widgets, scene2.widgets, scene3.widgets)
  40. };
  41. });
  42. //# sourceMappingURL=PanAndZoomLayout5.js.map