SceneLayout7.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. return {
  15. layout: {
  16. type: 'container',
  17. templateName: 'Template1',
  18. items: [{
  19. type: 'genericPage',
  20. layoutPositioning: 'relative',
  21. css: 'templateBox aspectRatio_default',
  22. items: [{
  23. type: 'templateIndicator',
  24. style: {
  25. 'top': '0%',
  26. 'left': '0%',
  27. 'right': '0%',
  28. 'bottom': '0%'
  29. }
  30. }, {
  31. id: multi1Id,
  32. type: 'widget',
  33. style: {
  34. width: '32.67%',
  35. height: '48.18%',
  36. top: '1.82%',
  37. left: '1.00%'
  38. }
  39. }, {
  40. id: multi2Id,
  41. type: 'widget',
  42. style: {
  43. width: '32.67%',
  44. height: '48.18%',
  45. top: '50.00%',
  46. left: '1.00%'
  47. }
  48. }, {
  49. id: multi3Id,
  50. type: 'widget',
  51. style: {
  52. width: '65.33%',
  53. height: '96.36%',
  54. top: '1.82%',
  55. left: '33.67%'
  56. }
  57. }]
  58. }]
  59. },
  60. widgets: (_widgets = {}, _widgets[multi1Id] = {
  61. id: multi1Id,
  62. type: 'multipurpose'
  63. }, _widgets[multi2Id] = {
  64. id: multi2Id,
  65. type: 'multipurpose'
  66. }, _widgets[multi3Id] = {
  67. id: multi3Id,
  68. type: 'multipurpose'
  69. }, _widgets)
  70. };
  71. }
  72. };
  73. });
  74. //# sourceMappingURL=SceneLayout7.js.map