PanAndZoomLayout1.js 1.3 KB

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