SceneLayout11.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. return {
  17. layout: {
  18. type: 'container',
  19. templateName: 'Template1',
  20. items: [{
  21. type: 'genericPage',
  22. layoutPositioning: 'relative',
  23. css: 'templateBox aspectRatio_default',
  24. items: [{
  25. type: 'templateIndicator',
  26. style: {
  27. 'top': '0%',
  28. 'left': '0%',
  29. 'right': '0%',
  30. 'bottom': '0%'
  31. }
  32. }, {
  33. id: multi1Id,
  34. type: 'widget',
  35. style: {
  36. width: '24.50%',
  37. height: '32.12%',
  38. top: '1.82%',
  39. left: '1.00%'
  40. }
  41. }, {
  42. id: multi2Id,
  43. type: 'widget',
  44. style: {
  45. width: '24.50%',
  46. height: '32.12%',
  47. top: '1.82%',
  48. left: '25.50%'
  49. }
  50. }, {
  51. id: multi3Id,
  52. type: 'widget',
  53. style: {
  54. width: '24.50%',
  55. height: '32.12%',
  56. top: '1.82%',
  57. left: '50.00%'
  58. }
  59. }, {
  60. id: multi4Id,
  61. type: 'widget',
  62. style: {
  63. width: '24.50%',
  64. height: '32.12%',
  65. top: '1.82%',
  66. left: '74.50%'
  67. }
  68. }, {
  69. id: multi5Id,
  70. type: 'widget',
  71. style: {
  72. width: '98.00%',
  73. height: '64.24%',
  74. top: '33.94%',
  75. left: '1.00%'
  76. }
  77. }]
  78. }]
  79. },
  80. widgets: (_widgets = {}, _widgets[multi1Id] = {
  81. id: multi1Id,
  82. type: 'multipurpose'
  83. }, _widgets[multi2Id] = {
  84. id: multi2Id,
  85. type: 'multipurpose'
  86. }, _widgets[multi3Id] = {
  87. id: multi3Id,
  88. type: 'multipurpose'
  89. }, _widgets[multi4Id] = {
  90. id: multi4Id,
  91. type: 'multipurpose'
  92. }, _widgets[multi5Id] = {
  93. id: multi5Id,
  94. type: 'multipurpose'
  95. }, _widgets)
  96. };
  97. }
  98. };
  99. });
  100. //# sourceMappingURL=SceneLayout11.js.map