SceneLayout12.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. 'use strict';
  2. /**
  3. * Licensed Materials - Property of IBM
  4. * IBM Cognos Products: Storytelling (C) Copyright IBM Corp. 2018
  5. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. */
  7. define(['baglass/core-client/js/core-client/utils/UniqueId'], function (UniqueId) {
  8. return {
  9. get: function get() {
  10. var _widgets;
  11. var multi1Id = UniqueId.get('multi1_');
  12. var multi2Id = UniqueId.get('multi2_');
  13. var multi3Id = UniqueId.get('multi3_');
  14. var multi4Id = UniqueId.get('multi4_');
  15. var multi5Id = UniqueId.get('multi5_');
  16. var multi6Id = UniqueId.get('multi6_');
  17. var multi7Id = UniqueId.get('multi7_');
  18. return {
  19. layout: {
  20. type: 'container',
  21. templateName: 'Template1',
  22. items: [{
  23. type: 'genericPage',
  24. layoutPositioning: 'relative',
  25. css: 'templateBox aspectRatio_default',
  26. items: [{
  27. type: 'templateIndicator',
  28. style: {
  29. 'top': '0%',
  30. 'left': '0%',
  31. 'right': '0%',
  32. 'bottom': '0%'
  33. }
  34. }, {
  35. id: multi1Id,
  36. type: 'widget',
  37. style: {
  38. width: '49.00%',
  39. height: '48.18%',
  40. top: '1.82%',
  41. left: '1.00%'
  42. }
  43. }, {
  44. id: multi2Id,
  45. type: 'widget',
  46. style: {
  47. width: '24.50%',
  48. height: '24.09%',
  49. top: '1.82%',
  50. left: '50.00%'
  51. }
  52. }, {
  53. id: multi3Id,
  54. type: 'widget',
  55. style: {
  56. width: '24.50%',
  57. height: '24.09%',
  58. top: '1.82%',
  59. left: '74.50%'
  60. }
  61. }, {
  62. id: multi4Id,
  63. type: 'widget',
  64. style: {
  65. width: '24.50%',
  66. height: '24.09%',
  67. top: '25.91%',
  68. left: '50.00%'
  69. }
  70. }, {
  71. id: multi5Id,
  72. type: 'widget',
  73. style: {
  74. width: '24.50%',
  75. height: '24.09%',
  76. top: '25.91%',
  77. left: '74.50%'
  78. }
  79. }, {
  80. id: multi6Id,
  81. type: 'widget',
  82. style: {
  83. width: '49.00%',
  84. height: '48.18%',
  85. top: '50.00%',
  86. left: '1.00%'
  87. }
  88. }, {
  89. id: multi7Id,
  90. type: 'widget',
  91. style: {
  92. width: '49.00%',
  93. height: '48.18%',
  94. top: '50.00%',
  95. left: '50.00%'
  96. }
  97. }]
  98. }]
  99. },
  100. widgets: (_widgets = {}, _widgets[multi1Id] = {
  101. id: multi1Id,
  102. type: 'multipurpose'
  103. }, _widgets[multi2Id] = {
  104. id: multi2Id,
  105. type: 'multipurpose'
  106. }, _widgets[multi3Id] = {
  107. id: multi3Id,
  108. type: 'multipurpose'
  109. }, _widgets[multi4Id] = {
  110. id: multi4Id,
  111. type: 'multipurpose'
  112. }, _widgets[multi5Id] = {
  113. id: multi5Id,
  114. type: 'multipurpose'
  115. }, _widgets[multi6Id] = {
  116. id: multi6Id,
  117. type: 'multipurpose'
  118. }, _widgets[multi7Id] = {
  119. id: multi7Id,
  120. type: 'multipurpose'
  121. }, _widgets)
  122. };
  123. }
  124. };
  125. });
  126. //# sourceMappingURL=SceneLayout12.js.map