PanAndZoomLayout6.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. var scene4 = SceneLayout1.get();
  12. return {
  13. layout: {
  14. type: 'panAndZoom6',
  15. items: [_.extend(scene1.layout, {
  16. 'data': {
  17. 'positionIndex': 0
  18. }
  19. }), _.extend(scene2.layout, {
  20. 'data': {
  21. 'positionIndex': 1
  22. }
  23. }), _.extend(scene3.layout, {
  24. 'data': {
  25. 'positionIndex': 2
  26. }
  27. }), _.extend(scene4.layout, {
  28. 'data': {
  29. 'positionIndex': 3
  30. }
  31. })],
  32. hasOverview: true,
  33. showOverviews: {
  34. showStart: true,
  35. showEnd: true
  36. },
  37. disableScrollDrop: true,
  38. pageSize: {
  39. width: 1280,
  40. height: 704
  41. },
  42. 'layoutPositioning': 'relative'
  43. },
  44. widgets: _.extend(scene1.widgets, scene2.widgets, scene3.widgets, scene4.widgets)
  45. };
  46. });
  47. //# sourceMappingURL=PanAndZoomLayout6.js.map