PanAndZoomLayout3.js 1.4 KB

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