PanAndZoomLayout4.js 1.6 KB

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